/* Auth Pages */
.auth-body {
    background: var(--cream);
}

.auth-main {
    min-height: 100vh;
    padding: 30px 0;
    display: flex;
    align-items: center;
}

.auth-body .flash-container {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 30;
    transform: translateX(-50%);
}

.auth-shell {
    width: min(980px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
    gap: 28px;
    align-items: stretch;
}

.auth-shell-wide {
    width: min(1080px, calc(100% - 48px));
}

.auth-brand-panel {
    min-height: 520px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
    background: var(--navy);
    border-radius: 34px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.auth-brand-panel::before,
.auth-brand-panel::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.auth-brand-panel::before {
    width: 230px;
    height: 230px;
    right: -80px;
    top: -70px;
    background: var(--green);
}

.auth-brand-panel::after {
    width: 180px;
    height: 180px;
    left: -70px;
    bottom: -60px;
    background: var(--rose);
}

.auth-logo,
.auth-brand-copy,
.auth-home-link {
    position: relative;
    z-index: 1;
}

.auth-logo img {
    width: 230px;
}

.auth-brand-copy h2 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: clamp(36px, 5vw, 58px);
}

.auth-brand-copy .small-title {
    color: var(--rose);
}

.auth-brand-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.auth-home-link {
    color: var(--white);
    font-family: var(--font-subtitle);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-home-link:hover {
    color: var(--rose);
}

.auth-card {
    padding: 38px;
}

.auth-card h1 {
    margin: 10px 0 12px;
    font-size: clamp(42px, 6vw, 68px);
}

.auth-intro {
    color: var(--dark-gray);
}

.auth-form {
    margin-top: 22px;
}

.auth-form .primary-button {
    margin-top: 22px;
}

.auth-switch {
    margin-top: 22px;
    color: var(--dark-gray);
    font-family: var(--font-secondary);
    text-align: center;
}

.auth-switch a {
    color: var(--green);
    font-family: var(--font-subtitle);
    text-decoration: none;
}

.auth-switch a:hover {
    color: var(--navy);
}
