@charset "UTF-8";
@import url("page-overlap.css");

:root {
  --primary-50: #EBF0F9;
  --primary-100: #D6E1F3;
  --primary-200: #ADC3E7;
  --primary-300: #84A5DB;
  --primary-400: #5B87CF;
  --primary-500: #1E4A8D;
  --primary-600: #1A4280;
  --primary-700: #163971;
  --primary-800: #112D59;
  --primary-900: #0C2142;
  --primary-950: #081729;
  --primary-1000: #040C17;
  --secondary-50: #F3FAE8;
  --secondary-100: #E7F5D1;
  --secondary-200: #CFEBA3;
  --secondary-300: #B7E175;
  --secondary-400: #9ED45B;
  --secondary-500: #85C741;
  --secondary-600: #76B33A;
  --secondary-700: #639630;
  --secondary-800: #4D7526;
  --secondary-900: #38561B;
  --secondary-950: #243810;
  --secondary-1000: #111A08;
  --gray-50: #F7F8FA;
  --gray-100: #ECEEF2;
  --gray-200: #D5DAE4;
  --gray-300: #B0BAC9;
  --gray-400: #8896A9;
  --gray-500: #60718A;
  --gray-600: #4A5568;
  --gray-700: #374151;
  --gray-800: #263040;
  --gray-900: #17202D;
  --gray-950: #0D141E;
  --gray-1000: #060A0F;
  --accent-50: #FFF8E6;
  --accent-100: #FEEFC3;
  --accent-200: #FDE08A;
  --accent-300: #FBCE52;
  --accent-400: #F9BC1E;
  --accent-500: #E5A800;
  --accent-600: #C28F00;
  --accent-700: #92600A;
  --accent-800: #6B4508;
  --accent-900: #472D05;
  --accent-950: #2C1C03;
  --accent-1000: #140D01;
  --color-primary: #1E4A8D;
  --color-secondary: #85C741;
  --color-success: #76B33A;
  --color-info: #84A5DB;
  --color-warning: #E5A800;
  --color-danger: #D94040;
  --color-light: #F7F8FA;
  --color-dark: #17202D;
  --color-accent: #E5A800;
  --font-sans: Inter, system-ui, -apple-system, sans-serif;
  --font-mono: JetBrains Mono, Fira Code, monospace;
  --font-size-base: 1rem;
  --line-height-base: 1.6;
  --body-color: #263040;
  --body-bg: #F7F8FA;
  --radius-sm: 0.25rem;
  --radius: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-pill: 50rem;
  --shadow-sm: 0 1px 4px rgba(23, 32, 45, 0.06);
  --shadow: 0 2px 8px rgba(23, 32, 45, 0.08);
  --shadow-lg: 0 8px 24px rgba(23, 32, 45, 0.12);
  --transition-base: all 0.2s ease-in-out;
  --transition-fade: opacity 0.15s linear;
  --transition-collapse: height 0.35s ease;
  --teal: #0E7F66;
  --teal-bg: #E6F9F5;
  --bs-link-color: #1E4A8D ;
}

[data-luno=theme-blue],
[data-luno=theme-cyan] {
  --primary-color: #1E4A8D !important;
  --bs-success-rgb: 25, 135, 84 !important;
  --bs-danger-rgb: 255, 59, 48 !important;
  --primary-rgb: 41, 35, 92 !important;
  --bs-btn-active-bg: #1E4A8D !important;
}

:root {
  --border-color: #E2E8F0;
  --body-color: #F1F5F9;
}

.min-container {
  min-height: calc(100vh - 160px);
}

.sub-info {
  font-size: 0.75rem;
}

.or {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #fff;
}

.page-footer {
  font-size: 0.75rem;
}

