/* =================================
   Estilos Gerais e Tema Escuro
   ================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #1a202c; /* Fundo principal - Azul bem escuro */
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* =================================
   Card de Login Responsivo
   ================================= */
.login-form {
    background-color: #2d3748;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #4a5568;
    width: 100%;
    max-width: 400px; /* Largura máxima em desktops */
    margin: 20px;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
    color: #ffffff;
}

.login-form .error {
    background-color: #c53030;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
}

/* =================================
   Campos do Formulário
   ================================= */
.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #4a5568;
    border-radius: 5px;
    font-size: 1em;
    background-color: #1a202c;
    color: #e2e8f0;
}

.login-form button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #3182ce;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-form button[type="submit"]:hover {
    background-color: #2b6cb0;
}
/* ============================================= */
/* ===== Estilo para o Botão de Cancelar ======= */
/* ============================================= */

.button-cancel {
    display: inline-block;
    width: 100%; /* Faz ocupar a largura toda, como o botão principal */
    margin-top: 10px; /* Adiciona um espaço acima dele */
    padding: 12px;
    background-color: #4b5563; /* Um tom de cinza (gray-600 do Tailwind) */
    color: white;
    text-align: center;
    text-decoration: none; /* Remove o sublinhado do link */
    border: none;
    border-radius: 8px; /* Bordas arredondadas */
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

/* Efeito ao passar o mouse */
.button-cancel:hover {
    background-color: #374151; /* Um cinza um pouco mais escuro (gray-700) */
}
/* ============================================= */
/* ===== Estilo para o Botão de Navegação ====== */
/* ============================================= */

.button-navigate {
    display: inline-block;
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    background-color: #3b82f6; /* Um tom de azul (blue-500 do Tailwind) */
    color: white;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

/* Efeito ao passar o mouse */
.button-navigate:hover {
    background-color: #2563eb; /* Um azul um pouco mais escuro (blue-600) */
}
