/* css/login.css
   ARQUIVO EXCLUSIVO PARA O LOGIN (ÁREA RESTRITA)
   Extraído diretamente do <style> do login.html
*/

/* =========================================
   1. CONFIGURAÇÕES GERAIS (DARK MODE)
   ========================================= */
body {
    background-color: #000000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center; 
    min-height: 100vh;
    margin: 0;
    /* Gradiente radial para efeito de foco no centro */
    background-image: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    padding-bottom: 15vh; /* Empurra o card levemente para cima */
    box-sizing: border-box;
}

/* =========================================
   2. CARD DE LOGIN
   ========================================= */
.login-card {
    background: #121212;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    width: 100%;
    max-width: 350px;
    text-align: center;
    border: 1px solid #333;
}

.logo-login {
    max-height: 130px; /* Logo maior e destacado */
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.1));
}

h2 {
    color: #ffffff;
    margin-bottom: 25px;
    margin-top: 0;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 1.1rem;
    text-transform: uppercase;
    opacity: 0.9;
}

/* =========================================
   3. INPUTS E FORMULÁRIO
   ========================================= */
.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    color: #bbb;
    font-size: 0.85rem;
    margin-left: 2px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    background-color: #1e1e1e;
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    box-sizing: border-box;
}

.input-group input:focus {
    border-color: #d68c96; /* Cor primária */
    background-color: #252525;
    box-shadow: 0 0 0 1px #d68c96;
}

/* Container da senha para posicionar o botão de olho */
.password-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Padding extra na direita para o texto não ficar sob o ícone */
#senha { 
    padding-right: 45px; 
}

/* Ícone do Olho (Mostrar/Ocultar Senha) */
.btn-olho {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 45px; /* Área clicável generosa */
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    z-index: 5;
}

.btn-olho:hover { 
    color: #fff; 
}

/* =========================================
   4. BOTÕES E LINKS
   ========================================= */
.btn-login {
    width: 100%;
    padding: 12px;
    background-color: #d68c96; /* Cor primária */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-login:hover {
    background-color: #c57d87;
    transform: scale(1.02);
}

.btn-login:disabled {
    background-color: #555;
    cursor: not-allowed;
}

.links-uteis {
    margin-top: 20px;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
}

.links-uteis a {
    color: #777;
    text-decoration: none;
    transition: 0.2s;
}

.links-uteis a:hover {
    color: #d68c96;
    text-decoration: underline;
}

/* Mensagem de Erro */
#msg-erro {
    display: none;
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 82, 82, 0.15);
    border-left: 3px solid #ff5252;
    color: #ff8a80;
    font-size: 0.85rem;
    border-radius: 4px;
    text-align: left;
}

/* =========================================
   5. MODAL DE RECUPERAÇÃO DE SENHA
   ========================================= */
#modal-recuperar {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: #1e1e1e;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 320px;
    text-align: center;
    border: 1px solid #444;
    color: white;
}