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

body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f8;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: white;
    border-radius: 10px;
    padding: 30px 25px;
    width: 380px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* cabeçalho do card */
.cabecalho {
    text-align: center;
    margin-bottom: 24px;
}

.cabecalho .icone {
    font-size: 40px;
    margin-bottom: 8px;
}

.cabecalho h2 {
    font-size: 18px;
    color: #1a4fa0;
    margin-bottom: 4px;
}

.cabecalho p {
    font-size: 13px;
    color: #777;
}

/* campos */
label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-top: 14px;
    margin-bottom: 5px;
    color: #333;
}

input {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

input:focus {
    outline: none;
    border-color: #1a4fa0;
}

/* campo com erro fica com borda vermelha */
input.erro {
    border-color: #c0392b;
}

/* mensagem de erro embaixo do campo */
.erro-campo {
    font-size: 12px;
    color: #c0392b;
    margin-top: 4px;
    display: none;
}

/* wrapper pra colocar o botão do olho dentro do input */
.campo-senha {
    position: relative;
}

.campo-senha input {
    padding-right: 36px;
}

.btn-olho {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

/* botão entrar */
button[type="submit"] {
    width: 100%;
    padding: 11px;
    background-color: #1a4fa0;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

.g-recaptcha {
    margin-top: 15px;
}

button[type="submit"]:hover {
    background-color: #2d72d2;
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* mensagem geral de erro ou sucesso */
.mensagem {
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    margin-top: 14px;
    display: none;
}

.mensagem.erro    { background: #fdecea; color: #c0392b; display: block; }
.mensagem.sucesso { background: #eafaf1; color: #1e7e34; display: block; }

/* links rodapé */
.links {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #555;
}

.links a {
    color: #1a4fa0;
    font-weight: bold;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

.separador {
    border: none;
    border-top: 1px solid #eee;
    margin: 14px 0;
}
