/**
 * Najazdene.sk - Auth Styles
 * World-class split-screen auth with canvas particles
 * Inspired by top SaaS/ecommerce patterns (Stripe, Linear, Vercel)
 */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    --auth-primary: #6d28d9;
    --auth-primary-light: #a78bfa;
    --auth-primary-dark: #5b21b6;
    --auth-accent: #f59e0b;
    --auth-accent-light: #fbbf24;
    --auth-bg-dark: #0f0f1a;
    --auth-bg-card: #ffffff;
    --auth-text-dark: #1f2937;
    --auth-text-muted: #6b7280;
    --auth-text-light: #9ca3af;
    --auth-border: #e5e7eb;
    --auth-border-focus: #6d28d9;
    --auth-success: #10b981;
    --auth-error: #ef4444;
    --auth-glow: rgba(109, 40, 217, 0.35);
    --auth-radius: 14px;
    --auth-radius-lg: 20px;
}

/* ========================================
   RESET GUEST LAYOUT
   ======================================== */
.guest-layout {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: var(--auth-bg-dark);
    display: block;
}

/* ========================================
   PAGE LOADER
   ======================================== */
.auth-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--auth-bg-dark);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.auth-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.auth-loader__spinner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid rgba(109, 40, 217, 0.15);
    border-top-color: var(--auth-primary-light);
    animation: auth-loader-spin 0.8s linear infinite;
    box-shadow: 0 0 24px rgba(109, 40, 217, 0.3);
}

@keyframes auth-loader-spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   SPLIT-SCREEN LAYOUT
   ======================================== */
.auth-split {
    display: flex;
    min-height: 100vh;
    opacity: 0;
    animation: auth-fade-in 0.6s ease 0.3s forwards;
}

@keyframes auth-fade-in {
    to { opacity: 1; }
}

/* ========================================
   LEFT PANEL - Visual branding
   ======================================== */
.auth-panel-left {
    flex: 1;
    background: linear-gradient(160deg, #1a1a2e 0%, #16213e 40%, #0f0f1a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

/* Canvas for particles */
.auth-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Animated gradient orbs */
.auth-panel-left::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.18) 0%, transparent 70%);
    top: -15%;
    left: -10%;
    animation: auth-orb-float 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.auth-panel-left::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    bottom: -10%;
    right: -8%;
    animation: auth-orb-float 15s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

@keyframes auth-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(25px, -35px) scale(1.08); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Left panel content */
.auth-panel-left__content {
    position: relative;
    z-index: 2;
    max-width: 440px;
    text-align: center;
}

/* Logo link */
.auth-panel-left__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease;
}

.auth-panel-left__logo:hover {
    transform: scale(1.04);
}

.auth-panel-left__logo-icon {
    display: flex;
    filter: drop-shadow(0 8px 28px rgba(109, 40, 217, 0.5));
}

.auth-panel-left__logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
}

.auth-panel-left__logo-text span {
    color: var(--auth-accent-light);
}

/* Headline - MUST be visible and prominent */
.auth-panel-left__headline {
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.auth-panel-left__headline-highlight {
    display: inline;
    background: linear-gradient(135deg, var(--auth-accent-light), var(--auth-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

/* Subtitle */
.auth-panel-left__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* Trust stats */
.auth-panel-left__stats {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-panel-left__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    min-width: 105px;
    transition: all 0.3s ease;
}

.auth-panel-left__stat:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(109, 40, 217, 0.3);
    transform: translateY(-3px);
}

.auth-panel-left__stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--auth-accent-light);
    line-height: 1;
}

.auth-panel-left__stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}

/* Trust points (registration) */
.auth-panel-left__points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.auth-panel-left__point {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.auth-panel-left__point-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #34d399;
}

.auth-panel-left__point-icon svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   RIGHT PANEL - Form area
   ======================================== */
.auth-panel-right {
    width: 520px;
    min-width: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3.5rem;
    background: var(--auth-bg-card);
    position: relative;
    overflow-y: auto;
}

.auth-panel-right__inner {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

/* ========================================
   HEADER: Back + Logo
   ======================================== */
.auth-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--auth-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 6px 0;
}

.auth-back-link:hover {
    color: var(--auth-primary);
}

