:root {
  --app-primary: #2261a8;
  --app-primary-dark: #1253b3;
  --app-secondary: #53587e;
  --app-info: #00cdff;
  --app-light: #f7f8f9;
  --app-gray: #f0f2f5;
  --app-dark: #1b1b24;
  --app-green: #2ecc71;
  --app-purple: #4c6ef5;
  --app-blue: #00afef;
  --app-blue-strong: #0a5188;
  --app-red: #e6233a;
  --app-gold: #ffcd8b;
  --app-silver: #b8b8b8;
  --app-muted: #aebac1;
  --app-border-light: #eceff0;
  --app-primary-grandient: 90deg, rgba(34, 97, 168, 1) 0%,
    rgba(0, 175, 239, 1) 100%;
  --app-text-xs: 11px;
  --app-text-sm: 13px;
  --app-text-md: 14px;
  --app-body: #f9f9f9;
}
/* --app-dark: #1b1b24; */
/* --app-muted: #96a2a9; */

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--app-body);
  color: var(--app-dark);
  /* background-color: #f4f6fa; */
}

.t-300 {
  font-weight: 300 !important;
}
.t-400 {
  font-weight: 400 !important;
}
.t-500 {
  font-weight: 500 !important;
}
.t-600 {
  font-weight: 600 !important;
}
.t-700 {
  font-weight: 700 !important;
}
.t-800 {
  font-weight: 800 !important;
}
.t-900 {
  font-weight: 900 !important;
}

.color-success {
  color: var(--app-green) !important;
}
.color-info {
  color: var(--app-purple) !important;
}
.color-warning {
  color: var(--app-orange-strong) !important;
}
.color-secondary {
  color: var(--app-secondary) !important;
}
.color-muted {
  color: var(--app-muted) !important;
}

.bg-primary {
  background-color: var(--app-primary) !important;
}
.bg-light {
  background-color: #f4f6fa !important;
}

