* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #0f172a;
}

.card {
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.card h1 {
    text-align: center;
    margin-bottom: 8px;
    font-size: 26px;
}

.subtitle {
    text-align: center;
    margin-bottom: 18px;
    color: #475569;
    font-size: 14px;
}

label {
    display: block;
    margin: 10px 0 6px;
    font-size: 14px;
    color: #334155;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    transition: 0.2s;
}

input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

button {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    background: #2563eb;
    color: white;
    transition: 0.2s;
}

button:hover {
    background: #1d4ed8;
}

.erro {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 12px;
    text-align: center;
}

.hint {
    margin-top: 14px;
    font-size: 12px;
    text-align: center;
    color: #64748b;
}

.btn-sair {
    background: #ef4444;
}

.btn-sair:hover {
    background: #dc2626;
}
