/* Shared hero background layout for login, register, forgot-password */

.auth-layout {
    flex: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: calc(100vh - 52px);
}

.auth-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: #050508;
    min-height: 100%;
}

.auth-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transform: scale(1.02);
}

.auth-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5,5,8,0.55) 0%, rgba(5,5,8,0.2) 35%, rgba(5,5,8,0.75) 70%, rgba(5,5,8,0.95) 100%),
        linear-gradient(90deg, rgba(5,5,8,0.15) 0%, rgba(5,5,8,0.45) 100%),
        radial-gradient(ellipse at 50% 30%, rgba(255,215,0,0.12) 0%, transparent 55%);
    pointer-events: none;
}

.auth-hero-vignette {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 120px rgba(0,0,0,0.55);
    pointer-events: none;
}

.auth-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 48px 40px 56px;
    max-width: 520px;
    width: 100%;
}

.auth-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.auth-hero-content h1 .gold {
    color: #ffd700;
    font-style: italic;
}

.auth-hero-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.7;
}

.auth-hero-logo {
    height: 88px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 20px;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5)) drop-shadow(0 0 24px rgba(255, 215, 0, 0.2));
}

.auth-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    margin-bottom: 18px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffd700;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,215,0,0.25);
    backdrop-filter: blur(8px);
}

.auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 48px;
    background: #0a0a0a;
    overflow-y: auto;
}

.auth-panel-brand {
    margin-bottom: 24px;
    line-height: 0;
}

.auth-panel-brand .brand-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
}

.auth-panel-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-panel-header p {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 28px;
    line-height: 1.5;
}

.auth-form-box {
    background: #0f1520;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 28px;
}

.auth-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: #9ca3af;
    flex-wrap: wrap;
    gap: 12px;
}

.auth-footer-links {
    display: flex;
    gap: 20px;
}

.auth-footer a {
    color: #9ca3af;
    text-decoration: none;
}

.auth-footer a:hover {
    color: #ffd700;
}

body.auth-page {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (max-width: 900px) {
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-hero {
        min-height: 280px;
        align-items: center;
    }

    .auth-hero-content {
        padding: 32px 24px;
    }

    .auth-hero-img {
        object-position: center 35%;
    }

    .auth-panel {
        padding: 32px 24px;
    }
}
