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

    body {
        background: #070a13;
        color: #f8fafc;
        font-family: 'Inter', sans-serif;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
        background-image:
            radial-gradient(ellipse 70% 50% at 50% -10%, rgba(56,189,248,0.08), transparent 60%),
            radial-gradient(ellipse 50% 40% at 80% 90%, rgba(16,185,129,0.05), transparent 60%);
        -webkit-font-smoothing: antialiased;
    }

    /* ── NAVIGATION TOP ── */
    .top-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 12px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        background: rgba(7,10,19,0.8);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255,255,255,0.06);
        z-index: 100;
    }

    .nav-logo {
        font-size: 0.9rem;
        font-weight: 900;
        color: #38bdf8;
        letter-spacing: -0.3px;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .nav-link {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        border-radius: 8px;
        font-size: 0.8rem;
        font-weight: 700;
        color: #64748b;
        text-decoration: none;
        border: 1px solid rgba(255,255,255,0.06);
        background: rgba(255,255,255,0.03);
        transition: color 0.2s, background 0.2s, border-color 0.2s;
        white-space: nowrap;
    }

    .nav-link:hover {
        color: #fff;
        background: rgba(255,255,255,0.08);
        border-color: rgba(255,255,255,0.15);
    }

    .nav-link.green {
        color: #10b981;
        border-color: rgba(16,185,129,0.25);
        background: rgba(16,185,129,0.06);
    }
    .nav-link.green:hover {
        background: rgba(16,185,129,0.12);
    }

    /* ── CARD LOGIN ── */
    .login-card {
        background: rgba(15,23,42,0.85);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 16px;
        padding: 40px;
        width: 100%;
        max-width: 420px;
        box-shadow:
            0 20px 60px rgba(0,0,0,0.7),
            inset 0 1px 0 rgba(255,255,255,0.05);
        margin-top: 60px;
    }

    .card-header {
        text-align: center;
        margin-bottom: 28px;
    }

    .card-icon {
        width: 72px;
        height: 72px;
        background: rgba(56,189,248,0.1);
        border: 1px solid rgba(56,189,248,0.25);
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: #38bdf8;
        margin: 0 auto 18px;
        filter: drop-shadow(0 0 20px rgba(56,189,248,0.3));
    }

    .card-title {
        font-size: 1.6rem;
        font-weight: 900;
        color: #fff;
        letter-spacing: -0.5px;
        margin-bottom: 6px;
    }

    .card-sub {
        font-size: 0.85rem;
        color: #64748b;
        font-weight: 500;
    }

    /* ── FORM ── */
    .field-group {
        margin-bottom: 16px;
    }

    .field-label {
        display: block;
        font-size: 0.72rem;
        font-weight: 800;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-bottom: 7px;
    }

    .field-input {
        width: 100%;
        padding: 13px 16px;
        background: #020617;
        border: 1.5px solid rgba(255,255,255,0.08);
        border-radius: 8px;
        color: #fff;
        font-size: 0.95rem;
        font-family: inherit;
        outline: none;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .field-input:focus {
        border-color: #38bdf8;
        box-shadow: 0 0 0 3px rgba(56,189,248,0.12);
    }

    .field-input.cf-input {
        text-transform: uppercase;
        font-family: 'JetBrains Mono', 'Courier New', monospace;
        letter-spacing: 2px;
        font-size: 1rem;
    }

    .btn-submit {
        width: 100%;
        padding: 15px;
        background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
        border: none;
        border-radius: 8px;
        color: #000;
        font-weight: 900;
        font-size: 1rem;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: opacity 0.2s, transform 0.15s;
        margin-top: 8px;
        font-family: inherit;
        box-shadow: 0 4px 20px rgba(56,189,248,0.3);
    }

    .btn-submit:hover { opacity: 0.9; }
    .btn-submit:active { transform: scale(0.98); }
    .btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

    .alert-error {
        background: rgba(239,68,68,0.08);
        border: 1px solid rgba(239,68,68,0.3);
        color: #f87171;
        padding: 12px 16px;
        border-radius: 8px;
        margin-bottom: 20px;
        font-size: 0.85rem;
        font-weight: 700;
        display: flex;
        align-items: flex-start;
        gap: 10px;
        line-height: 1.4;
    }

    /* ── FOOTER CARD ── */
    .card-footer {
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.06);
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .footer-link {
        font-size: 0.8rem;
        color: #475569;
        font-weight: 600;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 5px;
        transition: color 0.2s;
    }

    .footer-link:hover { color: #94a3b8; }

    @media (max-width: 480px) {
        .login-card { padding: 28px 20px; }
        .top-nav    { padding: 10px 16px; }
    }