.auth-back-link:hover svg {
    transform: translateX(-3px);
}

.auth-back-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.auth-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--auth-text-dark);
    letter-spacing: -0.02em;
}

.auth-logo-link span {
    color: var(--auth-primary);
}

.auth-logo-link:hover {
    opacity: 0.8;
}

/* ========================================
   FORM HEADING
   ======================================== */
.auth-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--auth-text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.auth-form-subtitle {
    color: var(--auth-text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* ========================================
   FORM ELEMENTS
   ======================================== */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--auth-text-dark);
}

/* Input with icon */
.auth-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-group__icon {
    position: absolute;
    left: 14px;
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
    color: var(--auth-text-light);
    pointer-events: none;
    z-index: 1;
    transition: color 0.2s ease;
}

.auth-input-group:focus-within .auth-input-group__icon {
    color: var(--auth-primary);
}

.auth-input-group__input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: 2px solid var(--auth-border);
    border-radius: var(--auth-radius);
    font-size: 1rem;
    font-family: inherit;
    color: var(--auth-text-dark);
    background: #fafafa;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    outline: none;
}

.auth-input-group__input:hover {
    border-color: #d1d5db;
    background: #fff;
}

.auth-input-group__input:focus {
    border-color: var(--auth-border-focus);
    background: #fff;
    box-shadow: 0 0 0 4px var(--auth-glow);
}

.auth-input-group__input.is-invalid {
    border-color: var(--auth-error);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.auth-input-group__input::placeholder {
    color: #c7c7cc;
}

/* Password toggle */
.auth-password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--auth-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.auth-password-toggle:hover {
    color: var(--auth-primary);
    background: rgba(109, 40, 217, 0.06);
}

.auth-password-toggle svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   PASSWORD STRENGTH METER
   ======================================== */
.auth-strength-meter {
    height: 4px;
    background: var(--auth-border);
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

.auth-strength-meter.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.auth-strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.4s ease, background-color 0.3s ease;
    width: 0%;
}

.auth-strength-fill--weak { width: 33%; background: var(--auth-error); }
.auth-strength-fill--medium { width: 66%; background: var(--auth-accent); }
.auth-strength-fill--strong { width: 100%; background: var(--auth-success); }

.auth-strength-label {
    font-size: 0.75rem;
    margin-top: 6px;
    color: var(--auth-text-light);
    transition: color 0.2s;
    display: block;
    min-height: 1em;
}

.auth-strength-label--weak { color: var(--auth-error); }
.auth-strength-label--medium { color: var(--auth-accent); }
.auth-strength-label--strong { color: var(--auth-success); }

/* ========================================
   FORM ERROR
   ======================================== */
.auth-form-error {
    font-size: 0.8rem;
    color: var(--auth-error);
    margin-top: 2px;
}

/* ========================================
   REMEMBER / FORGOT ROW
   ======================================== */
.auth-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ========================================
   CUSTOM CHECKBOX
   ======================================== */
.auth-checkbox,
.auth-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--auth-text-muted);
    line-height: 1.5;
    user-select: none;
}

.auth-checkbox input[type="checkbox"],
.auth-terms input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--auth-border);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
    margin-top: 1px;
}

.auth-checkbox input[type="checkbox"]:hover,
.auth-terms input[type="checkbox"]:hover {
    border-color: var(--auth-primary);
}

.auth-checkbox input[type="checkbox"]:checked,
.auth-terms input[type="checkbox"]:checked {
    background: var(--auth-primary);
    border-color: var(--auth-primary);
}

.auth-checkbox input[type="checkbox"]:checked::after,
.auth-terms input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 7px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.auth-checkbox input[type="checkbox"]:focus-visible,
.auth-terms input[type="checkbox"]:focus-visible {
    box-shadow: 0 0 0 4px var(--auth-glow);
}