.upcomming_schedule div {
  padding-left: 48px;
  position: relative;
}
.upcomming_schedule div:before {
  content: "\f508";
  font-family: "Line Awesome Free";
  font-weight: 900;
  font-size: 2.5rem;
  position: absolute;
  left: 0;
  top: -8px;
  color: #4A5568;
}
.upcomming_schedule span:nth-child(1) {
  font-weight: 700;
}
.upcomming_schedule span:nth-child(2) {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.filter-label {
  color: #60718A;
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 600;
  padding-left: 6px;
}

.date-field {
  width: 150px;
  font-size: 1rem;
  font-weight: 700;
}

img {
  filter: none;
}

.tab-pane hr {
  margin: 2.5rem 0;
}

.text-bg-light {
  background: #D5DAE4 !important;
}

.form-check-input {
  background-color: #fff;
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background: linear-gradient(36deg, rgba(41, 35, 92, 0.9) 0%, rgba(69, 83, 158, 0.9) 35%, rgba(239, 111, 51, 0.9) 100%);
}

.accordion-flush > .accordion-item {
  color: #000;
  margin: 16px 0;
  border-radius: 16px;
  box-shadow: none;
}

.accordion-flush > .accordion-item > .accordion-header .accordion-button.collapsed {
  border-radius: 16px;
}

.accordion-flush > .accordion-item > .accordion-header .accordion-button {
  border-radius: 16px 16px 0 0;
}

.accordion-body {
  background: #fff;
  border-radius: 0 0 16px 16px;
}

.accordion.optimise {
  border-radius: 0.75rem;
}
.accordion.optimise .accordion-item {
  margin: 10px 0;
  border-radius: 0.75rem;
}
.accordion.optimise .accordion-button {
  align-items: center;
  padding: 4px 12px;
  font-size: 0.875rem;
}
.accordion.optimise .accordion-button:not(.collapsed) {
  color: #4A5568;
  background: #D5DAE4;
}
.accordion.optimise .accordion-body {
  padding: 12px;
}

.accordion-flush.optimise > .accordion-item > .accordion-header .accordion-button.collapsed {
  border-radius: 0.75rem 0.75rem 0 0;
}

h1,
h2,
h3 {
  color: #163971;
}

.layout-1 .sidebar {
  background: #1E4A8D;
}
.layout-1 .sidebar .title-text {
  color: #D6E1F3;
}

.layout-1 .sidebar .menu-list {
  padding: 0;
}
.layout-1 .sidebar .menu-list .m-link {
  padding-left: 8px;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}
.layout-1 .sidebar .menu-list .m-link:hover, .layout-1 .sidebar .menu-list .m-link.active {
  color: #9ED45B;
  border-right: 4px solid #85C741;
  background: rgba(173, 195, 231, 0.2);
  border-radius: 16px;
}

.layout-1 .sidebar.sidebar-mini .menu-list .m-link {
  padding-left: 0;
}

.collapsed .layout-1 .sidebar .menu-list .m-link {
  text-transform: normal;
}

.layout-1 .sidebar .menu-list .m-link,
.layout-1 .sidebar .menu-list .ms-link {
  color: #ADC3E7;
}

.layout-1 .sidebar .menu-list {
  border: 1px dashed #45556C;
}

.layout-1 .sidebar .menu-list > li {
  border-bottom: 1px dashed #45556C;
}

.layout-1 .sidebar .menu-list .ms-link.active {
  color: #85C741;
}
.layout-1 .sidebar .menu-list .ms-link.active:hover {
  color: #85C741;
}

.layout-1 .sidebar .menu-list .ms-link:hover {
  color: #85C741;
}

.layout-1 .sidebar .menu-list .ms-link::before {
  background-color: #1E4A8D;
  border: 1px solid #F28D5E;
}

.layout-1 .sidebar .menu-list .sub-menu::before {
  background-color: #413894;
}

.layout-1 .sidebar .menu-list a[aria-expanded=true].m-link {
  color: #D6E1F3;
}

.layout-1 .sidebar,
.layout-1 .wrapper {
  scrollbar-color: #E3E1F4 #E3E1F4;
}
.layout-1 .sidebar:hover,
.layout-1 .wrapper:hover {
  scrollbar-color: #29235C #E3E1F4;
}

.fill-secondary {
  fill: #9ED45B !important;
}

.wrapper {
  background: #F5F4FB;
}

.main-menu li a {
  transition: all 0.6s;
}
.main-menu li a svg {
  fill: #84A5DB;
  width: 28px;
}
.main-menu li a svg.line-icon {
  fill: rgba(0, 0, 0, 0);
  stroke: #84A5DB;
  stroke-width: 1;
  stroke-dasharray: 70;
}
.main-menu li a svg.line-icon.enquiry line:nth-child(2),
.main-menu li a svg.line-icon.enquiry line:nth-child(3) {
  stroke: #9ED45B;
}
.main-menu li a:hover svg, .main-menu li a.active svg {
  fill: #9ED45B;
}
.main-menu li a:hover svg.line-icon, .main-menu li a.active svg.line-icon {
  fill: rgba(0, 0, 0, 0);
  animation: draw-icon 1s forwards;
}
.main-menu li a:hover .fill-secondary, .main-menu li a.active .fill-secondary {
  fill: #9ED45B !important;
}

.layout-1 .sidebar.sidebar-mini .sidebar-title .sm-txt {
  border-radius: 6px;
}

.main-logo {
  background: #fff;
  display: inline-block;
  width: 100%;
  border-radius: 4px;
  padding: 4px;
}
.main-logo img {
  display: inline-block;
  width: 100%;
}

.layout-1 .sidebar .sidebar-title .sm-txt {
  display: none;
}

.layout-1 .sidebar.sidebar-mini .sidebar-title .sm-txt .avatar {
  border-radius: 6px;
  display: inline-block;
}

.layout-1 .sidebar.sidebar-mini {
  background: #1E4A8D;
  border-right: 1px solid #5B87CF;
}

@keyframes draw-icon {
  0% {
    stroke-dashoffset: -60;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
.navbar {
  padding: 3px;
}

.layout-1 .wrapper .page-header {
  background: #1E4A8D;
}

.hamburger-icon .line {
  background-color: #62748E;
}

.hamburger-icon .line:nth-child(2) {
  background-color: #62748E;
}

.hamburger-icon:hover .line:nth-child(1),
.hamburger-icon:hover .line:nth-child(3) {
  background-color: #7F76CB;
}

.hamburger-icon.active .line:nth-child(1),
.hamburger-icon.active .line:nth-child(3) {
  background-color: #7F76CB;
}

.layout-1 .wrapper .page-header .header-right > li .nav-link {
  color: #62748E;
}

.layout-1 .wrapper .page-header .header-right > li .nav-link:hover {
  color: #F28D5E;
}

.page-body {
  min-height: calc(100vh - 160px);
}

.btn {
  font-weight: bold;
}

.btn-primary {
  background-color: #1E4A8D !important;
  border-color: #1E4A8D !important;
}
.btn-primary:focus {
  color: #fff;
  background-color: #1A4280 !important;
  border-color: #1A4280 !important;
}
.btn-primary:hover {
  background-color: #163971 !important;
  border-color: #163971 !important;
}

.btn-outline-primary.active {
  color: #fff;
  background-color: #1E4A8D;
}

.btn-secondary {
  background-color: #9ED45B;
  border-color: #9ED45B;
}
.btn-secondary:focus {
  color: #fff;
  background-color: #76B33A !important;
  border-color: #76B33A !important;
}
.btn-secondary:hover {
  background-color: #85C741;
  border-color: #85C741;
}

.btn-outline-custom {
  border-color: #B0BAC9;
  background: #fff;
  color: #374151;
  padding: 4px 12px;
}
.btn-outline-custom:hover {
  border-color: #ADC3E7;
  background: #fff;
  color: #191537;
}
.btn-outline-custom.dropdown-toggle {
  border-radius: 16px;
}

.custom-dropdown {
  border: 1px solid #B0BAC9;
  background: #fff;
  color: #374151;
  padding: 4px 12px;
}
.custom-dropdown:hover {
  border-color: #ADC3E7;
  background: #fff;
  color: #191537;
}
.custom-dropdown.dropdown-toggle {
  border-radius: 16px;
}

.form-control,
.form-select {
  border-color: #B0BAC9;
  border-radius: 16px;
}
.form-control:hover, .form-control:focus,
.form-select:hover,
.form-select:focus {
  border-color: #ADC3E7;
}

.form-select-sm,
.form-control-sm,
.btn-sm,
.input-group-sm {
  font-size: 0.875rem;
}

.input-group-sm {
  width: 120px;
  flex-wrap: nowrap;
}
.input-group-sm.custom-search .form-control {
  border-radius: 0 16px 16px 0;
}
.input-group-sm.custom-search .input-group-text {
  border-radius: 16px 0 0 16px;
}

.input-group-sm,
.input-group-sm .form-control {
  width: 164px;
}

.input-group-sm > .input-group-text,
.input-group-sm > .btn,
.input-group-sm > .form-control,
.input-group-sm > .form-select,
.input-group-sm > .input-group-text {
  padding: 0.15rem 0.5rem;
  font-size: 0.875rem;
}

.btn-sm.filter-btn {
  padding: 0 0.5rem;
  font-size: 1rem;
}

.clear-filter {
  font-size: 0.75rem;
  text-transform: uppercase;
  background: #fff;
}

.optimise .btn-sm {
  font-size: 0.6rem;
  line-height: 1.5;
  padding: 1px 2px;
  font-size: 0.75rem;
}

.breadcrumb-item {
  color: #081729;
  display: flex;
  align-items: center;
}
.breadcrumb-item .text-secondary {
  color: #5B87CF !important;
  transition: all 0.3s;
}
.breadcrumb-item .text-secondary:hover {
  color: #9ED45B !important;
}
.breadcrumb-item.active {
  font-size: 14px;
  font-weight: 600;
  color: #0D141E;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "\e606" !important;
  font-family: simple-line-icons;
  font-size: 10px;
  margin-top: 2px;
}

.modal .modal-header {
  border-bottom: 0;
  background-color: #EBF0F9;
  padding: 10px;
}
.modal .modal-header .modal-title {
  font-weight: 800;
  color: #163971;
  font-size: 1rem !important;
}
.modal .modal-footer {
  border-top: 0;
}
.modal .modal-footer .btn-secondary {
  background-color: #D5DAE4;
  border-color: #D5DAE4;
  color: #374151;
}
.modal .modal-footer .btn-secondary:hover {
  background-color: #B0BAC9;
  border-color: #B0BAC9;
}
.modal .modal-footer .btn-secondary:focus {
  background-color: #B0BAC9 !important;
  border-color: #B0BAC9 !important;
}
.modal.attendance-modal .modal-content {
  width: 320px;
  margin: auto;
}
.modal.attendance-modal .modal-body {
  padding: 0;
}
.modal.attendance-modal .attendance-btns {
  position: relative;
  left: auto;
  top: auto;
  transform: translate(0, 0);
  border: none;
  margin: auto;
}

.swal2-container.swal2-center > .swal2-popup {
  padding: 1.5rem !important;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
}

.swal2-title {
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  padding: 0 !important;
  text-align: left !important;
}

.swal2-actions {
  justify-content: flex-end !important;
  width: 100% !important;
}

.swal2-styled {
  padding: 0.25em 1em !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
}
.swal2-styled.swal2-confirm {
  background: rgb(39, 204, 133) !important;
}
.swal2-styled.swal2-deny {
  background: rgb(255, 59, 48) !important;
}
.swal2-styled.swal2-cancel {
  background: #1E4A8D !important;
}

.swal2-html-container {
  margin: 0 !important;
}

.custom-swal {
  text-align: left;
}
.custom-swal__title {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}
.custom-swal__title i {
  font-size: 32px;
  margin-right: 10px;
}
.custom-swal__title.success {
  color: rgb(39, 204, 133);
}
.custom-swal__title.warning {
  color: #FF6B00;
}
.custom-swal__title.error {
  color: rgb(255, 59, 48);
}
.custom-swal__title.info {
  color: rgb(99, 89, 192);
}
.custom-swal__msg {
  font-size: 1rem;
}

.notifyjs-corner {
  top: 6px !important;
}

.notifyjs-bootstrap-base {
  font-weight: normal !important;
  padding: 8px 24px !important;
  padding-left: 56px !important;
  background-position: 16px center !important;
  background-color: #fff !important;
}

/* =============================================================
   COMMON FORM STYLES
============================================================= */
/* ── Section / Panel Cards ───────────────────────────────── */
.panel-card,
.section-card {
  background: #fff;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.panel-card {
  padding: 1.5rem;
  height: 100%;
}

.section-card {
  padding: 1.5rem;
}

/* ── Titles ──────────────────────────────────────────────── */
.panel-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.panel-title i {
  color: var(--primary-500);
  font-size: 1.2rem;
}

.section-label,
.form-section-title {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gray-500);
  margin-bottom: 1.1rem;
}

.form-section-title {
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Labels ──────────────────────────────────────────────── */
.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.4rem;
}

.req {
  color: var(--color-danger);
  margin-left: 2px;
}

/* ── Form Controls ───────────────────────────────────────── */
.form-control,
.form-select {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--gray-800);
  background-color: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.5rem 0.85rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.form-control::placeholder,
textarea.form-control::placeholder {
  color: var(--gray-400);
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(30, 74, 141, 0.12);
  outline: none;
}

/* ── Phone Input Group ───────────────────────────────────── */
.phone-prefix {
  background-color: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  white-space: nowrap;
}

.phone-prefix + .form-control {
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.phone-prefix + .form-control:focus {
  border-left: 1.5px solid var(--primary-400);
}

/* ── Amount Group ────────────────────────────────────────── */
.amount-group {
  display: flex;
  max-width: 180px;
}

.amount-prefix {
  background-color: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 0.5rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  white-space: nowrap;
  user-select: none;
}

.form-control-amount {
  flex: 1;
  min-width: 0;
  text-align: right;
  font-weight: 500;
  color: var(--gray-700);
  border-left: none !important;
  border-radius: 0 var(--radius) var(--radius) 0 !important;
}

.form-control-amount:focus {
  border-left: 1.5px solid var(--primary-400) !important;
}

/* ── Radio Buttons ───────────────────────────────────────── */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.radio-option,
.check-option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.radio-option input[type=radio] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.18s;
}

.radio-option input[type=radio]:checked {
  border-color: var(--primary-500);
  border-width: 5px;
  background-color: #fff;
}

.radio-option input[type=radio]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 74, 141, 0.12);
}

