/* login.css */

:root {
    --bg:     #0f1115;
    --bg-2:   #161922;
    --bg-3:   #1e2330;
    --line:   #2a3142;
    --text:   #e7ecf3;
    --mute:   #8b95a8;
    --accent: #f59e0b;
    --danger: #ef4444;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; background: var(--bg); color: var(--text); }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background:
        radial-gradient(1200px 700px at 80% -10%, rgba(245,158,11,.12), transparent 60%),
        radial-gradient(900px 600px at -10% 110%, rgba(249,115,22,.10), transparent 60%),
        var(--bg);
}

.login {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 22px;
}

.login-card {
    width: 100%; max-width: 420px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
}

.login-brand {
    display: flex; align-items: center; gap: 10px;
    color: var(--mute);
    margin-bottom: 22px;
    font-size: 14px;
}
.login-brand .dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}

h1 { margin: 0 0 6px 0; font-size: 24px; }
.sub { margin: 0 0 22px 0; color: var(--mute); font-size: 14px; }

.alert {
    background: rgba(239,68,68,.10);
    border: 1px solid rgba(239,68,68,.35);
    color: #fca5a5;
    padding: 12px 14px; border-radius: 10px;
    margin-bottom: 16px; font-size: 13px;
}

form label { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 13px; color: var(--mute); }
form label > span { font-weight: 500; }
form label em { font-style: normal; color: var(--mute); font-weight: 400; font-size: 12px; }

input[type="text"], input[type="password"] {
    background: var(--bg-3); color: var(--text);
    border: 1px solid var(--line); border-radius: 10px;
    padding: 12px 14px; font-size: 15px; outline: none;
    transition: border-color .15s;
}
input:focus { border-color: var(--accent); }

.btn-login {
    width: 100%;
    background: var(--accent); color: #0b0d12;
    border: 0; border-radius: 10px;
    padding: 13px 16px; font-size: 15px; font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .08s;
    margin-top: 6px;
}
.btn-login:hover  { background: #f97316; }
.btn-login:active { transform: scale(.98); }