.auth-form-link {
    font-size: 0.875rem;
    color: var(--auth-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.auth-form-link:hover {
    color: var(--auth-primary-dark);
    text-decoration: underline;
}

.auth-terms a {
    color: var(--auth-primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-terms a:hover {
    text-decoration: underline;
}

/* ========================================
   SUBMIT BUTTON
   ======================================== */
.auth-btn {
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, var(--auth-primary) 0%, var(--auth-primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: var(--auth-radius);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(109, 40, 217, 0.3);
    letter-spacing: -0.01em;
    margin-top: 0.25rem;
}

/* Shine sweep on hover */
.auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(109, 40, 217, 0.45);
}

.auth-btn:hover::before {
    left: 100%;
}

.auth-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(109, 40, 217, 0.3);
}

.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-btn__arrow {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
    display: inline-flex;
}

.auth-btn:hover .auth-btn__arrow {
    transform: translateX(4px);
}

/* Loading spinner */
.auth-btn__spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-loader-spin 0.7s linear infinite;
}

.auth-btn--loading .auth-btn__text,
.auth-btn--loading .auth-btn__arrow {
    opacity: 0;
}

.auth-btn--loading .auth-btn__spinner {
    display: block;
    position: absolute;
}

.auth-btn--loading::before {
    display: none;
}

/* ========================================
   DIVIDER
   ======================================== */
.auth-divider-wrap {
    margin: 1.75rem 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--auth-border);
}

.auth-divider span {
    font-size: 0.8rem;
    color: var(--auth-text-light);
    white-space: nowrap;
    font-weight: 500;
}

/* ========================================
   OAUTH BUTTONS — World-class branded design
   Inspired by Google Sign-In guidelines & Stripe
   ======================================== */
.auth-oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 20px;
    border: 1.5px solid var(--auth-border);
    border-radius: var(--auth-radius);
    background: #fff;
    color: var(--auth-text-dark);
    font-size: 0.925rem;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease, transform 0.15s ease;
    position: relative;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
}

.auth-oauth-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.auth-oauth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.auth-oauth-btn:hover::before {
    opacity: 1;
}

.auth-oauth-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.auth-oauth-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Google branded button */
.auth-oauth-btn--google {
    background: #fff;
    border-color: #dadce0;
    color: #3c4043;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.auth-oauth-btn--google:hover {
    background: #f8f9fa;
    border-color: #c6c9cc;
    box-shadow: 0 4px 14px rgba(66, 133, 244, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.auth-oauth-btn--google:active {
    background: #f1f3f4;
}

/* Facebook branded button */
.auth-oauth-btn--facebook {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff;
    font-weight: 500;
}

.auth-oauth-btn--facebook:hover {
    background: #166fe5;
    border-color: #166fe5;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.25), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.auth-oauth-btn--facebook:active {
    background: #1469d3;
}

.auth-oauth-btn--facebook svg path {
    fill: #fff;
}

/* ========================================
   FOOTER
   ======================================== */
.auth-footer {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--auth-border);
}

.auth-footer-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--auth-text-muted);
}

.auth-footer-text a {
    color: var(--auth-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-footer-text a:hover {
    color: var(--auth-primary-dark);
    text-decoration: underline;
}

/* Security notice */
.auth-security-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--auth-text-light);
    margin-top: 1.25rem;
}

.auth-security-notice svg {
    width: 15px;
    height: 15px;
    color: var(--auth-success);
    flex-shrink: 0;
}

/* Security badge */
.auth-security-badge {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 16px 20px;
    margin-top: 14px;
}

.auth-security-badge__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.auth-security-badge__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-security-badge__icon svg {
    width: 18px;
    height: 18px;
    color: #16a34a;
}

.auth-security-badge__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #166534;
}

.auth-security-badge__subtitle {
    font-size: 0.72rem;
    color: #22c55e;
    font-weight: 500;
}

.auth-security-badge__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

.auth-security-badge__item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #166534;
    font-weight: 500;
}

.auth-security-badge__item svg {
    width: 13px;
    height: 13px;
    color: #22c55e;
    flex-shrink: 0;
}

/* ========================================
   HONEYPOT (anti-bot)
   ======================================== */
.auth-honeypot {
    display: none !important;
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ========================================
   ALERTS
   ======================================== */
.auth-alert {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: auth-alert-shake 0.5s ease-in-out;
}

@keyframes auth-alert-shake {
    0%, 100% { transform: translateX(0); }
    15%, 45%, 75% { transform: translateX(-4px); }
    30%, 60%, 90% { transform: translateX(4px); }
}

.auth-alert--success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.auth-alert--danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.auth-alert svg {
    flex-shrink: 0;
}

/* ========================================
   REGISTRATION PAUSED
   ======================================== */
.auth-paused-reason {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 1.5rem;
}

.auth-paused-reason__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.auth-paused-reason__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #d97706;
}

