:root {
    --sidebar-width: 260px;
    --sidebar-bg: linear-gradient(180deg, #0c1222 0%, #121c32 100%);
    --sidebar-hover: rgba(99, 145, 255, 0.08);
    --sidebar-active: #3b82f6;
    --sidebar-active-bg: rgba(59, 130, 246, 0.12);
    --sidebar-text: #7b8ca8;
    --sidebar-text-active: #e2e8f0;
    --header-height: 62px;
    --body-bg: #f0f2f5;
    --card-bg: #ffffff;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-soft: rgba(59, 130, 246, 0.08);
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --radius: 10px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.06), 0 4px 10px rgba(0,0,0,0.04);
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--body-bg);
    margin: 0;
    min-height: 100vh;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

/* ===== AUTH PAGES ===== */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0c1222 0%, #162040 40%, #1a2d5a 100%);
    padding: 1rem;
    position: relative;
    overflow: hidden;
}
.auth-wrapper::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
    top: -200px; right: -200px;
    border-radius: 50%;
}
.auth-wrapper::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.1), transparent 70%);
    bottom: -150px; left: -100px;
    border-radius: 50%;
}

.auth-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.75rem 2.5rem;
    width: 100%;
    max-width: 430px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}
.auth-logo i {
    font-size: 2.75rem;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.auth-logo h3 {
    font-weight: 700;
    margin-top: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* ===== APP LAYOUT ===== */
.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ===== SIDEBAR ===== */
.app-sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 1040;
    overflow-y: auto;
    transition: transform 0.3s ease;
    border-right: 1px solid rgba(255,255,255,0.04);
}

.sidebar-header {
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.sidebar-brand i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #60a5fa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-nav {
    padding: 0.5rem 0;
}

/* Root-level nav items (e.g. Dashboard) */
.nav-item-root {
    margin: 0.15rem 0.75rem;
}

/* Collapsible nav group */
.nav-group {
    margin-bottom: 2px;
}
.nav-group-toggle {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.55rem 0.75rem;
    margin: 0 0.75rem;
    width: calc(100% - 1.5rem);
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #8a9bc0;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all var(--transition);
}
.nav-group-toggle:hover {
    background: var(--sidebar-hover);
    color: var(--sidebar-text-active);
}
.nav-group.open > .nav-group-toggle {
    color: var(--sidebar-text-active);
}
.nav-group-toggle > i:first-child {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    opacity: 0.5;
}
.nav-group.open > .nav-group-toggle > i:first-child {
    opacity: 0.85;
}
.nav-chevron {
    margin-left: auto;
    font-size: 0.65rem;
    opacity: 0.4;
    transition: transform 0.25s ease;
}
.nav-group.open > .nav-group-toggle > .nav-chevron {
    transform: rotate(90deg);
    opacity: 0.7;
}

/* Collapsible items container */
.nav-group-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 0.5rem;
}
.nav-group.open > .nav-group-items {
    max-height: 600px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.42rem 0.75rem 0.42rem 1.1rem;
    border-radius: 8px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    transition: all var(--transition);
    margin: 1px 0.75rem;
    position: relative;
}
.nav-item:hover {
    background: var(--sidebar-hover);
    color: var(--sidebar-text-active);
}
.nav-item.active {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-active);
    font-weight: 500;
}
.nav-item.active::before {
    content: '';
    position: absolute;
    left: -0.1rem;
    top: 50%; transform: translateY(-50%);
    width: 3px; height: 18px;
    background: var(--sidebar-active);
    border-radius: 0 3px 3px 0;
}
.nav-item i {
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
    opacity: 0.5;
    transition: opacity var(--transition);
}
.nav-item.active i, .nav-item:hover i {
    opacity: 1;
}

/* ===== CONTENT AREA ===== */
.app-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-header {
    height: var(--header-height);
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: var(--shadow-sm);
}
.app-header h5 {
    font-size: 1.05rem;
    letter-spacing: -0.015em;
}