.radio-option span,
.check-option span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* ── Checkbox Group ──────────────────────────────────────── */
.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
}

.check-option input[type=checkbox] {
  appearance: none;
  width: 17px;
  height: 17px;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.18s, background 0.18s;
}

.check-option input[type=checkbox]:checked {
  background-color: var(--secondary-500);
  border-color: var(--secondary-500);
}

.check-option input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.check-option input[type=checkbox]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(133, 199, 65, 0.2);
}

/* ── Divider ─────────────────────────────────────────────── */
.section-divider {
  border-top: 1.5px solid var(--gray-100);
  margin: 1.5rem 0 1.25rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-cancel,
.btn-save {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.18s;
}

.btn-cancel {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-700);
  font-weight: 500;
  padding: 0.55rem 1.75rem;
  text-decoration: none;
}

.btn-cancel:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  color: var(--gray-800);
}

.btn-save {
  background: var(--primary-500);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 2rem;
  cursor: pointer;
}

.btn-save:hover {
  background: var(--primary-600);
  color: #fff;
}

/* =============================================================
   STAFF TAGS
============================================================= */
.staff-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--primary-500);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.3em 0.65em 0.3em 0.8em;
  white-space: nowrap;
}

.staff-tag .tag-remove {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s;
}

.staff-tag .tag-remove:hover {
  color: #fff;
}

.btn-add-staff,
.btn-add {
  background: none;
  border: none;
  color: var(--primary-500);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  white-space: nowrap;
  transition: color 0.18s;
}

.btn-add-staff:hover,
.btn-add:hover {
  color: var(--primary-700);
}

/* =============================================================
   EXPENSE LAYOUTS
============================================================= */
.expense-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.expense-row-label {
  flex: 1;
  min-width: 200px;
}

.expense-row-label .form-label {
  margin-bottom: 0;
}

.label-note {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--gray-400);
}

.travel-expense-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.travel-expense-left {
  flex: 1;
}

/* =============================================================
   DOCTOR INFO CARD
============================================================= */
.doctor-info-card {
  background: var(--primary-50);
  border: 1.5px solid var(--primary-100);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.doctor-info-card.show {
  display: block;
}

.info-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-600);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.info-name i {
  font-size: 1rem;
}

.doctor-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.6rem 1.25rem;
}

.doctor-info-grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
  gap: 0.6rem 1.25rem;
}
@media (max-width: 575.98px) {
  .doctor-info-grid-2col {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
}

.info-item label {
  display: block;
  margin-bottom: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.info-item span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-700);
}

/* =============================================================
   STEPPER
============================================================= */
.stepper-group {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 160px;
}

.stepper-btn {
  background: var(--gray-50);
  border: none;
  width: 38px;
  height: 40px;
  font-size: 1rem;
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.stepper-btn:hover {
  background: var(--primary-50);
  color: var(--primary-500);
}

.stepper-input {
  width: 100%;
  padding: 0.45rem 0.25rem;
  border: none;
  border-left: 1.5px solid var(--gray-200);
  border-right: 1.5px solid var(--gray-200);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-800);
}

.stepper-input:focus {
  outline: none;
}

