/* Fix: dropdown inside accordion header hidden when group is collapsed */
.accordion-element,
.accordion-element .accordion-header,
#accordionIndicadores .accordion-element,
#accordionIndicadores .accordion-header {
  overflow: visible; /* allow dropdown to render outside header bounds */
  position: relative; /* create stacking context for menu positioning */
}

/* Ensure dropdown menu overlays surrounding elements */
.accordion-element .dropdown-menu,
#accordionIndicadores .dropdown-menu {
  z-index: 1051; /* above headers and collapsed panels; below modals */
}

/* Optional: prevent clipping by any parent with overflow hidden */
.accordion-element .dropdown,
#accordionIndicadores .dropdown {
  overflow: visible;
}
/****************************
******* GLOBAL STYLES *******
*****************************/
/* Variaveis */
:root {
  --bs-primary: #4f3ac9;
  --bs-primary-light: #7261d4;
  --bs-primary-dark: #2f2379;
  --bs-secondary: #88d040;
  --bs-secondary-light: #b8e38c;
  --bs-secondary-dark: #527d26;
  --bs-success: #1fb77b;
  --bs-success-light: #79d4b0;
  --bs-success-dark: #136e4a;
  --bs-error: #e33b3b;
  --bs-error-light: #ee8989;
  --bs-error-dark: #882323;
  --bs-warning: #f6c034;
  --bs-warning-light: #fad985;
  --bs-warning-dark: #94741f;
  --bs-info: #1277e0;
  --bs-info-light: #71adec;
  --bs-info-dark: #0b4786;
  --bs-gray-100: #f4f4f4;
  --bs-gray-200: #e8e8e8;
  --bs-gray-300: #d6d6d6;
  --bs-gray-400: #a5a5a5;
  --bs-gray-500: #757575;
  --bs-gray-600: #575757;
  --bs-gray-700: #444444;
  --bs-gray-800: #2b2b2b;
  --bs-gray-900: #1c1c1c;
  --bs-title: var(--bs-gray-800);
  --bs-text: var(--bs-gray-700);
  --bs-text-secondary: var(--bs-gray-500);
  --bs-text-tertiary: var(--bs-gray-400);
  --bs-border: var(--bs-gray-200);
  --bs-body-secondary-bg: #f4f3fc;
  --bs-card-bg: #ffffff;

  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-md: 0.75rem;
  --bs-border-radius-xl: 1rem;

  --bs-display-xs: 1.5rem;
  --bs-text-lg: 1.125rem;
  --bs-text-md: 1rem;
  --bs-text-sm: 0.875rem;
}

/* Fonte padrão */
body {
  font-family: "Figtree", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--bs-text);
  background-color: #f4f3fc;
}

a {
  color: var(--bs-primary);
  text-decoration: none;
}

a:hover {
  color: var(--bs-primary-dark);
}

p {
  line-height: 1.6;
}

small {
  font-size: 80%;
  font-weight: 400;
}

menu {
  padding-left: 0px;
}

a:hover,
a:active,
a:focus {
  outline: none !important;
  text-decoration: none !important;
}

b,
strong,
.bold {
  font-weight: 600;
}

dt {
  font-weight: 500;
}

hr {
  opacity: 1;
}

/* =============================
   Divisões visuais das opções
   Aplica linha separadora entre opções principais e opções de subindicadores
   ============================= */
.dd-list > li.dd-item:not(:last-child) {
  border-bottom: 1px solid var(--bs-border);
  padding-bottom: 6px;
  margin-bottom: 6px;
}

/* Versão compacta (lista pequena dentro de subindicadores) */
.dd-list.small > li.dd-item:not(:last-child) {
  border-bottom: 1px solid var(--bs-border);
  padding-bottom: 4px;
  margin-bottom: 4px;
}

/* Ajuste para evitar dupla linha quando já houver borda externa */
.dd-list > li.dd-item:last-child,
.dd-list.small > li.dd-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/****************************
********* UTILITIES **********
*****************************/
/* Divider */
.divider {
  display: block;
  content: "";
  width: 100%;
  height: 1px;
  background: var(--bs-border);
  margin: 30px 0;
}