.app-main {
    padding: 1.75rem 2rem;
    flex: 1;
}

/* ===== STAT CARDS ===== */
.stat-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}
.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}
.stat-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* ===== CARDS ===== */
.card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-md);
}
.card-header {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
    padding: 1rem 1.35rem;
    background: var(--card-bg) !important;
    border-bottom: 1px solid var(--border) !important;
}

/* ===== TABLE ===== */
.table-container {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.table-container:hover {
    box-shadow: var(--shadow-md);
}
.table {
    margin-bottom: 0;
}
.table thead th {
    background: #f9fafb;
    border-bottom: 1px solid var(--border);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    padding: 0.8rem 1.15rem;
    white-space: nowrap;
}
.table tbody td {
    padding: 0.7rem 1.15rem;
    font-size: 0.85rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}
.table tbody tr {
    transition: background var(--transition);
}
.table tbody tr:hover {
    background: rgba(59, 130, 246, 0.02);
}
.table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== BADGES ===== */
.badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.35em 0.65em;
    border-radius: 6px;
    letter-spacing: 0.01em;
}
.badge.bg-success {
    background: rgba(16,185,129,0.1) !important;
    color: #059669 !important;
}
.badge.bg-danger {
    background: rgba(239,68,68,0.1) !important;
    color: #dc2626 !important;
}
.badge.bg-info {
    background: rgba(59,130,246,0.1) !important;
    color: #2563eb !important;
}
.badge.bg-secondary {
    background: rgba(107,114,128,0.1) !important;
    color: #4b5563 !important;
}
.badge.bg-primary {
    background: rgba(59,130,246,0.12) !important;
    color: #2563eb !important;
}
.badge.bg-warning {
    background: rgba(245,158,11,0.1) !important;
    color: #d97706 !important;
}

/* ===== FORMS ===== */
.form-control, .form-select {
    border-radius: 8px;
    border: 1.5px solid #dde1e7;
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
    color: var(--text-primary);
    transition: all var(--transition);
    background: #fff;
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
    background: #fff;
}
.form-control::placeholder {
    color: var(--text-muted);
}
.form-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}
.form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}
.form-check-input:focus {
    box-shadow: 0 0 0 3px var(--accent-soft);
    border-color: var(--accent);
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: 8px;
    font-size: 0.835rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    transition: all var(--transition);
    letter-spacing: -0.005em;
}
.btn-sm {
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
}
.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 1px 2px rgba(59,130,246,0.3);
}
.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 2px 6px rgba(59,130,246,0.35);
    transform: translateY(-0.5px);
}
.btn-outline-primary {
    color: var(--accent);
    border-color: #c7d8f4;
}
.btn-outline-primary:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent-hover);
}
.btn-outline-danger {
    color: #ef4444;
    border-color: #fecaca;
}
.btn-outline-danger:hover {
    background: rgba(239,68,68,0.06);
    border-color: #ef4444;
    color: #dc2626;
}
.btn-outline-info {
    color: #6366f1;
    border-color: #c7d2fe;
}
.btn-outline-info:hover {
    background: rgba(99,102,241,0.06);
    border-color: #6366f1;
    color: #4f46e5;
}
.btn-outline-secondary {
    color: var(--text-secondary);
    border-color: #d1d5db;
}
.btn-outline-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: var(--text-primary);
}
.btn-success {
    background: #10b981;
    border-color: #10b981;
}
.btn-success:hover {
    background: #059669;
    border-color: #059669;
}
.btn-outline-success {
    color: #10b981;
    border-color: #a7f3d0;
}
.btn-outline-success:hover {
    background: rgba(16,185,129,0.06);
    border-color: #10b981;
    color: #059669;
}