.text-muted {
  color: #96a2a9 !important;
  font-weight: 500;
}
.text-sm {
  font-size: var(--app-text-sm);
}
.b-red {
  border: 1px solid red;
}
.transparent {
  background: transparent !important;
}
.shadow {
  box-shadow: 0 2px 2px rgb(154 160 185 / 4%), 2px 2px rgb(166 173 201 / 4%) !important;
}
.shadow-xs {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

a {
  text-decoration: none !important;
  color: inherit !important;
}
.fa-lg {
  font-size: 29px;
}
.wrapper-login {
  background: var(--app-primary);
  background: -moz-linear-gradient(var(--app-primary-grandient));
  background: -webkit-linear-gradient(var(--app-primary-grandient));
  background: linear-gradient(var(--app-primary-grandient));
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2261a8",endColorstr="#00afef",GradientType=1);
}
.wrapper .w-top {
  background-color: #fff;
  /* position: fixed; */
  /* top: 0; */
  border-bottom: 1px solid #eceff0;
  z-index: 999;
  transition: all 0.55s cubic-bezier(0.15, 0.75, 0.25, 1);
  -moz-transition: all 0.55s cubic-bezier(0.15, 0.75, 0.25, 1);
  -webkit-transition: all 0.55s cubic-bezier(0.15, 0.75, 0.25, 1);
  -o-transition: all 0.55s cubic-bezier(0.15, 0.75, 0.25, 1);
}
.wrapper .w-content {
  flex: 0 0 auto;
  min-height: 100vh;
  padding: 60px 0.5rem 1rem !important;
  transition: all 0.55s cubic-bezier(0.15, 0.75, 0.25, 1);
  -moz-transition: all 0.55s cubic-bezier(0.15, 0.75, 0.25, 1);
  -webkit-transition: all 0.55s cubic-bezier(0.15, 0.75, 0.25, 1);
  -o-transition: all 0.55s cubic-bezier(0.15, 0.75, 0.25, 1);
}
/* ==========
CARDS
============ */
.card {
  border: none;
  border-radius: 0.15px;
  -webkit-border-radius: 0.15px;
  -moz-border-radius: 0.15px;
  -ms-border-radius: 0.15px;
  -o-border-radius: 0.15px;
}

.card h5 {
  color: var(--app-muted);
  text-transform: uppercase;
  font-size: var(--app-text-md);
}
/* ==========
  BUTTONS
============ */
button {
  outline: none !important;
  border: none;
  background: transparent;
  box-shadow: none !important;
}
.btn {
  font-size: var(--app-text-sm);
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  font-weight: 500;
  border-radius: 0.15rem;
  position: relative;
  z-index: 1;
  -webkit-border-radius: 0.15rem;
  -moz-border-radius: 0.15rem;
  -ms-border-radius: 0.15rem;
  -o-border-radius: 0.15rem;
  transition: all 0.55s cubic-bezier(0.15, 0.75, 0.25, 1);
  -moz-transition: all 0.55s cubic-bezier(0.15, 0.75, 0.25, 1);
  -webkit-transition: all 0.55s cubic-bezier(0.15, 0.75, 0.25, 1);
  -o-transition: all 0.55s cubic-bezier(0.15, 0.75, 0.25, 1);
}
.btn:hover {
  opacity: 0.8;
}
.btn-primary {
  background: var(--app-primary);
  border-color: var(--app-primary);
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
  border-color: var(--app-primary-dark) !important;
  background-color: var(--app-primary-dark) !important;
}

.btn-success {
  background: var(--app-green);
  border-color: var(--app-green);
}
.btn-success:hover,
.btn-success:active,
.btn-success:focus {
  border-color: var(--app-green) !important;
  background-color: var(--app-green) !important;
}

.btn-info {
  color: var(--app-blue);
  border-color: #f1faff;
  background-color: #f1faff;
}
.btn-info:hover,
.btn-info:active,
.btn-info:focus {
  color: #f1faff;
  border-color: var(--app-blue);
  background-color: var(--app-blue);
}
/* ==========
  FORMS
============ */
label {
  color: var(--app-muted);
  text-transform: uppercase;
}
.form-control {
  font-size: 17px;
  text-transform: uppercase;
  color: #8ea2a9;
  background-color: transparent;
  padding: 4px 12px 2px;
  outline: none;
  box-shadow: none;
  border: 1px solid #e6e6e6;
  border-radius: 0.125rem;
  -webkit-border-radius: 0.125rem;
  -moz-border-radius: 0.125rem;
  -ms-border-radius: 0.125rem;
  -o-border-radius: 0.125rem;
}
.form-control:focus {
  color: var(--app-dark);
  outline: 0;
  border: 1px solid var(--app-primary);
  box-shadow: none !important;
}
.form-control:disabled,
.form-control[readonly] {
  background-color: #f9f9f9;
}
.form-select {
  color: #8ea2a9;
  border-radius: 0.15rem;
  padding: 5px 2.25rem 5px 0.75rem;
  border: solid 2px #e6e6e6;
}
.form-select:focus {
  color: #5a7680;
  outline: 0;
  border: 2px solid var(--app-primary);
  box-shadow: none;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
  padding-right: 16px;
  background-image: none;
}
.input-group-text {
  background-color: #fff !important;
}

.ui-form {
  position: relative;
}
.ui-form label,
.grid-form .grid-label {
  position: absolute;
  top: 0;
  left: 5px;
  margin: 0;
  font-size: var(--app-text-sm);
  background: #fff;
  line-height: 2px;
  padding: 0 8px;
  z-index: 5;
}
.grid-form .grid-label {
  top: -2px;
}
.ui-form .form-control:focus + label {
  color: var(--app-primary);
}
.ui-form .input-group .form-label {
  left: 40px;
}
.ui-form .form-control:disabled + label,
.ui-form .form-control[readonly] + label {
  background: #f9f9f9;
}
/* ==========
  DROPDOWN
============ */
.dropdown-menu {
  /* border: 1px solid var(--app-border-light); */
  border: 0;
  color: var(--app-dark);
  font-size: var(--app-text-sm);
  text-transform: uppercase;
}
.dropdown-menu .dropdown-item {
  font-size: var(--app-text-sm);
  text-transform: uppercase;
  color: var(--app-dark);
}
.dropdown-item:focus,
.dropdown-item:hover {
  background-color: var(--app-gray);
}
.dropdown-divider {
  margin: 0.25rem 0;
  border-top: 1px solid var(--app-muted);
}

/* ==========
  DROPZONE
============ */
.ui-dropzone {
  position: relative;
}

.ui-dropzone .dropzone {
  position: relative;
  border: 2px dashed var(--app-border-light);
  min-height: 120px;
  margin-bottom: 1rem;
}

.ui-dropzone .dropzone-actions {
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  text-align: center;
}

.ui-dropzone .dropzone-actions {
  display: none;
  opacity: 0;
  transition: opacity 0.15s linear;
}

.ui-dropzone .dropzone-loading {
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 0.3s linear;
}

.ui-dropzone .dropzone-loading .progress {
  height: 0.5rem;
}

.ui-dropzone .dropzone-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  border-radius: 0.475rem;
  padding: 0.5rem 1rem;
  background-color: #f5f8fa;
}

.ui-dropzone .dropzone-item:first-child {
  margin-top: 1.5rem;
}

.ui-dropzone .dropzone-item .dropzone-file {
  flex-grow: 1;
}

.ui-dropzone .dropzone-item .dropzone-file .dropzone-filename {
  font-size: 0.9rem;
  font-weight: 500;
  color: #7e8299;
  text-overflow: ellipsis;
  margin-right: 0.5rem;
}