/* =============================================================
   NOTES
============================================================= */
.excel-note,
.info-note {
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.excel-note {
  background: var(--accent-50);
  border: 1.5px solid var(--accent-100);
  padding: 0.85rem 1rem;
}

.info-note {
  background: var(--accent-50);
  border: 1.5px solid var(--accent-100);
  padding: 0.75rem 1rem;
}

.excel-note i,
.info-note i {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.excel-note i,
.excel-note p {
  color: var(--accent-700);
}

.excel-note p {
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.5;
}

/* =============================================================
   UPLOAD ZONE
============================================================= */
.upload-zone {
  position: relative;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}

.upload-zone:hover {
  border-color: var(--primary-400);
  background: var(--primary-50);
}

.upload-zone.has-file {
  border-color: var(--secondary-500);
  background: var(--secondary-50);
}

.upload-zone i {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 2rem;
  color: var(--gray-300);
}

.upload-zone.has-file i {
  color: var(--secondary-500);
}

.upload-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
}

.upload-zone.has-file .upload-title {
  color: var(--secondary-700);
}

.upload-hint {
  font-size: 0.75rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.upload-limit {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--primary-400);
  text-transform: uppercase;
  margin-top: 0.35rem;
}

.upload-file-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary-700);
  margin-top: 0.35rem;
}

.upload-zone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.btn-remove-file {
  background: none;
  border: none;
  color: var(--color-danger);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-top: 0.35rem;
  font-family: var(--font-sans);
  display: none;
}

.btn-download-template {
  width: 100%;
  margin-top: 1rem;
  padding: 0.55rem 1rem;
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-700);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: border-color 0.18s, background 0.18s;
}

.btn-download-template:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  color: var(--gray-800);
}

.btn-download-template i {
  font-size: 1.1rem;
  color: var(--gray-500);
}

/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 767px) {
  .panel-card {
    margin-bottom: 1rem;
  }
  .radio-group {
    gap: 0.75rem;
  }
}
@media (max-width: 575px) {
  .section-card {
    padding: 1rem;
  }
  .expense-row,
  .travel-expense-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .amount-group,
  .stepper-group {
    width: 100%;
    max-width: 100%;
  }
  .doctor-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 400px) {
  .doctor-info-grid {
    grid-template-columns: 1fr;
  }
}
/* ================================================================
   LAB TABLES
================================================================ */
/* ── Table Wrapper Card ──────────────────────────────────── */
.table-card {
  background: #fff;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* ================================================================
   SCROLLABLE TABLE WRAPPER
================================================================ */
.table-responsive-wrapper {
  max-height: 520px;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── Custom Scrollbar ────────────────────────────────────── */
.table-responsive-wrapper::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.table-responsive-wrapper::-webkit-scrollbar-track {
  background: var(--gray-50);
}

.table-responsive-wrapper::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 50rem;
}

.table-responsive-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--gray-300);
}

/* ================================================================
   COMMON TABLE STYLES
================================================================ */
.table,
.data-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
}

/* ── Table Headers ───────────────────────────────────────── */
.table thead th,
.data-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0.8rem 1.25rem;
  background: #fff;
  border-bottom: 1.5px solid var(--gray-100);
  box-shadow: 0 1px 0 var(--gray-100);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
  vertical-align: middle;
}

/* ── Table Body Cells ────────────────────────────────────── */
.table tbody td,
.data-table tbody td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1.5px solid var(--gray-100);
  vertical-align: middle;
  color: var(--gray-600);
  font-size: 0.875rem;
}

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

.table tbody tr:hover td,
.data-table tbody tr:hover td {
  background-color: var(--primary-50);
}

/* ================================================================
   TABLE CELL CONTENT
================================================================ */
.td-name,
.td-location-name,
.td-category,
.td-budget,
.td-amount {
  font-weight: 700;
}

.td-name {
  white-space: no-wrap;
}

.td-name,
.td-location-name {
  font-size: 0.9rem;
  line-height: 1.3;
}

.td-location-name {
  color: var(--primary-500);
}

.td-budget,
.td-amount {
  color: var(--gray-900);
}

.td-budget {
  text-align: right;
}

.td-sub,
.td-location-state {
  margin-top: 0.1rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--gray-400);
}

.td-staff,
.td-days {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-700);
}

.td-category {
  color: var(--gray-800);
}

/* ================================================================
   COMMON BADGES
================================================================ */
.type-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28em 0.75em;
  border-radius: 50rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ── Type Badges ─────────────────────────────────────────── */
.type-badge.badge-hq {
  background-color: var(--primary-50);
  border: 1.5px solid var(--primary-100);
  color: var(--primary-500);
}

.type-badge.badge-exhq {
  background-color: var(--accent-100);
  border: 1.5px solid #fde8a0;
  color: var(--accent-700);
}

.type-badge.badge-out,
.type-badge.badge-programme {
  background-color: #E6F9F5;
  border: 1.5px solid #B2EDD9;
  color: #0E7F66;
}

.type-badge.badge-field {
  background-color: var(--secondary-50);
  border: 1.5px solid var(--secondary-100);
  color: var(--secondary-700);
}

.type-badge.badge-activity {
  background-color: var(--accent-50);
  border: 1.5px solid var(--accent-100);
  color: var(--accent-700);
}

.type-badge.badge-meeting {
  background-color: #F3EEFF;
  border: 1.5px solid #DDD0F8;
  color: #6B30C2;
}

/* ── Status Badges ───────────────────────────────────────── */
.badge-submitted {
  background: var(--secondary-50);
  border: 1.5px solid var(--secondary-100);
  color: var(--secondary-700);
}

.badge-draft {
  background: var(--gray-0);
  border: 1.5px solid var(--gray-200);
  color: var(--gray-500);
}

.badge-pending {
  background: var(--accent-50);
  border: 1.5px solid var(--accent-500);
  color: var(--accent-600);
}

.badge-approved {
  background: #E6F9F5;
  border: 1.5px solid #B2EDD9;
  color: #0E7F66;
}

.badge-rejected {
  background: #FFF0F0;
  border: 1.5px solid #f5b8b8;
  color: var(--color-danger);
}

.badge-locked {
  background: var(--primary-50);
  border: 1.5px solid var(--primary-100);
  color: var(--primary-600);
}

/* ================================================================
   ACTION BUTTONS
================================================================ */
/* ── Generic Action Button ───────────────────────────────── */
.btn-action,
.btn-tbl-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

/* ── Small Table Action ──────────────────────────────────── */
.btn-action {
  padding: 0.25rem 0.4rem;
  border: none;
  border-radius: var(--radius);
  color: var(--gray-400);
  font-size: 1.2rem;
  line-height: 1;
}

.btn-action:hover,
.btn-action.show {
  background: var(--primary-50);
  color: var(--primary-500);
}

/* ── Bordered Table Action ───────────────────────────────── */
.btn-tbl-action {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-400);
  font-size: 0.95rem;
  text-decoration: none;
}

.btn-tbl-action:hover {
  background: var(--primary-50);
  border-color: var(--primary-300);
  color: var(--primary-500);
}

.btn-tbl-action.delete:hover {
  background: #fff5f5;
  border-color: #f5b8b8;
  color: var(--danger);
}

/* ── Locked State ────────────────────────────────────────── */
.locked,
.btn-tbl-action.locked {
  color: var(--gray-300);
  border-color: var(--gray-100);
  cursor: not-allowed;
  pointer-events: none;
}

