/* ==========================================================================
   EVIDENCEHUB - INTERFACE DE AUTENTICAÇÃO COMPLETA (login_style.css)
   ========================================================================== */

:root { 
    --navy: #1a2744; 
    --gold: #b8932a; 
    --slate: #4a5568; 
    --border: #dde3ed; 
    --bg: #f4f5f8; 
    --white: #ffffff;
}

* { 
    box-sizing: border-box; 
}

html, body { 
    margin: 0; 
    padding: 0; 
    height: 100%;
}

body { 
    background-color: var(--bg); 
    font-family: 'Source Sans Pro', sans-serif; 
    color: var(--slate); 
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

/* Header Académico Padrão */
.site-header { 
    background: var(--navy); 
    border-bottom: 3px solid var(--gold); 
    padding: 0 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    width: 100%;
}
.header-inner { 
    max-width: 1400px; 
    margin: 0 auto; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    height: 64px; 
}
.brand-name { 
    font-family: 'Lora', serif; 
    font-size: 1.35rem; 
    font-weight: 600; 
    color: white; 
    text-decoration: none;
}

/* Área Central */
.page-content { 
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Cartão de Autenticação */
.auth-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
    border-top: 5px solid var(--gold);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 460px;
    transition: all 0.2s;
}

/* Títulos e Textos */
.auth-title { 
    font-family: 'Lora', serif; 
    font-size: 1.75rem; 
    color: var(--navy); 
    margin: 0 0 10px 0;
    font-weight: 600;
    text-align: center;
}

.auth-subtitle {
    font-size: 0.9rem;
    color: #5a6c7d;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Formulários e Grupos */
.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #718096;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-input {
    width: 100%;
    padding: 11px 12px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: #f8fafc;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s;
    color: #2d3748;
}

.form-input:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(184, 147, 42, 0.1);
}

.form-input:disabled {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
    border-color: #cbd5e1;
}

/* Botões */
.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 28px;
    background: var(--navy);
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: 100%;
}

.btn-submit:hover {
    background: #0f1929;
    transform: translateY(-1px);
}

.btn-submit:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

/* Links Auxiliares no Login (Alinhamento Lado a Lado) */
.auth-inline-links {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    margin-top: -10px;
    margin-bottom: 25px;
    color: var(--border);
}

.auth-inline-links a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

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

/* Rodapé das Secções Secundárias */
.auth-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.85rem;
}

.auth-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.auth-link:hover {
    text-decoration: underline;
}

/* Mensagens de Feedback */
.message-box {
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.5;
    border: 1px solid transparent;
    border-left: 4px solid;
}
.message-box.error { background: #fee2e2; color: #991b1b; border-color: #fca5a5; border-left-color: #dc2626; }
.message-box.success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; border-left-color: #15803d; }
.message-box.info { background: #fffde7; color: var(--navy); border-color: #ffe57f; border-left-color: var(--gold); }

/* CONTROLO DINÂMICO */
.hidden {
    display: none !important;
}