/* Margins & Paddings */
.no-s {
  margin: 0px !important;
  padding: 0px !important;
}

.no-m {
  margin: 0;
}

.no-p {
  padding: 0;
}

.m {
  margin: 15px;
}

.m-t-xxs {
  margin-top: 5px;
}

.m-r-xxs {
  margin-right: 5px;
}

.m-b-xxs {
  margin-bottom: 5px;
}

.m-l-xxs {
  margin-left: 5px;
}

.m-t-xs {
  margin-top: 10px;
}

.m-r-xs {
  margin-right: 10px;
}

.m-b-xs {
  margin-bottom: 10px;
}

.m-l-xs {
  margin-left: 10px;
}

.m-t-sm {
  margin-top: 15px;
}

.m-r-sm {
  margin-right: 15px;
}

.m-b-sm {
  margin-bottom: 15px;
}

.m-l-sm {
  margin-left: 15px;
}

.m-t-md {
  margin-top: 20px;
}

.m-r-md {
  margin-right: 20px;
}

.m-b-md {
  margin-bottom: 20px;
}

.m-l-md {
  margin-left: 20px;
}

.m-t-lg {
  margin-top: 25px;
}

.m-r-lg {
  margin-right: 25px;
}

.m-b-lg {
  margin-bottom: 25px;
}

.m-l-lg {
  margin-left: 25px;
}

.m-t-xxl {
  margin-top: 30px;
}

.m-r-xxl {
  margin-right: 30px;
}

.m-b-xxl {
  margin-bottom: 30px;
}

.m-l-xxl {
  margin-left: 30px;
}

.m-t-n-xxs {
  margin-top: -5px;
}

.m-r-n-xxs {
  margin-right: -5px;
}

.m-b-n-xxs {
  margin-bottom: -5px;
}

.m-l-n-xxs {
  margin-left: -5px;
}

.m-t-n-xs {
  margin-top: -10px;
}

.m-r-n-xs {
  margin-right: -10px;
}

.m-b-n-xs {
  margin-bottom: -10px;
}

.m-l-n-xs {
  margin-left: -10px;
}

.m-t-n-sm {
  margin-top: -15px;
}

.m-r-n-sm {
  margin-right: -15px;
}

.m-b-n-sm {
  margin-bottom: -15px;
}

.m-l-n-sm {
  margin-left: -15px;
}

.m-t-n-md {
  margin-top: -20px;
}

.m-r-n-md {
  margin-right: -20px;
}

.m-b-n-md {
  margin-bottom: -20px;
}

.m-l-n-md {
  margin-left: -20px;
}

.m-t-n-lg {
  margin-top: -25px;
}

.m-r-n-lg {
  margin-right: -25px;
}

.m-b-n-lg {
  margin-bottom: -25px;
}

.m-l-n-lg {
  margin-left: -25px;
}

.m-t-n-xxl {
  margin-top: -30px;
}

.m-r-n-xxl {
  margin-right: -30px;
}

.m-b-n-xxl {
  margin-bottom: -30px;
}

.m-l-n-xxl {
  margin-left: -30px;
}

.p {
  padding: 32px;
}

.p-h-xxs {
  padding-left: 5px;
  padding-right: 5px;
}

.p-h-xs {
  padding-left: 10px;
  padding-right: 10px;
}

.p-h-sm {
  padding-left: 15px;
  padding-right: 15px;
}

.no-p-h {
  padding-left: 0;
  padding-right: 0;
}

.no-p-v {
  padding-top: 0;
  padding-bottom: 0;
}

.p-h-md {
  padding-left: 20px;
  padding-right: 20px;
}

.p-h-lg {
  padding-left: 25px;
  padding-right: 25px;
}

.p-h-xxl {
  padding-left: 32px;
  padding-right: 32px;
}

.p-v-xxs {
  padding-top: 5px;
  padding-bottom: 5px;
}

.p-v-xs {
  padding-top: 10px;
  padding-bottom: 10px;
}

.p-v-sm {
  padding-top: 15px;
  padding-bottom: 15px;
}

