.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(227, 6, 19, 0.08), transparent 32rem),
        linear-gradient(135deg, #eef7fa 0%, #f8fbfc 55%, #ffffff 100%);
}

.auth-shell {
    width: min(100%, 560px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 48px 20px;
    display: grid;
    place-items: center;
}

.auth-card {
    width: 100%;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
}

.auth-brand img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
}

.auth-brand strong {
    display: block;
    color: var(--ink);
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.auth-brand span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
}

.auth-heading {
    margin-bottom: 22px;
}

.auth-heading h1 {
    margin: 4px 0 8px;
    font-size: 34px;
    letter-spacing: -0.04em;
}

.auth-heading p:last-child {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

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

.auth-actions {
    justify-content: stretch;
}

.auth-actions .btn-primary {
    width: 100%;
}

.logout-link {
    display: inline-flex;
    margin-top: 2px;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.logout-link:hover {
    text-decoration: underline;
}

@media (max-width: 560px) {
    .auth-card {
        padding: 24px;
    }

    .auth-brand img {
        width: 60px;
        height: 60px;
    }

    .auth-heading h1 {
        font-size: 28px;
    }
}
