.layout-width,
.container-fluid {
  max-width: 100% !important;
  margin: 0 auto;
}

.navbar-header {
  background: #1876d2;
}

.topbar-user {
  background: #166dc2;
}

#page-topbar .app-search .form-control,
#page-topbar .app-search #search-options {
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

#page-topbar .app-search input::placeholder {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

#page-topbar .app-search input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

#page-topbar .app-search input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

#page-topbar .app-search input:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

#page-topbar .app-search span.search-widget-icon {
  color: rgba(255, 255, 255, 0.85);
}

#page-topbar .app-search .form-control:focus,
#page-topbar .app-search #search-options:focus {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.2);
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.label-default {
  padding: 3px 5px;
  line-height: 20px;
  height: 20px;
  background: #606060;
  color: #ffffff;
  font-size: 12px;
  border-radius: 28px;
  margin-left: 5px;
}

.label-primary {
  padding: 3px 5px;
  line-height: 20px;
  height: 20px;
  background: #1976d2;
  color: #ffffff;
  font-size: 12px;
  border-radius: 28px;
  margin-left: 5px;
}

.label-info {
  padding: 3px 5px;
  line-height: 20px;
  height: 20px;
  background: #e0e0e0;
  color: #606060;
  font-size: 12px;
  border-radius: 28px;
  margin-left: 5px;
}

.name_first_letter {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font: 6px / 16px Helvetica, Arial, sans-serif;
  align-items: center;
  justify-content: center;
  text-align: center;
  user-select: none;
  background-color: rgb(3, 169, 244);
  color: white;
  position: relative;
  top: -2px;
  margin-right: 2px;
}

.client_text {
  color: #212121;
  font-weight: 700;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 0px;
}

.dropdown_btn {
  background: #ffffff;
  border: 1px solid #eaeaea;
  color: #1876d2;
  font-size: 16px;
  padding: 0px 4px;
  box-shadow: 0 1px 2px rgba(56, 65, 74, .15);
}

.dropdown_btn:hover {
  background: #ffffff;
  color: #1876d2;
  border: 1px solid #eaeaea;
}

.dropdown_btn::after {
  display: none !important;
}

.w-full {
  width: 100%;
}

.mr-1 {
  margin-right: 5px;
}

.nav-tabs .nav-item {
  margin: 0px 0px 0px 10px;
}

.nav-tabs .nav-item:first-child {
  margin: 0px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: #1976d2;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  color: #1976d2;
  background: #eff2f7;
  border-radius: 0.25rem 0.25rem 0px 0px;
  border: 1px solid #e9ebec;
}

.client-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.client-avatar-wrapper {
  position: relative;
  display: inline-block;
  width: 85px;
  height: 85px;
  margin-right: 10px;
}

.client-avatar {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: #8bc34b;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.edit-icon {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 50%;
  padding: 5px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 10px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
}

.client-avatar-wrapper:hover .edit-icon {
  opacity: 1;
}

/* Uploaded image styling */
.client-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.label-status {
  margin-left: 5px;
}

.nav-tabs {
  margin-bottom: 20px;
}

.panel-heading {
  font-weight: bold;
}

.details-list p {
  margin: 5px 0;
}

.description-box {
  min-height: 120px;
  resize: vertical;
}

.btn-add {
  margin-top: 5px;
}


.card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  margin-bottom: 20px;
  padding: 15px;
}

.card:has(> .card-header),
.card.p-0 {
  padding: 0 !important;
}

.card:has(> .card-header) > .card-body {
  padding: 20px;
}

.card-header {
  font-weight: bold;
  font-size: 14px;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
  background-color: #f8f9fa;
  border-radius: 4px 4px 0px 0px;
  padding: 12px 16px;
}

.nav-tabs-custom {
  border-bottom: 1px solid #e9ebec !important;
  margin-bottom: 0 !important;
}

.nav-tabs-custom .nav-item {
  margin: 0 4px 0 0 !important;
}

.nav-tabs-custom .nav-link {
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  color: #64748b !important;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 18px !important;
  background: transparent !important;
  position: relative;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-tabs-custom .nav-link:hover {
  color: #1976d2 !important;
  background-color: rgba(25, 118, 210, 0.05) !important;
}

.nav-tabs-custom .nav-link.active {
  color: #1976d2 !important;
  font-weight: 600 !important;
  border-bottom: 2px solid #1976d2 !important;
  background-color: #ffffff !important;
}

.nav-tabs-custom .nav-link.active::after {
  display: none !important;
}


.details-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.details-table td {
  padding: 12px 16px;
  position: relative;
}

.cell-edit {
  position: relative;
  padding-right: 44px;
}

/* Edit button hidden by default */
.edit-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #1976d2;
  color: #fff;
  border-radius: 3px;
  padding: 0px 5px;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  display: none;
}

