* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}
.logo {
    text-align: center;
    margin-bottom: 32px;
}
.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #f8fafc;
}
.logo p {
    font-size: 14px;
    color: #94a3b8;
    margin-top: 4px;
}
.form-group {
    margin-bottom: 20px;
}
label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 6px;
}
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #f8fafc;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}
input:focus {
    border-color: #3b82f6;
}
button {
    width: 100%;
    padding: 12px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover {
    background: #2563eb;
}
.flash {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}
.flash.error {
    background: #451a1a;
    border: 1px solid #7f1d1d;
    color: #fca5a5;
}
.flash.success {
    background: #14532d;
    border: 1px solid #166534;
    color: #86efac;
}
