body.light {
--bg-dark: #ffffff;
--bg-dark-secondary: #f8fafc;
--glass-border: #dbe4ef;
--glass-bg: rgba(15, 23, 42, 0.04);
--text-primary: #0f172a;
--text-secondary: #475569;
--text-muted: #5b6779;
background: #f3f6fb;
color: var(--text-primary);
overflow-x: hidden;
}
html,
body {
max-width: 100%;
overflow-x: hidden;
}
body.light::before {
display: none;
}
body.light .navbar {
background: rgba(255, 255, 255, 0.92);
border-bottom: 1px solid #e2e8f0;
backdrop-filter: blur(10px);
}
body.light .logo,
body.light h1,
body.light h2,
body.light h3 {
color: var(--text-primary);
}
body.light .card {
background: #ffffff;
border: 1px solid var(--glass-border);
box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}
body.light .form-input {
background: #ffffff;
border: 1px solid #cbd5e1;
color: #0f172a;
}
body.light .form-input::placeholder {
color: #94a3b8;
}
.auth-container {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 6rem 1.5rem 2rem;
position: relative;
}
.auth-card {
width: 100%;
max-width: 440px;
margin: 0 auto;
position: relative;
z-index: 10;
}
.auth-card::before {
content: '';
position: absolute;
top: -50%;
right: -50%;
width: 100%;
height: 100%;
background: var(--gradient-glow);
filter: blur(80px);
z-index: -1;
opacity: 0.3;
border-radius: 50%;
pointer-events: none;
}
.auth-header {
text-align: center;
margin-bottom: 2rem;
}
.form-options {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
font-size: 0.9rem;
}
.auth-footer {
text-align: center;
margin-top: 2rem;
font-size: 0.95rem;
color: var(--text-secondary);
}
#login-form {
display: flex;
flex-direction: column;
}
@media (max-width: 640px) {
.auth-container {
min-height: auto;
padding: 5.2rem 1rem 1.35rem;
align-items: flex-start;
}
.auth-card {
max-width: 100%;
}
.auth-card.card {
padding: 1.25rem;
border-radius: 14px;
}
.auth-header {
margin-bottom: 1.3rem;
}
.auth-header h2 {
font-size: 2.2rem;
line-height: 1.06;
}
.auth-footer {
margin-top: 1.35rem;
font-size: 0.98rem;
}
.container,
.nav-container,
.section .container {
max-width: 100%;
}
}
.auth-card .btn.auth-submit {
padding: 1rem;
font-size: 1rem;
}
.auth-card .auth-small-link {
font-size: 0.85rem;
}
.auth-footer a.auth-footer-link {
color: var(--text-primary);
font-weight: 500;
}
.auth-alert {
margin-bottom: 1rem;
}
.auth-card .form-error {
margin-top: 0.35rem;
}
.cf-turnstile {
margin: 0.25rem 0 1rem;
min-height: 65px;
}
.auth-card .btn.passkey-login-btn {
padding: 0.9rem;
font-size: 0.95rem;
margin-top: 0.8rem;
}
.auth-divider {
display: flex;
align-items: center;
gap: 0.75rem;
margin: 1rem 0;
}
.auth-divider-line {
height: 1px;
background: #dbe4ef;
flex: 1;
}
.auth-divider-label {
font-size: 0.85rem;
}
.oauth-buttons {
display: flex;
flex-direction: column;
gap: 0.6rem;
width: 100%;
position: relative;
}
.oauth-google-host {
display: flex;
justify-content: center;
min-height: 44px;
}
.oauth-status {
text-align: center;
margin-top: 0.6rem;
font-size: 0.82rem;
}
.oauth-consent-blocker {
position: absolute;
inset: 0;
z-index: 20;
cursor: not-allowed;
background: transparent;
}
