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

        :root {
            --pink: #FF4D6D;
            --amber: #F9A825;
            --gold: #FFD93D;
            --teal: #0CB47A;
            --white: #F0F0F8;
            --muted: rgba(200,200,225,0.55);
            --night: #0A0814;
        }

        html {
            height: 100%;
        }

        body {
            min-height: 100vh;
            font-family: 'DM Sans', sans-serif;
            color: var(--white);
            position: relative;
            overflow-x: hidden;
        }

        /* ── BACKGROUND ── */


        /* ── LAYOUT ── */
        .page {
            position: relative;
            z-index: 10;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }

        /* ── NAV LOGO ── */
        .top-logo {
            position: fixed;
            top: 22px;
            left: 28px;
            z-index: 100;
            text-decoration: none;
            font-family: 'DM Serif Display', serif;
            font-style: italic;
            font-size: 24px;
            background: linear-gradient(135deg, var(--pink), var(--amber));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

            .top-logo span {
                -webkit-text-fill-color: rgba(240,240,248,0.45);
                font-style: normal;
                font-size: 16px;
            }

        .back-arrow {
            position: fixed;
            top: 31px;
            left: 28px;
            z-index: 100;
            color: var(--gold);
            text-decoration: none;
            font-size: 18px;
            line-height: 1;
            opacity: 0.85;
            transition: opacity 0.15s;
        }

            .back-arrow:hover {
                opacity: 1;
            }

        /* ── GLASS CARD ── */
        .auth-card {
            background: rgba(10,8,20,0.72);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255,255,255,0.10);
            border-radius: 24px;
            padding: 48px 44px;
            width: 100%;
            max-width: 460px;
            box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
        }

        /* ── HEADER ── */
        .auth-brand {
            text-align: center;
            margin-bottom: 8px;
        }

        .auth-brand-name {
            font-family: 'DM Serif Display', serif;
            font-style: italic;
            font-size: 32px;
            background: linear-gradient(135deg, var(--pink), var(--amber));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

            .auth-brand-name span {
                -webkit-text-fill-color: rgba(240,240,248,0.4);
                font-style: normal;
                font-size: 22px;
            }

        .auth-title {
            font-family: 'Playfair Display', serif;
            font-style: italic;
            font-size: 26px;
            font-weight: 400;
            color: var(--white);
            text-align: center;
            margin-bottom: 6px;
        }

        .auth-subtitle {
            font-size: 14px;
            color: var(--muted);
            text-align: center;
            margin-bottom: 32px;
        }

        /* ── ALERTS ── */
        .alert {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 12px 14px;
            border-radius: 10px;
            margin-bottom: 20px;
            font-size: 13px;
            line-height: 1.5;
        }

        .alert-error {
            background: rgba(255,77,109,0.12);
            border: 1px solid rgba(255,77,109,0.3);
            color: #ff9ab0;
        }

        .alert-info {
            background: rgba(255,215,61,0.10);
            border: 1px solid rgba(255,215,61,0.25);
            color: var(--gold);
        }

        /* ── FORM ── */
        .form-group {
            margin-bottom: 18px;
        }

            .form-group label {
                display: block;
                font-size: 11px;
                font-weight: 600;
                color: rgba(200,200,225,0.6);
                margin-bottom: 7px;
                text-transform: uppercase;
                letter-spacing: 0.09em;
            }

            .form-group input {
                width: 100%;
                background: rgba(255,255,255,0.06);
                border: 1px solid rgba(255,255,255,0.10);
                border-radius: 10px;
                padding: 13px 16px;
                color: var(--white);
                font-size: 15px;
                font-family: 'DM Sans', sans-serif;
                transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
                outline: none;
            }

                .form-group input:focus {
                    border-color: rgba(255,215,61,0.5);
                    background: rgba(255,255,255,0.09);
                    box-shadow: 0 0 0 3px rgba(255,215,61,0.08);
                }

                .form-group input::placeholder {
                    color: rgba(200,200,225,0.3);
                }

        .form-row-inline {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
            margin-top: -6px;
        }

        .remember-label {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            color: var(--muted);
            font-size: 13px;
        }

        .forgot-link {
            font-size: 13px;
            color: var(--gold);
            text-decoration: none;
            font-weight: 600;
            transition: opacity 0.15s;
        }

            .forgot-link:hover {
                opacity: 0.75;
            }

        /* ── BUTTON ── */
        .btn-primary {
            display: block;
            width: 100%;
            background: linear-gradient(135deg, var(--pink), var(--amber));
            border: none;
            border-radius: 50px;
            color: white;
            font-family: 'DM Serif Display', serif;
            font-style: italic;
            font-size: 17px;
            padding: 15px 0;
            cursor: pointer;
            text-align: center;
            transition: opacity 0.15s, transform 0.18s, box-shadow 0.18s;
            box-shadow: 0 6px 28px rgba(255,77,109,0.3);
            letter-spacing: 0.01em;
        }

            .btn-primary:hover {
                opacity: 0.9;
                transform: translateY(-2px);
                box-shadow: 0 10px 36px rgba(255,77,109,0.4);
            }

        /* ── FOOTER LINK ── */
        .auth-footer {
            text-align: center;
            margin-top: 24px;
            font-size: 13px;
            color: var(--muted);
        }

            .auth-footer a {
                color: var(--gold);
                text-decoration: none;
                font-weight: 600;
            }

                .auth-footer a:hover {
                    opacity: 0.75;
                }

        .field-error {
            color: #ff9999;
            font-size: 12px;
            display: block;
            margin-top: 4px;
        }

        /* ── RESPONSIVE ── */
        @media (max-width: 480px) {
            .auth-card {
                padding: 32px 22px;
            }

            .auth-brand-name {
                font-size: 26px;
            }

            .top-logo {
                font-size: 20px;
            }
        }