.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(1.25rem, 4vw, 2rem);
    background: #f5f0e8;
    overflow-x: hidden;
}

.auth-page::before {
    display: none;
}

.auth-shell {
    width: min(400px, 100%);
    position: relative;
    z-index: 1;
}

.auth-card {
    width: 100%;
    padding: clamp(1.75rem, 5vw, 2.25rem);
    background: #fffdf9;
    border: 1px solid rgba(39, 49, 46, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 2px rgb(40 48 45 / 0.04), 0 8px 32px rgb(40 48 45 / 0.06);
}

.auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
    color: var(--ink);
    text-decoration: none;
}

.auth-brand:hover {
    color: var(--ink);
}

.brand-image {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.auth-brand-name {
    font-family: var(--font-brand);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;
}

.auth-card-heading {
    margin-bottom: 1.25rem;
    text-align: center;
}

.auth-card h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0;
}

.auth-card .subtitle {
    margin: 0.35rem 0 0;
    color: var(--ink-soft);
    font-size: 0.875rem;
    font-weight: 400;
    text-align: center;
}

.auth-card .grid {
    gap: 1rem;
}

.auth-card label {
    margin-bottom: 0.35rem;
    color: var(--ink);
    font-size: 0.8125rem;
    font-weight: 500;
}

.auth-card input[type="text"],
.auth-card input[type="password"],
.auth-card input[type="email"],
.auth-card select {
    min-height: 44px;
    width: 100%;
    border-color: rgba(82, 99, 93, 0.22);
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius);
}

.auth-card input[type="text"]:focus,
.auth-card input[type="password"]:focus,
.auth-card input[type="email"]:focus,
.auth-card select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(47, 111, 115, 0.12);
}

.auth-submit {
    min-height: 44px;
    margin-top: 0.25rem;
    background: var(--teal);
    border: 1px solid var(--teal);
    font-weight: 600;
    box-shadow: none;
}

.auth-submit:hover {
    background: #285f62;
    border-color: #285f62;
    box-shadow: none;
}