/* ================================================================
   ACTION DROPDOWN MENU
================================================================ */
.action-dropdown-menu {
  min-width: 150px;
  padding: 0.35rem 0;
  background: #fff;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(23, 32, 45, 0.1);
}

.action-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.845rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: background 0.15s, color 0.15s;
}

.action-dropdown-menu .dropdown-item i {
  width: 18px;
  font-size: 1rem;
  text-align: center;
  color: var(--gray-400);
  transition: color 0.15s;
}

.action-dropdown-menu .dropdown-item:hover {
  background-color: var(--primary-50);
  color: var(--primary-600);
}

.action-dropdown-menu .dropdown-item:hover i {
  color: var(--primary-500);
}

/* ── Delete Item ─────────────────────────────────────────── */
.action-dropdown-menu .dropdown-item.item-delete:hover,
.action-dropdown-menu .dropdown-item.item-delete:hover i {
  background-color: #fff5f5;
  color: #d94040;
}

.action-dropdown-menu .dropdown-divider {
  margin: 0.25rem 0;
  border-color: var(--gray-100);
}

/* ================================================================
   COLUMN ALIGNMENT
================================================================ */
.col-location {
  width: 28%;
}

.col-staff {
  width: 18%;
}

.col-days {
  width: 14%;
}

.col-type {
  width: 14%;
}

.col-budget {
  width: 20%;
  text-align: right;
}

.col-action {
  position: relative;
  width: 6%;
  text-align: center;
}

/* ================================================================
   TOOLBAR
================================================================ */
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1.5px solid var(--gray-100);
}

.toolbar-left,
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ================================================================
   BILL ICONS
================================================================ */
.bill-icon,
.bill-none {
  font-size: 1rem;
}

.bill-icon {
  color: var(--primary-400);
}

.bill-none {
  color: var(--gray-300);
}

/* ================================================================
   TOTAL ROW
================================================================ */
.total-row td {
  background: var(--primary-50) !important;
  border-top: 1.5px solid var(--primary-100) !important;
  font-weight: 700;
  color: var(--primary-600);
}

/* ================================================================
   EMPTY STATE
================================================================ */
.empty-state {
  padding: 3.5rem 1rem;
  text-align: center;
}

.empty-state i {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 2.5rem;
  color: var(--gray-300);
}

.empty-state p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* ================================================================
   LOCKED BANNER
================================================================ */
.locked-banner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.75rem 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--primary-50);
  border: 1.5px solid var(--primary-100);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary-600);
}

.locked-banner i {
  flex-shrink: 0;
  font-size: 1rem;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 767px) {
  .table thead th,
  .table tbody td,
  .data-table thead th,
  .data-table tbody td {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .search-wrapper,
  .toolbar-left,
  .toolbar-right {
    width: 100%;
  }
  .table-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 575px) {
  .data-table thead {
    display: none;
  }
  .data-table tbody tr {
    display: block;
    margin: 0.5rem 0.75rem;
    padding: 0.5rem 0;
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius);
  }
  .data-table tbody td,
  .total-row td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 1rem;
    border-bottom: none;
  }
  .data-table tbody td::before {
    content: attr(data-label);
    margin-right: 0.5rem;
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-500);
  }
}
.master-box {
  color: #191537;
  transition: all 0.6s;
}
.master-box:hover, .master-box:focus {
  color: #191537;
  border: 1px solid #D6E1F3;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

/* =========================================================
   AUTH PAGE
========================================================= */
.wrapper.auth {
  background: linear-gradient(36deg, rgba(30, 74, 141, 0.6) 0%, rgba(30, 74, 141, 0.6) 35%, rgba(133, 199, 65, 0.4) 100%), url("../img/bg-login.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
  /* Small height / responsive fix */
  /* =========================================================
     LOGIN CONTAINER
  ========================================================= */
  /* =========================================================
     LEFT SIDE - FORM
  ========================================================= */
  /* =========================================================
     RIGHT SIDE - IMAGE
  ========================================================= */
}
@media (max-width: 991.98px) {
  .wrapper.auth {
    align-items: flex-start;
    padding: 24px 16px;
  }
}
@media (max-width: 767.98px) {
  .wrapper.auth {
    padding: 16px 12px;
  }
}
.wrapper.auth .logo {
  width: 200px;
  filter: none;
}
@media (max-width: 767.98px) {
  .wrapper.auth .logo {
    width: 160px;
  }
}
.wrapper.auth .login-container {
  width: 100%;
  max-width: 1000px;
  display: flex;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  margin: 0 auto;
  animation: fadeIn 0.8s ease-out;
  transition: transform 0.3s ease;
  /* Tablet */
  /* Mobile */
}
@media (max-width: 991.98px) {
  .wrapper.auth .login-container {
    max-width: 720px;
    margin-top: 0;
  }
}
@media (max-width: 767.98px) {
  .wrapper.auth .login-container {
    flex-direction: column;
    max-width: 100%;
  }
}
.wrapper.auth .form-side {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 991.98px) {
  .wrapper.auth .form-side {
    padding: 48px 36px;
  }
}
@media (max-width: 767.98px) {
  .wrapper.auth .form-side {
    padding: 32px 24px;
  }
}
@media (max-width: 480px) {
  .wrapper.auth .form-side {
    padding: 28px 20px;
  }
}
.wrapper.auth .form-side .auth-box {
  width: 100%;
}
.wrapper.auth .form-side .auth-box .title {
  margin-bottom: 32px;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  text-align: right;
}
@media (max-width: 767.98px) {
  .wrapper.auth .form-side .auth-box .title {
    font-size: 1.6rem;
  }
}
.wrapper.auth .form-side .auth-box .form-label {
  color: #fff;
  font-weight: 500;
}
.wrapper.auth .image-side {
  flex: 1.2;
  position: relative;
  min-height: 400px;
  background: #1e293b url("../img/bg-login-side.jpg") no-repeat center center/cover;
}
@media (max-width: 767.98px) {
  .wrapper.auth .image-side {
    display: none;
  }
}
.wrapper.auth .image-side .image-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}
@media (max-width: 991.98px) {
  .wrapper.auth .image-side .image-overlay {
    padding: 40px;
  }
}
.wrapper.auth .image-side .image-overlay h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}
.wrapper.auth .image-side .image-overlay p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

/* =========================================================
   BODY FIX
========================================================= */
body.layout-1 {
  min-height: 100vh;
  overflow-y: auto;
}

/* =========================================================
   ANIMATION
========================================================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.select2-container--default .select2-selection--single {
  border-radius: 16px;
}

.select2-container .select2-selection,
.select2-container .select2-selection,
.select2-container .select2-selection,
.select2-container .select2-selection {
  border-color: #B0BAC9;
}
.select2-container .select2-selection:hover, .select2-container .select2-selection:focus, .select2-container .select2-selection:active, .select2-container .select2-selection:focus-visible, .select2-container .select2-selection:focus-within,
.select2-container .select2-selection:hover,
.select2-container .select2-selection:focus,
.select2-container .select2-selection:active,
.select2-container .select2-selection:focus-visible,
.select2-container .select2-selection:focus-within,
.select2-container .select2-selection:hover,
.select2-container .select2-selection:focus,
.select2-container .select2-selection:active,
.select2-container .select2-selection:focus-visible,
.select2-container .select2-selection:focus-within,
.select2-container .select2-selection:hover,
.select2-container .select2-selection:focus,
.select2-container .select2-selection:active,
.select2-container .select2-selection:focus-visible,
.select2-container .select2-selection:focus-within {
  border-color: #ADC3E7 !important;
}

.dropdown-sm .select2-container--default .select2-selection--single,
.custom-select-sm .select2-container--default .select2-selection--single {
  font-size: 0.875rem;
  padding: 0.15rem 0.5rem;
}

/* ================================================================
   LAB
================================================================ */
/* ── Filter Bar ───────────────────────────────────────────── */
.filter-bar {
  padding: 1.25rem 0 1rem;
}