.p-v-md {
  padding-top: 20px;
  padding-bottom: 20px;
}

.p-v-lg {
  padding-top: 25px;
  padding-bottom: 25px;
}

.p-v-xxl {
  padding-top: 30px;
  padding-bottom: 30px;
}

/* Width */
.full-width {
  width: 100% !important;
}

.w-20 {
  width: 1.25rem;
}

.w-40 {
  width: 2.5rem;
}

.w-xxs {
  width: 50px;
}

.w-xs {
  width: 90px;
}

.w-sm {
  width: 140px;
}

.w {
  width: 200px;
}

.w-md {
  width: 240px;
}

.w-lg {
  width: 280px;
}

.w-xl {
  width: 330px;
}

.w-xxl {
  width: 370px;
}

.w-auto {
  width: auto;
}

/* Height */
.h-20 {
  height: 1.25rem;
}

.h-40 {
  height: 2.5rem;
}

.full-height {
  height: 100% !important;
}

.h-auto {
  height: auto;
}

/* Borders */
.no-b {
  border: 0 !important;
}

.b-color {
  border-color: var(--bs-border);
}

.b {
  border: 1px solid var(--bs-border) !important;
}

.b-t {
  border-top: 1px solid var(--bs-border) !important;
}

.b-r {
  border-right: 1px solid var(--bs-border) !important;
}

.b-b {
  border-bottom: 1px solid var(--bs-border) !important;
}

.b-l {
  border-left: 1px solid var(--bs-border) !important;
}

.b-default {
  border-color: var(--bs-border) !important;
}

.b-primary {
  border-color: var(--bs-primary) !important;
}

.b-info {
  border-color: var(--bs-info) !important;
}

.b-success {
  border-color: var(--bs-success) !important;
}

.b-warning {
  border-color: var(--bs-warning) !important;
}

.b-danger {
  border-color: var(--bs-error) !important;
}

.b-2 {
  border-width: 2px;
}

.b-3 {
  border-width: 3px;
}

.b-4 {
  border-width: 4px;
}

.b-n-t {
  border-top: 0;
}

.b-n-r {
  border-right: 0;
}

.b-n-b {
  border-bottom: 0;
}

.b-n-l {
  border-left: 0;
}

/* Radius */
.no-r {
  border-radius: 0 !important;
}

.r {
  border-radius: var(--bs-border-radius-md);
}

.r-lg {
  border-radius: var(--bs-border-radius-lg);
}

.r-t-l {
  border-top-left-radius: var(--bs-border-radius-md);
}

.r-t-r {
  border-top-right-radius: var(--bs-border-radius-md);
}

.r-b-l {
  border-bottom-left-radius: var(--bs-border-radius-md);
}

.r-b-r {
  border-bottom-right-radius: var(--bs-border-radius-md);
}

.no-r-t-l {
  border-top-left-radius: 0 !important;
}

.no-r-t-r {
  border-top-right-radius: 0 !important;
}

.no-r-b-l {
  border-bottom-left-radius: 0 !important;
}

.no-r-b-r {
  border-bottom-right-radius: 0 !important;
}

/* Backgrounds */
.bg-primary {
  background-color: var(--bs-primary) !important;
}

.bg-primary-light {
  background-color: #dcd8f4 !important;
}

.bg-secondary {
  background-color: var(--bs-secondary) !important;
}

.bg-secondary-light {
  background-color: #e7f6d9 !important;
}

.bg-success {
  background-color: var(--bs-success) !important;
}

.bg-danger {
  background-color: var(--bs-error) !important;
}

.bg-warning {
  background-color: var(--bs-warning) !important;
}

.bg-warning-light {
  background-color: #fff4e5 !important;
}

.bg-info {
  background-color: var(--bs-info) !important;
}

.bg-light {
  background-color: var(--bs-gray-100) !important;
}

.bg-dark {
  background-color: #2b2b2b !important;
}

/* Text Colors */
.text-white {
  color: #fff;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.text-secondary {
  color: var(--bs-text) !important;
}

.text-success {
  color: var(--bs-success) !important;
}

.text-danger {
  color: var(--bs-error) !important;
}