.auth-paused-reason__title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #92400e;
}

.auth-paused-reason__text {
    color: #78350f;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.auth-paused-eta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #fde68a;
    font-size: 0.85rem;
    color: #92400e;
}

.auth-paused-eta svg {
    flex-shrink: 0;
    color: #d97706;
}

.auth-hero-icon--amber {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #fde68a;
    color: #d97706;
}

.auth-hero-icon--amber svg {
    color: #d97706;
}

.auth-btn--secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    background: transparent;
    color: var(--auth-primary, #6d28d9);
    border: 1.5px solid var(--auth-primary, #6d28d9);
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.auth-btn--secondary:hover {
    background: rgba(109, 40, 217, 0.06);
}

/* ========================================
   INPUT SPARK EFFECT
   ======================================== */
.auth-input-spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--auth-primary);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: 5;
}

@keyframes auth-spark-fly {
    0% { opacity: 1; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0); }
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet landscape */
@media (max-width: 1100px) {
    .auth-panel-right {
        width: 480px;
        min-width: 380px;
        padding: 2.5rem 3rem;
    }

    .auth-panel-left__headline {
        font-size: 2.2rem;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .auth-split {
        flex-direction: column;
    }

    .auth-panel-left {
        display: none;
    }

    .auth-panel-right {
        width: 100%;
        min-width: 100%;
        min-height: 100vh;
        padding: 2rem 1.5rem;
        justify-content: flex-start;
        padding-top: 1.5rem;
        padding-bottom: 3rem;
    }

    .auth-header-bar {
        margin-bottom: 1.5rem;
    }

    .auth-logo-link {
        display: none;
    }

    .auth-form-title {
        font-size: 1.75rem;
    }

    .auth-form-subtitle {
        margin-bottom: 1.5rem;
    }

    /* Show mobile branding */
    .auth-mobile-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--auth-border);
    }

    .auth-mobile-brand__text {
        display: none;
    }
}

/* Mobile - hide mobile brand on desktop */
@media (min-width: 901px) {
    .auth-mobile-brand {
        display: none;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .auth-panel-right {
        padding: 1.25rem 1rem 2.5rem;
    }

    .auth-form-title {
        font-size: 1.5rem;
    }

    .auth-input-group__input {
        font-size: 16px; /* prevents iOS zoom */
        padding: 13px 14px 13px 42px;
    }

    .auth-form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .auth-security-badge__grid {
        grid-template-columns: 1fr;
    }

    .auth-btn {
        padding: 14px 20px;
    }

    .auth-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ========================================
   HERO ICON (forgot-password, reset, verify)
   ======================================== */
.auth-hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.08) 0%, rgba(109, 40, 217, 0.04) 100%);
    border: 1px solid rgba(109, 40, 217, 0.12);
    color: var(--auth-primary);
    margin-bottom: 1.5rem;
}

.auth-hero-icon--animated {
    animation: auth-hero-pulse 3s ease-in-out infinite;
}

@keyframes auth-hero-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(109, 40, 217, 0.1); }
    50% { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(109, 40, 217, 0); }
}

/* ========================================
   VERIFY EMAIL TIPS CARD
   ======================================== */
.auth-verify-tips {
    background: #f8fafc;
    border: 1px solid var(--auth-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 1.5rem;
}

.auth-verify-tips__header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--auth-text-dark);
    margin-bottom: 12px;
}

.auth-verify-tips__header svg {
    color: var(--auth-primary);
    flex-shrink: 0;
}

.auth-verify-tips__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-verify-tips__list li {
    font-size: 0.85rem;
    color: var(--auth-text-muted);
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.auth-verify-tips__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--auth-primary-light);
}

.auth-verify-tips__list li strong {
    color: var(--auth-text-dark);
    font-weight: 600;
}

/* ========================================
   FOOTER LINK BUTTON (logout in verify)
   ======================================== */
.auth-footer-link-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--auth-primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-footer-link-btn:hover {
    color: var(--auth-primary-dark);
    text-decoration: underline;
}