.ui-dropzone .dropzone-item .dropzone-file .dropzone-error {
  margin-top: 0.25rem;
  font-size: var(--app-text-sm);
  font-weight: 400;
  color: #f1416c;
  text-overflow: ellipsis;
}

.ui-dropzone .dropzone-item .dropzone-toolbar {
  margin-left: 1rem;
  display: flex;
  flex-wrap: nowrap;
}

.ui-dropzone .dropzone-item .dropzone-toolbar .dropzone-delete {
  height: 25px;
  width: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.ui-dropzone .dropzone-item .dropzone-toolbar .dropzone-delete i {
  color: #7e8299;
}

/* ==========
  ACCORDION
============ */
.ui-accordion-list .accordion-item {
  border-width: 0 0 1px 0 !important;
  border-color: var(--app-gray);
}
.ui-accordion-list .accordion-item .accordion-button {
  padding: 0.8rem 1rem;
  color: var(--app-secondary) !important;
  font-size: 14px;
  text-transform: uppercase;
}

.ui-accordion-list .accordion-button:not(.collapsed) {
  /* color: var(--app--dark) !important; */
  background-color: #eff3f6;
}
.ui-accordion-list .accordion-button::after {
  content: none;
}
.ui-accordion-list .accordion-body {
  padding: 0.8rem 1rem;
}

/* ==========
  OFFCANVAS
============ */
.offcanvas {
  z-index: 1060;
}
.offcanvas-end {
  border-left: 1px solid #e5e5e5;
}
.offcanvas-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 1rem 1.2rem;
}

/* =========
  TOGGLE
========= */
.toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  border-radius: 100px;
  background-color: var(--app-gray);
  overflow: hidden;
  cursor: pointer;
  vertical-align: middle;
}
.toggle.active:before {
  right: 2px;
  left: 22px;
  transition: 0.35s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  transition-property: left, right;
  transition-delay: 0.05s, 0s;
}
.toggle:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  bottom: 2px;
  right: 22px;
  background-color: #fff;
  border-radius: 36px;
  z-index: 1;
  transition: 0.35s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  transition-property: left, right;
  transition-delay: 0s, 0.05s;
  box-shadow: 0 1px 2px var(--app-border-light);
}
.toggle.active:after {
  box-shadow: inset 0 0 0 20px #4bd863;
}
.toggle:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  transition: 0.35s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.05);
  border-radius: 40px;
}
/* =========
  CHIPS
========= */
.chip {
  position: relative;
  border-radius: 30px;
  padding: 4px 20px;
  text-align: center;
  font-weight: 600;
}
.chip.success {
  background: #cff6dd;
  color: #1fa750;
}
.chip.info {
  background: #e3e1ff;
  color: #7367f0;
}
.chip.danger {
  background: #f5d3da;
  color: #f14668;
}
.chip.warning {
  background: #fdf5dd;
  color: #cfa00c;
}
.chip.muted {
  background: #eceffa;
  color: #96a2a9;
}

/* =========
  TABLE
========= */
.table-responsive {
  display: block;
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

table.dataTable {
  table-layout: fixed;
  margin-top: 0 !important;
}

table.dataTable > thead .sorting::before,
table.dataTable > thead .sorting::after {
  opacity: 1;
}

table.dataTable > thead .sorting.sorting_desc::before,
table.dataTable > thead .sorting.sorting_asc::after {
  color: var(--app-secondary);
}

.table thead th {
  color: #fff;
  border: 0;
  background-color: #8898aa;
  font-weight: 500;
  font-size: 13px;
  padding: 0.8rem 1rem 0.4em;
  vertical-align: bottom;
  border-bottom: 0;
}

.table-hover > tbody > tr:hover {
  --bs-table-accent-bg: #f8f9fd;
}

.table td {
  font-size: 14px;
  color: #515f6f;
  padding: 0.5rem 1rem;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 2px solid #f8f9fd;
}

.table td:first-child {
  color: var(--app-muted);
  font-size: 12px;
  padding: 0.5rem 0.25rem;
}

.table tbody + tbody {
  border-top: 2px solid #e9ecef;
}

.table .table {
  background-color: #f8f9fe;
}

.dataTables_info {
  color: var(--app-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 0.85em;
}

div.dataTables_wrapper div.dataTables_paginate {
  padding: 0 0.85em;
}

.page-link {
  padding: 0.175rem 0.75rem;
  color: #96a9af !important;
}

.page-link:focus {
  box-shadow: none;
}

.page-item.active .page-link {
  background-color: #96a9af;
  color: #fff !important;
  border-color: #96a9af;
}

.page-item.disabled .page-link {
  background-color: var(--app-light);
  color: var(--app-muted) !important;
}
