/* CSS Document */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: #1e293b;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.3);
    width: 100%;
    max-width: 360px;
}

.login-card h1 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    text-align: center;
}

.field { margin-bottom: 1.2rem; }

.field label {
    display: block;
    font-size: .85rem;
    margin-bottom: .4rem;
    color: #475569;
}

.field input {
    width: 100%;
    padding: .7rem .9rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
}

.field input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

button {
    width: 100%;
    padding: .8rem;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background .15s;
}

button:hover:not(:disabled) { background: #2563eb; }
button:disabled { opacity: .6; cursor: not-allowed; }

.msg { margin-top: 1rem; font-size: .85rem; text-align: center; }
.msg-error { color: #dc2626; }
.msg-warn { color: #d97706; margin-bottom: 1rem; margin-top: 0; }