.btn:not(.btn-icon):not(.btn-icon-only) {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 40px;
  box-shadow: none;
}

.btn-icon-only {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-size: 11px;
}

.btn-sm {
  font-size: 12px !important;
  padding: 10px 20px !important;
}

.btn-primary,
.bg-primary {
  background-color: #2223f7 !important;
}

.btn-secondary,
.bg-secondary {
  background-color: #ff5f19 !important;
}

.btn-outline-light {
  border-color: var(--bs-dark);
  color: var(--bs-dark);
}
.btn-outline-light:hover, .btn-outline-light:focus, .btn-outline-light:active {
  border-color: var(--bs-dark);
  background-color: var(--bs-dark);
  color: var(--bs-light);
}

.dark .btn-outline-light {
  border-color: var(--bs-light);
  color: var(--bs-light);
}
.dark .btn-outline-light:hover, .dark .btn-outline-light:focus, .dark .btn-outline-light:active {
  border-color: var(--bs-light);
  background-color: var(--bs-light);
  color: var(--bs-dark);
}

.navbar-vertical.navbar-expand-xs .navbar-collapse {
  height: unset;
}

body {
  overflow-x: hidden;
}

.form-check:not(.form-switch) .form-check-input[type=checkbox]:after {
  font-family: "Font Awesome 5 Pro";
}

.navbar.navbar-vertical {
  z-index: 99;
}

.ql-editor {
  min-height: 200px;
}

.toast-container {
  position: fixed;
}

.notifications .toast .toast-header {
  background: var(--bs-primary);
  color: #fff;
}
.notifications .toast .toast-header i {
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--rosa);
  border-radius: 0.3rem;
  color: var(--bs-primary);
  font-size: 1rem;
  color: #fff;
}

.dropdown-notifications {
  max-height: 400px;
  overflow-y: auto;
}
.dropdown-notifications .dropdown-item {
  min-height: 40px;
  min-width: 300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dropdown-notifications .dropdown-item.unread {
  border-left: 2px solid var(--bs-info);
}
.dropdown-notifications .dropdown-item.unread i {
  color: var(--bs-info);
}
.dropdown-notifications .dropdown-item span {
  display: block;
  max-width: 160px;
  white-space: wrap;
  font-size: 0.7rem;
}
.dropdown-notifications .dropdown-item i {
  font-size: 2rem;
  color: #c5c5c5;
}

#loading-app {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0c0c0c;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 99999;
}
#loading-app i {
  font-size: 4rem;
  margin-bottom: 15px;
}
#loading-app span {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 200;
}

.select2-container.select2-container--open {
  z-index: 9999999;
}

.custom_select .select2-container--default {
  width: 100% !important;
}

.pagination {
  justify-content: flex-end;
  margin-top: 20px;
  gap: 5px;
}
.pagination .page-item .page-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  padding: 0;
  color: #888;
  font-size: 13px;
}
.pagination .page-item.active .page-link {
  background-color: #2223f7;
  border-color: #2223f7;
  color: #fff;
}

/* datatables */
.dataTables_wrapper .dataTables_paginate {
  display: flex;
  padding-bottom: 15px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8392ab;
  padding: 0;
  margin: 0 3px;
  border: 1px solid #dee2e6;
  border-radius: 50% !important;
  width: 36px;
  height: 36px;
  font-size: 0.875rem;
  margin-left: 0;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: transparent;
  background-image: linear-gradient(310deg, #5e72e4, #825ee4);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
  color: #fff !important;
  border: none;
  border-radius: 50% !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: transparent;
  background-image: linear-gradient(310deg, #5e72e4, #825ee4);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
  color: #fff !important;
  border: none;
  border-radius: 50% !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8392ab;
  padding: 0;
  margin: 0 3px;
  border: 1px solid #dee2e6;
  border-radius: 50% !important;
  width: 36px;
  height: 36px;
  font-size: 0.875rem;
  margin-left: 0;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8392ab;
  padding: 0;
  margin: 0 3px;
  border: 1px solid #dee2e6;
  border-radius: 50% !important;
  width: 36px;
  height: 36px;
  font-size: 0.875rem;
  margin-left: 0;
}
.dataTables_wrapper .dataTables_paginate span {
  display: flex;
}
.dataTables_wrapper .dataTables_length select, .dataTables_wrapper .dataTables_filter input {
  border-color: #e9ecef;
  border-radius: 0.25rem;
}

/* datatables */
/* remover "press to select" */
.choices__list--dropdown .choices__item--selectable {
  padding-right: 0 !important;
}
.choices__list--dropdown .choices__item--selectable:after {
  display: none !important;
}

.dark .swal2-container h2 {
  color: #495057;
}

.ql-toolbar {
  border: 2px solid #f4f5f9 !important;
  border-top-left-radius: 5px !important;
  border-top-right-radius: 5px !important;
}

.ql-container {
  border: 2px solid #f4f5f9 !important;
  border-bottom-left-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
}
.ql-container .ql-editor {
  background: #f4f5f9 !important;
  border-bottom-left-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
}

.dark .ql-toolbar {
  background-color: #cdcdcd;
  border: 1px solid #383e50 !important;
}
.dark .ql-container {
  border: 1px solid #383e50 !important;
}
.dark .ql-container .ql-editor {
  background: #1e2231 !important;
}
.dark .ql-container .ql-editor.ql-blank::before {
  color: #9A9CAA;
}

table p {
  line-height: 1;
}
