/* ==============================================================================
   MÓDULO: ACESSO (LOGIN PADRÃO ECOSSISTEMA CONECTA)
   ARQUIVO: publico/css/login.css
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --brand-orange: #ea580c;
    --brand-hover: #c2410c;
    --brand-primary-light: #fff7ed;
    --bg-dark: #111827; 
    --text-main: #333333;
    --text-muted: #888888;
    --border-color: #eaeaea;
}

body.app-body-login {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

/* ==========================================================
 * A CAIXINHA BRANCA (Medidas exatas do Ponto)
 * ========================================================== */
.login-container {
    background: #ffffff;
    width: 100%;
    max-width: 400px; /* Voltou para os 400px exatos do original! */
    padding: 2.5rem; 
    border-radius: 12px; /* Borda menos arredondada (12px ao invés de 20px) */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05); /* Sombra mais suave original */
    border: 1px solid #e2e8f0; /* Borda cinza bem sutil */
    box-sizing: border-box;
    margin: 20px;
    text-align: center;
}

.logo-area {
    margin-bottom: 2rem;
}

.logo-area img {
    max-width: 200px;
    height: auto;
    margin-bottom: 5px;
}

.logo-area p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 5px 0 0 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ==========================================================
 * CAMPOS E TEXTOS
 * ========================================================== */
.form-group {
    margin-bottom: 1.2rem;
    text-align: left; /* Mantém os textos alinhados à esquerda na caixa centralizada */
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 12px 15px; /* Menos "gordinho", voltando à altura original */
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-main);
    background-color: #ffffff; /* Fundo branco e não cinza */
    border: 1px solid #e2e8f0;
    border-radius: 6px; /* Borda do campo com 6px */
    box-sizing: border-box;
    margin-bottom: 5px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-control:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px var(--brand-primary-light);
}

/* ==========================================================
 * BOTÃO (Formato idêntico)
 * ========================================================== */
.login-btn {
    width: 100%;
    background: var(--brand-orange);
    color: white;
    border: none;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 12px; /* O botão do Ponto tem 12px de borda */
    margin-top: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.login-btn:hover {
    background: var(--brand-hover);
}.login-btn {
    width: 100%;
    background: var(--brand-orange);
    color: white;
    border: none;
    padding: 12px; /* Altura original do botão do Ponto */
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px; /* Borda original de 6px */
    margin-top: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.login-btn:hover {
    background: var(--brand-hover);
}

.alert-erro {
    background: #fee2e2;
    color: #dc2626;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #fecaca;
}