    /* =================================================================
     * ARD Agency — Enterprise Auth (Premium Dark, image-backed)
     *
     * Design direction:
     *   - Always-dark premium aesthetic (auth pages do NOT follow the
     *     admin panel's light/dark toggle — they're a brand surface).
     *   - Hero image on the left brand panel with a dark gradient
     *     overlay; glassy form panel on the right.
     *   - Slate / indigo / violet palette, accent gradient on CTA.
     *   - Premium typography (Inter), subtle motion, no flashy effects.
     *
     * Scoping:
     *   Every rule is gated on `body:has(.ard-auth-shell)` or scoped
     *   under `.ard-auth-shell` so this CSS has zero effect on the
     *   rest of the admin panel.
     * ================================================================= */

    /* ── Viewport lock + chrome suppression (auth pages only) ──── */
    body:has(.ard-auth-shell) {
        overflow: hidden !important;
        height: 100vh !important;
        max-height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #020617 !important;
        color-scheme: dark;
    }
    html:has(.ard-auth-shell) {
        overflow: hidden !important;
        height: 100%;
        color-scheme: dark;
    }

    /* Suppress every chrome shell + footer that could leak in */
    body:has(.ard-auth-shell) .fi-simple-layout,
    body:has(.ard-auth-shell) .fi-simple-header,
    body:has(.ard-auth-shell) .fi-topbar,
    body:has(.ard-auth-shell) .ard-footer {
        display: none !important;
    }

    /* ── Shell — 2-column grid, viewport locked ──────────────── */
    .ard-auth-shell {
        display: grid;
        grid-template-columns: 50% 50%;
        height: 100vh;
        width: 100vw;
        overflow: hidden;
        font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        color: #f1f5f9;
        background: #020617;
    }

    /* ═══════════════════════════════════════════════════════════
     * LEFT — BRAND / TRUST PANEL (dark gradient + inline SVG)
     *
     * Hero visual is an inline SVG fuel-pump illustration rendered
     * inside `<aside class="ard-auth-brand">` as `.ard-brand-decoration`.
     * No external image dependency — always loads, always petrol-
     * themed, never wrong. The login + register pages pass different
     * positioning + scale via the `--ard-hero-image-*` modifier
     * classes below so each page still feels distinct.
     * ═══════════════════════════════════════════════════════════ */
    .ard-auth-brand {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 2.5rem 3rem 1.75rem;
        overflow: hidden;
        isolation: isolate;
        /* Image-backed brand panel. Layers (top → bottom):
         *   1. dark vertical overlay — darker at top/bottom so the brand mark
         *      and footer stay legible, lighter in the middle so the photo
         *      reads clearly;
         *   2. the petrol-bunk photo, injected per page via the
         *      `--ard-hero-image` CSS variable (set inline on .ard-auth-shell);
         *   3. the original themed gradient as a graceful fallback — shown if
         *      the image variable is unset or the file is missing, so the panel
         *      is never blank. */
        background-color: #0f172a;
        background-image:
            linear-gradient(to bottom,
                rgba(2, 6, 23, 0.72) 0%,
                rgba(2, 6, 23, 0.25) 32%,
                rgba(2, 6, 23, 0.34) 62%,
                rgba(2, 6, 23, 0.85) 100%),
            var(--ard-hero-image, none),
            radial-gradient(circle at 75% 25%, rgba(139, 92, 246, 0.22) 0%, transparent 45%),
            radial-gradient(circle at 25% 80%, rgba(99, 102, 241, 0.18) 0%, transparent 45%),
            linear-gradient(135deg, #1e1b4b 0%, #312e81 35%, #1e1b4b 65%, #0f172a 100%);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    /* Decorative fuel-pump SVG positioned in the corner. Inherits
       white at low opacity so the silhouette reads through the
       gradient without overpowering the brand copy. */
    .ard-brand-decoration {
        position: absolute;
        bottom: -40px;
        right: -50px;
        width: 480px;
        height: 480px;
        color: rgba(199, 210, 254, 0.18);
        pointer-events: none;
        z-index: 0;
        filter: drop-shadow(0 12px 40px rgba(99, 102, 241, 0.15));
    }

    /* Login uses the standard corner placement. Register flips it
       to a different corner + slightly smaller scale so the two
       pages feel visually distinct without needing two different
       illustrations. */
    .ard-auth-shell--register .ard-brand-decoration {
        bottom: auto;
        right: auto;
        top: -60px;
        left: -40px;
        width: 420px;
        height: 420px;
        transform: scaleX(-1);
        color: rgba(167, 139, 250, 0.18);
    }

    /* Subtle dot pattern overlay for premium texture */
    .ard-auth-brand::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
        background-size: 28px 28px;
        pointer-events: none;
        z-index: 0;
    }

    .ard-auth-brand > * {
        position: relative;
        z-index: 1;
    }

    /* ── Top: brand mark + name ──────────────────────────────── */
    .ard-brand-block {
        flex-shrink: 0;
    }

    .ard-brand-mark {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .ard-brand-logo {
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 0.65rem;
        object-fit: contain;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(12px);
        padding: 0.25rem;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
        flex-shrink: 0;
    }

    .ard-brand-logo-fallback {
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 0.65rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
        color: #ffffff;
        box-shadow: 0 8px 24px -8px rgba(139, 92, 246, 0.6);
        flex-shrink: 0;
    }
    .ard-brand-logo-fallback svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    .ard-brand-mark > span {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        min-width: 0;
    }

    .ard-brand-text-name {
        font-size: 1.1rem;
        font-weight: 700;
        color: #f8fafc;
        letter-spacing: -0.01em;
        line-height: 1.2;
    }

    .ard-brand-text-tag {
        font-size: 0.72rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #a5b4fc;
    }

    /* ── Middle: hero copy + trust list ───────────────────────── */
    .ard-brand-hero {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        max-width: 540px;
    }

    .ard-brand-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        align-self: flex-start;
        padding: 0.4rem 0.85rem;
        font-size: 0.72rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #c7d2fe;
        background: rgba(99, 102, 241, 0.15);
        border: 1px solid rgba(99, 102, 241, 0.3);
        border-radius: 999px;
        backdrop-filter: blur(8px);
    }
    .ard-brand-eyebrow svg {
        width: 0.95rem;
        height: 0.95rem;
    }

    .ard-brand-headline {
        font-size: clamp(1.85rem, 2.5vw, 2.5rem);
        font-weight: 800;
        line-height: 1.15;
        letter-spacing: -0.025em;
        color: #f8fafc;
        margin: 0;
    }
    .ard-brand-headline em {
        font-style: normal;
        background: linear-gradient(135deg, #a78bfa 0%, #818cf8 50%, #60a5fa 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .ard-brand-sub {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #cbd5e1;
        margin: 0;
        max-width: 480px;
    }

    .ard-trust-list {
        list-style: none;
        padding: 0;
        margin: 0.5rem 0 0;
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
    }

    .ard-trust-item {
        display: flex;
        align-items: flex-start;
        gap: 0.7rem;
        padding: 0.75rem 0.95rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0.65rem;
        backdrop-filter: blur(10px);
        transition: all 0.2s ease;
    }
    .ard-trust-item:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.15);
        transform: translateX(2px);
    }

    .ard-trust-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 0.4rem;
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: #ffffff;
        flex-shrink: 0;
        box-shadow: 0 4px 10px -3px rgba(16, 185, 129, 0.5);
    }
    .ard-trust-icon svg {
        width: 0.85rem;
        height: 0.85rem;
    }

    .ard-trust-text {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
        font-size: 0.85rem;
        line-height: 1.45;
    }
    .ard-trust-text strong {
        color: #f1f5f9;
        font-weight: 600;
        font-size: 0.9rem;
    }
    .ard-trust-text span {
        color: #94a3b8;
        font-size: 0.8rem;
    }

    /* ── Bottom: copyright + powered-by ─────────────────────── */
    .ard-brand-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-shrink: 0;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 0.76rem;
        color: #94a3b8;
    }

    .ard-brand-footer a {
        color: #cbd5e1;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.15s ease;
    }
    .ard-brand-footer a:hover {
        color: #f8fafc;
    }

    /* "R" and "M" tinted red within the powered-by mark */
    .ard-brand-footer .ard-cr {
        color: #ef4444;
        font-weight: 700;
    }

    /* ═══════════════════════════════════════════════════════════
     * RIGHT — DARK FORM PANEL
     * ═══════════════════════════════════════════════════════════ */
    .ard-auth-form-panel {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2.5rem 3rem;
        overflow-y: auto;
        background:
            radial-gradient(circle at 20% 100%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 80% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
            #0f172a;
    }

    /* Soft dot-grid texture on the form panel */
    .ard-auth-form-panel::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
        background-size: 24px 24px;
        pointer-events: none;
    }

    .ard-auth-form-panel > * {
        position: relative;
        z-index: 1;
    }

    .ard-form-mobile-brand {
        display: none;
    }

    .ard-auth-form-inner {
        width: 100%;
        max-width: 440px;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 2.25rem 2rem;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 1rem;
        box-shadow:
            0 25px 50px -12px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(99, 102, 241, 0.05) inset;
    }

    .ard-form-header {
        text-align: left;
    }

    .ard-form-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: #f8fafc;
        margin: 0 0 0.35rem;
        letter-spacing: -0.02em;
    }

    .ard-form-subtitle {
        font-size: 0.88rem;
        color: #94a3b8;
        margin: 0;
        line-height: 1.5;
    }

    /* ── Filament form field overrides (auth-shell scope only) ──
     *
     * Filament v3 renders labels with this structure:
     *
     *   <label class="fi-fo-field-wrp-label">
     *     <span class="fi-fo-field-wrp-label-text">Name</span>
     *     <sup class="fi-fo-field-wrp-label-required-mark">*</sup>
     *   </label>
     *
     * Earlier rules only targeted the outer <label> + wrapper class,
     * which left the inner <span> at Filament's default dark-mode
     * color (`text-gray-950` on a dark form panel = invisible). The
     * selectors below cast a wider net to cover the actual text
     * carriers Filament uses, plus a generic `*` fallback for any
     * markup variation in form sections.
     */
    .ard-auth-shell label,
    .ard-auth-shell .fi-fo-field-wrp-label,
    .ard-auth-shell .fi-fo-field-wrp-label *,
    .ard-auth-shell .fi-fo-field-wrp-label-text,
    .ard-auth-shell .fi-section .fi-section-content label,
    .ard-auth-shell [class*='fi-fo-field-wrp-label'] {
        color: #e2e8f0 !important;
        font-size: 0.86rem !important;
        font-weight: 500 !important;
    }

    /* Required asterisk — make it pop in red so the eye reads it. */
    .ard-auth-shell .fi-fo-field-wrp-label-required-mark,
    .ard-auth-shell sup,
    .ard-auth-shell [class*='required-mark'] {
        color: #f87171 !important;
        font-weight: 700 !important;
    }

    /* Helper / hint text under fields (e.g. "10-digit mobile number"). */
    .ard-auth-shell .fi-fo-field-wrp-hint,
    .ard-auth-shell .fi-fo-field-wrp-helper-text,
    .ard-auth-shell [class*='helper-text'],
    .ard-auth-shell [class*='hint'] {
        color: #94a3b8 !important;
        font-size: 0.78rem !important;
    }

    .ard-auth-shell .fi-input,
    .ard-auth-shell .fi-input-wrp,
    .ard-auth-shell input[type="text"],
    .ard-auth-shell input[type="email"],
    .ard-auth-shell input[type="password"] {
        background: rgba(15, 23, 42, 0.6) !important;
        border: 1px solid rgba(148, 163, 184, 0.2) !important;
        color: #f1f5f9 !important;
        border-radius: 0.55rem !important;
        transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
    }

    .ard-auth-shell .fi-input::placeholder,
    .ard-auth-shell input::placeholder {
        color: #64748b !important;
    }

    .ard-auth-shell .fi-input:focus,
    .ard-auth-shell .fi-input-wrp:focus-within,
    .ard-auth-shell input[type="text"]:focus,
    .ard-auth-shell input[type="email"]:focus,
    .ard-auth-shell input[type="password"]:focus {
        border-color: #818cf8 !important;
        background: rgba(15, 23, 42, 0.8) !important;
        box-shadow:
            0 0 0 3px rgba(129, 140, 248, 0.15),
            0 4px 12px -3px rgba(99, 102, 241, 0.25) !important;
        outline: none !important;
    }

    /* Checkbox overrides for proper visibility and premium aesthetic */
    .ard-auth-shell input[type="checkbox"] {
        background-color: rgba(15, 23, 42, 0.6) !important;
        border: 1px solid rgba(148, 163, 184, 0.35) !important;
        border-radius: 0.25rem !important;
        color: #818cf8 !important; /* Sets checkmark background color fallback for Tailwind Forms */
        cursor: pointer !important;
        width: 1.125rem !important;
        height: 1.125rem !important;
        transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease !important;
    }

    .ard-auth-shell input[type="checkbox"]:focus {
        border-color: #818cf8 !important;
        background-color: rgba(15, 23, 42, 0.8) !important;
        box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.25) !important;
        outline: none !important;
    }

    .ard-auth-shell input[type="checkbox"]:checked {
        background-color: #6366f1 !important; /* Premium Indigo background */
        border-color: transparent !important;
        color: #ffffff !important; /* White checkmark */
    }

    .ard-auth-shell label,
    .ard-auth-shell .fi-fo-field-wrp-label {
        cursor: pointer !important;
    }

    /* Eye toggle / icon buttons */
    .ard-auth-shell .fi-icon-btn {
        color: #94a3b8 !important;
    }
    .ard-auth-shell .fi-icon-btn:hover {
        color: #f1f5f9 !important;
    }

    /* Submit CTA — gradient indigo → violet */
    .ard-auth-shell .fi-btn-primary,
    .ard-auth-shell button[type="submit"] {
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
        border: none !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        letter-spacing: 0.01em !important;
        padding: 0.7rem 1.25rem !important;
        border-radius: 0.55rem !important;
        box-shadow:
            0 10px 30px -8px rgba(139, 92, 246, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.08) inset !important;
        transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease !important;
    }
    .ard-auth-shell .fi-btn-primary:hover,
    .ard-auth-shell button[type="submit"]:hover {
        transform: translateY(-1px);
        box-shadow:
            0 14px 36px -8px rgba(139, 92, 246, 0.6),
            0 0 0 1px rgba(255, 255, 255, 0.12) inset !important;
    }
    .ard-auth-shell .fi-btn-primary:active,
    .ard-auth-shell button[type="submit"]:active {
        transform: translateY(0);
    }

    /* Validation messages */
    .ard-auth-shell .fi-fo-field-wrp-error-message {
        color: #fca5a5 !important;
        font-size: 0.78rem !important;
    }

    /* Switch link (Don't have an account? / Already have one?) */
    .ard-form-switch {
        text-align: center;
        font-size: 0.85rem;
        color: #94a3b8;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(148, 163, 184, 0.1);
    }

    .ard-form-link {
        color: #a5b4fc;
        font-weight: 600;
        text-decoration: none;
        margin-left: 0.35rem;
        transition: color 0.15s ease;
    }
    .ard-form-link:hover {
        color: #c7d2fe;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    /* ═══════════════════════════════════════════════════════════
     * RESPONSIVE — collapse to single column on tablet / mobile
     * ═══════════════════════════════════════════════════════════ */
    @media (max-width: 960px) {
        .ard-auth-shell {
            grid-template-columns: 1fr;
            height: auto;
            min-height: 100vh;
            overflow-y: auto;
        }
        body:has(.ard-auth-shell),
        html:has(.ard-auth-shell) {
            overflow: auto !important;
            height: auto !important;
            min-height: 100vh;
        }
        .ard-auth-brand {
            min-height: 35vh;
            padding: 1.75rem 1.5rem;
        }
        .ard-brand-hero {
            gap: 1rem;
        }
        .ard-trust-list {
            display: none;
        }
        .ard-auth-form-panel {
            padding: 2rem 1.25rem;
        }
        .ard-auth-form-inner {
            padding: 1.75rem 1.5rem;
        }
        .ard-form-mobile-brand {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #f1f5f9;
            font-weight: 600;
            margin-bottom: 1rem;
        }
        .ard-form-mobile-brand img {
            width: 2rem;
            height: 2rem;
            border-radius: 0.4rem;
            background: rgba(255, 255, 255, 0.08);
            padding: 0.15rem;
        }
    }

    @media (max-width: 600px) {
        .ard-auth-brand {
            padding: 1.25rem;
            min-height: 28vh;
        }
        .ard-brand-headline {
            font-size: 1.5rem;
        }
        .ard-brand-sub {
            font-size: 0.85rem;
        }
        .ard-brand-footer {
            flex-direction: column;
            gap: 0.35rem;
            align-items: flex-start;
            font-size: 0.7rem;
        }
        .ard-form-title {
            font-size: 1.25rem;
        }
    }