.text-warning {
  color: var(--bs-warning) !important;
}

.text-info {
  color: var(--bs-info) !important;
}

.text-light {
  color: var(--bs-text-secondary) !important;
}

.text-dark {
  color: var(--bs-title) !important;
}

/* Size text */
.text-sm {
  font-size: var(--bs-text-sm);
}

.text-lg {
  font-size: var(--bs-text-lg);
}

/* Buttons */
.btn {
  height: 44px;
  padding: 0 20px;
  border-radius: var(--bs-border-radius-lg);
  font-weight: 500;
  font-size: var(--bs-text-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover {
  background-color: var(--bs-primary-dark);
  border-color: var(--bs-primary-dark);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.btn-outline-secondary {
  border-color: var(--bs-border);
  color: var(--bs-text);
}

.btn-outline-secondary:hover,
.btn-outline-secondary.show {
  background: transparent;
  color: var(--bs-title);
}

.btn-actions {
  width: 30px;
  height: 30px;
  justify-content: center;
}

.btn-actions:hover,
.btn-actions.show {
  color: var(--bs-title);
}

.btn-plan {
  height: auto;
  padding: 8px 14px;
  background: #f4f3fc;
  color: var(--bs-primary);
  gap: 8px;
  border-color: #f4f3fc;
}

.btn-plan:hover {
  background: #dcd8f4;
  color: var(--bs-primary-dark);
  border-color: #dcd8f4;
}

/* Customizados */
.max-w-470 {
  max-width: 470px;
}

/* Unit */
.unit-list {
  max-height: 300px;
  overflow-y: auto;
}

.unit-box-icon {
  background: #edebfa;
}

/* Layout */
.page-container {
  padding: 20px;
  position: relative;
}

/* Page Header */
.header-nav {
  background: var(--bs-card-bg);
  border-radius: var(--bs-border-radius-md);
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 70px;
}

.header-nav .header-left {
  gap: 12px;
}

.header-nav .header-left .icon-btn {
  color: var(--bs-text);
}

.header-nav .header-left .icon-btn i {
  width: 22px;
  height: 22px;
}

.header-nav .header-left .unit-switch {
  color: var(--bs-text);
  text-decoration: none;
  border: 1px solid var(--bs-border);
  padding: 8px 18px;
  border-radius: var(--bs-border-radius-lg);
  font-size: var(--bs-text-sm);
}

.header-nav .header-left .unit-name {
  font-weight: 500;
}

.header-nav .header-left .unit-switch:hover .unit-name {
  color: var(--bs-text);
}

.header-nav .header-left .unit-caret {
  margin-left: 6px;
}

.header-nav .header-center {
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.header-nav .header-center .brand {
  pointer-events: auto;
  display: inline-flex;
}

.header-nav .header-right .notif-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--bs-text);
  border: 1px solid var(--bs-border);
  border-radius: 50%;
  font-weight: 700;
}

.header-nav .header-right .notif-btn-icon {
  width: 20px;
  height: 20px;
}

.header-nav .header-right .notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  background: var(--bs-primary);
  color: #fff;
  border-radius: 50%;
}

.header-nav .header-right .notif-menu {
  width: 340px;
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
}

.header-nav .header-right .notif-menu .dropdown-item {
  white-space: normal;
}

.header-nav .header-right .notif-menu .flex-grow-1 {
  min-width: 0;
}

.header-nav .header-right .notif-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  line-height: 1;
  color: #fff;
}

.header-nav .header-right .notif-icon i,
.header-nav .header-right .notif-icon svg {
  width: 18px;
  height: 18px;
}

.header-nav .header-right .notif-menu p {
  line-height: 18px;
}