.details-table tr{ border-bottom: 1px solid #dee2e6;}
.details-table tr:last-child{ border-bottom: none;}
/* Show edit button on row hover only if not editing */
.details-table tr:hover {
  background: #f5f5f5;
}

.details-table tr:hover .edit-btn {
  display: inline-block;
}

.cell-edit.editing .edit-btn {
  display: none !important;
  /* force hide during editing */
}

/* Action buttons */
.action-btns {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  gap: 6px;
}

.action-btns button {
  border: none;
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.btn-cancel {
  background: #d9534f;
  color: #fdecec;
}

.btn-save {
  background: #28a745;
  color: #d1f1d1;
}

.edit-input {
  width: calc(100% - 100px);
  padding: 6px;
  font-size: 14px;
}

.team-member {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.team-member .circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #007bff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 10px;
}

.status {
  background: #28a745;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 10px;
  display: inline-block;
  margin-left: 10px;
}
.add_btn{ color: #1976D2; cursor: pointer; padding: 3px 7px;}
.add_btn:hover{ background-color: #dce4eb; border-radius: 12px;}
.custom_badge{ background-color: #87c886 !important; width: 18px; height: 18px; display: inline-flex; justify-content: center; align-items: center;}
.custom_icon{ font-size: 16px;}
.btn-add{ border-radius: .25rem !important;
    padding-left: 14px !important;
    padding-right: 14px !important;background-color: #1976d2;font-size: 13.5px; color: #fff;
    padding: 0 8px;}
    .btn-add:hover{ background-color: #1976d2; color: #fff;}
    .grey_text{ color: #9E9E9E; font-size: 13.5px;}
    .nav-tabs .nav-link, .nav-tabs-custom .nav-link{ color: #646464;}
    .nav-tabs .nav-link.active, .nav-tabs-custom .nav-link.active{ color: #1976d2;}
    .nav-pills .nav-link.active{ color: #ffffff;}
    .default_color{ background-color: #03A9F4 !important;}
    .pl-0{ padding-left: 0px !important;}
    .ck_add_btn{ color: #1976D2; cursor: pointer; padding: 3px 7px;}
.ck_add_btn:hover{ background-color: #dce4eb; border-radius: 12px;}
.btn_cancel, .btn_cancel:hover{ border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 16px;background: #d9534f;
    color: #ffffff; width: 80px; font-size: 14px;}
.btn_save, .btn_save:hover{ border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 16px;background: #28a745;
    color: #ffffff; width: 80px; margin-left: 15px;font-size: 14px;}
    .btn_group{ display: flex; justify-content: flex-end; margin-top: 15px;}

    


    .ck-editor-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.ck-editor-table td {
  padding: 12px 16px;
  position: relative;
}

.ck-editor-table tr{ border-bottom: 1px solid #dee2e6;}
.ck-editor-table tr:last-child{ border-bottom: none;}
/* Show edit button on row hover only if not editing */
.ck-editor-table tr:hover {
  background: #f5f5f5;
}

.ck-editor-table tr:hover .edit-btn {
  display: inline-block;
}

.ck-cell { position: relative; padding-right: 40px; vertical-align: middle; }
  .ck_edit_btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    background: #1976d2;
  color: #fff;
  border-radius: 3px;
  padding: 2px 5px;
  }
  /* show edit button on hover only if it's visible */
  .ck-cell:hover .ck_edit_btn[style*="display:inline"], .ck-cell:hover .ck_edit_btn:not([style*="display:none"]) {
    display: inline-block !important;
  }

  .ck_text {
    display: inline-block;
    max-width: calc(100% - 48px); /* leave room for the edit button */
    white-space: normal;
    word-wrap: break-word;
    vertical-align: middle;
  }
  .ck_text p { margin: 0; } /* avoid large default margins from editor HTML */

  .ck-editor-reverse { margin-top: 8px; } /* keep editor below the table */
  .tag{ color: #1976d2; font-size: 13.5px; cursor: pointer; padding: 3px 7px;}
  .tag:hover{ background-color: #dce4eb; border-radius: 12px; }
/* Slim scroll for tag list */
.overflow-auto::-webkit-scrollbar {
    width: 6px;
}
.overflow-auto::-webkit-scrollbar-thumb {
    background-color: #ced4da;
    border-radius: 3px;
}
.overflow-auto::-webkit-scrollbar-track {
    background-color: #f8f9fa;
}

/* Hover background for list items */
.hover-bg:hover {
    background-color: #f1f3f5;
    cursor: pointer;
}
.dropdown_menu_custom{ border: 1px solid #efeff0; -webkit-box-shadow: 0 1px 2px rgba(56, 65, 74, .15); box-shadow: 0 1px 2px rgba(56, 65, 74, .15); top: 25px;}
.list-unstyled{ font-size: 13.5px;}
.custom_search{ font-size: 13.5px; color: #888a99;
  i{font-size: 16px;color: #424242 !important;}
  input{font-size: 13.5px;}
}
.manage_tags{ font-size: 13.5px; color: #1976d2; padding: 8px 16px !important; display: block;}
.manage_tags:hover{ background-color: #f5f5f5;}
.list-unstyled li:hover{ background-color: #f5f5f5;}
#tagList li.active {
    background-color: #f5f5f5;
    font-weight: 500;
    border-radius: 4px;
}
.clr_op1{ font-size: 16px; color: rgb(195, 119, 224) !important;}
.clr_op2{ font-size: 16px; color: rgb(172, 134, 113) !important;}
.clr_op3{ font-size: 16px; color: rgb(255, 159, 26) !important;}
.clr_op4{ font-size: 16px; color: rgb(235, 176, 190) !important;}
.clr_op5{ font-size: 16px; color: rgb(0, 121, 191) !important;}
.clr_op6{ font-size: 16px; color: rgb(235, 90, 70) !important;}
.grey_badge{ background-color: #e9e9e9;
    color: #212121;
    border: 1px solid #e9e9e9;}

/* Modal & Backdrop Full Viewport Positioning Fix */
.modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  min-width: 100% !important;
  height: 100vh !important;
  min-height: 100% !important;
  z-index: 1050 !important;
}

.modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  min-width: 100% !important;
  height: 100vh !important;
  min-height: 100% !important;
  z-index: 1055 !important;
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-dialog {
  margin-right: auto !important;
  margin-left: auto !important;
}

/* Layout and Dimension Utility Helpers */
.w-40px { width: 40px; }
.w-45px { width: 45px; }
.w-50px { width: 50px; }
.w-60px { width: 60px; }
.w-70px { width: 70px; }
.w-80px { width: 80px; }
.w-90px { width: 90px; }
.w-100px { width: 100px; }
.w-110px { width: 110px; }
.w-130px { width: 130px; }
.w-140px { width: 140px; }
.w-150px { width: 150px; }
.w-160px { width: 160px; }
.w-170px { width: 170px; }
.w-180px { width: 180px; }
.w-220px { width: 220px; }
.w-250px { width: 250px; }
.w-fit { width: fit-content; }
.w-20pct { width: 20%; }
.w-25pct { width: 25%; }
.w-35pct { width: 35%; }
.w-45pct { width: 45%; }
.w-100pct { width: 100%; }

.h-6px { height: 6px; }
.h-12px { height: 12px; }
.h-75px { height: 75px; }
.h-75vh { height: 75vh; }
.w-75px { width: 75px; }

.min-w-140 { min-width: 140px; }
.min-w-250 { min-width: 250px; }
.min-w-260 { min-width: 260px; }
.min-h-120 { min-height: 120px; }
.min-h-500 { min-height: 500px; }

.max-w-180 { max-width: 180px; }
.max-w-220 { max-width: 220px; }
.max-w-250 { max-width: 250px; }
.max-w-380 { max-width: 380px; }
.max-w-450 { max-width: 450px; }
.max-w-750 { max-width: 750px; }

.max-h-60 { max-height: 60px; }
.max-h-120 { max-height: 120px; }
.max-h-200 { max-height: 200px; }
.max-h-220 { max-height: 220px; }
.max-h-240 { max-height: 240px; }
.max-h-260 { max-height: 260px; }
.max-h-280 { max-height: 280px; }
.max-h-380 { max-height: 380px; }
.max-h-420 { max-height: 420px; }

.cursor-pointer { cursor: pointer; }
.logo-invert { filter: brightness(0) invert(1); }
.z-1060 { z-index: 1060; }
.leading-1-6 { line-height: 1.6; }
.text-justify { text-align: justify; }
.bg-slate-preview { background-color: #e2e8f0; }
.avatar-80 { width: 80px; height: 80px; object-fit: cover; }
.avatar-circle-110 {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  background-color: #0284c7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-preview-sidebar {
  background-color: #14243b;
  min-height: 100%;
}
.spinner-lg-35 {
  width: 3.5rem;
  height: 3.5rem;
}
.avatar-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.whitespace-pre-wrap {
  white-space: pre-wrap;
}
.preview-strength-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid #facc15;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.preview-achievement-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid #38bdf8;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.preview-badge-pill {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.preview-badge-subtle {
  background: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 500;
}
.preview-progress-track {
  height: 4px;
  background-color: rgba(255, 255, 255, 0.15);
}
.preview-progress-bar {
  background-color: #38bdf8;
}
.text-yellow-light { color: #fef08a; }
.text-sky-light { color: #7dd3fc; }
.text-sky-soft { color: #bae6fd; }
.text-sky-brand { color: #38bdf8; }
.text-slate-light { color: #cbd5e1; line-height: 1.45; }
.w-10 { width: 10% !important; }
.w-20 { width: 20% !important; }
.w-30 { width: 30% !important; }
.w-40 { width: 40% !important; }
.w-50 { width: 50% !important; }
.w-60 { width: 60% !important; }
.w-70 { width: 70% !important; }
.w-80 { width: 80% !important; }
.w-90 { width: 90% !important; }
.w-100 { width: 100% !important; }

/* ==========================================================================
   Horizontal Layout: Responsive Side Collapsible Drawer (<= 1024px)
   ========================================================================== */
@media (max-width: 1024.98px) {
  /* 1. Maximize page vertical space: remove top margin so content starts directly under 70px topbar */
  html[data-layout="horizontal"] #layout-wrapper .main-content .page-content {
    margin-top: 0;
    padding-top: calc(70px + 1.25rem);
  }

  /* 2. Topbar Hamburger Button: visible on responsive, styled with 3 crisp white bars */
  html[data-layout="horizontal"] #page-topbar .topnav-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #page-topbar .topnav-hamburger .hamburger-icon span {
    background-color: #ffffff;
  }

  /* Hamburger bars when menu is closed: clean parallel ☰ */
  body:not(.menu) #page-topbar .topnav-hamburger .hamburger-icon.open,
  body:not(.menu) #page-topbar .topnav-hamburger .hamburger-icon {
    transform: none;
  }

  body:not(.menu) #page-topbar .topnav-hamburger .hamburger-icon.open span:nth-child(1),
  body:not(.menu) #page-topbar .topnav-hamburger .hamburger-icon span:nth-child(1) {
    top: 0;
    width: 100%;
    transform: none;
    left: 0;
  }

  body:not(.menu) #page-topbar .topnav-hamburger .hamburger-icon.open span:nth-child(2),
  body:not(.menu) #page-topbar .topnav-hamburger .hamburger-icon span:nth-child(2) {
    top: 6px;
    width: 100%;
    transform: none;
    left: 0;
  }

  body:not(.menu) #page-topbar .topnav-hamburger .hamburger-icon.open span:nth-child(3),
  body:not(.menu) #page-topbar .topnav-hamburger .hamburger-icon span:nth-child(3) {
    bottom: 0;
    top: auto;
    width: 100%;
    transform: none;
    left: 0;
  }

  /* Hamburger transforms into a clean 'X' when side drawer is open */
  body.menu #page-topbar .topnav-hamburger .hamburger-icon span:nth-child(1) {
    top: 6px;
    left: 0;
    bottom: auto;
    transform: rotate(45deg);
    width: 100%;
  }

  body.menu #page-topbar .topnav-hamburger .hamburger-icon span:nth-child(2) {
    opacity: 0;
  }

  body.menu #page-topbar .topnav-hamburger .hamburger-icon span:nth-child(3) {
    top: 6px;
    left: 0;
    bottom: auto;
    transform: rotate(-45deg);
    width: 100%;
  }

  /* 3. Side Drawer: full-height offcanvas sidebar on the left */
  html[data-layout="horizontal"] #layout-wrapper .navbar-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 275px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    margin-top: 0;
    padding: 0;
    z-index: 1060;
    background: #ffffff;
    box-shadow: 4px 0 24px rgba(15, 23, 42, 0.25);
    border-right: 1px solid #e2e8f0;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
  }

  html[data-layout="horizontal"] body.menu #layout-wrapper .navbar-menu {
    transform: translateX(0);
  }

  /* Side Drawer Brand Header (0 to 70px) */
  html[data-layout="horizontal"] #layout-wrapper .navbar-menu .navbar-brand-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 1.25rem;
    background: #1876d2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  html[data-layout="horizontal"] #layout-wrapper .navbar-menu .navbar-brand-box .logo-light {
    display: inline-flex;
    align-items: center;
  }

  html[data-layout="horizontal"] #layout-wrapper .navbar-menu .navbar-brand-box .logo-dark {
    display: none;
  }

  /* Scrollable Container inside Side Drawer */
  html[data-layout="horizontal"] #layout-wrapper .navbar-menu #scrollbar {
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 0.5rem 2rem 0.5rem;
  }

  /* Vertical Navigation Items in Side Drawer */
  html[data-layout="horizontal"] #layout-wrapper .navbar-menu .navbar-nav {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
  }

  html[data-layout="horizontal"] #layout-wrapper .navbar-menu .navbar-nav > .nav-item {
    width: 100%;
    position: relative;
    margin-bottom: 2px;
  }

  html[data-layout="horizontal"] #layout-wrapper .navbar-menu .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 0.7rem 0.85rem;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 6px;
    transition: all 0.15s ease;
  }

  html[data-layout="horizontal"] #layout-wrapper .navbar-menu .navbar-nav .nav-link:hover {
    background-color: #f1f5f9;
    color: #1876d2;
  }

  html[data-layout="horizontal"] #layout-wrapper .navbar-menu .navbar-nav .nav-link.active {
    background-color: rgba(24, 118, 210, 0.1);
    color: #1876d2;
    font-weight: 600;
  }

  html[data-layout="horizontal"] #layout-wrapper .navbar-menu .navbar-nav .nav-link i {
    font-size: 1.2rem;
    min-width: 2rem;
    margin-right: 0.5rem;
    color: inherit;
  }

  /* Submenus inside side drawer */
  html[data-layout="horizontal"] #layout-wrapper .navbar-menu .menu-dropdown {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    box-shadow: none;
    background: #f8fafc;
    padding: 0.25rem 0 0.25rem 1.5rem;
    border-radius: 6px;
    margin: 2px 0 6px 0;
  }

  html[data-layout="horizontal"] #layout-wrapper .navbar-menu .menu-dropdown.show {
    display: block;
  }

  html[data-layout="horizontal"] #layout-wrapper .navbar-menu .menu-dropdown .nav-link {
    padding: 0.45rem 0.75rem;
    font-size: 0.84rem;
    color: #64748b;
  }

  html[data-layout="horizontal"] #layout-wrapper .navbar-menu .menu-dropdown .nav-link:hover,
  html[data-layout="horizontal"] #layout-wrapper .navbar-menu .menu-dropdown .nav-link.active {
    color: #1876d2;
    background: rgba(24, 118, 210, 0.08);
  }

  /* 4. Backdrop Overlay */
  .vertical-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1055;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  body.menu .vertical-overlay {
    opacity: 1;
    visibility: visible;
    display: block;
  }
}

/* Soft & High-Contrast Utility Buttons */
.btn-soft-primary {
  color: #1876d2;
  background-color: rgba(24, 118, 210, 0.12);
  border: 1px solid rgba(24, 118, 210, 0.28);
}
.btn-soft-primary:hover,
.btn-soft-primary:focus {
  color: #ffffff;
  background-color: #1876d2;
  border-color: #1876d2;
}

.btn-soft-secondary {
  color: #475569;
  background-color: rgba(100, 116, 139, 0.12);
  border: 1px solid rgba(100, 116, 139, 0.28);
}
.btn-soft-secondary:hover,
.btn-soft-secondary:focus {
  color: #ffffff;
  background-color: #475569;
  border-color: #475569;
}

.btn-soft-success {
  color: #0f766e;
  background-color: rgba(15, 118, 110, 0.12);
  border: 1px solid rgba(15, 118, 110, 0.28);
}
.btn-soft-success:hover,
.btn-soft-success:focus {
  color: #ffffff;
  background-color: #0f766e;
  border-color: #0f766e;
}

.btn-soft-warning {
  color: #854d0e;
  background-color: #fef08a;
  border: 1px solid #facc15;
}
.btn-soft-warning:hover,
.btn-soft-warning:focus {
  color: #000000;
  background-color: #facc15;
  border-color: #eab308;
}

.btn-soft-danger {
  color: #b91c1c;
  background-color: rgba(185, 28, 28, 0.12);
  border: 1px solid rgba(185, 28, 28, 0.28);
}
.btn-soft-danger:hover,
.btn-soft-danger:focus {
  color: #ffffff;
  background-color: #b91c1c;
  border-color: #b91c1c;
}

.btn-soft-info {
  color: #0369a1;
  background-color: rgba(3, 105, 161, 0.12);
  border: 1px solid rgba(3, 105, 161, 0.28);
}
.btn-soft-info:hover,
.btn-soft-info:focus {
  color: #ffffff;
  background-color: #0369a1;
  border-color: #0369a1;
}



