:root {
    color-scheme: light;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f6f8;
    color: #1a202c;
    --primary: #c4172c;
    --primary-hover: #a81324;
    --border: #e2e8f0;
    --muted: #718096;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: #f5f6f8;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    text-align: left;
}

.login-card img {
    height: 38px;
    width: auto;
    max-width: 100%;
    margin-bottom: 24px;
    display: block;
}

.eyebrow {
    margin: 0 0 6px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

h1 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: -0.01em;
}

.descricao {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
}

label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1a202c;
}

input {
    height: 42px;
    box-sizing: border-box;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 14px;
    font: inherit;
    font-size: 14px;
    color: #1a202c;
    background: #ffffff;
    transition: all 0.15s ease;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196, 23, 44, 0.12);
}

button {
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(196, 23, 44, 0.2);
    transition: all 0.15s ease;
    margin-top: 4px;
}

button:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 16px rgba(196, 23, 44, 0.28);
}

button:disabled {
    opacity: 0.65;
    cursor: wait;
}

#mensagem {
    min-height: 1.25em;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #dc2626;
}

.login-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.login-card a:hover {
    color: var(--primary);
}