.header-nav .header-right .avatar {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.header-nav .header-right .profile-menu {
  width: 250px;
}

.profile-menu-icon {
  width: 18px;
  height: 18px;
}

.profile-menu .dropdown-item {
  display: flex;
  gap: 10px;
}

/* Content row */
.content-row {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

/* Page Sidebar */
.page-sidebar {
  flex: 0 0 260px;
  background: var(--bs-primary);
  border-radius: 15px;
  width: 260px;
  min-height: calc(100vh - 140px);
  transition:
    width 0.2s ease-in-out,
    opacity 0.2s ease-in-out;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1050;
}

body:not(.sidebar-open) .page-sidebar {
  width: 0 !important;
  flex-basis: 0 !important;
  opacity: 0;
  pointer-events: none;
}

body.sidebar-open .page-sidebar {
  width: 260px !important;
  flex-basis: 260px !important;
  opacity: 1;
  pointer-events: auto;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1040;
}

.page-sidebar .accordion-menu {
  padding: 20px 15px;
}

.page-sidebar .accordion-menu li a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
  padding: 12px 15px;
  text-decoration: none;
  font-size: var(--bs-text-sm);
}

.page-sidebar .accordion-menu li a svg {
  width: 18px;
  height: 18px;
  text-align: center;
  vertical-align: text-top;
  color: rgba(255, 255, 255, 0.7);
  margin-right: 10px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.page-sidebar .accordion-menu li.active-page a {
  border-radius: var(--bs-border-radius-lg);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 500;
}

.page-sidebar .accordion-menu li.active-page a svg {
  color: var(--bs-secondary) !important;
}

.page-sidebar .accordion-menu > li.active-page ul li a.active {
  font-weight: 500;
}

.page-sidebar .accordion-menu li a:hover svg {
  margin-left: 5px;
}

.page-sidebar .accordion-menu li a .dropdown-icon {
  float: right;
  vertical-align: middle;
  line-height: 44px;
  font-size: 10px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  margin-right: 0;
}

.page-sidebar .accordion-menu li.open a .dropdown-icon {
  visibility: visible;
  transform: rotate(90deg);
}

.page-sidebar .accordion-menu li ul {
  padding: 5px 0;
  list-style: none;
}

.page-sidebar .accordion-menu li ul li a {
  color: #ffffff;
  display: block;
  padding: 10px 15px;
  font-size: 14px;
  position: relative;
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
}

.page-sidebar .accordion-menu li ul li a:hover {
  margin-left: 5px;
}

/****************************
********* PAGE CONTENT *******
*****************************/
.page-content {
  flex: 1 1 auto;
  border-radius: var(--bs-border-radius-md);
  min-width: 0;
  overflow-x: hidden;
}

/* Sidebar hidden */
.sidebar-hidden .page-sidebar {
  width: 0;
  opacity: 0;
  pointer-events: none;
}

.sidebar-hidden .page-content {
  flex: 1 1 100%;
}

.sidebar-hidden .content-row {
  gap: 0;
}

.sidebar-hidden.sidebar-open .content-row {
  gap: 20px;
}

/* Portal grids */
.portal-grid-box {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 32px;
  text-decoration: none;
  background: #dcd8f4;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
  outline: none;
  border-radius: var(--bs-border-radius-md);
}

.portal-grid-box .box-icon {
  display: flex;
  color: var(--bs-primary);
}

.portal-grid-box .box-icon-feather {
  width: 50px;
  height: 50px;
}

.portal-grid-box .box-icon svg {
  stroke: var(--bs-primary) !important;
}

.portal-grid-box:hover {
  background: var(--bs-primary);
}

.portal-grid-box .box-label {
  font-weight: 500;
  color: #201750;
}

.portal-grid-box:hover .box-icon {
  display: flex;
}

.portal-grid-box:hover .box-icon-feather {
  width: 50px;
  height: 50px;
  color: var(--bs-secondary);
}

.portal-grid-box:hover .box-icon svg {
  stroke: var(--bs-secondary) !important;
}

.portal-grid-box:hover .box-label {
  color: #fff;
}

.portal-grid-box.active {
  background: var(--bs-primary);
}

.portal-grid-box.active .box-icon-feather {
  color: var(--bs-secondary);
}

.portal-grid-box.active .box-icon svg {
  stroke: var(--bs-secondary) !important;
}

.portal-grid-box.active .box-label {
  color: #fff;
}

/* Filters */
.filter-custom {
  width: 560px;
}

.filter-dashboard {
  width: 360px;
}

/* Dashboard */
.dash-checklist-box-icon {
  width: 44px;
  height: 44px;
}

.dash-checklist-box-icon .color-secondary {
  color: var(--bs-secondary-dark);
}

.dash-action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.dash-action-list .action-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.dash-action-list .action-item + .action-item {
  border-top: 1px solid var(--bs-border);
  padding-top: 16px;
}

.dash-action-list .status-bar {
  width: 4px;
  height: 28px;
  border-radius: 8px;
  display: inline-block;
}

.dash-action-list .status-bar-green {
  background: var(--bs-secondary);
}

.dash-action-list .status-bar-green-light {
  background: #b8e38c;
}

.dash-action-list .status-bar-red {
  background: var(--bs-error);
}

.dash-action-list .status-bar-purple {
  background: var(--bs-primary);
}

.dash-action-list .status-bar-purple-light {
  background: #9589df;
}

.dash-action-list .status-bar-yellow {
  background: var(--bs-warning);
}

.dash-action-list .status-bar-blue {
  background: var(--bs-info);
}

.progress-thin {
  height: 8px;
  background: var(--bs-gray-100) !important;
  border-radius: 999px;
}

.progress-thin .progress-bar {
  border-radius: 999px;
}

.progress-thin .progress-bar.bar-green {
  background: var(--bs-secondary);
}

.kpi-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0 -1.5rem -1.5rem;
  padding: 12px 0;
}

.kpi-footer .kpi-item + .kpi-item {
  border-left: 1px solid var(--bs-border);
  padding-left: 20px;
}

.vbar {
  width: 4px;
  height: 70px;
  border-radius: 8px;
  display: inline-block;
}

.vbar.bar-purple {
  background: var(--bs-primary);
}

.vbar.bar-green {
  background: var(--bs-secondary);
}

.vbar.bar-red {
  background: var(--bs-error);
}

.vbar.bar-green-dark {
  background: var(--bs-success);
}

.option-item .option-textarea {
  padding-left: 2.2rem;
}

.option-item .option-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
}