/* ===== PAGE TOOLBAR ===== */
.page-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.35rem;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== MODALS ===== */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.modal-header {
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    background: #f9fafb;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-header .modal-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.modal-body {
    padding: 1.5rem;
}
.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-light);
    background: #f9fafb;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.modal-backdrop.show {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* ===== PAGINATION ===== */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 0.35rem 0.7rem;
    transition: all var(--transition);
}
.pagination .page-link:hover {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent);
}
.pagination .page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 1px 3px rgba(59,130,246,0.3);
}

/* ===== INPUT GROUP ===== */
.input-group-text {
    background: #f9fafb;
    border: 1.5px solid #dde1e7;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== TOASTR OVERRIDES ===== */
#toast-container > .toast-success {
    background-color: #059669;
}
#toast-container > .toast-error {
    background-color: #dc2626;
}
#toast-container > .toast {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* ===== SWAL OVERRIDES ===== */
.swal2-popup {
    border-radius: var(--radius-lg) !important;
    font-family: 'Inter', sans-serif !important;
}
.swal2-title {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
}
.swal2-confirm, .swal2-cancel {
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
}

/* ===== SCROLLBAR ===== */
.app-sidebar::-webkit-scrollbar {
    width: 4px;
}
.app-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.app-sidebar::-webkit-scrollbar-thumb {
    background: #2a3654;
    border-radius: 2px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.table-container, .card, .stat-card {
    animation: fadeInUp 0.3s ease;
}
.modal.show .modal-dialog {
    animation: fadeInUp 0.25s ease;
}

/* ===== ALERT ===== */
.alert {
    border-radius: var(--radius);
    font-size: 0.85rem;
    border: none;
}
.alert-danger {
    background: rgba(239,68,68,0.08);
    color: #dc2626;
}

/* ===== MISC ===== */
.fw-medium { font-weight: 500; }
.text-muted { color: var(--text-muted) !important; }
hr { border-color: var(--border-light); opacity: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .app-sidebar {
        transform: translateX(-100%);
    }
    .app-sidebar.show {
        transform: translateX(0);
    }
    .app-content {
        margin-left: 0;
    }
    .app-main {
        padding: 1.25rem 1rem;
    }
    .app-header {
        padding: 0 1rem;
    }
}

/* Notification dropdown */
.notif-item {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
    color: inherit;
}
.notif-item:hover {
    background: #f8f9fa;
}
.notif-item.unread {
    background: #f0f4ff;
}
.notif-item.unread:hover {
    background: #e4ecff;
}
.notif-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}
.notif-icon.info { background: #e8f0fe; color: #1a73e8; }
.notif-icon.success { background: #e6f4ea; color: #1e8e3e; }
.notif-icon.warning { background: #fef7e0; color: #f9ab00; }
.notif-icon.error { background: #fce8e6; color: #d93025; }
.notif-body { flex: 1; min-width: 0; }
.notif-title { font-size: 13px; font-weight: 500; line-height: 1.3; }
.notif-msg { font-size: 12px; color: #666; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-time { font-size: 11px; color: #999; margin-top: 3px; }

/* Global Search */
.global-search-wrapper .input-group {
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
    transition: box-shadow .2s;
}
.global-search-wrapper .input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(79,70,229,.15);
    background: #fff;
}
.global-search-wrapper .input-group-text {
    border-color: transparent;
    background: transparent;
}
.global-search-wrapper .form-control {
    border-color: transparent;
    background: transparent;
    font-size: .82rem;
}
.global-search-wrapper .form-control:focus {
    box-shadow: none;
}
.global-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 10px;
    max-height: 420px;
    overflow-y: auto;
    z-index: 1060;
    border: 1px solid #e5e7eb;
}
.search-group-title {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #9ca3af;
    padding: 8px 14px 4px;
    background: #fafbfc;
}
.search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background .12s;
    text-decoration: none;
    color: inherit;
}
.search-item:hover, .search-item.active {
    background: #f0f4ff;
}
.search-item-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background: #eef2ff;
    color: #4f46e5;
    flex-shrink: 0;
}
.search-item-text { flex: 1; min-width: 0; }
.search-item-title { font-size: .82rem; font-weight: 500; line-height: 1.2; }
.search-item-subtitle { font-size: .72rem; color: #9ca3af; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-empty {
    padding: 24px 14px;
    text-align: center;
    color: #9ca3af;
    font-size: .82rem;
}
.profile-link:hover {
    color: var(--primary-color, #4f46e5) !important;
}

/* ===== LOOKUP (Select2 / DevExpress-like) ===== */
.select2-container--bootstrap-5 .select2-selection {
    min-height: 36px;
    border-radius: 8px !important;
    border: 1.5px solid #d9dee7 !important;
    font-size: 0.84rem;
    background: #fff;
}
.select2-container--bootstrap-5 .select2-selection--single {
    padding: 0.32rem 0.7rem;
}
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: var(--text-primary);
    line-height: 1.5;
    padding-left: 0;
}
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    right: 8px !important;
}
.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.select2-container--bootstrap-5 .select2-dropdown {
    border: 1px solid #d9dee7 !important;
    border-radius: 8px !important;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.select2-container--bootstrap-5 .select2-search--dropdown {
    padding: 0.45rem;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
}
.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field {
    border: 1px solid #d9dee7 !important;
    border-radius: 6px !important;
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
}
.select2-container--bootstrap-5 .select2-results__option {
    font-size: 0.82rem;
    padding: 0.45rem 0.65rem;
    border-bottom: 1px solid #f3f4f6;
}
.select2-container--bootstrap-5 .select2-results__option:last-child {
    border-bottom: 0;
}
.select2-container--bootstrap-5 .select2-results__option--highlighted.select2-results__option--selectable {
    background: #eff6ff !important;
    color: #1e40af !important;
}
.select2-container--bootstrap-5 .select2-results__option--selected {
    background: #dbeafe !important;
    color: #1e3a8a !important;
}

/* ===== VOUCHER MODERN UI ===== */
.voucher-shell {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e7edf8;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}
.voucher-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}
.voucher-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #d7e3fb;
    background: #f5f9ff;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 0.2rem 0.58rem;
    font-size: 0.72rem;
    font-weight: 600;
}
.voucher-title-line {
    font-size: 0.78rem;
    color: #475569;
}
.voucher-actions {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}
.btn-voucher-primary {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.btn-voucher-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #fff;
}
.voucher-dropdown .dropdown-menu {
    border: 1px solid #e6ebf5;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    padding: 0.4rem;
}
.voucher-dropdown .dropdown-item {
    border-radius: 7px;
    font-size: 0.8rem;
    padding: 0.42rem 0.6rem;
}
.voucher-dropdown .dropdown-item:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