.filter-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.filter-wrapper .filter-select {
  padding-left: 2.25rem;
}

.filter-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 1rem;
  pointer-events: none;
}

.filter-select {
  appearance: none;
  min-width: 200px;
  padding: 0.6rem 2.5rem 0.6rem 1rem;
  background-color: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238896A9' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(30, 74, 141, 0.12);
}

/* ================================================================
   COMMON CARD STYLES
================================================================ */
.doctor-card,
.card-box,
.grade-card,
.place-card,
.summary-card {
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.doctor-card:hover,
.card-box:hover,
.grade-card:hover,
.place-card:hover {
  box-shadow: 0 6px 24px rgba(30, 74, 141, 0.1);
  border-color: var(--primary-200);
  transform: translateY(-2px);
}

/* ================================================================
   DOCTOR CARD
================================================================ */
.doctor-card,
.card-box {
  background: #fff;
  border: 1.5px solid var(--gray-100);
  border-radius: 0.875rem;
  height: 100%;
}

.doctor-card {
  padding: 1.25rem;
}

/* ── Avatar ───────────────────────────────────────────────── */
.doctor-avatar,
.avatar-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 0.625rem;
  flex-shrink: 0;
}

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

.avatar-placeholder {
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 1.5rem;
}

/* ── Badge ────────────────────────────────────────────────── */
.doctor-badge {
  display: inline-block;
  padding: 0.3em 0.7em;
  border-radius: 0.375rem;
  border: 1.5px solid var(--primary-200);
  background-color: var(--primary-50);
  color: var(--primary-600);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.doctor-badge.badge-kbl {
  border-color: var(--secondary-100);
  background-color: #f0fae6;
  color: var(--secondary-700);
}

.doctor-badge.badge-both {
  border-color: #fde8a0;
  background-color: #fffbeb;
  color: #92600a;
}

/* ── Name & Degree ───────────────────────────────────────── */
.doctor-name {
  margin: 0.75rem 0 0.15rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
}

.doctor-degree {
  margin: 0;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ── Speciality Pill ─────────────────────────────────────── */
.speciality-pill {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.3em 0.75em;
  border-radius: 0.375rem;
  background-color: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ── Location ────────────────────────────────────────────── */
.doctor-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
}

.doctor-location i {
  color: var(--primary-500);
  font-size: 1rem;
}

/* ── Divider ─────────────────────────────────────────────── */
.card-divider {
  border-top: 1.5px solid var(--gray-100);
  margin: 0.875rem 0 0.75rem;
}

/* ── Footer Actions ──────────────────────────────────────── */
.card-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.view-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary-500);
  text-decoration: none;
  transition: color 0.18s, gap 0.18s;
}

.view-profile-link:hover {
  color: var(--primary-700);
  gap: 0.5rem;
}

/* ── Action Buttons ─────────────────────────────────────── */
.card-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1.5px solid var(--gray-200);
  border-radius: 0.4rem;
  color: var(--gray-400);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.action-btn:hover {
  border-color: var(--primary-300, #84a5db);
  background: var(--primary-50);
  color: var(--primary-500);
}

.action-btn.delete:hover {
  border-color: #f5b8b8;
  background: #fff5f5;
  color: #d94040;
}

/* ================================================================
   GRADE CARD
================================================================ */
.grade-card {
  background: #f8fafc;
  border: 1px solid #dbe2ea;
  border-radius: 18px;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.grade-card-body {
  flex: 1;
  padding: 32px 28px;
}

.grade-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  color: #0f213d;
}

.grade-subtitle {
  margin: 18px 0 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  color: #64748b;
}

.grade-card-footer {
  padding: 20px 28px;
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  border-top: 1px solid #e2e8f0;
  background: #eef2f7;
}

.grade-icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #94a3b8;
  font-size: 26px;
}

.grade-icon-btn:hover {
  background: #e2e8f0;
  color: #64748b;
}

/* ================================================================
   SPECIALIZATION CARD
================================================================ */
.specialization-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #fff;
  border: 1px solid #c7d2e0;
  border-radius: 8px;
}

.specialization-title,
.place-title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
  color: #0f213d;
}

.specialization-remarks,
.place-subtitle {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  color: #64748b;
}

.specialization-actions,
.place-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.specialization-action-btn,
.place-action-btn {
  padding: 4px;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 24px;
  line-height: 1;
}

.specialization-action-btn:hover,
.place-action-btn:hover {
  color: #64748b;
}

/* ================================================================
   PLACE CARD
================================================================ */
.place-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 24px;
  background: #f8fafc;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
}

.place-subtitle {
  font-weight: 500;
}

.place-action-btn {
  padding: 2px;
}

/* ================================================================
   SUMMARY CARD
================================================================ */
.summary-card {
  background: #fff;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.summary-card .s-label {
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.summary-card .s-value {
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--gray-900);
}

