
        :root {
            --bg: #f7f7f5;
            --surface: #ffffff;
            --ink: #0a0a0a;
            --ink-secondary: #555555;
            --ink-muted: #999999;
            --charcoal: #1e1e1e;
            --charcoal-hover: #000000;
            --border: #e2e2e0;
            --border-light: #eeeeec;
            --accent-line: #0a0a0a;
            --success-bg: #eef5ee;
            --success-text: #2a5a2a;
            --error-bg: #f5eeee;
            --error-text: #5a2a2a;
            --info-bg: #eeeeef;
            --info-text: #3a3a3a;
            --radius: 6px;
            --radius-lg: 10px;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

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

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--bg);
            color: var(--ink);
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            -webkit-font-smoothing: antialiased;
        }

        /* ─── HEADER ─── */
        .header {
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            padding: 0 2.5rem;
            height: 64px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(12px);
        }

        .header-brand {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .header-brand .logo-img {
            height: 40px;
            width: auto;
            border-radius: 4px;
            object-fit: contain;
            display: block;
        }

        .header h1 {
            font-family: 'Poppins', sans-serif;
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--ink);
            letter-spacing: -0.02em;
        }

        .nav-buttons {
            display: flex;
            gap: 0;
            border: 1px solid var(--border);
            border-radius: 8px;
            overflow: hidden;
            background: var(--bg);
        }

        .nav-buttons button {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem 1.25rem;
            font-family: 'Poppins', sans-serif;
            font-size: 0.8rem;
            font-weight: 400;
            color: var(--ink-muted);
            transition: all var(--transition);
            position: relative;
        }

        .nav-buttons button:not(:last-child) {
            border-right: 1px solid var(--border);
        }

        #lang-toggle {
            background: var(--bg);
            color: var(--ink-muted);
            border: none;
            border-left: 1px solid var(--border);
            cursor: pointer;
            padding: 0.5rem 0.75rem;
            font-family: 'Poppins', sans-serif;
            font-size: 0.75rem;
            font-weight: 500;
            transition: all var(--transition);
            white-space: nowrap;
        }

        #lang-toggle:hover {
            color: var(--ink);
            background: var(--border-light);
        }

        .nav-buttons button:hover {
            color: var(--ink);
            background: var(--border-light);
        }

        .nav-buttons button.active {
            background: var(--charcoal);
            color: #ffffff;
        }

        /* ─── LAYOUT ─── */
        .container {
            max-width: 1160px;
            margin: 0 auto;
            padding: 3rem 1.5rem 4rem;
            flex-grow: 1;
            width: 100%;
        }

        .card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 2.5rem;
            margin-bottom: 1.5rem;
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--ink);
        }

        .card-header {
            margin-bottom: 2.5rem;
            display: grid;
            grid-template-columns: auto 1fr;
            column-gap: 1.5rem;
            row-gap: 0.35rem;
            align-items: center;
        }

        .card-header-logo {
            grid-row: 1 / span 2;
            width: 115px;
            height: auto;
            border-radius: 8px;
            object-fit: contain;
        }

        .card-header h2 {
            font-family: 'Poppins', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--ink);
            letter-spacing: -0.03em;
            margin-bottom: 0;
            grid-column: 2;
            grid-row: 1;
            align-self: end;
        }

        .card-header p {
            font-size: 0.85rem;
            color: var(--ink-muted);
            letter-spacing: 0.01em;
            margin-top: 0;
            grid-column: 2;
            grid-row: 2;
            align-self: start;
        }

        .section-label {
            font-family: 'Poppins', sans-serif;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--ink-muted);
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid var(--border-light);
        }

        /* ─── FORM ─── */
        .form-group {
            margin-bottom: 1.5rem;
        }

        label {
            display: block;
            margin-bottom: 0.5rem;
            font-family: 'Poppins', sans-serif;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--ink-secondary);
            letter-spacing: 0.03em;
        }

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        input[type="date"],
        textarea,
        select {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            font-family: 'Poppins', sans-serif;
            font-weight: 400;
            font-size: 0.85rem;
            color: var(--ink);
            background: var(--surface);
            transition: all var(--transition);
            outline: none;
            -webkit-appearance: none;
            appearance: none;
        }

        input:focus, textarea:focus, select:focus {
            border-color: var(--ink);
            box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
        }

        input::placeholder, textarea::placeholder {
            color: var(--ink-muted);
        }

        select {
            cursor: pointer;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            padding-right: 2.5rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.25rem;
        }

        /* ─── REAL-TIME VALIDATION ─── */
        .form-group {
            position: relative;
        }
        
        .validation-msg {
            display: block;
            font-size: 0.72rem;
            color: var(--error-text);
            margin-top: 0.4rem;
            min-height: 14px; /* Maintain layout space even when empty */
            opacity: 0;
            transition: opacity 0.2s ease;
            font-weight: 500;
        }

        .is-invalid ~ .validation-msg {
            opacity: 1;
        }

        input.is-valid, select.is-valid, textarea.is-valid {
            border-color: var(--success-text) !important;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e7d32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: calc(100% - 12px) 14px;
            background-size: 18px;
            padding-right: 40px;
        }

        input.is-invalid, select.is-invalid, textarea.is-invalid {
            border-color: var(--error-text) !important;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c62828' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: calc(100% - 12px) 14px;
            background-size: 18px;
            padding-right: 40px;
        }

        select.is-valid {
            background-image: 
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E"),
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e7d32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
            background-position: right 1rem center, right 2.5rem center;
            background-size: 1rem, 18px;
        }

        select.is-invalid {
            background-image: 
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E"),
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c62828' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
            background-position: right 1rem center, right 2.5rem center;
            background-size: 1rem, 18px;
        }

        /* ─── SLOTS ─── */
        .slots-container {
            margin-bottom: 2rem;
        }

        .slots-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 8px;
        }

        .slot-btn {
            padding: 12px 14px;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: var(--surface);
            cursor: pointer;
            text-align: center;
            font-family: 'Poppins', sans-serif;
            font-size: 0.78rem;
            font-weight: 400;
            color: var(--ink-secondary);
            transition: all var(--transition);
            position: relative;
            overflow: hidden;
        }

        .slot-btn::after {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--ink);
            opacity: 0;
            transition: opacity var(--transition);
        }

        .slot-btn:hover:not(:disabled) {
            border-color: var(--ink);
            color: var(--ink);
            transform: translateY(-1px);
        }

        .slot-btn.selected {
            background: var(--charcoal);
            color: #ffffff;
            border-color: var(--charcoal);
            font-weight: 500;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }

        .slot-btn.selected::before {
            content: '✓ ';
            font-size: 0.7rem;
        }

        .slot-btn:disabled {
            background: var(--border-light);
            color: var(--ink-muted);
            cursor: not-allowed;
            border-color: var(--border-light);
            text-decoration: line-through;
            text-decoration-color: var(--ink-muted);
        }

        #slots-loading {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--ink-muted);
            font-size: 0.8rem;
            padding: 1.5rem 0;
        }

        /* ─── BUTTONS ─── */
        .btn-submit {
            background: var(--charcoal);
            color: #ffffff;
            border: 1px solid var(--charcoal);
            padding: 0.875rem 1.75rem;
            font-family: 'Poppins', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.04em;
            border-radius: var(--radius);
            cursor: pointer;
            width: 100%;
            transition: all var(--transition);
            text-transform: uppercase;
            margin-top: 0.5rem;
        }

        .btn-submit:hover:not(:disabled) {
            background: var(--charcoal-hover);
            border-color: var(--charcoal-hover);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }

        .btn-submit:active:not(:disabled) {
            transform: translateY(0);
        }

        .btn-submit:disabled {
            background: var(--border);
            color: var(--ink-muted);
            border-color: var(--border);
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
        }

        .btn-sm {
            width: auto;
            padding: 0.5rem 1.25rem;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

        /* ─── TOAST NOTIFICATIONS ─── */
        .toast-container {
            position: fixed;
            bottom: 24px;
            right: 24px;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            gap: 12px;
            pointer-events: none;
        }

        .toast {
            pointer-events: auto;
            padding: 1rem 1.25rem;
            border-radius: var(--radius);
            font-size: 0.85rem;
            font-weight: 500;
            border: 1px solid;
            background: var(--surface);
            box-shadow: 0 8px 24px rgba(0,0,0,0.12);
            animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards, fadeOut 0.4s ease 4.6s forwards;
            max-width: 350px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .toast.success { border-left: 4px solid var(--success-text); color: var(--success-text); }
        .toast.error { border-left: 4px solid var(--error-text); color: var(--error-text); }
        .toast.info { border-left: 4px solid var(--info-text); color: var(--info-text); }

        @keyframes slideInRight {
            from { transform: translateX(120%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        @keyframes fadeOut {
            from { opacity: 1; }
            to { opacity: 0; }
        }

        /* ─── SKELETON LOADERS ─── */
        .skeleton {
            background: #eee;
            background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
            background-size: 200% 100%;
            animation: 1.5s shimmer linear infinite;
        }
        @keyframes shimmer {
            to { background-position-x: -200%; }
        }
        .skeleton-slot {
            height: 42px;
            border-radius: var(--radius);
            border: 1px solid var(--border-light);
        }
        .skeleton-text {
            height: 14px;
            border-radius: 4px;
            margin-bottom: 6px;
        }
        .skeleton-text.short {
            width: 60%;
        }

        /* ─── LOADER ─── */
        .loader {
            width: 18px;
            height: 18px;
            border: 2px solid var(--border);
            border-top-color: var(--ink);
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
            display: inline-block;
            vertical-align: middle;
        }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* ─── ADMIN ─── */
        .admin-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 1.5rem;
        }
        .admin-table th {
            text-align: left;
            padding: 0.75rem 1rem;
            font-family: 'Poppins', sans-serif;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--ink-muted);
            border-bottom: 2px solid var(--ink);
            background: transparent;
        }
        .admin-table td {
            text-align: left;
            padding: 1rem;
            font-size: 0.8rem;
            border-bottom: 1px solid var(--border-light);
            color: var(--ink-secondary);
            vertical-align: top;
        }
        .admin-table tr:hover td {
            background: var(--bg);
        }
        .admin-table td strong {
            color: var(--ink);
            font-weight: 500;
        }
        .admin-table td small {
            color: var(--ink-muted);
            font-size: 0.72rem;
        }
        .admin-table td a {
            color: var(--ink);
            text-decoration: underline;
            text-underline-offset: 3px;
            font-weight: 500;
            transition: color var(--transition);
        }
        .admin-table td a:hover {
            color: var(--ink-muted);
        }

        .status-badge {
            padding: 3px 10px;
            border-radius: 100px;
            font-size: 0.7rem;
            font-weight: 500;
            letter-spacing: 0.03em;
            display: inline-block;
        }
        .status-badge.processed { background: var(--success-bg); color: var(--success-text); border: 1px solid #c5e0c5; }
        .status-badge.failed { background: var(--error-bg); color: var(--error-text); border: 1px solid #e0c5c5; }

        .admin-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .admin-header h3 {
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            color: var(--ink);
        }

        /* ─── DIVIDER ─── */
        .divider {
            height: 1px;
            background: var(--border-light);
            margin: 2rem 0;
        }

        /* ─── VIEWS ─── */
        .view { display: none; }
        .view.active { display: block; }

        /* ─── FOOTER ─── */
        .footer {
            text-align: center;
            padding: 2rem;
            font-size: 0.7rem;
            color: var(--ink-muted);
            letter-spacing: 0.04em;
            border-top: 1px solid var(--border-light);
            background: var(--surface);
        }

        /* ─── MOBILE SLOT TRIGGER BUTTON ─── */
        .mobile-slot-trigger {
            display: none;  /* Hidden on desktop */
            width: 100%;
            padding: 0.875rem 1rem;
            border: 1px dashed var(--border);
            border-radius: var(--radius);
            background: var(--bg);
            cursor: pointer;
            font-family: 'Poppins', sans-serif;
            font-size: 0.82rem;
            font-weight: 400;
            color: var(--ink-secondary);
            transition: all var(--transition);
            align-items: center;
            justify-content: space-between;
            text-align: left;
        }

        .mobile-slot-trigger:hover {
            border-color: var(--ink-muted);
            color: var(--ink);
        }

        .mobile-slot-trigger.has-selection {
            border-style: solid;
            border-color: var(--charcoal);
            background: var(--surface);
            color: var(--ink);
            font-weight: 500;
        }

        /* ─── SLOT BOTTOM-SHEET MODAL ─── */
        .slot-modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.45);
            z-index: 1000;
            align-items: flex-end;
            justify-content: center;
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            animation: fadeIn 0.2s ease;
        }

        .slot-modal-overlay.open {
            display: flex;
        }

        .slot-modal {
            background: var(--surface);
            border-radius: 16px 16px 0 0;
            padding: 1.5rem 1.25rem 2rem;
            width: 100%;
            max-width: 480px;
            max-height: 70vh;
            overflow-y: auto;
            animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
        }

        .slot-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.25rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid var(--border-light);
        }

        .slot-modal-header h3 {
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            color: var(--ink);
        }

        .slot-modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--ink-muted);
            cursor: pointer;
            padding: 0 4px;
            line-height: 1;
            transition: color var(--transition);
        }

        .slot-modal-close:hover {
            color: var(--ink);
        }

        .modal-slots-grid {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 8px !important;
        }

        .modal-slots-grid .slot-btn {
            opacity: 1;
            animation: none;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from { transform: translateY(100%); }
            to { transform: translateY(0); }
        }

        /* ─── RESPONSIVE ─── */
        @media (max-width: 640px) {
            .header {
                padding: 0 0.75rem;
                height: 56px;
                flex-direction: row;
                gap: 8px;
            }
            .header-brand {
                gap: 6px;
            }
            .header-brand .logo-img {
                height: 32px;
                width: auto;
                border-radius: 4px;
            }
            .header h1 {
                font-size: 0.9rem;
                white-space: nowrap;
            }
            .nav-buttons button {
                padding: 0.4rem 0.6rem;
                font-size: 0.7rem;
                white-space: nowrap;
            }
            .container {
                padding: 1.5rem 1rem 3rem;
            }
            .card {
                padding: 1.75rem 1.25rem;
            }
            .card-header {
                grid-template-columns: auto 1fr;
                grid-template-rows: auto auto;
                row-gap: 0.75rem;
                column-gap: 1rem;
            }
            .card-header-logo {
                width: 64px;
                grid-row: 1;
                grid-column: 1;
            }
            .card-header h2 {
                grid-row: 1;
                grid-column: 2;
                align-self: center;
            }
            .card-header p {
                grid-row: 2;
                grid-column: 1 / span 2;
            }
            .form-row {
                grid-template-columns: 1fr;
                gap: 0;
            }

            /* Hide inline grid, show trigger button on mobile */
            .slots-grid:not(.modal-slots-grid) {
                display: none !important;
            }
            .mobile-slot-trigger {
                display: flex;
            }

            .admin-table {
                display: block;
                overflow-x: auto;
            }
            .card-header h2 {
                font-size: 1.25rem;
            }
        }

        /* ─── ANIMATIONS ─── */
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(16px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .card {
            animation: fadeUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        .slot-btn {
            opacity: 0;
            animation: fadeUp 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        /* Stagger slots via JS-injected delay, fallback */
        .slot-btn:nth-child(1) { animation-delay: 0.02s; }
        .slot-btn:nth-child(2) { animation-delay: 0.04s; }
        .slot-btn:nth-child(3) { animation-delay: 0.06s; }
        .slot-btn:nth-child(4) { animation-delay: 0.08s; }
        .slot-btn:nth-child(5) { animation-delay: 0.10s; }
        .slot-btn:nth-child(6) { animation-delay: 0.12s; }
        .slot-btn:nth-child(7) { animation-delay: 0.14s; }
        .slot-btn:nth-child(8) { animation-delay: 0.16s; }
        .slot-btn:nth-child(9) { animation-delay: 0.18s; }
        .slot-btn:nth-child(10) { animation-delay: 0.20s; }
        .slot-btn:nth-child(11) { animation-delay: 0.22s; }
        .slot-btn:nth-child(12) { animation-delay: 0.24s; }
        .slot-btn:nth-child(13) { animation-delay: 0.26s; }
        .slot-btn:nth-child(14) { animation-delay: 0.28s; }
        .slot-btn:nth-child(15) { animation-delay: 0.30s; }
        .slot-btn:nth-child(16) { animation-delay: 0.32s; }
        .slot-btn:nth-child(17) { animation-delay: 0.34s; }
        .slot-btn:nth-child(18) { animation-delay: 0.36s; }
        .slot-btn:nth-child(19) { animation-delay: 0.38s; }
        .slot-btn:nth-child(20) { animation-delay: 0.40s; }

        /* ─── FILE UPLOAD ─── */
        .upload-dropzone {
            border: 1.5px dashed var(--border);
            border-radius: var(--radius);
            padding: 1.75rem 1rem;
            text-align: center;
            cursor: pointer;
            transition: all var(--transition);
            position: relative;
            background: var(--bg);
        }

        .upload-dropzone:hover,
        .upload-dropzone.drag-over {
            border-color: var(--ink);
            background: var(--border-light);
        }

        .upload-dropzone.drag-over {
            border-style: solid;
            box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
        }

        .upload-dropzone-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            color: var(--ink-muted);
            pointer-events: none;
        }

        .upload-dropzone-content svg {
            color: var(--ink-muted);
            margin-bottom: 2px;
        }

        .upload-dropzone-content span {
            font-family: 'Poppins', sans-serif;
            font-size: 0.82rem;
            font-weight: 500;
            color: var(--ink-secondary);
        }

        .upload-dropzone-content small {
            font-family: 'Poppins', sans-serif;
            font-size: 0.7rem;
            color: var(--ink-muted);
            letter-spacing: 0.01em;
        }

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

        /* File List */
        .file-list {
            display: flex;
            flex-direction: column;
            gap: 6px;
            margin-top: 0.75rem;
        }

        .file-list:empty {
            margin-top: 0;
        }

        .file-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 0.6rem 0.85rem;
            background: var(--surface);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            font-family: 'Poppins', sans-serif;
            font-size: 0.78rem;
            color: var(--ink-secondary);
            animation: fadeUp 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        .file-item .file-icon {
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.65rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            color: #fff;
        }

        .file-icon.img { background: #555; }
        .file-icon.pdf { background: #8b2500; }
        .file-icon.doc { background: #2b4570; }

        .file-item .file-info {
            flex: 1;
            min-width: 0;
        }

        .file-item .file-name {
            display: block;
            font-weight: 500;
            color: var(--ink);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .file-item .file-size {
            font-size: 0.7rem;
            color: var(--ink-muted);
        }

        .file-item .file-remove {
            flex-shrink: 0;
            background: none;
            border: 1px solid var(--border);
            border-radius: 4px;
            cursor: pointer;
            color: var(--ink-muted);
            padding: 2px 8px;
            font-family: 'Poppins', sans-serif;
            font-size: 0.7rem;
            transition: all var(--transition);
        }

        .file-item .file-remove:hover {
            border-color: var(--error-text);
            color: var(--error-text);
            background: var(--error-bg);
        }

        .file-item.error {
            border-color: #e0c5c5;
            background: var(--error-bg);
        }

        .file-item.error .file-name {
            color: var(--error-text);
        }

        .file-item.error .file-size {
            color: var(--error-text);
        }

        /* Upload Error */
        .upload-error {
            font-family: 'Poppins', sans-serif;
            font-size: 0.75rem;
            color: var(--error-text);
            margin-top: 0.5rem;
            display: none;
        }

        .upload-error.visible {
            display: block;
        }

        /* ─── DOCUMENT PREVIEW MODAL ─── */
        .doc-preview-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            animation: fadeIn 0.2s ease;
        }

        .doc-preview-overlay.open {
            display: flex;
        }

        .doc-preview-modal {
            background: var(--surface);
            border-radius: var(--radius-lg);
            width: 90vw;
            max-width: 900px;
            height: 85vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
            animation: fadeUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .doc-preview-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid var(--border);
            flex-shrink: 0;
        }

        .doc-preview-header h3 {
            font-family: 'Poppins', sans-serif;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--ink);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 60%;
        }

        .doc-preview-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .doc-preview-open {
            font-family: 'Poppins', sans-serif;
            font-size: 0.75rem;
            font-weight: 500;
            color: var(--ink);
            text-decoration: underline;
            text-underline-offset: 3px;
            transition: color var(--transition);
        }

        .doc-preview-open:hover {
            color: var(--ink-muted);
        }

        .doc-preview-body {
            flex: 1;
            position: relative;
            background: var(--bg);
        }

        .doc-preview-body iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .doc-preview-loading {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-family: 'Poppins', sans-serif;
            font-size: 0.82rem;
            color: var(--ink-muted);
            background: var(--bg);
            z-index: 1;
        }

        .doc-preview-loading.hidden {
            display: none;
        }

        /* Preview button in admin table */
        .doc-preview-btn {
            background: none;
            border: 1px solid var(--border);
            border-radius: 4px;
            cursor: pointer;
            font-family: 'Poppins', sans-serif;
            font-size: 0.7rem;
            font-weight: 500;
            color: var(--ink);
            padding: 3px 8px;
            transition: all var(--transition);
            text-decoration: none;
            display: inline-block;
            margin-bottom: 3px;
        }

        .doc-preview-btn:hover {
            background: var(--charcoal);
            color: #fff;
            border-color: var(--charcoal);
        }

        @media (max-width: 640px) {
            .doc-preview-modal {
                width: 100vw;
                height: 100vh;
                max-width: none;
                border-radius: 0;
            }
        }

        /* ─── DELETE CONFIRM MODAL ─── */
        .delete-confirm-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 3000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            animation: fadeIn 0.2s ease;
        }

        .delete-confirm-overlay.open {
            display: flex;
        }

        .delete-confirm-modal {
            background: var(--surface);
            border-radius: var(--radius-lg);
            width: 90vw;
            max-width: 400px;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
            animation: fadeUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .delete-confirm-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--error-bg);
            color: var(--error-text);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.2rem;
        }

        .delete-confirm-title {
            font-family: 'Poppins', sans-serif;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--ink);
            margin-bottom: 0.5rem;
        }

        .delete-confirm-text {
            font-size: 0.9rem;
            color: var(--ink-secondary);
            margin-bottom: 1.5rem;
            line-height: 1.5;
        }

        .delete-confirm-actions {
            display: flex;
            gap: 12px;
            width: 100%;
        }

        /* ─── COMPLAINT DETAIL ACCORDION ─── */
        .booking-row {
            cursor: pointer;
            transition: background var(--transition);
        }

        .booking-row:hover {
            background: var(--border-light);
        }

        .booking-row.expanded {
            background: var(--border-light);
        }

        .detail-chevron {
            display: inline-block;
            font-size: 0.6rem;
            color: var(--ink-muted);
            transition: transform 0.25s ease;
            margin-right: 4px;
        }

        .detail-chevron.open {
            transform: rotate(90deg);
        }

        .detail-row td {
            padding: 0 !important;
            border-top: none !important;
        }

        .detail-row-content {
            padding: 1rem 1.5rem;
            background: var(--bg);
            border-top: 1px dashed var(--border-light);
        }

        .detail-label {
            font-family: 'Poppins', sans-serif;
            font-size: 0.65rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--ink-muted);
            display: block;
            margin-bottom: 0.4rem;
        }

        .detail-text {
            font-size: 0.82rem;
            color: var(--ink-secondary);
            line-height: 1.6;
            margin: 0;
            white-space: pre-wrap;
            word-break: break-word;
        }

        /* ─── FOOTER ─── */
        .footer {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 1.25rem 2.5rem;
            font-size: 0.72rem;
            color: var(--ink-muted);
            border-top: 1px solid var(--border-light);
            background: var(--surface);
            text-align: center;
            gap: 8px;
        }

        .footer-dev-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--ink-muted);
            text-decoration: none;
            font-family: 'Poppins', sans-serif;
            font-size: 0.72rem;
            padding: 4px 10px;
            border-radius: 6px;
            border: 1px solid var(--border);
            transition: all var(--transition);
        }

        .footer-dev-link:hover {
            color: var(--ink);
            border-color: var(--ink-muted);
            background: var(--border-light);
        }

        .footer-dev-link svg {
            flex-shrink: 0;
        }

        /* ─── SUBTLE NOISE ─── */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
            pointer-events: none;
            z-index: 9999;
        }
   