*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', sans-serif;
    background: #060a14;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    color: #e2e8f0;
}
body::before {
    content: '';
    position: fixed;
    top: -30%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14,116,144,0.06) 0%, transparent 70%);
    pointer-events: none;
}
body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.login-card {
    width: 100%;
    max-width: 400px;
    background: rgba(13, 20, 37, 0.9);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 40px 32px;
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.4);
    position: relative;
    z-index: 1;
}
.login-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0e7490 0%, #164e63 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(14,116,144,0.25);
}
.login-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 4px;
}
.login-subtitle {
    text-align: center;
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: 32px;
}
.form-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}
.form-input {
    width: 100%;
    background: rgba(6, 10, 20, 0.8);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    color: #f1f5f9;
    outline: none;
    transition: border-color 0.2s;
    font-family: 'Inter', sans-serif;
}
.form-input::placeholder { color: #334155; }
.form-input:focus { border-color: rgba(14,116,144,0.5); }
.form-group { margin-bottom: 18px; }
.login-error {
    display: none;
    background: rgba(244,63,94,0.08);
    border: 1px solid rgba(244,63,94,0.15);
    color: #fb7185;
    font-size: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 18px;
}
.login-error.visible { display: block; }
.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.login-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.login-btn:active { transform: scale(0.98); }
.login-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
