:root {
    --brand-gold: #c9a962;
    --brand-gold-light: #e8d5a3;
    --brand-dark: #0a0a0a;
    --brand-dark-panel: #111111;
}

.auth-page {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    background: #f8f9fa;
}

.auth-layout {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
}

.auth-brand-panel {
    flex: 1;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201, 169, 98, 0.08) 0%, transparent 55%),
        linear-gradient(165deg, #141414 0%, var(--brand-dark) 45%, #0d0d0d 100%);
    text-align: center;
    position: relative;
}

@media (min-width: 768px) {
    .auth-brand-panel {
        display: flex;
        max-width: 48%;
    }
}

.auth-logo-link {
    display: inline-flex;
    text-decoration: none;
    line-height: 0;
    transition: opacity 0.2s, transform 0.2s;
}

.auth-logo-link:hover {
    opacity: 0.92;
    transform: scale(1.02);
}

.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.auth-logo-img,
.brand-logo-img {
    width: 100%;
    max-width: min(320px, 85vw);
    height: auto;
    max-height: 150px;
    object-fit: contain;
    background: transparent;
    mix-blend-mode: lighten;
    filter: saturate(1.1) brightness(1.04);
}

.auth-brand-tagline {
    color: var(--brand-gold-light);
    font-size: 1rem;
    max-width: 300px;
    margin: 2rem 0 0;
    line-height: 1.55;
    opacity: 0.9;
}

.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.25rem, 4vw, 2rem) 1.5rem;
}

.auth-form-inner {
    width: 100%;
    max-width: 440px;
}

.auth-access-picker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.auth-access-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.4rem;
    border-radius: 0.75rem;
    border: 1px solid #e0e0de;
    background: #fff;
    color: #444;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
    transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}

.auth-access-tab i {
    font-size: 1.15rem;
    color: #888;
}

.auth-access-tab:hover {
    border-color: var(--brand-gold);
    color: var(--brand-dark);
    text-decoration: none;
}

.auth-access-tab:hover i {
    color: var(--brand-gold);
}

.auth-access-tab.active {
    border-color: var(--brand-gold);
    background: linear-gradient(145deg, #faf6ec 0%, #fff 100%);
    color: var(--brand-dark);
    box-shadow: 0 4px 14px rgba(201, 169, 98, 0.25);
}

.auth-access-tab.active i {
    color: var(--brand-gold);
}

.auth-card {
    background: #fff;
    border-radius: 1rem;
    padding: clamp(1.25rem, 4vw, 2rem);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.auth-title {
    font-weight: 700;
    color: var(--brand-dark);
}

.auth-subtitle {
    font-size: 0.9rem;
    line-height: 1.45;
}

.auth-panel-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a68b4b;
}

.btn-auth-primary {
    background: linear-gradient(145deg, #1a1a1a 0%, var(--brand-dark) 100%);
    border-color: var(--brand-dark);
    color: var(--brand-gold-light);
    font-weight: 600;
}

.btn-auth-primary:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.auth-link {
    color: var(--brand-dark);
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    color: var(--brand-gold);
}

.auth-mobile-logo {
    display: none;
    text-align: center;
    margin-bottom: 1.25rem;
}

@media (max-width: 767.98px) {
    .auth-mobile-logo {
        display: block;
    }

    .auth-access-tab span {
        font-size: 0.65rem;
    }
}

@media (max-width: 380px) {
    .auth-access-picker {
        grid-template-columns: 1fr;
    }

    .auth-access-tab {
        flex-direction: row;
        justify-content: center;
        padding: 0.75rem;
    }
}
