﻿.auth-page {
    min-height: 100vh;
    background: var(--bg);
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(380px, 0.84fr) minmax(520px, 1.16fr);
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}

.auth-panel {
    position: relative;
    min-width: 0;
    min-height: 0;
}

.auth-panel-form {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    min-height: 0;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.96);
    border-right: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.auth-form-wrap {
    width: 100%;
    max-width: 560px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.2rem 2.5rem 3rem;
    margin: 0 auto;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 2.25rem;
    text-decoration: none;
}

.auth-brand-mark {
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.95rem;
    background: var(--brand-gradient);
    color: #fff;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.auth-brand-text {
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1;
    color: var(--text);
}

.auth-copy {
    margin-bottom: 1.75rem;
}

.auth-title {
    margin: 0 0 0.65rem;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.03;
    letter-spacing: -0.03em;
    color: var(--text);
}

.auth-subtitle {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-2);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-footer-text {
    margin: 1.25rem 0 0;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-2);
}

.auth-panel-brand {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    min-height: 0;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #20409a 0%, #16327f 56%, #020035 100%);
}

.auth-brand-content {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 2.75rem 3rem;
}

.auth-brand-shell {
    width: 100%;
    max-width: 44rem;
}

.auth-brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.96);
    color: #20409a;
    border-radius: 16px;
    padding: 12px 18px;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 12px 28px rgba(2,0,53,0.16);
}

.auth-brand-eyebrow {
    margin-bottom: 0.8rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.74);
}

.auth-brand-title {
    margin: 0 0 1.25rem;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #fff;
}

.auth-brand-text {
    margin: 0 0 2rem;
    max-width: 34rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.84);
}

.auth-brand-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.auth-brand-card {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 18px;
    backdrop-filter: blur(8px);
}

.auth-brand-card-label {
    font-size: 13px;
    color: rgba(255,255,255,0.68);
    margin-bottom: 10px;
}

.auth-brand-card-value {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.1;
}

@media (max-width: 991.98px) {
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-panel-brand {
        display: none;
    }
}
