/* Auth pages (Google-only sign in/up). Scoped to body.auth-page. */

body.auth-page {
    background:
        radial-gradient(1100px 700px at 10% -10%, rgba(255, 122, 0, 0.18), rgba(255, 255, 255, 0) 60%),
        radial-gradient(900px 600px at 90% 10%, rgba(32, 33, 36, 0.06), rgba(255, 255, 255, 0) 55%),
        linear-gradient(180deg, #ffffff 0%, #fff7ef 100%);
}

.auth-shell {
    min-height: calc(100vh - 70px);
    padding: 120px 1.5rem 3rem;
    display: grid;
    place-items: center;
}

.auth-card {
    width: min(560px, 100%);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(232, 234, 237, 0.9);
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

.auth-card__inner {
    padding: 2.25rem 2.25rem 2rem;
}

.auth-logo {
    width: 56px;
    height: auto;
    display: block;
    margin-bottom: 1.25rem;
}

.auth-title {
    font-size: clamp(1.6rem, 3.6vw, 2.15rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.auth-subtitle {
    margin-top: 0.65rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.55;
}

.auth-error {
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 122, 0, 0.28);
    background: rgba(255, 122, 0, 0.12);
    color: #b14f00;
    font-weight: 600;
    font-size: 0.95rem;
}

.auth-actions {
    margin-top: 1.6rem;
    display: grid;
    gap: 0.9rem;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(232, 234, 237, 0.95);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 650;
    letter-spacing: -0.01em;
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.google-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 122, 0, 0.35);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.google-btn:active {
    transform: translateY(0);
}

.google-btn__icon {
    width: 20px;
    height: 20px;
}

.auth-meta {
    margin-top: 1.1rem;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    line-height: 1.45;
}

.auth-meta a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 650;
}

.auth-meta a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .auth-shell {
        padding: 110px 1rem 2.5rem;
    }

    .auth-card__inner {
        padding: 1.75rem 1.25rem 1.5rem;
    }
}