/* ===== VOUCHER GRID ===== */
.voucher-grid-shell {
    border: 1px solid #e7edf8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.voucher-grid-shell .table {
    margin-bottom: 0;
}
.voucher-grid-shell thead th {
    background: linear-gradient(180deg, #f8fbff 0%, #f1f6ff 100%);
    color: #334155;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #dbe5f3;
    position: sticky;
    top: 0;
    z-index: 2;
}
.voucher-grid-shell tbody td {
    border-bottom: 1px solid #edf2fb;
    vertical-align: middle;
}
.voucher-grid-shell tbody tr:hover {
    background: #f8fbff;
}
.voucher-grid-shell .line-no {
    font-weight: 700;
    color: #1d4ed8;
    font-size: 0.78rem;
}
.voucher-grid-shell .amount-cell {
    font-weight: 600;
    color: #0f172a;
}
.voucher-grid-shell .action-cell {
    min-width: 116px;
    white-space: nowrap;
}
.voucher-grid-shell .action-cell .btn {
    border-radius: 8px;
}
.voucher-modal-body {
    background: linear-gradient(180deg, #fcfdff 0%, #f8fbff 100%);
}
.voucher-form-section {
    border: 1px solid #e6edf9;
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    background: #fff;
    margin-bottom: 0.75rem;
}
.voucher-form-section .section-title {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.55rem;
}
