       body {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 24px;
            gap: 12px;
        }

        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.8rem;
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.2s;
            width: 100%;
            max-width: 420px;
        }
        .back-link:hover { color: var(--text-heading); }

        .auth-card {
            width: 100%;
            max-width: 420px;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 24px;
            padding: 40px;
            backdrop-filter: blur(20px);
            position: relative;
            overflow: hidden;
        }
        .auth-card::before {
            content: '';
            position: absolute;
            top: -90px; left: -90px;
            width: 240px; height: 240px;
            background: radial-gradient(circle, rgba(29,78,216,0.14), transparent 70%);
            pointer-events: none;
        }
        .auth-card::after {
            content: '';
            position: absolute;
            bottom: -60px; right: -60px;
            width: 200px; height: 200px;
            background: radial-gradient(circle, rgba(30,58,138,0.08), transparent 70%);
            pointer-events: none;
        }

        .auth-header {
            text-align: center;
            margin-bottom: 28px;
            position: relative;
            z-index: 1;
        }
        .auth-logo-wrap {
            width: 72px; height: 72px;
            border-radius: 20px;
            background: rgba(29,78,216,0.1);
            border: 1px solid rgba(29,78,216,0.2);
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 16px;
            overflow: hidden;
        }
        .auth-logo-wrap img { width: 52px; height: 52px; object-fit: contain; }

        .auth-title {
            font-size: 1.75rem; font-weight: 900;
            color: var(--text-heading);
            letter-spacing: -0.02em;
            margin-bottom: 6px;
        }
        .auth-subtitle { font-size: 0.875rem; color: var(--text-muted); }

        .auth-alert {
            display: none;
            padding: 12px 16px;
            border-radius: 10px;
            font-size: 0.85rem;
            text-align: center;
            margin-bottom: 16px;
            position: relative; z-index: 1;
        }
        .auth-alert.error {
            display: block;
            background: rgba(239,68,68,0.1);
            border: 1px solid rgba(239,68,68,0.3);
            color: #fca5a5;
        }
        .auth-alert.success {
            display: block;
            background: rgba(29,78,216,0.1);
            border: 1px solid rgba(29,78,216,0.3);
            color: #93c5fd;
        }

        .form-group {
            position: relative;
            margin-bottom: 14px;
            z-index: 1;
        }
        .form-icon {
            position: absolute;
            left: 14px; top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            pointer-events: none;
        }
        .form-input {
            width: 100%; height: 48px;
            background: rgba(0,0,0,0.3);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 0 16px 0 44px;
            font-family: inherit; font-size: 0.875rem;
            color: var(--text-heading);
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
            box-sizing: border-box;
        }
        .form-input::placeholder { color: var(--text-muted); }
        .form-input:focus {
            border-color: rgba(29,78,216,0.5);
            box-shadow: 0 0 0 3px rgba(29,78,216,0.08);
        }

        .turnstile-wrap {
            display: flex;
            justify-content: center;
            overflow: hidden;
            margin: 10px 0 8px;
            position: relative; z-index: 1;
        }

        .auth-submit {
            width: 100%; height: 48px;
            background: linear-gradient(180deg, var(--accent), var(--accent-dark));
            color: #fff;
            border: 1px solid rgba(59,130,246,0.4);
            border-radius: 12px;
            font-family: inherit; font-size: 0.9rem; font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 16px rgba(29,78,216,0.25);
            margin-bottom: 4px;
            position: relative; z-index: 1;
        }
        .auth-submit:hover:not(:disabled) {
            box-shadow: 0 4px 24px rgba(29,78,216,0.4);
            transform: translateY(-1px);
        }
        .auth-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

        .auth-divider {
            height: 1px; background: var(--border);
            margin: 22px 0;
            position: relative; z-index: 1;
        }

        .auth-footer {
            text-align: center;
            position: relative; z-index: 1;
        }
        .auth-footer p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
        .auth-footer a { color: var(--accent-light); font-weight: 600; text-decoration: none; transition: color 0.2s; }
        .auth-footer a:hover { color: #fff; }
        .auth-footer small { font-size: 0.75rem; color: var(--text-faint); }

        .forgot-link {
            display: block;
            text-align: right;
            font-size: 0.8rem;
            color: var(--accent-light);
            text-decoration: none;
            margin-top: -6px;
            margin-bottom: 14px;
            position: relative;
            z-index: 1;
            cursor: pointer;
            transition: color 0.2s;
        }
        .forgot-link:hover { color: #fff; }

        .modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.7);
            backdrop-filter: blur(4px);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }
        .modal-overlay.active { display: flex; }

        .modal-card {
            width: 100%;
            max-width: 400px;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 32px;
            position: relative;
            animation: modalIn 0.2s ease;
        }
        @keyframes modalIn {
            from { opacity: 0; transform: scale(0.96) translateY(8px); }
            to   { opacity: 1; transform: scale(1) translateY(0); }
        }

        .modal-close {
            position: absolute;
            top: 16px; right: 16px;
            background: none; border: none;
            color: var(--text-muted);
            cursor: pointer;
            padding: 4px;
            border-radius: 6px;
            transition: color 0.2s, background 0.2s;
            line-height: 1;
        }
        .modal-close:hover { color: var(--text-heading); background: rgba(255,255,255,0.05); }

        .modal-title {
            font-size: 1.25rem; font-weight: 800;
            color: var(--text-heading);
            margin-bottom: 6px;
        }
        .modal-subtitle {
            font-size: 0.82rem;
            color: var(--text-muted);
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .modal-alert {
            display: none;
            padding: 10px 14px;
            border-radius: 8px;
            font-size: 0.82rem;
            text-align: center;
            margin-bottom: 14px;
        }
        .modal-alert.error {
            display: block;
            background: rgba(239,68,68,0.1);
            border: 1px solid rgba(239,68,68,0.3);
            color: #fca5a5;
        }
        .modal-alert.success {
            display: block;
            background: rgba(29,78,216,0.1);
            border: 1px solid rgba(29,78,216,0.3);
            color: #93c5fd;
        }

        .step-dots {
            display: flex;
            gap: 6px;
            margin-bottom: 20px;
        }
        .step-dot {
            height: 3px;
            border-radius: 2px;
            flex: 1;
            background: var(--border);
            transition: background 0.3s;
        }
        .step-dot.active { background: var(--accent); }

        .modal-step { display: none; }
        .modal-step.active { display: block; }

        .modal-form-group {
            position: relative;
            margin-bottom: 12px;
        }
        .modal-form-icon {
            position: absolute;
            left: 14px; top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            pointer-events: none;
        }
        .modal-input {
            width: 100%; height: 44px;
            background: rgba(0,0,0,0.3);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 0 14px 0 42px;
            font-family: inherit; font-size: 0.875rem;
            color: var(--text-heading);
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
            box-sizing: border-box;
        }
        .modal-input::placeholder { color: var(--text-muted); }
        .modal-input:focus {
            border-color: rgba(29,78,216,0.5);
            box-shadow: 0 0 0 3px rgba(29,78,216,0.08);
        }

        .modal-btn {
            width: 100%; height: 44px;
            background: linear-gradient(180deg, var(--accent), var(--accent-dark));
            color: #fff;
            border: 1px solid rgba(59,130,246,0.4);
            border-radius: 10px;
            font-family: inherit; font-size: 0.875rem; font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 14px rgba(29,78,216,0.2);
            margin-top: 4px;
        }
        .modal-btn:hover:not(:disabled) {
            box-shadow: 0 4px 20px rgba(29,78,216,0.4);
            transform: translateY(-1px);
        }
        .modal-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

        .resend-link {
            display: block;
            text-align: center;
            font-size: 0.78rem;
            color: var(--text-muted);
            margin-top: 10px;
        }
        .resend-link span {
            color: var(--accent-light);
            cursor: pointer;
            font-weight: 600;
        }
        .resend-link span:hover { color: #fff; }
