.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-theme-toggle {
    position: fixed;
    top: calc(20px + env(safe-area-inset-top));
    right: 20px;
    z-index: 5;
}

.auth-screen {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(40px + env(safe-area-inset-top)) 24px calc(40px + env(safe-area-inset-bottom));
    gap: 30px;
    position: relative;
    background:
        radial-gradient(70% 90% at 20% 0%, rgba(255, 106, 26, 0.28), transparent 70%),
        radial-gradient(65% 85% at 100% 15%, rgba(225, 29, 52, 0.20), transparent 70%),
        var(--paper);
}

.auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.auth-mark {
    width: 60px;
    height: 60px;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-glow);
}

.auth-brand-name {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.auth-card {
    width: 100%;
    max-width: 380px;
    padding: 30px 26px;
    border-radius: var(--r-xl);
    background: color-mix(in srgb, var(--surface) 70%, transparent);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: pop-in 0.5s var(--ease) both;
}

.auth-card h1 {
    font-size: 24px;
    margin: 0 0 4px;
}

.auth-subtitle {
    margin: 0 0 20px;
    font-size: 13.5px;
    color: var(--muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-form label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    margin-top: 10px;
}

.auth-form input {
    height: 48px;
    padding: 0 14px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
    transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.auth-form input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-soft);
}

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

.auth-form input:disabled,
.auth-form button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