.summary-card .s-sub {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.summary-card.primary {
  border-left: 3px solid var(--primary-500);
}

.summary-card.success {
  border-left: 3px solid var(--secondary-500);
}

.summary-card.warning {
  border-left: 3px solid var(--accent-500);
}

.summary-card.danger {
  border-left: 3px solid var(--color-danger);
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 991.98px) {
  .specialization-title,
  .place-title {
    font-size: 30px;
  }
  .specialization-remarks,
  .place-subtitle {
    font-size: 24px;
  }
}
@media (max-width: 575.98px) {
  .filter-wrapper,
  .filter-select {
    width: 100%;
  }
  .filter-select {
    min-width: 100%;
  }
  .grade-title {
    font-size: 28px;
  }
  .grade-subtitle {
    font-size: 19px;
  }
}
.site_accordion .form_title_2 {
  margin-bottom: 18px;
}
.form-item {
  background: #f5f4ff;
}

.form_container:after {
  display: none;
}
.form_container .form_title_1 {
  margin-top: 40px;
  font-weight: 600;
  padding-left: 16px;
}
.form_container .form_title_1:before {
  height: 2px;
}
.form_container .head-img {
  text-align: right;
}
.form_container .head-img img {
  height: 200px;
}
.form_container .head_sub_info {
  padding-left: 16px;
  margin-bottom: 16px;
}
.form_container .head_sub_info p {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.form_container .form_title_2 {
  margin-bottom: 32px;
}
.form_container .add_special {
  margin-top: 0px;
  border-radius: 4px;
  background: #D6E1F3;
  color: #1E4A8D;
  font-weight: 500;
}
.form_container ol, .form_container ul {
  font-size: 0.875rem;
}
.form_container ol li, .form_container ul li {
  margin-bottom: 12px;
  text-align: justify;
}
.form_container .table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: transparent;
}
.form_container .EditBtn {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 400;
  background: #84A5DB;
  color: #fff;
  padding: 4px 12px;
}
.form_container .EditBtn:hover {
  background: #5B87CF;
  color: #fff;
}
.form_container .btn {
  font-weight: 500;
  border-radius: 16px;
}

ul.userLinks li a {
  border-radius: 16px;
  font-size: 0.875rem;
  padding: 6px 18px;
  background-color: #84A5DB;
  border: none;
}
ul.userLinks li a:hover {
  background-color: #5B87CF;
}

.logo-txt {
  max-width: 320px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.app_form_section {
  background: #fff;
  border-bottom: 0px solid #1E4A8D;
}
.app_form_section .mob_spc1,
.app_form_section .form_input label {
  font-weight: 500;
}

#multiStepForm {
  padding: 0;
  background: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.site_content .step-indicator {
  margin: 20px 0 40px 0;
}
.site_content .step-indicator .step.done {
  background: #089b5b;
  color: #fff;
}
.site_content .step-indicator .step.active {
  background: #84A5DB;
}

.site_dash_app {
  border-radius: 16px;
}

.site_dash_app_img img {
  border-radius: 16px 16px 0 0;
}

.site_dash_app_entry,
.site_my_apps {
  border-radius: 16px;
}
.site_dash_app_entry h4,
.site_my_apps h4 {
  font-weight: 500;
}
.site_dash_app_entry .btn-primary,
.site_my_apps .btn-primary {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.875rem;
}
.site_dash_app_entry p,
.site_my_apps p {
  color: #60718A;
}
.site_dash_app_entry p b,
.site_my_apps p b {
  font-weight: 500;
}

.steps {
  display: flex;
  justify-content: center;
}
.steps__container-indicator {
  z-index: 1;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.steps__container-indicator::before {
  content: "";
  z-index: -1;
  position: absolute;
  left: 60px;
  top: 14px;
  width: 100%;
  height: 4px;
  background: #D5DAE4;
  width: calc(100% - 120px);
}
.steps__progress-bar {
  z-index: -1;
  position: absolute;
  top: 14px;
  left: 60px;
  height: 4px;
  background: #1E4A8D;
  transition: width 0.4s;
}
.steps__progress-bar.step-1-done {
  width: 120px;
}
.steps__progress-bar.step-2-done {
  width: 240px;
}
.steps .step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 120px;
}
.steps .step__number {
  width: 32px;
  aspect-ratio: 1;
  background: #D5DAE4;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.steps .step__name {
  font-size: 0.65rem;
  text-transform: uppercase;
  margin-top: 8px;
}
.steps .step.active .step__number {
  background: #1E4A8D;
  color: #fff;
  font-weight: 600;
}
.steps .step.active .step__name {
  font-weight: 700;
}

.step-heading {
  margin: 2rem 0;
  text-align: center;
}

.help-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.25rem 0.5rem;
  background-color: #D6E1F3;
  text-align: center;
  border-radius: 0.5rem;
  margin-bottom: 10px;
  font-size: 0.75rem;
  text-align: left;
}

.help-container.success {
  background-color: #9efeeb;
}

.help-container.white {
  background-color: #fff;
  border: 1px solid #D5DAE4;
}

.step-content table {
  background-color: #fff;
}
.step-content table .input-group-sm {
  width: auto;
}
.step-content table .input-group-sm .form-control {
  width: 100%;
}
.step-content table th {
  vertical-align: middle;
}

.step-app.h-wizard-demo4 > .step-steps > li.active span {
  background: #1E4A8D;
}

.step-app.h-wizard-demo4 > .step-steps > li.done span {
  background: rgb(39, 204, 133);
}

.step-app.h-wizard-demo4 > .step-steps > li.done::after {
  background: rgb(39, 204, 133);
}

.step-app.h-wizard-demo4 > .step-steps > li.done,
.step-app.h-wizard-demo4 > .step-steps > li.active {
  font-weight: bold;
}

.step-app.h-wizard-demo4 > .step-steps > li {
  text-transform: uppercase;
  font-size: 10px;
  line-height: 12px;
}

.step-app.h-wizard-demo4 > .step-steps > li span {
  font-size: 14px;
  background: #ECEEF2;
  color: #60718A;
  box-shadow: none;
  height: 36px;
  width: 36px;
  font-weight: bold;
  top: 4px;
  margin-bottom: 10px;
}

.step-app.h-wizard-demo4 > .step-steps > li::after,
.step-app.h-wizard-demo4 > .step-steps::after {
  background: #D5DAE4;
}

.step-app.h-wizard-demo4 > .step-footer > .step-btn {
  background-color: #1E4A8D;
  border: 1px solid #1E4A8D;
}

.step-app.h-wizard-demo4 > .step-content {
  background: #ECEEF2;
}

.step-app.h-wizard-demo4 > .step-content {
  padding: 0.5rem;
}

.step-app > .step-steps > li {
  padding: 0;
}

.step-app.h-wizard-demo4 > .step-steps > li::after,
.step-app.h-wizard-demo4 > .step-steps::after {
  top: 22px;
}

.nav-tabs {
  border-color: #B0BAC9;
}

.nav-tabs .nav-link {
  padding: 4px 12px;
  font-weight: 700;
  font-size: 0.75rem;
}

.nav-tabs.tab-page-toolbar {
  padding: 1px;
}

.nav-tabs.tab-page-toolbar .nav-link {
  padding: 0.1rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.3rem;
}

.nav-pills.custom-horizontal .nav-link {
  white-space: nowrap;
  padding: 4px 12px 4px 4px;
  border-bottom: 1px solid #B0BAC9;
}
.nav-pills.custom-horizontal .nav-link.active {
  border-bottom: 1px solid #B0BAC9;
}

.nav-tabs.tab-card {
  border-radius: 0;
  background: #D5DAE4;
  justify-content: center;
  border-bottom: 1px solid #B0BAC9;
}

.nav-tabs.tab-card .nav-link {
  font-weight: 700;
  border-bottom: 3px solid transparent;
  margin-bottom: 0;
  padding: 4px 12px;
}

.tree,
.tree ul {
  list-style: none;
  padding-left: 18px;
  margin: 0;
}

.tree li {
  line-height: 22px;
  white-space: nowrap;
}

.arrow {
  display: inline-flex;
  width: 16px;
  cursor: pointer;
  color: #777;
}

.arrow.empty {
  cursor: default;
}

.arrow.empty::before {
  content: "";
}

.tree ul {
  display: none;
}

.tree li.open > ul {
  display: block;
}

.node-link {
  text-decoration: none;
  color: #000;
}

.node-link:hover {
  text-decoration: underline;
}

/* ── KPI Cards ───────────────────────────────────────────── */
.kpi-card {
  background: #fff;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.kpi-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.kpi-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.kpi-card.kpi-primary::after {
  background: var(--primary-500);
}

.kpi-card.kpi-success::after {
  background: var(--secondary-500);
}

.kpi-card.kpi-warning::after {
  background: var(--accent-500);
}

.kpi-card.kpi-danger::after {
  background: var(--color-danger);
}

.kpi-card.kpi-teal::after {
  background: var(--teal);
}

.kpi-card.kpi-purple::after {
  background: #7C3AED;
}

.kpi-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.kpi-primary .kpi-icon {
  background: var(--primary-50);
  color: var(--primary-500);
}

.kpi-success .kpi-icon {
  background: var(--secondary-50);
  color: var(--secondary-700);
}

.kpi-warning .kpi-icon {
  background: var(--accent-50);
  color: var(--accent-700);
}

.kpi-danger .kpi-icon {
  background: #FFF0F0;
  color: var(--danger);
}

.kpi-teal .kpi-icon {
  background: var(--teal-bg);
  color: var(--teal);
}

.kpi-purple .kpi-icon {
  background: #F3EEFF;
  color: #7C3AED;
}

.kpi-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.2rem;
}

