body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(145deg, #1e3a8a 0%, #2563eb 60%, #60a5fa 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.login-container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    background: transparent !important;
    min-height: 100vh;
}
.login-box {
    background: rgba(255,255,255,0.97);
    padding: 32px 28px;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(15,30,80,0.35);
    width: 360px;
    max-width: calc(100vw - 32px);
}
@media (max-width: 480px) {
    .login-box {
        padding: 24px 16px;
        border-radius: 12px;
    }
    body { overflow: auto; }
}
.login-box h1 {
    text-align: center;
    margin-bottom: 4px;
    color: #1e3a8a;
    font-size: 22px;
    font-weight: 800;
}
.login-box .sub {
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.6;
}
.login-box .sub:last-of-type {
    margin-bottom: 32px;
}
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: #334155; margin-bottom: 4px; }
.form-group input {
    width: 100%; padding: 9px 11px;
    border: 2px solid #bfdbfe; border-radius: 7px;
    font-size: 12px; background: #f8faff; color: #1e293b;
    outline: none; transition: border-color 0.2s;
}
.form-group input:focus { border-color: #2563eb; background: #fff; }
button[type=submit] {
    width: 100%; padding: 10px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #fff; border: none; border-radius: 7px;
    font-size: 13px; font-weight: 700; cursor: pointer;
    margin-top: 4px; transition: opacity 0.2s;
}
button[type=submit]:hover { opacity: 0.88; }
.remember-row { display: flex; align-items: center; gap: 7px; margin-top: 10px; }
.remember-row input[type=checkbox] { width: 15px; height: 15px; accent-color: #2563eb; cursor: pointer; flex-shrink: 0; }
.remember-row label { font-size: 12px; color: #64748b; cursor: pointer; user-select: none; }
.signup-link { text-align: center; margin-top: 14px; font-size: 12px; color: #64748b; }
.signup-link a { color: #2563eb; font-weight: 600; text-decoration: none; }