.option-item .btn-remove-option {
  width: 44px;
  height: 44px;
  border-radius: var(--bs-border-radius-lg);
  border: 1px solid var(--bs-border);
  justify-content: center;
}

.btn-add-option {
  color: var(--bs-primary);
}

.btn-add-option:hover {
  color: var(--bs-primary);
}

/****************************
********* UI ELEMENTS *******
*****************************/
/* Dropdowns */
.dropdown-menu {
  border-radius: var(--bs-border-radius-md);
  border: 1px solid var(--bs-border);
  padding: 15px 0;
  margin: 10px 0 0 0 !important;
}

.dropdown-item {
  color: var(--bs-text-secondary);
  font-size: var(--bs-text-sm);
  padding: 9px 26px;
  white-space: normal;
  display: flex;
  gap: 10px;
  align-items: center;
}

.dropdown-item:hover {
  background: none;
  color: var(--bs-text);
}

.dropdown-divider {
  border-color: var(--bs-border);
}

.dropdown-item.active,
.dropdown-item:active {
  color: var(--bs-primary);
  background: none;
}

.dropdown-header {
  padding: 8px 26px;
}

.dropdown-menu form {
  padding: 8px 20px;
}

/* Cards */
.card {
  margin-bottom: 28px;
  border-radius: 15px;
  border: none;
}

.card-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 24px;
  color: var(--bs-title);
  margin-bottom: 30px;
}

.card-title h1 {
  font-size: 24px;
}

.card-body {
  padding: 32px;
}

.card-header,
.card-footer {
  border-color: var(--bs-border);
}

/* breadcrumb */
.breadcrumb {
  font-size: var(--bs-text-sm);
}

.breadcrumb-item a {
  color: var(--bs-text-secondary);
}

.breadcrumb-item a:hover {
  color: var(--bs-title);
}

.breadcrumb-item.active {
  color: var(--bs-title);
  font-weight: 500;
}

/* Navs */
.tabs-surface {
  display: flex;
  flex-wrap: wrap;
}

.tabs-surface .nav {
  background: #f4f4f4;
  border-radius: var(--bs-border-radius-lg);
  padding: 4px;
  font-size: var(--bs-text-sm);
  font-weight: 600;
}

