/* ═══════════════════════════════════════
   ALCO SYSTEM — CSS UTAMA
   Extract dari app.html, 24/9/2026, 17.25.14
   ═══════════════════════════════════════ */

    :root { --alco-teal: #00b494; --alco-navy: #16222f; --alco-navy-light: #243547; --alco-bg: #f4f7f6; }
    body { background-color: var(--alco-bg); font-family: 'Segoe UI', sans-serif; min-height: 100vh; margin: 0; padding: 0; overflow-x: hidden; }
    #wrapper-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--alco-navy), #0f1720); padding: 20px; }
    .login-card { background: white; border: none; border-radius: 24px; box-shadow: 0 15px 35px rgba(0,0,0,0.4); width: 100%; max-width: 400px; padding: 40px; }
    #wrapper-aplikasi { display: flex; min-height: 100vh; width: 100vw; position: relative; }
    .sidebar { width: 250px; background: var(--alco-navy); color: white; padding-top: 25px; min-height: 100vh; flex-shrink: 0; transition: transform 0.3s; z-index: 1000; }
    .main-content { flex-grow: 1; width: calc(100vw - 250px); padding: 40px; background-color: var(--alco-bg); min-height: 100vh; overflow-y: auto; }
    .navbar-mobile-header { background: var(--alco-navy); color: white; padding: 15px 20px; display: none; width: 100vw; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
    .nav-link { color: #9cb1c6; margin: 6px 12px; transition: 0.3s; cursor: pointer; display: flex; align-items: center; border-radius: 10px; padding: 12px !important; font-weight: 500; text-decoration: none; }
    .nav-link:hover { color: #ffffff; background: var(--alco-navy-light); }
    .nav-link.active { color: #ffffff; background: linear-gradient(135deg, var(--alco-teal), #009378); box-shadow: 0 4px 12px rgba(0, 180, 148, 0.3); }
        /* ===== SIDEBAR DROPDOWN ===== */
    .nav-group { display: block; }
    .nav-group .nav-link { justify-content: flex-start; }
    .nav-group .nav-chevron {
      transition: transform 0.25s ease;
      font-size: 11px;
      opacity: 0.7;
      margin-left: auto !important;
    }
    .nav-group.expanded .nav-chevron { transform: rotate(180deg); }
    .nav-submenu {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.25s ease;
      padding-left: 0;
    }
    .nav-group.expanded .nav-submenu {
      max-height: 300px;
    }
    .nav-sublink {
      display: block;
      padding: 8px 12px 8px 48px;
      margin: 2px 12px 2px 18px;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 500;
      color: #8fa3b8;
      cursor: pointer;
      transition: all 0.15s ease;
      text-decoration: none;
      position: relative;
    }
    .nav-sublink::before {
      content: '';
      position: absolute;
      left: 32px;
      top: 50%;
      transform: translateY(-50%);
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #64748b;
      transition: all 0.15s ease;
    }
    .nav-sublink:hover {
      background: rgba(255,255,255,0.06);
      color: #ffffff;
    }
    .nav-sublink:hover::before {
      background: #00b494;
    }
    .nav-sublink.active {
      background: linear-gradient(135deg, rgba(0,180,148,0.15), rgba(0,180,148,0.05));
      color: #ffffff;
      font-weight: 600;
    }
    .nav-sublink.active::before {
      background: #00b494;
      width: 7px;
      height: 7px;
      left: 31px;
      box-shadow: 0 0 0 3px rgba(0,180,148,0.2);
    }
        /* ===== SIDEBAR COLLAPSED MODE ===== */
    .sidebar {
      transition: width 0.25s ease;
      position: relative;
    }
    .sidebar.collapsed {
      width: 68px !important;
      overflow-x: hidden;
    }
    #wrapper-aplikasi.collapsed .main-content {
      width: calc(100vw - 68px) !important;
    }
    .sidebar.collapsed .sidebar-brand-text { display: none !important; }
    .sidebar.collapsed .sidebar-brand-row {
      flex-direction: column !important;
      gap: 8px !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
      justify-content: center !important;
      align-items: center !important;
    }
    .sidebar.collapsed .btn-collapse-sidebar {
      margin-left: 0 !important;
      margin-top: 0 !important;
    }
    .sidebar.collapsed .nav-link {
      font-size: 0 !important;
      justify-content: center !important;
      padding: 12px 0 !important;
      position: relative;
    }
    .sidebar.collapsed .nav-link i {
      font-size: 18px !important;
      margin-right: 0 !important;
      margin-left: 0 !important;
    }
    .sidebar.collapsed .nav-chevron { display: none !important; }
    .sidebar.collapsed .nav-submenu { display: none !important; }
    .sidebar.collapsed .nav-link .badge {
      position: absolute;
      top: 4px;
      right: 4px;
      font-size: 8px !important;
      padding: 2px 5px !important;
      min-width: auto;
    }
    .sidebar.collapsed hr {
      margin: 8px 12px !important;
    }
    .sidebar.collapsed .nav-link[title]:hover::after {
      content: attr(title);
      position: absolute;
      left: 100%;
      top: 50%;
      transform: translateY(-50%);
      margin-left: 8px;
      background: #16222f;
      color: white;
      padding: 6px 10px;
      border-radius: 6px;
      font-size: 12px;
      font-weight: 500;
      white-space: nowrap;
      z-index: 9999;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    .btn-collapse-sidebar {
      background: rgba(255,255,255,0.08);
      border: none;
      color: #8fa3b8;
      width: 32px;
      height: 32px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.15s ease;
      margin-left: auto;
    }
    .btn-collapse-sidebar:hover {
      background: rgba(255,255,255,0.15);
      color: white;
    }
    .sidebar.collapsed .btn-collapse-sidebar {
      margin-left: 0;
      margin-top: 0;
    }
    @media (max-width: 991.98px) {
      .sidebar.collapsed { width: 250px !important; }
      .sidebar.collapsed .sidebar-brand-text { display: block !important; }
      .sidebar.collapsed .nav-link { font-size: inherit !important; justify-content: flex-start !important; padding: 12px !important; }
      .sidebar.collapsed .nav-link i { margin-right: 12px !important; }
      .sidebar.collapsed .nav-chevron { display: inline-block !important; }
      .sidebar.collapsed .nav-submenu { display: block !important; }
    }
    .welcome-banner { background: linear-gradient(135deg, var(--alco-navy), var(--alco-teal)); color: white; padding: 35px; border-radius: 20px; box-shadow: 0 6px 20px rgba(0, 180, 148, 0.15); margin-bottom: 30px; }
    .mini-stat-card { border: none; border-radius: 18px; background: white; box-shadow: 0 6px 12px rgba(0,0,0,0.02); padding: 22px; height: 100%; }
    .icon-box-beranda { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; }
    .btn-primary, .btn-success { background: linear-gradient(135deg, var(--alco-teal), #009378) !important; border: none !important; box-shadow: 0 4px 10px rgba(0, 180, 148, 0.2); }
    .btn-primary:hover, .btn-success:hover { background: linear-gradient(135deg, #009378, #007a63) !important; transform: translateY(-1px); }
    .text-primary, .text-success { color: var(--alco-teal) !important; }
    .bg-light-orange { background-color: #fff4eb; color: #e67e22; }
    .bg-light-blue { background-color: #e8f4fd; color: #3498db; }
    .bg-light-green { background-color: #e6f9f0; color: var(--alco-teal); }
    .dropzone-excel { border: 2px dashed var(--alco-teal); background-color: #f0fbf9; border-radius: 15px; padding: 30px; text-align: center; cursor: pointer; transition: 0.3s; }
    .dropzone-excel:hover { background-color: #e1f7f3; }
    .hidden { display: none !important; }
    .toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #8a9ba8;
  z-index: 10;
  padding: 4px;
  transition: 0.2s;
}
.toggle-password:hover { color: var(--alco-teal); }
.password-wrap { position: relative; }
.password-wrap .form-control { padding-right: 40px; }
    #alco-glass-loading { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(22, 34, 47, 0.7); backdrop-filter: blur(4px); z-index: 99999; display: flex; align-items: center; justify-content: center; flex-direction: column; color: white; transition: 0.3s; }
    .alco-empty-box { padding: 40px 20px; text-align: center; color: #8a9ba8; }
    .alco-empty-icon { font-size: 50px; opacity: 0.3; margin-bottom: 15px; display: block; color: var(--alco-navy); }
    .input-harga-baju::-webkit-outer-spin-button, .input-harga-baju::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
    .badge-aktif { background:#d1f7ec; color:#00875a; }
    .badge-segera { background:#fff3cd; color:#8a6300; }
    .badge-expired { background:#fde2e1; color:#c0392b; }
    .badge-off { background:#d6d8db; color:#3e4347; }
    @media (max-width: 991.98px) {
      #wrapper-aplikasi { flex-direction: column; }
      .sidebar {
        position: fixed;
        top: 65px;
        left: 0;
        height: calc(100vh - 65px);
        transform: translateX(-100%);
        width: 250px;
        min-height: auto;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 90px;
      }
      .sidebar.mobile-open { transform: translateX(0); }
      .main-content { width: 100vw; margin-left: 0; padding: 20px; padding-top: 25px; }
      .navbar-mobile-header { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1050; height: 65px; }
    }

/* ═══ CLEAN THEME OVERRIDE ═══ */

    /* =========================================================
       ALCO TYPOGRAPHY v3 — "Memanjakan Mata"
       ---------------------------------------------------------
       Prinsip:
       • 1 font family: Inter (dengan fallback system)
       • 7 tingkat ukuran, tidak lebih
       • Bobot max 700, hanya untuk angka uang & title halaman
       • Tabular numbers untuk semua data numerik
       • Line-height 1.6 untuk bacaan, 1.35 untuk judul
       ========================================================= */

    /* ===== DESIGN TOKEN ===== */
    :root {
      --clean-bg: #fafbfc;
      --clean-card-bg: #ffffff;
      --clean-border: #e8ebee;
      --clean-text-primary: #1a202c;
      --clean-text-secondary: #4a5568;
      --clean-text-muted: #a0aec0;
      --clean-shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
      --clean-shadow-md: 0 4px 12px rgba(0,0,0,0.06);
      --clean-shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
      --clean-radius-card: 12px;
      --clean-radius-btn: 10px;
      --clean-radius-pill: 999px;
      --clean-radius-sm: 8px;

      /* Typography scale — 7 tingkat */
      --fs-xs: 11.5px;    /* mini label */
      --fs-sm: 12.5px;    /* small, caption, badge */
      --fs-base: 13.5px;  /* body, table, input */
      --fs-md: 14.5px;    /* subheading card */
      --fs-lg: 16px;      /* h4 / section kecil */
      --fs-xl: 18px;      /* h3 / nilai uang */
      --fs-2xl: 22px;     /* h2 / judul halaman kecil */
      --fs-3xl: 26px;     /* h1 / judul utama */

      --fw-regular: 400;
      --fw-medium: 500;
      --fw-semibold: 600;
      --fw-bold: 700;
    }

    /* ===== FONT FAMILY — WAJIB SAMA SEMUA ===== */
    *, *::before, *::after {
      font-family: inherit;
    }
    html, body, button, input, select, textarea, optgroup,
    .btn, .form-control, .form-select, .input-group-text,
    .nav-link, .badge, .card, .table, .modal, .alert,
    .dropdown-menu, .tooltip, .popover {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                   'Helvetica Neue', Arial, sans-serif !important;
    }
    body, button, input, select, textarea {
      font-feature-settings: 'cv11', 'ss01', 'tnum', 'kern' !important;
      -webkit-font-smoothing: antialiased !important;
      -moz-osx-font-smoothing: grayscale !important;
      text-rendering: optimizeLegibility !important;
    }

    /* ===== BODY ===== */
    body {
      background-color: var(--clean-bg) !important;
      color: var(--clean-text-secondary) !important;
      line-height: 1.6 !important;
      font-size: var(--fs-base) !important;
      letter-spacing: -0.005em !important;
      font-weight: var(--fw-regular) !important;
    }

    /* ===== HEADING — lebih tenang ===== */
    h1, h2, h3, h4, h5, h6 {
      color: var(--clean-text-primary) !important;
      letter-spacing: -0.02em !important;
      line-height: 1.35 !important;
    }
    h1 { font-size: var(--fs-3xl) !important; font-weight: 700 !important; }
    h2 { font-size: var(--fs-2xl) !important; font-weight: 600 !important; }
    h3 { font-size: var(--fs-xl)  !important; font-weight: 600 !important; }
    h4 { font-size: var(--fs-lg)  !important; font-weight: 600 !important; }
    h5 { font-size: var(--fs-md)  !important; font-weight: 600 !important; }
    h6 { font-size: var(--fs-base)!important; font-weight: 600 !important; }

    /* ===== BOBOT — dikurangi seperlunya ===== */
    .fw-bold      { font-weight: 600 !important; }  /* 700 → 600 */
    .fw-semibold  { font-weight: 500 !important; }
    .fw-normal    { font-weight: 400 !important; }
    .fw-bolder    { font-weight: 700 !important; }

    /* Kalau .fw-bold ada di dalam heading, jangan double-bold */
    h1 .fw-bold, h2 .fw-bold, h3 .fw-bold,
    h4 .fw-bold, h5 .fw-bold, h6 .fw-bold {
      font-weight: inherit !important;
    }

    /* ===== TEXT SIZES ===== */
    .small, small {
      font-size: var(--fs-sm) !important;
      font-weight: 400 !important;
    }
    .text-muted       { color: var(--clean-text-muted)     !important; }
    .text-secondary   { color: var(--clean-text-secondary) !important; }
    .text-dark        { color: var(--clean-text-primary)   !important; }

    /* Angka rata & rapi di tabel */
    .font-monospace {
      font-family: 'SF Mono', 'Monaco', 'Consolas', monospace !important;
      letter-spacing: -0.01em !important;
      font-size: 0.94em !important;
      font-feature-settings: 'tnum', 'zero' !important;
    }

    /* ===== LABEL FORM ===== */
    label.form-label, .form-label {
      font-size: var(--fs-sm) !important;
      font-weight: 500 !important;
      color: var(--clean-text-secondary) !important;
      letter-spacing: 0 !important;
      margin-bottom: 5px !important;
    }

    /* ===== CARD ===== */
    .card {
      background: var(--clean-card-bg) !important;
      border: 1px solid var(--clean-border) !important;
      border-radius: var(--clean-radius-card) !important;
      box-shadow: var(--clean-shadow-sm) !important;
      padding: 18px !important;
      transition: box-shadow 0.15s ease, transform 0.15s ease !important;
    }
    .card:hover { box-shadow: var(--clean-shadow-md) !important; }
    .card.p-3 { padding: 16px !important; }
    .card.p-4 { padding: 20px !important; }

    /* Judul di dalam card default semibold (600) */
    .card h5, .card h6, .card .card-title {
      font-weight: 600 !important;
      color: var(--clean-text-primary) !important;
      letter-spacing: -0.015em !important;
    }

    /* ===== MINI STAT CARD ===== */
    .mini-stat-card {
      background: var(--clean-card-bg) !important;
      border: 1px solid var(--clean-border) !important;
      border-radius: var(--clean-radius-card) !important;
      box-shadow: var(--clean-shadow-sm) !important;
      padding: 16px !important;
    }
    .mini-stat-card h4 {
      font-size: var(--fs-xl) !important;
      font-weight: 600 !important;
      letter-spacing: -0.02em !important;
    }

    /* ===== CARD TOKO ===== */
    .card-toko {
      background: var(--clean-card-bg) !important;
      border: 1px solid var(--clean-border) !important;
      border-radius: var(--clean-radius-card) !important;
      box-shadow: var(--clean-shadow-sm) !important;
      transition: all 0.15s ease !important;
      padding: 16px !important;
    }
    .card-toko:hover {
      box-shadow: var(--clean-shadow-md) !important;
      transform: translateY(-1px) !important;
    }

    /* ===== WELCOME BANNER ===== */
    .welcome-banner {
      background: linear-gradient(135deg, #00b494 0%, #009e82 100%) !important;
      border-radius: var(--clean-radius-card) !important;
      box-shadow: var(--clean-shadow-md) !important;
      padding: 22px 26px !important;
    }
    .welcome-banner h2 {
      color: white !important;
      font-size: var(--fs-2xl) !important;
      font-weight: 600 !important;
    }
    .welcome-banner p { color: rgba(255,255,255,0.85) !important; }
    .welcome-banner .bg-white {
      border-radius: var(--clean-radius-btn) !important;
      padding: 6px 10px !important;
    }

    /* ===== BUTTON ===== */
    .btn {
      border-radius: var(--clean-radius-btn) !important;
      font-weight: 500 !important;
      letter-spacing: 0 !important;
      transition: all 0.15s ease !important;
      padding: 7px 14px !important;
      font-size: var(--fs-base) !important;
    }
    .btn-sm { padding: 5px 10px  !important; font-size: var(--fs-sm) !important; }
    .btn-lg { padding: 10px 20px !important; font-size: var(--fs-md) !important; }
    .btn.fw-bold { font-weight: 600 !important; }

    .btn-primary, .btn-success {
      background: linear-gradient(135deg, #00b494, #009378) !important;
      border: none !important;
      box-shadow: 0 2px 8px rgba(0,180,148,0.2) !important;
    }
    .btn-primary:hover, .btn-success:hover {
      background: linear-gradient(135deg, #009378, #007a63) !important;
      box-shadow: 0 4px 12px rgba(0,180,148,0.3) !important;
      transform: translateY(-1px) !important;
    }
    .btn-outline-secondary, .btn-outline-primary, .btn-outline-success {
      border-width: 1px !important;
    }
    .btn-light {
      background: #f7f9fa !important;
      border-color: var(--clean-border) !important;
    }

    /* ===== FORM ===== */
    .form-control, .form-select {
      border-radius: var(--clean-radius-btn) !important;
      border: 1px solid var(--clean-border) !important;
      padding: 9px 12px !important;
      font-size: var(--fs-base) !important;
      transition: all 0.15s ease !important;
      background-color: #ffffff !important;
      color: var(--clean-text-primary) !important;
    }
    .form-control::placeholder { color: var(--clean-text-muted) !important; }
    .form-control:focus, .form-select:focus {
      border-color: #00b494 !important;
      box-shadow: 0 0 0 3px rgba(0,180,148,0.1) !important;
      outline: none !important;
    }
    .form-control-lg, .form-select-lg {
      padding: 10px 14px !important;
      font-size: var(--fs-md) !important;
    }
    .input-group-text {
      border-radius: var(--clean-radius-btn) !important;
      border: 1px solid var(--clean-border) !important;
      background-color: #f7f9fa !important;
      padding: 9px 12px !important;
    }

    /* ===== SIDEBAR ===== */
    .sidebar {
      background: #16222f !important;
      border-right: 1px solid rgba(255,255,255,0.05) !important;
      padding-top: 18px !important;
    }
    .nav-link {
      border-radius: var(--clean-radius-btn) !important;
      margin: 3px 10px !important;
      padding: 10px 12px !important;
      font-weight: 500 !important;
      font-size: var(--fs-base) !important;
      color: #8fa3b8 !important;
      transition: all 0.15s ease !important;
      letter-spacing: 0 !important;
    }
    .nav-link:hover {
      background: rgba(255,255,255,0.06) !important;
      color: #ffffff !important;
    }
    .nav-link.active {
      background: linear-gradient(135deg, #00b494, #009378) !important;
      color: #ffffff !important;
      box-shadow: 0 4px 12px rgba(0,180,148,0.3) !important;
      font-weight: 600 !important;
    }
    .nav-link i { opacity: 0.85 !important; font-size: 14px !important; }
    .sidebar hr { opacity: 0.08 !important; margin: 10px 0 !important; }

    /* ===== TABLE ===== */
    .table {
      --bs-table-bg: transparent !important;
      border-color: var(--clean-border) !important;
      font-size: var(--fs-base) !important;
      font-feature-settings: 'tnum' !important;
    }
    .table thead th {
      background-color: #f7f9fa !important;
      border-bottom: 1px solid var(--clean-border) !important;
      color: var(--clean-text-secondary) !important;
      font-weight: 500 !important;
      font-size: var(--fs-xs) !important;
      text-transform: uppercase !important;
      letter-spacing: 0.04em !important;
      padding: 10px 12px !important;
    }
    .table tbody td {
      padding: 11px 12px !important;
      border-bottom: 1px solid var(--clean-border) !important;
      vertical-align: middle !important;
      color: var(--clean-text-secondary) !important;
    }
    .table-hover tbody tr:hover {
      background-color: #f9fbfc !important;
    }
    .table-light { background-color: #f7f9fa !important; }

    /* ===== BADGE ===== */
    .badge {
      border-radius: var(--clean-radius-pill) !important;
      padding: 4px 10px !important;
      font-weight: 500 !important;
      font-size: var(--fs-xs) !important;
      letter-spacing: 0.01em !important;
    }
    .badge.bg-primary   { background-color: #00b494 !important; }
    .badge.bg-success   { background-color: #059669 !important; }
    .badge.bg-warning   { background-color: #f59e0b !important; }
    .badge.bg-danger    { background-color: #dc2626 !important; }
    .badge.bg-secondary { background-color: #94a3b8 !important; }
    .badge.bg-dark      { background-color: #1e293b !important; }

    /* ===== ICON BOX ===== */
    .icon-box-beranda {
      border-radius: var(--clean-radius-btn) !important;
      font-size: 22px !important;
    }

    /* ===== MODAL ===== */
    .modal-content {
      border: none !important;
      border-radius: 16px !important;
      box-shadow: var(--clean-shadow-lg) !important;
    }
    .modal-header {
      border-bottom: 1px solid var(--clean-border) !important;
      padding: 16px 20px !important;
    }
    .modal-body   { padding: 20px !important; }
    .modal-footer {
      border-top: 1px solid var(--clean-border) !important;
      padding: 14px 20px !important;
    }
    .modal-title {
      font-size: var(--fs-md) !important;
      font-weight: 600 !important;
      letter-spacing: -0.01em !important;
    }
    .btn-close {
      opacity: 0.4 !important;
      transition: opacity 0.15s !important;
    }
    .btn-close:hover { opacity: 0.8 !important; }

    /* ===== ALERT ===== */
    .alert {
      border-radius: var(--clean-radius-btn) !important;
      border: none !important;
      border-left: 4px solid currentColor !important;
      padding: 12px 16px !important;
      font-size: var(--fs-sm) !important;
    }

    /* ===== DROPZONE ===== */
    .dropzone-excel {
      border: 2px dashed var(--clean-border) !important;
      background-color: #fafbfc !important;
      border-radius: var(--clean-radius-card) !important;
      padding: 24px !important;
      transition: all 0.2s ease !important;
    }
    .dropzone-excel:hover {
      border-color: #00b494 !important;
      background-color: #f0fbf9 !important;
    }

    /* ===== PAGINATION ===== */
    .btn-group .btn-outline-secondary {
      border-radius: var(--clean-radius-sm) !important;
    }
    .btn-group .btn-outline-secondary:first-child {
      border-top-right-radius: 0 !important;
      border-bottom-right-radius: 0 !important;
    }
    .btn-group .btn-outline-secondary:last-child {
      border-top-left-radius: 0 !important;
      border-bottom-left-radius: 0 !important;
    }

    /* ===== SCROLLBAR ===== */
    ::-webkit-scrollbar { width: 8px; height: 8px; }
        /* Sidebar mobile: sembunyikan scrollbar (biar rapi) */
    @media (max-width: 991.98px) {
      .sidebar::-webkit-scrollbar { width: 0; background: transparent; }
      .sidebar { scrollbar-width: none; -ms-overflow-style: none; }
    }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: #cbd5e0; border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background: #a0aec0; }

    /* ===== MAIN CONTENT ===== */
    .main-content { padding: 24px 32px !important; }
    @media (max-width: 991.98px) {
      .main-content { padding: 16px !important; }
    }
    .row.g-3 { --bs-gutter-x: 12px !important; --bs-gutter-y: 12px !important; }
    .row.g-4 { --bs-gutter-x: 16px !important; --bs-gutter-y: 16px !important; }

    /* ===== TEXT COLORS ===== */
    .text-primary { color: #00b494 !important; }
    .text-success { color: #059669 !important; }
    .text-warning { color: #f59e0b !important; }
    .text-danger  { color: #dc2626 !important; }
    .text-info    { color: #0891b2 !important; }

    /* ===== BG COLORS ===== */
    .bg-light        { background-color: #f7f9fa !important; }
    .bg-light-green  { background-color: #f0fdf4 !important; color: #059669 !important; }
    .bg-light-blue   { background-color: #eff6ff !important; color: #2563eb !important; }
    .bg-light-orange { background-color: #fff7ed !important; color: #ea580c !important; }

    /* ===== PADDING OVERRIDES ===== */
    .p-2 { padding: 8px  !important; }
    .p-3 { padding: 12px !important; }
    .p-4 { padding: 18px !important; }
    .p-5 { padding: 24px !important; }
    .px-3 { padding-left: 12px !important; padding-right: 12px !important; }
    .px-4 { padding-left: 18px !important; padding-right: 18px !important; }
    .py-3 { padding-top: 12px !important; padding-bottom: 12px !important; }
    .py-4 { padding-top: 18px !important; padding-bottom: 18px !important; }
    .py-5 { padding-top: 24px !important; padding-bottom: 24px !important; }
    .mb-3 { margin-bottom: 12px !important; }
    .mb-4 { margin-bottom: 18px !important; }
    .mt-3 { margin-top: 12px !important; }
    .mt-4 { margin-top: 18px !important; }

    .card-stat-clickable {
      transition: all 0.15s ease;
    }
    .card-stat-clickable:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0,0,0,0.08) !important;
    }

    /* ===== OUTLET SWITCHER (tidak berubah) ===== */
    .outlet-switcher {
      margin: 0 12px 16px;
      position: relative;
    }
    .outlet-switcher-btn {
      width: 100%;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      color: white;
      padding: 10px 12px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      transition: all 0.15s ease;
      text-align: left;
    }
    .outlet-switcher-btn:hover {
      background: rgba(255,255,255,0.1);
      border-color: rgba(0,180,148,0.5);
    }
    .outlet-switcher-btn i {
      font-size: 11px;
      opacity: 0.7;
      transition: transform 0.2s ease;
    }
    .outlet-switcher.expanded .outlet-switcher-btn i { transform: rotate(180deg); }
    .outlet-switcher-text { display: flex; flex-direction: column; line-height: 1.2; }
    .outlet-switcher-label {
      font-size: 10px;
      color: rgba(255,255,255,0.5);
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .outlet-switcher-name {
      font-size: var(--fs-sm);
      font-weight: 600;
      color: white;
      margin-top: 2px;
    }
    .outlet-dropdown {
      position: absolute;
      top: calc(100% + 6px);
      left: 0; right: 0;
      background: white;
      border-radius: 10px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.25);
      z-index: 9999;
      overflow: hidden;
      max-height: 320px;
      overflow-y: auto;
    }
    .outlet-dropdown-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      cursor: pointer;
      transition: background 0.15s ease;
      border-bottom: 1px solid #f1f5f9;
      color: #1a202c;
      font-size: var(--fs-base);
    }
    .outlet-dropdown-item:last-child { border-bottom: none; }
    .outlet-dropdown-item:hover { background: #f0fdf4; color: #059669; }
    .outlet-dropdown-item.active { background: #f0fdf4; color: #059669; font-weight: 600; }
    .outlet-dropdown-item i { font-size: 13px; color: #94a3b8; width: 16px; text-align: center; }
    .outlet-dropdown-item.active i { color: #00b494; }
    .outlet-dropdown-divider { height: 1px; background: #f1f5f9; margin: 4px 0; }
    .outlet-dropdown-action {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      cursor: pointer;
      color: #64748b;
      font-size: var(--fs-sm);
      font-weight: 500;
      transition: all 0.15s ease;
    }
    .outlet-dropdown-action:hover { background: #f8fafc; color: #00b494; }
    .sidebar.collapsed .outlet-switcher { display: none !important; }
    .sidebar.collapsed .sidebar-logo-wordmark { display: none !important; }
    .sidebar.collapsed .sidebar-logo-icon { display: block !important; }

    /* ===== BANNER GREETING STAFF (BARU) ===== */
    .staff-greeting-banner {
      background: linear-gradient(135deg, #16222f 0%, #243547 100%);
      color: white;
      padding: 18px 22px;
      border-radius: 14px;
      margin-bottom: 16px;
      box-shadow: 0 4px 16px rgba(22,34,47,0.15);
    }
    .staff-greeting-banner .staff-name {
      font-size: var(--fs-xl);
      font-weight: 600;
      letter-spacing: -0.02em;
    }
    .staff-greeting-banner .staff-meta {
      font-size: var(--fs-sm);
      color: rgba(255,255,255,0.7);
      margin-top: 3px;
    }
    .staff-shortcut-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin-top: 14px;
    }
    .staff-shortcut-btn {
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      color: white;
      padding: 12px 14px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      cursor: pointer;
      transition: all 0.15s ease;
      text-align: left;
      font-size: var(--fs-sm);
      font-weight: 500;
    }
    .staff-shortcut-btn:hover {
      background: rgba(0,180,148,0.2);
      border-color: rgba(0,180,148,0.5);
      transform: translateY(-1px);
    }
    .staff-shortcut-btn i { font-size: 16px; opacity: 0.9; }
    .staff-shortcut-btn .staff-shortcut-count {
      background: #00b494;
      color: white;
      font-size: var(--fs-xs);
      font-weight: 600;
      padding: 2px 9px;
      border-radius: 999px;
      min-width: 26px;
      text-align: center;
      font-feature-settings: 'tnum';
    }
    @media (max-width: 640px) {
      .staff-shortcut-grid { grid-template-columns: 1fr; }
    }
        /* =========================================================
       FONT AWESOME PROTECTION — ikon tidak boleh jadi kotak
       ========================================================= */
    .fa, .fas, .far, .fab, .fal, .fad,
    .fa-solid, .fa-regular, .fa-brands,
    .fa-light, .fa-thin, .fa-duotone,
    .fa-sharp, .fa-sharp-solid, .fa-sharp-regular,
    .fa-sharp-light, .fa-sharp-thin, .fa-sharp-duotone,
    i[class^="fa-"], i[class*=" fa-"] {
      font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands",
                   "Font Awesome 6 Pro", "FontAwesome" !important;
      font-weight: 900;
      font-style: normal;
      font-variant: normal;
      line-height: 1;
      display: inline-block;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: auto;
    }
    .fab, .fa-brands, i[class*="fa-brands"] {
      font-weight: 400 !important;
    }
    .fa::before, .fas::before, .far::before, .fab::before,
    .fa-solid::before, .fa-regular::before, .fa-brands::before,
    i[class^="fa-"]::before, i[class*=" fa-"]::before {
      font-family: inherit !important;
      font-weight: inherit !important;
    }
        /* =========================================================
       ALCO CUSTOM ICONS — Sidebar Menu
       ========================================================= */
    .alco-ic {
      display: inline-block;
      width: 1em;
      height: 1em;
      vertical-align: -0.15em;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
      transition: opacity 0.15s ease;
    }
    /* Sidebar: ikon lebih besar */
    .sidebar .alco-ic {
      font-size: 16px;
      margin-right: 12px;
      opacity: 0.85;
    }
    /* Mobile header */
    .navbar-mobile-header .alco-ic {
      font-size: 18px;
      opacity: 0.9;
    }
    /* Collapse mode: ikon center */
    .sidebar.collapsed .nav-link .alco-ic {
      margin-right: 0 !important;
      font-size: 18px !important;
      opacity: 1;
    }
    /* Active state: ikon lebih terang */
    .nav-link.active .alco-ic {
      opacity: 1;
    }
        /* =========================================================
       KAS HARIAN STAFF
       ========================================================= */
    .kas-hero {
      background: linear-gradient(135deg, #0f766e 0%, #00b494 100%);
      color: white;
      padding: 28px 26px;
      border-radius: 16px;
      box-shadow: 0 8px 24px rgba(0,180,148,0.25);
      margin-bottom: 20px;
      position: relative;
      overflow: hidden;
    }
    .kas-hero::after {
      content: '';
      position: absolute;
      right: -40px;
      top: -40px;
      width: 200px;
      height: 200px;
      background: rgba(255,255,255,0.06);
      border-radius: 50%;
    }
    .kas-hero-label {
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      opacity: 0.8;
      font-weight: 500;
    }
    .kas-hero-amount {
      font-size: 34px;
      font-weight: 700;
      letter-spacing: -0.03em;
      margin: 8px 0 4px;
      font-feature-settings: 'tnum';
      position: relative;
      z-index: 1;
    }
    .kas-hero-hint {
      font-size: 12px;
      opacity: 0.85;
    }

    .kas-method-card {
      background: white;
      border: 1px solid var(--clean-border);
      border-radius: 12px;
      padding: 16px 18px;
      height: 100%;
      position: relative;
      overflow: hidden;
      transition: all 0.15s ease;
    }
    .kas-method-card:hover {
      box-shadow: 0 4px 16px rgba(0,0,0,0.06);
      transform: translateY(-2px);
    }
    .kas-method-card::before {
      content: '';
      position: absolute;
      left: 0; top: 0; bottom: 0;
      width: 4px;
    }
    .kas-method-card.kas-tunai::before   { background: #f59e0b; }
    .kas-method-card.kas-qris::before    { background: #00b494; }
    .kas-method-card.kas-transfer::before{ background: #3b82f6; }
    .kas-method-label {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--clean-text-muted);
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 6px;
    }
    .kas-method-label i { font-size: 13px; }
    .kas-method-amount {
      font-size: 20px;
      font-weight: 600;
      color: var(--clean-text-primary);
      letter-spacing: -0.02em;
      font-feature-settings: 'tnum';
    }
    .kas-method-count {
      font-size: 11px;
      color: var(--clean-text-muted);
      margin-top: 3px;
    }

    .kas-kpi-card {
      background: white;
      border: 1px solid var(--clean-border);
      border-radius: 12px;
      padding: 14px 16px;
      height: 100%;
      transition: all 0.15s ease;
    }
    .kas-kpi-card:hover {
      box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    }
    .kas-kpi-label {
      font-size: 10.5px;
      font-weight: 500;
      color: var(--clean-text-muted);
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }
    .kas-kpi-value {
      font-size: 22px;
      font-weight: 600;
      color: var(--clean-text-primary);
      letter-spacing: -0.02em;
      font-feature-settings: 'tnum';
      margin-top: 4px;
    }
    .kas-kpi-sub {
      font-size: 11px;
      color: var(--clean-text-muted);
      margin-top: 2px;
    }

    .kas-table-wrap {
      background: white;
      border: 1px solid var(--clean-border);
      border-radius: 14px;
      overflow: hidden;
    }
    .kas-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
      margin: 0;
    }
    .kas-table thead th {
      background: #f7f9fa;
      color: var(--clean-text-secondary);
      font-weight: 500;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      padding: 10px 14px;
      border-bottom: 1px solid var(--clean-border);
      text-align: left;
    }
    .kas-table tbody td {
      padding: 11px 14px;
      border-bottom: 1px solid #f1f5f9;
      color: var(--clean-text-secondary);
    }
    .kas-table tbody tr:last-child td { border-bottom: none; }
    .kas-table tbody tr:hover { background: #fafbfc; }
    .kas-table .kas-nominal {
      font-weight: 600;
      text-align: right;
      font-feature-settings: 'tnum';
      color: var(--clean-text-primary);
    }
    .kas-table-empty {
      padding: 48px 20px;
      text-align: center;
      color: var(--clean-text-muted);
    }
    .kas-table-empty i {
      font-size: 40px;
      opacity: 0.25;
      display: block;
      margin-bottom: 10px;
    }

    .kas-tag {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 10.5px;
      font-weight: 500;
      padding: 3px 9px;
      border-radius: 999px;
      letter-spacing: 0.01em;
    }
    .kas-tag-dp      { background: #e0f2fe; color: #0369a1; }
    .kas-tag-lunas   { background: #dcfce7; color: #15803d; }
    .kas-tag-tunai   { background: #fef3c7; color: #92400e; }
    .kas-tag-qris    { background: #d1fae5; color: #065f46; }
    .kas-tag-transfer{ background: #dbeafe; color: #1e40af; }

    @media (max-width: 640px) {
      .kas-hero-amount { font-size: 26px; }
      .kas-method-amount { font-size: 16px; }
      .kas-kpi-value { font-size: 18px; }
    }
        /* =========================================================
       LAPORAN STAFF — Audit Trail
       ========================================================= */
    .ls-filter-bar {
      background: white;
      border: 1px solid var(--clean-border);
      border-radius: 14px;
      padding: 16px 18px;
      margin-bottom: 16px;
    }
    .ls-kpi-card {
      background: white;
      border: 1px solid var(--clean-border);
      border-radius: 12px;
      padding: 16px 18px;
      height: 100%;
      position: relative;
      overflow: hidden;
      transition: all 0.15s ease;
    }
    .ls-kpi-card:hover {
      box-shadow: 0 4px 16px rgba(0,0,0,0.06);
      transform: translateY(-2px);
    }
    .ls-kpi-card::before {
      content: '';
      position: absolute;
      left: 0; top: 0; bottom: 0;
      width: 4px;
    }
    .ls-kpi-card.ls-kpi-total::before    { background: #00b494; }
    .ls-kpi-card.ls-kpi-staff::before    { background: #3b82f6; }
    .ls-kpi-card.ls-kpi-kritis::before   { background: #f59e0b; }
    .ls-kpi-card.ls-kpi-nota::before     { background: #8b5cf6; }
    .ls-kpi-label {
      font-size: 10.5px;
      font-weight: 500;
      color: var(--clean-text-muted);
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }
    .ls-kpi-value {
      font-size: 26px;
      font-weight: 600;
      color: var(--clean-text-primary);
      letter-spacing: -0.02em;
      font-feature-settings: 'tnum';
      margin-top: 4px;
    }
    .ls-kpi-sub {
      font-size: 11px;
      color: var(--clean-text-muted);
      margin-top: 2px;
    }

    /* Aktivitas kritis */
    .ls-kritis-box {
      background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
      border: 1px solid #fed7d7;
      border-left: 5px solid #dc2626;
      border-radius: 12px;
      padding: 16px 18px;
      margin-bottom: 16px;
    }
    .ls-kritis-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }
    .ls-kritis-title {
      font-size: 13px;
      font-weight: 600;
      color: #991b1b;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .ls-kritis-item {
      background: white;
      border: 1px solid #fee2e2;
      border-radius: 10px;
      padding: 12px 14px;
      margin-bottom: 8px;
      transition: all 0.15s ease;
      cursor: pointer;
    }
    .ls-kritis-item:hover {
      box-shadow: 0 3px 12px rgba(220,38,38,0.1);
      transform: translateX(2px);
    }
    .ls-kritis-item:last-child { margin-bottom: 0; }

    /* Tabel log */
    .ls-table-wrap {
      background: white;
      border: 1px solid var(--clean-border);
      border-radius: 14px;
      overflow: hidden;
    }
    .ls-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
      margin: 0;
    }
    .ls-table thead th {
      background: #f7f9fa;
      color: var(--clean-text-secondary);
      font-weight: 500;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      padding: 11px 14px;
      border-bottom: 1px solid var(--clean-border);
      text-align: left;
    }
    .ls-table tbody td {
      padding: 12px 14px;
      border-bottom: 1px solid #f1f5f9;
      color: var(--clean-text-secondary);
      vertical-align: top;
    }
    .ls-table tbody tr:last-child td { border-bottom: none; }
    .ls-table tbody tr:hover { background: #fafbfc; }
    .ls-table tbody tr { cursor: pointer; }

    .ls-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 10.5px;
      font-weight: 500;
      padding: 3px 9px;
      border-radius: 999px;
      letter-spacing: 0.01em;
      white-space: nowrap;
    }
    .ls-badge-staff    { background: #eff6ff; color: #1d4ed8; }
    .ls-badge-transaksi{ background: #d1fae5; color: #065f46; }
    .ls-badge-edit     { background: #fef3c7; color: #92400e; }
    .ls-badge-lunas    { background: #dbeafe; color: #1e40af; }
    .ls-badge-status   { background: #ede9fe; color: #6d28d9; }
    .ls-badge-kritis   { background: #fee2e2; color: #991b1b; }
    .ls-badge-biasa    { background: #f1f5f9; color: #475569; }

    .ls-alasan-preview {
      font-size: 12px;
      color: var(--clean-text-secondary);
      font-style: italic;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      line-height: 1.4;
    }

    .ls-diff-row {
      display: flex;
      gap: 8px;
      font-size: 12.5px;
      padding: 6px 0;
      border-bottom: 1px dashed #e5e7eb;
    }
    .ls-diff-row:last-child { border-bottom: none; }
    .ls-diff-label {
      font-weight: 500;
      color: var(--clean-text-muted);
      min-width: 130px;
    }
    .ls-diff-value {
      flex: 1;
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }
    .ls-diff-from {
      color: #dc2626;
      text-decoration: line-through;
      text-decoration-color: rgba(220,38,38,0.4);
      font-family: 'SF Mono', 'Monaco', monospace;
      font-size: 12px;
    }
    .ls-diff-to {
      color: #059669;
      font-weight: 600;
      font-family: 'SF Mono', 'Monaco', monospace;
      font-size: 12px;
    }
    .ls-diff-arrow {
      color: var(--clean-text-muted);
      font-size: 11px;
    }

    .ls-alasan-box {
      background: #fffbeb;
      border-left: 4px solid #f59e0b;
      padding: 12px 14px;
      border-radius: 8px;
      font-size: 13px;
      color: #78350f;
      line-height: 1.5;
      margin-top: 12px;
    }
        /* =========================================================
       ALCO REALTIME TOAST — Notifikasi Owner
       ========================================================= */
    #alcoToastContainer {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 99998;
      display: flex;
      flex-direction: column;
      gap: 10px;
      max-width: 380px;
      pointer-events: none;
    }

    .alco-toast {
      pointer-events: auto;
      background: white;
      border: 1px solid var(--clean-border);
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
      padding: 14px 16px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      position: relative;
      overflow: hidden;
      animation: alcoToastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
      transition: all 0.3s ease;
    }

    .alco-toast::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 4px;
      background: #00b494;
    }
    .alco-toast.toast-kritis::before { background: #f59e0b; }
    .alco-toast.toast-hilang {
      opacity: 0;
      transform: translateX(100%);
    }

    @keyframes alcoToastIn {
      from { opacity: 0; transform: translateX(100%); }
      to   { opacity: 1; transform: translateX(0); }
    }

    .alco-toast-icon {
      flex-shrink: 0;
      width: 38px;
      height: 38px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      background: #f0fdf4;
      color: #059669;
    }
    .alco-toast.toast-kritis .alco-toast-icon {
      background: #fff7ed;
      color: #ea580c;
    }

    .alco-toast-content {
      flex-grow: 1;
      min-width: 0;
    }
    .alco-toast-title {
      font-weight: 600;
      font-size: 13px;
      color: var(--clean-text-primary);
      margin-bottom: 2px;
      line-height: 1.35;
    }
    .alco-toast-body {
      font-size: 12px;
      color: var(--clean-text-secondary);
      line-height: 1.5;
      word-break: break-word;
    }
    .alco-toast-body b { font-weight: 600; }

    .alco-toast-close {
      flex-shrink: 0;
      background: transparent;
      border: none;
      color: var(--clean-text-muted);
      font-size: 14px;
      cursor: pointer;
      padding: 2px 4px;
      border-radius: 4px;
      transition: all 0.15s;
      line-height: 1;
    }
    .alco-toast-close:hover {
      background: #f1f5f9;
      color: var(--clean-text-primary);
    }

    .alco-toast-action {
      margin-top: 8px;
      font-size: 11.5px;
      font-weight: 500;
      color: #00b494;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      text-decoration: none;
    }
    .alco-toast-action:hover {
      color: #007a63;
      text-decoration: underline;
    }

    @media (max-width: 640px) {
      #alcoToastContainer {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
      }
    }
        /* =========================================================
       SETUP WIZARD MULTI-OUTLET
       ========================================================= */
    .wizard-modal {
      background: white;
      border-radius: 20px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.3);
      width: 100%;
      max-width: 560px;
      max-height: 92vh;
      overflow-y: auto;
      position: relative;
    }
    .wizard-header {
      background: linear-gradient(135deg, #16222f 0%, #243547 100%);
      color: white;
      padding: 24px 28px;
      border-radius: 20px 20px 0 0;
      position: relative;
    }
    .wizard-header::after {
      content: '';
      position: absolute;
      right: -30px;
      top: -30px;
      width: 140px;
      height: 140px;
      background: rgba(0,180,148,0.15);
      border-radius: 50%;
    }
    .wizard-header-icon {
      width: 48px;
      height: 48px;
      background: rgba(0,180,148,0.2);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      color: #00b494;
      margin-bottom: 12px;
      position: relative;
      z-index: 1;
    }
    .wizard-title {
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 4px;
      position: relative;
      z-index: 1;
    }
    .wizard-subtitle {
      font-size: 13px;
      color: rgba(255,255,255,0.75);
      line-height: 1.5;
      position: relative;
      z-index: 1;
    }
    .wizard-body {
      padding: 24px 28px;
    }
    .wizard-question {
      margin-bottom: 24px;
    }
    .wizard-question:last-child { margin-bottom: 0; }
    .wizard-question-label {
      font-size: 13px;
      font-weight: 600;
      color: var(--clean-text-primary);
      margin-bottom: 4px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .wizard-question-hint {
      font-size: 11.5px;
      color: var(--clean-text-muted);
      margin-bottom: 12px;
      line-height: 1.5;
    }

    /* Opsi kartu */
    .wizard-option {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 14px 16px;
      border: 2px solid var(--clean-border);
      border-radius: 12px;
      margin-bottom: 8px;
      cursor: pointer;
      transition: all 0.15s ease;
      background: white;
      position: relative;
    }
    .wizard-option:hover {
      border-color: #00b494;
      background: #f0fdf4;
    }
    .wizard-option.selected {
      border-color: #00b494;
      background: #f0fdf4;
      box-shadow: 0 0 0 3px rgba(0,180,148,0.1);
    }
    .wizard-option.disabled {
      opacity: 0.55;
      cursor: not-allowed;
      background: #fafbfc;
    }
    .wizard-option.disabled:hover {
      border-color: var(--clean-border);
      background: #fafbfc;
    }
    .wizard-option-radio {
      flex-shrink: 0;
      width: 20px;
      height: 20px;
      border: 2px solid #cbd5e0;
      border-radius: 50%;
      margin-top: 2px;
      position: relative;
      transition: all 0.15s ease;
      background: white;
    }
    .wizard-option.selected .wizard-option-radio {
      border-color: #00b494;
      background: #00b494;
    }
    .wizard-option.selected .wizard-option-radio::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: white;
    }
    .wizard-option-text {
      flex-grow: 1;
    }
    .wizard-option-title {
      font-size: 13.5px;
      font-weight: 600;
      color: var(--clean-text-primary);
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 2px;
    }
    .wizard-option-desc {
      font-size: 11.5px;
      color: var(--clean-text-muted);
      line-height: 1.5;
    }
    .wizard-badge-coming {
      background: #fef3c7;
      color: #92400e;
      font-size: 9.5px;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 999px;
      letter-spacing: 0.04em;
    }

    /* Ringkasan mode terpilih */
    .wizard-summary {
      background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
      border: 1px solid #dcfce7;
      border-left: 4px solid #00b494;
      border-radius: 12px;
      padding: 14px 16px;
      margin-top: 20px;
    }
    .wizard-summary-label {
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: 0.06em;
      color: #059669;
      text-transform: uppercase;
      margin-bottom: 6px;
    }
    .wizard-summary-mode {
      font-size: 15px;
      font-weight: 700;
      color: var(--clean-text-primary);
      letter-spacing: -0.01em;
      font-family: 'SF Mono', 'Monaco', monospace;
      margin-bottom: 4px;
    }
    .wizard-summary-desc {
      font-size: 12px;
      color: var(--clean-text-secondary);
      line-height: 1.5;
    }

    /* Footer wizard */
    .wizard-footer {
      padding: 16px 28px 24px;
      display: flex;
      gap: 10px;
      justify-content: flex-end;
      border-top: 1px solid var(--clean-border);
      background: #fafbfc;
      border-radius: 0 0 20px 20px;
    }

    @media (max-width: 640px) {
      .wizard-modal { max-width: 95vw; border-radius: 16px; }
      .wizard-header { padding: 20px 20px; }
      .wizard-body { padding: 20px; }
      .wizard-footer { padding: 14px 20px 20px; }
      .wizard-title { font-size: 17px; }
      .wizard-footer { flex-direction: column-reverse; }
      .wizard-footer button { width: 100%; }
    }

    /* Sticky footer untuk modal yang panjang di HP */
    .alco-modal-sticky-footer {
      position: sticky;
       bottom: 0;
       background: white;
       padding: 12px 0 0 0;
       margin-top: 12px;
       border-top: 1px solid #eef2f5;
      z-index: 10;
    }