*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
font-family: 'Inter', system-ui, -apple-system, sans-serif;
font-size: 14px;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
position: relative;
overflow: hidden;
padding: 24px;
background: #0c1929 !important;
}
.login-bg {
position: fixed; inset: 0; z-index: 0;
background: url('https://images.unsplash.com/photo-1551076805-e1869033e561?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}
.login-bg-overlay {
position: fixed; inset: 0; z-index: 1;
background: linear-gradient(
160deg,
rgba(12,25,41,0.88) 0%,
rgba(21,34,56,0.78) 40%,
rgba(26,109,212,0.50) 100%
);
}
.login-ambient {
position: fixed; border-radius: 50%;
pointer-events: none; z-index: 1;
filter: blur(80px);
}
.login-ambient-1 {
width: 400px; height: 400px;
background: rgba(94,234,212,0.08);
top: -100px; right: -80px;
}
.login-ambient-2 {
width: 300px; height: 300px;
background: rgba(26,109,212,0.10);
bottom: -60px; left: -60px;
}
.login-shell {
position: relative; z-index: 10;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 420px;
}
.login-logo {
display: flex; align-items: center; gap: 12px;
margin-bottom: 32px;
}
.login-logo-icon {
width: 48px; height: 48px; border-radius: 14px;
background: rgba(255,255,255,0.12);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255,255,255,0.15);
display: flex; align-items: center; justify-content: center;
}
.login-logo-icon svg { width: 28px; height: 28px; }
.login-logo-text {
font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -0.5px;
}
.login-logo-text span { color: #5eead4; }
.login-card {
width: 100%;
background: rgba(255,255,255,0.07);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
border: 1px solid rgba(255,255,255,0.12);
border-radius: 24px;
overflow: hidden;
box-shadow: 0 8px 48px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}
.login-body { padding: 36px 32px 24px; }
.login-heading {
font-size: 22px; font-weight: 700; color: #f1f5f9;
margin: 0 0 4px;
}
.login-subheading {
font-size: 14px; color: rgba(255,255,255,0.5);
margin-bottom: 32px;
}
.alert-danger,
.alert-error {
margin-bottom: 16px;
background: rgba(239,68,68,0.15) !important;
border: 1px solid rgba(239,68,68,0.25) !important;
border-radius: 10px;
color: #fca5a5 !important;
padding: 10px 14px;
font-size: 13px;
}
.form-error { color: #fca5a5; font-size: 12px; margin-top: 4px; }
.form-group { margin-bottom: 20px; }
.form-label {
display: block; font-size: 12px; font-weight: 600;
color: rgba(255,255,255,0.55); margin-bottom: 7px;
text-transform: uppercase; letter-spacing: 1px;
}
.form-control {
display: block;
width: 100%; padding: 14px 16px;
background: rgba(255,255,255,0.06) !important;
border: 1px solid rgba(255,255,255,0.12) !important;
border-radius: 12px !important;
font-size: 15px; font-family: 'Inter', system-ui, sans-serif;
color: #fff !important;
transition: border-color 0.2s, box-shadow 0.2s;
outline: none;
}
.form-control:focus {
border-color: rgba(94,234,212,0.5) !important;
box-shadow: 0 0 0 3px rgba(94,234,212,0.1) !important;
background: rgba(255,255,255,0.08) !important;
}
.form-control::placeholder { color: rgba(255,255,255,0.3) !important; }
.form-actions { margin-top: 8px; }
.btn-primary,
.btn-primary.btn-full {
display: block;
width: 100%; padding: 14px;
border: none !important; border-radius: 12px !important;
background: linear-gradient(135deg, #0d9488, #1a6dd4) !important;
color: #fff !important; font-size: 15px; font-weight: 700;
font-family: 'Inter', system-ui, sans-serif;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
position: relative; overflow: hidden;
text-align: center;
}
.btn-primary::after {
content: '';
position: absolute; inset: 0;
background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
pointer-events: none;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 24px rgba(13,148,136,0.35) !important;
text-decoration: none;
}
.btn-primary:disabled { opacity: 0.6; transform: none; }
.login-footer-bar,
.login-footer {
display: flex; align-items: center; justify-content: space-between;
padding: 14px 32px;
border-top: 1px solid rgba(255,255,255,0.06);
background: rgba(0,0,0,0.1);
}
.login-lang-row { display: flex; gap: 4px; }
.login-lang-row button {
background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
border-radius: 6px; color: rgba(255,255,255,0.45); font-size: 11px;
font-weight: 600; padding: 5px 10px; cursor: pointer;
font-family: 'Inter', system-ui, sans-serif;
transition: color 0.15s, border-color 0.15s;
}
.login-lang-row button:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
#settings-theme-picker { display: flex; gap: 7px; align-items: center; }
.login-copyright {
text-align: center; margin-top: 20px;
font-size: 11px; color: rgba(255,255,255,0.3);
}
@media (max-width: 480px) {
body { padding: 16px; }
.login-body { padding: 28px 24px 20px; }
.login-footer-bar { padding: 12px 24px; }
.login-logo { margin-bottom: 24px; }
}