* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: radial-gradient(ellipse at top, #1e293b 0%, #0f172a 50%, #020617 100%);
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-wrap { width: 100%; max-width: 420px; padding: 24px; }
.login-card {
    background: rgba(30,41,59,0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(96,165,250,0.2);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.5);
}
.login-card h1 {
    font-size: 28px; font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #c084fc 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 4px;
}
.sub { color: #94a3b8; font-size: 13px; margin-bottom: 28px; letter-spacing: 0.5px; }
form { display: flex; flex-direction: column; gap: 12px; }
input {
    background: #0f172a;
    border: 1px solid #334155;
    color: #f1f5f9;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.15s;
}
input:focus { outline: none; border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(96,165,250,0.15); }
button {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #fff; border: none; padding: 13px 16px;
    border-radius: 8px; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: transform 0.1s, box-shadow 0.1s;
}
button:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(59,130,246,0.4); }
button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.msg { margin-top: 16px; font-size: 13px; color: #94a3b8; min-height: 18px; }
.msg.ok { color: #4ade80; }
.msg.err { color: #f87171; }
