/* ==========================================================================
   ACIA CONECTA - ÁREA DO CONECTADO (ESTILOS EXCLUSIVOS DE ADMINISTRAÇÃO)
   ========================================================================== */

/* Corpo e Fundo no Padrão Areia do Grupo */
.painel-corpo {
    background: linear-gradient(180deg, #f3f1ea 0%, #eef8f2 100%) !important;
    min-height: calc(100vh - 81px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    font-family: 'Manrope', sans-serif;
}

/* Caixa Centralizada de Formulários (Login, Recuperação, Ativação) */
.box-autenticacao {
    background-color: #ffffff !important;
    border: 1px solid #dcf2e5 !important;
    border-radius: 2rem !important; /* Arredondamento original do grupo */
    padding: 2.5rem !important;
    width: 100%;
    max-width: 420px; /* Trava o tamanho do form no centro */
    box-shadow: 0 18px 40px rgba(6, 20, 15, 0.08) !important;
    text-align: center;
    box-sizing: border-box;
}

/* Alinhamento Vertical dos Elementos do Formulário */
.form-bloco {
    display: flex;
    flex-direction: column;
    gap: 1.25rem; /* Margem de respiro vertical garantida entre campos */
    text-align: left;
    margin-top: 1.5rem;
}

.campo-grupo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Espaço entre o Label e o Input */
}

/* Tipografia Administrativa */
.label-titulo {
    font-size: 0.75rem;
    font-weight: 700;
    color: #053824;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

/* Customização dos Inputs Estilizados */
.input-conecta {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem; /* rounded-xl */
    border: 1px solid #dcf2e5;
    background-color: rgba(243, 241, 234, 0.3);
    font-size: 0.875rem;
    color: #031c12;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.input-conecta:focus {
    outline: none;
    border-color: #0d8b59;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 139, 89, 0.1);
}

/* Botão Anatômico Oficial Arredondado (Tracking original) */
.btn-painel-enviar {
    width: 100%;
    background-color: #0d8b59 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 9999px; /* rounded-full */
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 4px 6px rgba(13, 139, 89, 0.15);
    margin-top: 0.5rem;
}
.btn-painel-enviar:hover {
    background-color: #0a6e46 !important;
}

/* Links Úteis de Suporte */
.link-painel-auxiliar {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0d8b59;
    text-decoration: none;
    transition: color 0.2s;
}
.link-painel-auxiliar:hover {
    color: #0a6e46;
    text-decoration: underline;
}

/* Alertas de Erro Internos */
.alerta-painel {
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #991b1b;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==========================================================================
   DROPDOWN DA ÁREA DO CONECTADO (MENU DO AVATAR) - CORRIGIDO
   ========================================================================== */
.user-dropdown-container {
    position: relative;
    display: inline-block;
}

.user-avatar-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    padding: 0;
}
.user-avatar-btn:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-color: #0d8b59 !important;
}

.avatar-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background-color: #f97316; /* Laranja Notificação */
    border-radius: 50%;
}

.dropdown-menu-conecta {
    position: absolute;
    right: 0;
    top: 3.25rem;
    background-color: #ffffff !important;
    border: 1px solid #dcf2e5 !important;
    border-radius: 1.25rem;
    width: 14rem;
    box-shadow: 0 10px 25px rgba(6, 20, 15, 0.15) !important;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    z-index: 100;
}

/* CLASSE DE CONTROLE NATIVA DA INTERFACE */
.menu-oculto {
    display: none !important;
}

.dropdown-item-conecta {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #031c12 !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
}
.dropdown-item-conecta:hover {
    background-color: #eef8f2 !important;
    color: #0d8b59 !important;
}
.dropdown-divider {
    height: 1px;
    background-color: #eef8f2;
    margin: 0.5rem 0;
}
