/* ==========================================
   RESET BÁSICO
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* ==========================================
   O FUNDO DA TELA (MODERNO E CIANO)
   ========================================== */
body {
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

/* ==========================================
   O CARTÃO BRANCO DE LOGIN
   ========================================== */
.login-card {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* ==========================================
   LOGO E TEXTOS
   ========================================== */
.logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.logo-area .icone { font-size: 2.5rem; }
.logo-area .texto { font-size: 2rem; font-weight: 700; color: #00bcd4; }

h2 {
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* ==========================================
   CAIXAS DE TEXTO (INPUTS)
   ========================================== */
.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #f9f9f9;
}

.input-group input:focus {
    border-color: #00bcd4;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.1);
}

/* ==========================================
   BOTÃO DE ENTRAR
   ========================================== */
.btn-entrar {
    width: 100%;
    padding: 15px;
    background-color: #00bcd4;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.3);
    margin-top: 10px;
}

.btn-entrar:hover {
    background-color: #0097a7;
    transform: translateY(-2px);
}

.btn-entrar:active {
    transform: translateY(0);
}

.btn-entrar:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==========================================
   MENSAGEM DE ERRO
   ========================================== */
.erro-oculto { display: none; }

.erro-visivel {
    display: block;
    background-color: #ffebee;
    color: #d32f2f;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 500;
    animation: tremerErro 0.4s;
}

@keyframes tremerErro {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}