    body { background: #f8f7ff !important; }
    main.py-5 { padding-top: 0 !important; padding-bottom: 0 !important; }

    /* ── PAGE WRAPPER ── */
    .login-wrapper {
        min-height: calc(100vh - 64px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 60px 16px;
        background: #f8f7ff;
        position: relative;
        overflow: hidden;
    }

    /* Subtle background orbs matching hero style */
    .login-wrapper::before {
        content: '';
        position: absolute;
        top: -200px;
        right: -200px;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(124,58,237,0.07) 0%, transparent 65%);
        pointer-events: none;
    }
    .login-wrapper::after {
        content: '';
        position: absolute;
        bottom: -150px;
        left: -150px;
        width: 450px;
        height: 450px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 65%);
        pointer-events: none;
    }

    /* Dot mesh matching builder section */
    .login-mesh {
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(124,58,237,0.05) 1.5px, transparent 1.5px);
        background-size: 40px 40px;
        pointer-events: none;
        z-index: 0;
    }

    .login-box {
        width: 100%;
        max-width: 460px;
        position: relative;
        z-index: 2;
    }

    /* ── CARD ── */
    .login-card {
        background: #fff;
        border: 1px solid rgba(124,58,237,0.1);
        border-radius: 24px;
        padding: 40px 36px 32px;
        box-shadow: 0 24px 80px rgba(124,58,237,0.12), 0 4px 20px rgba(0,0,0,0.05);
        position: relative;
        overflow: hidden;
    }

    /* Top accent gradient bar */
    .login-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #7c3aed, #6366f1, #7c3aed);
        background-size: 200% 100%;
        animation: shimmer 3s ease-in-out infinite;
    }

    @keyframes shimmer {
        0%, 100% { background-position: 0% 0%; }
        50% { background-position: 100% 0%; }
    }

    /* ── BRAND HEADER ── */
    .login-brand {
        text-align: center;
        margin-bottom: 28px;
    }

    .login-brand-icon {
        width: 56px;
        height: 56px;
        background: linear-gradient(135deg, #7c3aed, #6366f1);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        font-weight: 900;
        font-family: 'Cabinet Grotesk', sans-serif;
        color: white;
        margin: 0 auto 16px;
        box-shadow: 0 8px 24px rgba(124,58,237,0.35);
    }

    .login-brand h3 {
        font-family: 'Cabinet Grotesk', sans-serif;
        font-size: 24px;
        font-weight: 900;
        color: #0f0a1e;
        margin-bottom: 5px;
        letter-spacing: -0.5px;
    }

    .login-brand p {
        font-size: 13.5px;
        color: #4b4569;
        margin: 0;
        line-height: 1.5;
    }

    /* ── DIVIDER ── */
    .brand-divider {
        height: 1px;
        background: rgba(124,58,237,0.08);
        margin: 0 0 24px;
    }

    /* ── ALERTS ── */
    .login-alert {
        border-radius: 10px;
        padding: 10px 14px;
        font-size: 13px;
        margin-bottom: 16px;
        display: none;
        align-items: center;
        gap: 8px;
        font-family: 'Instrument Sans', sans-serif;
    }
    .login-alert.show { display: flex; }
    .login-alert.success {
        background: rgba(16,185,129,0.07);
        border: 1px solid rgba(16,185,129,0.2);
        color: #059669;
    }
    .login-alert.error {
        background: rgba(239,68,68,0.07);
        border: 1px solid rgba(239,68,68,0.2);
        color: #dc2626;
    }
    .login-alert.error a {
        color: #7c3aed;
        font-weight: 600;
    }

    /* Verified banner */
    .verified-banner {
        background: rgba(16,185,129,0.07);
        border: 1px solid rgba(16,185,129,0.2);
        border-radius: 10px;
        padding: 10px 14px;
        font-size: 13px;
        color: #059669;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: 'Instrument Sans', sans-serif;
    }

    /* ── LABELS ── */
    .login-label {
        font-size: 12px;
        font-weight: 600;
        color: #4b4569;
        margin-bottom: 6px;
        display: block;
        letter-spacing: 0.2px;
        font-family: 'Instrument Sans', sans-serif;
    }

    /* ── INPUTS ── */
    .login-input {
        display: block;
        width: 100%;
        padding: 10px 14px;
        font-size: 13.5px;
        color: #0f0a1e;
        background: #faf9ff;
        border: 1.5px solid rgba(124,58,237,0.15);
        border-radius: 10px;
        outline: none;
        transition: all 0.2s;
        font-family: 'Instrument Sans', sans-serif;
        -webkit-appearance: none;
    }
    .login-input:focus {
        background: #fff;
        border-color: #7c3aed;
        box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
    }
    .login-input::placeholder { color: #9289b0; }
    .login-input.is-invalid {
        border-color: #ef4444 !important;
        box-shadow: 0 0 0 3px rgba(239,68,68,0.08) !important;
    }

    .field-error {
        font-size: 11.5px;
        color: #dc2626;
        margin-top: 4px;
        display: none;
        font-family: 'Instrument Sans', sans-serif;
    }

    /* ── PASSWORD WRAPPER (with eye toggle) ── */
    .pass-group {
        position: relative;
        display: flex;
        align-items: center;
    }
    .pass-group .login-input {
        padding-right: 42px;
    }
    .pass-eye-btn {
        position: absolute;
        right: 12px;
        background: transparent;
        border: none;
        color: #9289b0;
        cursor: pointer;
        font-size: 14px;
        display: flex;
        align-items: center;
        padding: 0;
        transition: color 0.2s;
    }
    .pass-eye-btn:hover { color: #7c3aed; }

    /* ── FORGOT LINK ── */
    .forgot-link {
        font-size: 12px;
        color: #7c3aed;
        font-weight: 600;
        text-decoration: none;
        font-family: 'Instrument Sans', sans-serif;
    }
    .forgot-link:hover { color: #6d28d9; text-decoration: underline; }

    /* ── REMEMBER ME ── */
    .remember-row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 20px;
        padding: 10px 12px;
        background: #faf9ff;
        border: 1px solid rgba(124,58,237,0.1);
        border-radius: 10px;
    }
    .remember-row input[type="checkbox"] {
        width: 15px;
        height: 15px;
        accent-color: #7c3aed;
        cursor: pointer;
    }
    .remember-row label {
        font-size: 12.5px;
        color: #4b4569;
        cursor: pointer;
        margin: 0;
        font-family: 'Instrument Sans', sans-serif;
    }

    /* ── SUBMIT BUTTON ── */
    .btn-login {
        width: 100%;
        background: linear-gradient(135deg, #7c3aed, #6366f1);
        border: none;
        color: white;
        font-size: 14.5px;
        font-weight: 700;
        padding: 12px;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.28s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-shadow: 0 6px 20px rgba(124,58,237,0.3);
        font-family: 'Instrument Sans', sans-serif;
        letter-spacing: 0.1px;
    }
    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(124,58,237,0.45);
    }
    .btn-login:disabled { opacity: 0.6; transform: none; cursor: not-allowed; }

    /* ── DIVIDER ── */
    .or-divider {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 18px 0;
    }
    .or-divider::before,
    .or-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: rgba(124,58,237,0.08);
    }
    .or-divider span {
        font-size: 11.5px;
        color: #9289b0;
        font-weight: 600;
        font-family: 'Instrument Sans', sans-serif;
        letter-spacing: 0.3px;
    }

    /* ── GOOGLE BUTTON ── */
    .btn-google {
        width: 100%;
        background: #faf9ff;
        border: 1.5px solid rgba(124,58,237,0.12);
        color: #4b4569;
        font-size: 13.5px;
        font-weight: 600;
        padding: 10px;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-decoration: none;
        font-family: 'Instrument Sans', sans-serif;
    }
    .btn-google:hover {
        background: #f5f1ff;
        border-color: rgba(124,58,237,0.25);
        color: #0f0a1e;
        transform: translateY(-1px);
    }

    /* ── CARD FOOTER ── */
    .login-card-footer {
        text-align: center;
        margin-top: 20px;
        padding-top: 18px;
        border-top: 1px solid rgba(124,58,237,0.08);
        font-size: 13px;
        color: #9289b0;
        font-family: 'Instrument Sans', sans-serif;
    }
    .login-card-footer a {
        color: #7c3aed;
        font-weight: 700;
        text-decoration: none;
    }
    .login-card-footer a:hover { color: #6d28d9; text-decoration: underline; }

    /* ── TRUST BADGE ── */
    .trust-badge {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-top: 20px;
        font-size: 11.5px;
        color: #9289b0;
        font-family: 'Instrument Sans', sans-serif;
    }
    .trust-badge i { color: #10b981; font-size: 12px; }

    /* Spacing helpers */
    .mb-14 { margin-bottom: 14px; }
    .mb-18 { margin-bottom: 18px; }

    @media (max-width: 480px) {
        .login-card { padding: 28px 20px 24px; border-radius: 20px; }
        .login-brand h3 { font-size: 20px; }
    }