.kpi-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

.kpi-sub {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
}

.kpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 0.3rem;
}

.kpi-trend.up {
  color: var(--secondary-700);
}

.kpi-trend.down {
  color: var(--danger);
}

/* ══════════════════════════════════════════════════════════
       TOP 3 PLAN CARDS
    ══════════════════════════════════════════════════════════ */
/* Base plan card */
.plan-card {
  background: #fff;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem 1rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.2s;
}

.plan-card:hover {
  box-shadow: var(--shadow);
}

/* Today's card — dark blue */
.plan-card.today {
  background: var(--primary-500);
  border-color: var(--primary-600);
}

/* Card top row */
.plan-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.plan-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.plan-card.today .plan-card-label {
  color: rgba(255, 255, 255, 0.6);
}

/* Type badge */
.type-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 50rem;
  padding: 0.25em 0.7em;
  white-space: nowrap;
}

.type-badge.field {
  background: var(--primary-50);
  color: var(--primary-600);
  border: 1.5px solid var(--primary-100);
}

.type-badge.activity {
  background: var(--accent-50);
  color: var(--accent-700);
  border: 1.5px solid var(--accent-100);
}

.type-badge.leave {
  background: var(--secondary-50);
  color: var(--secondary-700);
  border: 1.5px solid var(--secondary-100);
}

.type-badge.sponsor {
  background: var(--purple-50);
  color: var(--purple-500);
  border: 1.5px solid var(--purple-100);
}

/* Today's type badge — white outline version */
.plan-card.today .type-badge.field {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Date heading */
.plan-card-date {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0.4rem 0 0.75rem;
  line-height: 1.2;
}

.plan-card.today .plan-card-date {
  color: #fff;
}

/* Location row */
.plan-location {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.plan-card:not(.today) .plan-location {
  background: var(--gray-50);
}

.plan-location i {
  font-size: 1.3rem;
  color: var(--primary-500);
  flex-shrink: 0;
}

.plan-location-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

.plan-location-sub {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* View link */
.plan-view-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-500);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.15s, color 0.15s;
  align-self: flex-end;
}

.plan-view-link:hover {
  gap: 0.5rem;
  color: var(--primary-700);
}

.plan-card.today .plan-view-link {
  color: rgba(255, 255, 255, 0.85);
}

.plan-card.today .plan-view-link:hover {
  color: #fff;
}

/* Progress ring (yesterday) */
.progress-ring-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0 0.75rem;
}

.progress-ring {
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: var(--gray-100);
  stroke-width: 8;
}

.ring-fill {
  fill: none;
  stroke: var(--primary-500);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 226;
  /* 2π × 36 */
  stroke-dashoffset: 34;
  /* 226 × (1 - 0.85) */
  transition: stroke-dashoffset 0.8s ease;
}

.ring-label {
  position: absolute;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}

/* ══════════════════════════════════════════════════════════
       MONTHLY SUMMARY CARD
    ══════════════════════════════════════════════════════════ */
.summary-card {
  background: #fff;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.summary-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.summary-title i {
  color: var(--primary-500);
  font-size: 1.15rem;
}

.summary-sub {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.1rem;
  margin-bottom: 1rem;
}

/* Stat mini cards */
.stat-mini {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 0.65rem 0.85rem;
}

.stat-mini-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.2rem;
}

.stat-mini-value {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
}

.val-primary {
  color: var(--primary-500);
}

.val-accent {
  color: var(--accent-500);
}

.val-warning {
  color: var(--color-warning);
}

.val-leave {
  color: var(--color-danger);
}

/* Progress bar */
.prog-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.prog-pct {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-500);
}

.prog-bar-wrap {
  background: var(--gray-100);
  border-radius: 50rem;
  height: 8px;
  overflow: hidden;
}

.prog-bar {
  height: 100%;
  border-radius: 50rem;
  background: var(--primary-500);
  transition: width 0.8s ease;
}

.prog-remaining {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.4rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 575px) {
  .cal-table thead th {
    font-size: 0.65rem;
    padding: 0.5rem 0;
  }
  .cal-table tbody td {
    height: 52px;
    padding: 0.4rem 0.1rem;
  }
  .cal-day {
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }
  .plan-card-date {
    font-size: 1.1rem;
  }
}
/* ============================================
Employee Dashboard
=============================================== */
/* ── Today's Plan card ───────────────────────────────────── */
.today-plan-card {
  background: var(--primary-500);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.today-plan-card::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.today-plan-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.3rem;
}

.today-plan-date {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.today-plan-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 50rem;
  padding: 0.25em 0.7em;
  margin-bottom: 0.75rem;
}

.today-location {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.today-location i {
  font-size: 1.2rem;
  color: var(--secondary-500);
}

.today-loc-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.today-loc-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
}

.today-plan-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.15s, color 0.15s;
}

.today-plan-link:hover {
  color: #fff;
  gap: 0.5rem;
}

/* ── Section card ────────────────────────────────────────── */
.section-card {
  background: #fff;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.section-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1.5px solid var(--gray-100);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.section-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.section-card-title i {
  color: var(--primary-500);
  font-size: 1rem;
}

.section-card-body {
  padding: 1.25rem;
}

.link-view-all {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-500);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s, gap 0.15s;
}

.link-view-all:hover {
  color: var(--primary-700);
  gap: 0.4rem;
}

/* ── Progress bar ────────────────────────────────────────── */
.prog-bar-wrap {
  background: var(--gray-100);
  border-radius: 50rem;
  height: 6px;
  overflow: hidden;
}

.prog-bar {
  height: 100%;
  border-radius: 50rem;
  background: var(--primary-500);
}

.prog-bar.success {
  background: var(--secondary-500);
}

.prog-bar.warning {
  background: var(--accent-500);
}

.prog-bar.danger {
  background: var(--danger);
}

/* ── Expense summary row ─────────────────────────────────── */
.expense-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1.5px solid var(--gray-100);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.expense-row:last-child {
  border-bottom: none;
}

.expense-row-left {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.expense-row-left i {
  font-size: 1rem;
  color: var(--gray-400);
}

.expense-row-right {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
}

/* ── Progress ring ───────────────────────────────────────── */
.ring-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.progress-ring {
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: var(--gray-100);
  stroke-width: 8;
}

.ring-fill {
  fill: none;
  stroke: var(--primary-500);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 226;
  transition: stroke-dashoffset 0.8s ease;
}

.ring-label {
  position: absolute;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.sidebar .m-link.m-link-disabled {
  opacity: 0.45;
  color: var(--gray-500) !important;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}

/*# sourceMappingURL=custom-app.css.map */