.nav-pills .nav-link.active,
.nav-pills .show .nav-link {
  background-color: #ffffff;
  color: var(--bs-title) !important;
}

.nav-pills .nav-link {
  border-radius: var(--bs-border-radius-lg);
}

.nav-item .nav-link {
  color: var(--bs-text-secondary) !important;
  padding: 10px 16px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link {
  border: 0;
}

/* Badge */
.badge {
  font-weight: 500;
  padding: 7px 12px;
}

.badge:not(.badge-pill) {
  border-radius: 7px;
}

.badge.bg-primary {
  background-color: #dcd8f4 !important;
  color: var(--bs-primary);
}

.badge.bg-success {
  background-color: #d2f1e5 !important;
  color: var(--bs-success);
}

.badge.bg-danger {
  background-color: #f9d8d8 !important;
  color: var(--bs-error);
}

.badge.bg-warning {
  background-color: #fdf2d6 !important;
  color: var(--bs-warning);
}

.badge.bg-info {
  background-color: #d0e4f9 !important;
  color: var(--bs-info);
}

.badge.bg-dark {
  background-color: #e8e8e8 !important;
  color: var(--bs-gray-700);
}

/* Modals */
body.modal-open {
  overflow: visible;
}

.modal-content {
  border-radius: var(--bs-border-radius-md);
  border: none;
}

.modal-header {
  padding: 16px 30px;
  border: 0;
  border-bottom: 1px solid var(--bs-border);
}

.modal-title {
  font-size: 18px !important;
  color: var(--bs-title) !important;
}

.modal-body {
  padding: 30px;
}

/* Pagination */
.page-link {
  color: var(--bs-text);
  border-color: var(--bs-border);
  border-radius: var(--bs-border-radius-lg);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.page-link:hover {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #ffffff;
}

.page-item.disabled .page-link {
  border-color: var(--bs-border);
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  border-radius: var(--bs-border-radius-lg);
}

.page-item.active .page-link {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  border-radius: var(--bs-border-radius-lg);
}

/* Progress */
.progress {
  background-color: #dcd8f4;
}

.progress-bar {
  background-color: var(--bs-primary);
}

/* Accordion */
.accordion-element {
  overflow: hidden;
  border-radius: var(--bs-border-radius-lg);
}

.accordion-header {
  background: var(--bs-gray-100);
}

.accordion-button {
  border: none;
  padding: 20px;
}

.accordion-collapse {
  border: none;
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--bs-primary);
}

.accordion-item:first-of-type .accordion-button {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.accordion-item:last-of-type .accordion-button.collapsed {
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.accordion-flush .accordion-button {
  box-shadow: none;
}

/* Form Elements */
.form-label {
  font-weight: 500;
  font-size: var(--bs-text-sm);
  margin-bottom: 6px;
  color: var(--bs-title);
}

.form-label-small {
  font-size: 12px;
  margin-top: 6px;
  color: var(--bs-text-secondary);
}

.form-control {
  height: 44px;
  border-radius: var(--bs-border-radius-lg);
  font-size: var(--bs-text-md);
  border: 1px solid var(--bs-border) !important;
  box-shadow: none;
  padding: 10px 18px;
}

.form-control:disabled,
.form-control[readonly],
.form-select:disabled {
  background-color: var(--bs-border);
  color: var(--bs-title);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(108, 77, 255, 0.2);
}

.form-select {
  border-color: var(--bs-border) !important;
  border-radius: var(--bs-border-radius-lg);
  height: 44px;
  padding: 0 18px;
}

.form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.input-group-text {
  border-radius: var(--bs-border-radius-lg);
  background-color: #fff;
  border-color: var(--bs-border);
}

.form-control.is-valid,
.was-validated .form-control:valid,
.form-select.is-valid,
.was-validated .form-select:valid {
  border-color: var(--bs-success);
}

.form-control.is-invalid,
.was-validated .form-control:invalid,
.form-select.is-invalid,
.was-validated .form-select:invalid {
  border-color: var(--bs-error);
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(108, 77, 255, 0.2);
}

.select2-container--bootstrap-5
  .select2-dropdown
  .select2-search
  .select2-search__field:focus {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(108, 77, 255, 0.2);
}

textarea.form-control {
  height: auto;
  padding: 18px;
}

.dropzone {
  border: 2px dashed var(--bs-border);
  border-radius: var(--bs-border-radius-lg);
  cursor: pointer;
}

.dropzone-btn {
  width: 48px;
  height: 48px;
  background: var(--bs-primary);
  color: #ffffff;
}

.dropzone.dragover {
  background: #f5f3ff;
  border-color: var(--bs-border);
}

.object-fit-cover {
  object-fit: cover;
}

.dropzone-btn-action {
  width: 30px;
  height: 30px;
  background: #ffffff;
  padding: 0;
  border: 1px solid var(--bs-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-text);
  border-radius: var(--bs-border-radius-lg);
  cursor: pointer;
}

.form-subtitle {
  font-size: 18px;
  color: var(--bs-title);
}

.form-switch {
  padding-left: 0;
}

.form-switch .form-check-input {
  margin-left: 8px !important;
  height: 22px !important;
  width: 36px !important;
  margin-top: 0 !important;
}

/* Tables */
.table {
  color: var(--bs-text);
  border-color: var(--bs-border);
}

.table * {
  border-color: var(--bs-border) !important;
}

.table th,
.table td {
  padding: 15px 20px !important;
  font-weight: normal;
  vertical-align: middle;
  font-size: var(--bs-text-sm);
  color: var(--bs-text);
}

.table thead th {
  font-weight: 500;
  color: var(--bs-text-secondary);
  text-transform: uppercase;
  font-size: 12px;
}

.table tbody tr:last-child td,
.table tbody tr:last-child th {
  border-bottom: none;
}

.table tfoot tr td,
.table tfoot tr th {
  border-bottom: none;
  border-top-width: 1px;
}

.table-hover tbody tr {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.table-hover tbody tr:hover {
  --bs-table-hover-bg: transparent;
  background: var(--bs-gray-100);
}

.table-striped tbody tr:nth-of-type(odd) {
  --bs-table-striped-bg: var(--bs-gray-100);
}

.table-striped tbody tr:nth-of-type(odd) {
  color: var(--bs-text);
}

.table-active {
  --bs-table-bg-state: var(--bs-gray-100);
}

/****************************
************ MOBILE **********
*****************************/
/* 1350 */
@media (max-width: 1350px) {
}

/* 1200 */
@media (max-width: 1200px) {
}

/* Min 992 **/
@media (min-width: 992px) {
  /* Sidebar */
  .page-sidebar {
    position: relative;
    width: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transition:
      width 0.2s ease,
      opacity 0.2s ease;
  }

  body.sidebar-open .page-sidebar {
    width: 260px;
    opacity: 1;
    pointer-events: auto;
  }
}

/* 992 */
@media (max-width: 991.98px) {
  /* Sidebar */
  .page-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
    border-radius: 0 14px 14px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transform: translateX(-110%);
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
    opacity: 1;
    pointer-events: none;
  }

  body.sidebar-open .page-sidebar {
    transform: translateX(0);
    pointer-events: auto;
  }

  body.sidebar-open .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .header-nav .unit-switch {
    padding: 8px;
    width: 36px;
    height: 36px;
    justify-content: center;
  }

  .header-nav .unit-switch .unit-name,
  .header-nav .unit-switch .unit-caret {
    display: none !important;
  }

  /* Card */
  .card-body {
    padding: 20px;
  }

  /* Paddings */
  .p {
    padding: 20px;
  }

  /* Form control */
  .form-switch .form-check-input {
    margin-left: 0 !important;
  }

  /* Modal */
  .modal-header {
    padding: 16px 20px;
  }

  .modal-body {
    padding: 20px;
  }

  /* Btn */
  .btn-plan {
    padding: 8px;
  }

  .btn-plan span {
    display: none;
  }

  .header-nav .header-right .notif-menu {
    width: 300px;
    right: -30px;
  }

  .filter-custom {
    width: 300px;
  }
}
