/**
 * ==========================================================================
 * Sistema de Dados Sobre Remuneração Servidores - FENAJUD - Estilos Globais (Design System)
 * ==========================================================================
 *
 * Arquivo principal de estilos do sistema administrativo daSistema de Dados Sobre Remuneração Servidores - FENAJUD.
 * Contém as variáveis CSS (tokens de design), reset, layout base, e
 * componentes reutilizáveis como botões, cards, tabelas, modais e formulários.
 *
 * Estrutura:
 *   1. Variáveis CSS (Design Tokens)
 *   2. Reset e Base
 *   3. Layout - Sidebar
 *   4. Layout - Conteúdo Principal
 *   5. Componentes - Botões
 *   6. Componentes - Cards e Grids
 *   7. Componentes - Tabelas
 *   8. Componentes - Modais
 *   9. Componentes - Formulários
 *  10. Componentes - Alertas
 *  11. Componentes - Badges
 *  12. Utilitários e Animações
 *  13. Responsividade
 *
 * @authorSistema de Dados Sobre Remuneração Servidores - FENAJUD
 * @version 2.0.0
 */

/* ==========================================================================
   1. VARIÁVEIS CSS (Design Tokens)
   ========================================================================== */

:root {
    /* --- Cores de Fundo (Premium Dark) --- */
    --bg-color: #080b14;
    --sidebar-bg: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.4);
    --topbar-bg: rgba(15, 23, 42, 0.8);

    /* --- Cores de Texto (High Contrast) --- */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* --- Cores de Destaque (Vibrant Blue & Purple) --- */
    --accent-color: #E31E24;
    --accent-glow: rgba(227, 30, 36, 0.5);
    --gradient-primary: linear-gradient(135deg, #E31E24 0%, #B31015 100%);

    /* --- Borda e Glass --- */
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* --- Sombras e Bordas --- */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --radius-lg: 1.25rem;
    --radius-md: 0.75rem;

    /* --- Tipografia --- */
    --font-main: 'Inter', system-ui, sans-serif;
    --font-display: 'Outfit', sans-serif;
}

/* ==========================================================================
   2. RESET E BASE
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scrollbar personalizada para um visual limpo */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.app-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* ==========================================================================
   3. LAYOUT - SIDEBAR
   ========================================================================== */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 270px;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    z-index: 1100;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2.5rem 1.25rem;
    display: flex;
    flex-direction: column;
}

.sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3.5rem;
    padding: 0 0.5rem;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.sidebar-close {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 16px rgba(227, 30, 36, 0.3);
}


/* Links de Navegação */
.nav-links {
    list-style: none;
    flex: 1;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text-secondary);
}

.nav-link-wrapper:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.nav-link-wrapper.active {
    background: rgba(227, 30, 36, 0.1);
    color: var(--accent-color);
    box-shadow: inset 0 0 0 1px rgba(227, 30, 36, 0.2);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.nav-icon {
    font-size: 1.35rem;
    transition: transform 0.2s;
}

.nav-link-wrapper:hover .nav-icon {
    transform: scale(1.1);
}

/* Submenus */
.submenu {
    list-style: none;
    padding-left: 2.75rem;
    margin-top: 0.25rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.submenu.open {
    max-height: 500px;
    opacity: 1;
    margin-bottom: 0.75rem;
}

.submenu-link {
    display: block;
    padding: 0.6rem 0;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.submenu-link:hover,
.submenu-link.active {
    color: var(--accent-color);
    padding-left: 0.25rem;
}

.submenu-toggle {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.submenu-toggle.active {
    transform: rotate(180deg);
}

/* ==========================================================================
   4. LAYOUT - CONTEÚDO PRINCIPAL & HEADER
   ========================================================================== */

.main-content {
    flex: 1;
    margin-left: 270px;
    padding: 2.5rem;
    min-height: 100vh;
    transition: margin-left 0.4s ease;
    background: radial-gradient(circle at top right, rgba(227, 30, 36, 0.03), transparent 45%);
}

header {
    background: var(--topbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    /* border-radius: var(--radius-lg); */
    padding: 0.85rem 1.75rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: sticky;
    top: 1.25rem;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.header__info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    opacity: 0.3;
}

.breadcrumb-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--text-secondary);
    font-weight: 600;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}


.user-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-profile__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    padding: 0.4rem;
    border-radius: 50px;
    transition: background 0.2s;
}

.user-profile__link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.user-profile__label {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.2;
}

.user-profile__name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.user-profile__avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.2);
}

.user-profile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-profile__avatar ion-icon {
    font-size: 1.75rem;
    color: white;
}


/** Container centralizado para formulários (Narrow view) */
.container-narrow {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

/** Botão hambúrguer para abrir sidebar no mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    margin-right: 1rem;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
}

/* ==========================================================================
   5. COMPONENTES - BOTÕES
   ========================================================================== */

/** Botão base reutilizável */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #2563eb);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px -6px rgba(227, 30, 36, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(227, 30, 36, 0.6);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(0);
}

/** Botão de ação de edição (ícone pequeno) */
.btn-edit {
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    background: rgba(227, 30, 36, 0.15);
    color: #60a5fa;
}

/** Botão de ação de exclusão (ícone pequeno) */
.btn-delete {
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger-color);
}

/** Botão transparente (cancelar, links secundários) */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

/** Botão de logout (vermelho sutil) */
.btn-logout {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/** Botão de detalhes (azul sutil) */
.btn-details {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    background: rgba(227, 30, 36, 0.1);
    color: var(--accent-color);
}

/** Botão de envio (verde sutil) */
.btn-send {
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
}

.btn-send:hover:not(:disabled) {
    background: rgba(16, 185, 129, 0.25);
    transform: translateY(-1px);
}

.btn-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(16, 185, 129, 0.05);
    color: var(--text-secondary);
}

/** Botão que ocupa toda a largura */
.btn-full-width {
    width: 100%;
}

/* ==========================================================================
   6. COMPONENTES - CARDS E GRIDS
   ========================================================================== */

/** Card genérico com efeito de vidro (glassmorphism) */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/** Grid de cards do dashboard (módulos) */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
    /* Corrigido de 80% para preencher o layout corretamente */
}

@media (max-width: 768px) {
    .dashboard-grid {
        width: 100%;
    }
}

/** Grid de cards de estatísticas (status de demandas) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/** Card de estatísticas individual (dashboard) */
.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

/** Barra decorativa no topo do card de status */
.stat-card__bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

/** Número grande no card de status */
.stat-card__value {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/** Rótulo do card de status */
.stat-card__label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

/** Elemento decorativo circular no canto do card */
.stat-card__circle {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    opacity: 0.05;
    border-radius: 50%;
}



/* ==========================================================================
   7. COMPONENTES - TABELAS DE DADOS
   ========================================================================== */

/** Container da tabela com scroll horizontal quando necessário */
.table-container {
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    /* Scroll horizontal elegante apenas se a tabela exceder a largura */
    width: 100%;
    /* Ocupa todo o espaço disponível no main-content */
}

table {
    width: 100%;
    border-collapse: collapse;
    /* min-width removido para permitir que a tabela encolha e quebre o conteúdo */
}

th {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    white-space: normal;
    /* Permitir quebra de linha no cabeçalho */
    word-break: break-word;
    color: var(--text-secondary);
    font-size: 0.825rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 0.9rem;
    vertical-align: middle;
}

/* Garantir que containers flex dentro de TD permitam quebra ou encolhimento */
td>div {
    max-width: 100%;
    word-break: break-word;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/** Container de ações inline (editar/excluir) nas tabelas */
.actions-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    /* Permitir que botões quebrem se a coluna for muito estreita */
}

/** Texto truncado em colunas com largura limitada (se necessário) */
.text-truncate {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/** Forçar quebra em nomes longos */
.column-main {
    min-width: 150px;
    font-weight: 600;
}



/* ==========================================================================
   8. COMPONENTES - MODAIS
   ========================================================================== */

/**
 * O modal é exibido como overlay fullscreen.
 * Ativação controlada pela classe `.active`.
 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    padding: 1rem;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

/** Conteúdo do modal (caixa branca centralizada) */
.modal-content {
    background-color: var(--sidebar-bg);
    padding: 1rem 2rem;
    border-radius: 1rem;
    width: 100%;
    max-width: 900px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    /* Permitir scroll vertical se o formulário for longo */
    display: block;
}

/** Botão de fechar o modal (X) */
.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

/** Título do modal */
.modal-title {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/** Grid de formulário dentro do modal (2 colunas) */
.modal-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/** Rodapé do modal com botões de ação */
.modal-footer {
    grid-column: span 2;
    margin-top: 1rem;
    text-align: right;
}

/* ==========================================================================
   9. COMPONENTES - FORMULÁRIOS
   ========================================================================== */

.form-group {
    margin-bottom: 0rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: inherit;
    transition: border-color 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(227, 30, 36, 0.2);
}

/** Campo desabilitado (somente leitura) */
.input-disabled {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-secondary);
    cursor: not-allowed;
}

/** Formulário em grid de 2 colunas */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/** Campo que ocupa as 2 colunas */
.form-group--full {
    grid-column: span 2;
}

/** Rótulo de seção do formulário (ex: "DADOS PESSOAIS") */
.form-section-label {
    color: var(--purple-color);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/** Rodapé do formulário com bordas e botões */
.form-footer {
    grid-column: span 2;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/** Rodapé do formulário alinhado à direita */
.form-footer--right {
    grid-column: span 2;
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/** Container do formulário com fundo e bordas */
.form-container {
    background-color: var(--sidebar-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

/** Título do formulário com linha separadora */
.form-title {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

/** Link de voltar em formulários de edição */
.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

/** Barra de ações (contagem + botão) */
.page-action-bar {
    margin-bottom: 2rem;
    display: block;
    justify-content: space-between;
    align-items: center;
}

.count {
    display: block;
    margin-bottom: 1rem;
}

/* ==========================================================================
   10. COMPONENTES - ALERTAS
   ========================================================================== */

/** Alerta de sucesso */
.alert-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/** Alerta de erro */
.alert-error {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger-color);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   11. COMPONENTES - BADGES
   ========================================================================== */

/** Badge genérico (pílula colorida) */
.badge {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    display: inline-block;
}

/** Badge de perfil do usuário */
.badge-role {
    display: inline-block;
    margin: 2px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    background: rgba(227, 30, 36, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(227, 30, 36, 0.3);
}

/** Badge de perfil no formulário de perfil */
.badge-profile {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    background: rgba(227, 30, 36, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(227, 30, 36, 0.3);
}

/** Badge de admin */
.badge-admin {
    font-size: 0.65rem;
    background: rgba(167, 139, 250, 0.2);
    color: var(--purple-color);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}

/** Badge de status ativo/inativo */
.badge-active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
}

.badge-inactive {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger-color);
}

/* ==========================================================================
   12. UTILITÁRIOS E ANIMAÇÕES
   ========================================================================== */

/** Animação de entrada suave */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}



/** Texto de cor secundária */
.text-secondary {
    color: var(--text-secondary);
}

/** Texto de cor de sucesso (valores monetários) */
.text-success {
    color: var(--success-color);
    font-weight: 600;
}

/** Texto pequeno */
.text-sm {
    font-size: 0.85rem;
}

/** Texto extra-pequeno */
.text-xs {
    font-size: 0.8rem;
}

/** Texto itálico */
.text-italic {
    font-style: italic;
}

/** Centralizar texto */
.text-center {
    text-align: center;
}

/** Container vazio (sem dados) */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-style: italic;
}

/** Container centralizado com largura máxima */
.container-narrow {
    max-width: 700px;
    margin: 0 0;
}

.container-medium {
    max-width: 800px;
    margin: 0 0;
}

/** Card da seção do dashboard com título e link */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
}

.section-link {
    font-size: 0.85rem;
    color: var(--accent-color);
    text-decoration: none;
}

/** Perfil do usuário no header */
.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-profile__link {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 0.75rem;
}

.user-profile__link:hover {
    color: var(--accent-color);
    background: rgba(227, 30, 36, 0.05);
}

.user-profile__label {
    font-size: 0.85rem;
    margin-right: 0.5rem;
    text-align: right;
    display: block;
}

.user-profile__name {
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    text-transform: lowercase;
    /* Opcional: estilo para username */
    opacity: 0.9;
}

.user-profile__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sidebar-bg);
    border: 2px solid var(--border-color);
    transition: border-color 0.2s;
}

.user-profile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-profile__avatar ion-icon {
    font-size: 2.2rem;
    color: var(--text-secondary);
}

.user-profile__link:hover .user-profile__avatar {
    border-color: var(--accent-color);
}

/** Grid de checkboxes de perfis */
.roles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/** Checkbox estilizado como card */
.role-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.4rem;
    border: 1px solid var(--border-color);
}

.role-checkbox input[type="checkbox"] {
    width: auto;
    accent-color: var(--accent-color);
}

/* ==========================================================================
   13. ACORDION
   ========================================================================== */
/* Accordion Shell */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1rem;
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.accordion-item:hover {
    border-color: rgba(227, 30, 36, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.accordion-item.active {
    border-color: var(--accent-color);
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.accordion-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex: 1;
}

.acc-id {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
    min-width: 90px;
}

.acc-type {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.acc-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.acc-arrow {
    font-size: 1.4rem;
    color: var(--text-secondary);
    transition: transform 0.4s ease, color 0.3s ease;
}

.accordion-item.active .acc-arrow {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 5000px;
    opacity: 1;
}

.accordion-body {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.3);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-item label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.4rem;
    letter-spacing: 1px;
}

.detail-item p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.acc-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}



/* Divisor de Agrupamento por Mês */
.month-group-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 0.5rem 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
}

.month-group-header ion-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
}

/* Paginação */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.limit-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.limit-btn {
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--bg-hover);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
}

.limit-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.page-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--bg-hover);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.page-btn:hover {
    background: var(--accent-color);
    color: white;
}

.page-current {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .header-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   13. RESPONSIVIDADE
   ========================================================================== */

@media (max-width: 768px) {

    /** Sidebar oculta no mobile, aparece ao ativar */
    .sidebar {
        transform: translateX(-100%);
        width: 100%;
        max-width: 300px;
        box-shadow: 10px 0 20px rgba(0, 0, 0, 0.5);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .dashboard-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    header {
        flex-direction: row;
        align-items: center;
    }

    h1 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    /* Oculta o nome do usuário em telas muito pequenas para dar espaço ao título */
    @media (max-width: 480px) {
        .user-profile__label {
            display: none;
        }
    }

    .sidebar-close {
        display: block !important;
    }

    /** Modais em colunas no mobile */
    .modal-form-grid {
        grid-template-columns: 1fr;
    }

    .modal-footer {
        grid-column: span 1;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group--full {
        grid-column: span 1;
    }

    .form-footer,
    .form-footer--right {
        grid-column: span 1;
    }
}

/* ==========================================================================
   14. CLASSES UTILITÁRIAS E REFINAMENTOS (REPLACE INLINE CSS)
   ========================================================================== */

/** Utilitários de Texto */
.text-accent {
    color: var(--accent-color);
}

.text-success {
    color: var(--success-color);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-sm {
    font-size: 0.85rem;
}

.font-weight-bold {
    font-weight: 700;
}

.font-weight-semibold {
    font-weight: 600;
}

/** Utilitários de Flexbox */
.flex-align-center {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flex-between-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/** Header Refinements */
.header__left {
    display: flex;
    align-items: center;
}

/** Sidebar Refinements */
.sidebar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.logo ion-icon {
    margin-right: 8px;
}

/** Filtros de Listagem */
.filter-bar {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group--small {
    flex: 0 0 180px;
    min-width: 150px;
}

.filter-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
    display: block;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s;
}

.filter-input:focus,
.filter-select:focus {
    border-color: var(--accent-color);
}

/** Histórico de Votação / Registro de Ações */
.vote-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vote-card {
    background: var(--bg-hover);
    border-radius: 12px;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.vote-icon {
    font-size: 1.4rem;
}

.vote-icon--approved {
    color: var(--success-color);
}

.vote-icon--rejected {
    color: var(--danger-color);
}

.vote-info {
    flex: 1;
}

.vote-header {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.vote-meta {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.vote-justification {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 6px;
    padding: 8px 12px;
    background: var(--bg-color);
    border-radius: 8px;
    border-left: 3px solid var(--border-color);
}

.vote-justification--approved {
    border-left-color: var(--success-color);
}

.vote-justification--rejected {
    border-left-color: var(--danger-color);
}

.vote-date {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/** Seção de "Recém Aprovadas" ou Destaques */
.recents-section {
    margin-bottom: 3rem;
}

.recents-header {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
}

/** Detalhes em Grid dentro de acordeões */
.detail-item--full {
    grid-column: span 2;
}

.detail-description {
    white-space: pre-wrap;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/** Ações de Status e Formulários Rápidos */
.status-form-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-hover);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group-compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group-compact label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.input-compact {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
}

/** Estados Vazios e Placeholders */
.empty-state-card {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--bg-hover);
    border-radius: 16px;
    border: 1px dashed var(--border-color);
}

.empty-state-icon {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

/** Botões de Votação (Coordenadores) */
.btn-approve-outline {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color) !important;
}

.btn-reject-outline {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid var(--danger-color) !important;
}

.btn-approve-outline:hover {
    background: rgba(16, 185, 129, 0.2);
}

.btn-reject-outline:hover {
    background: rgba(239, 68, 68, 0.2);
}

/** Badges de Voto */
.badge-vote-approved {
    background: rgba(16, 185, 129, 0.1) !important;
    color: var(--success-color) !important;
}

.badge-vote-rejected {
    background: rgba(239, 68, 68, 0.1) !important;
    color: var(--danger-color) !important;
}

.badge-accent {
    background: rgba(227, 30, 36, 0.1) !important;
    color: var(--accent-color) !important;
}

.acc-deadline {
    color: var(--success-color) !important;
}

/* --- NEW INDEX STYLES --- */
.glass-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
            rgba(227, 30, 36, 0.2) 0%,
            rgba(227, 30, 36, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(50px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo h1 {
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.menu_principal {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    flex-direction: row;
}

/* Sidebar fixes */
nav.sidebar>ul.nav-links {
    display: block;
    list-style: none;
    padding: 1.5rem 0;
}



nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

.btn-login {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

/* Components */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.4);
    /*margin-top: 20px;*/
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Sections */
.hero {
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 3.5rem;
    font-family: "Outfit", sans-serif;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero .highlight {
    background: linear-gradient(90deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Stats */
.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-icon {
    font-size: 1.5rem;
    background: rgba(227, 30, 36, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Table Filters */
.table-filters {
    background: var(--card-bg);
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    flex-wrap: wrap;
    backdrop-filter: blur(10px);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 250px;
}

.filter-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 4px;
}

.filter-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-input-wrapper ion-icon {
    position: absolute;
    left: 12px;
    color: var(--text-secondary);
    font-size: 1.2rem;
    pointer-events: none;
}

.filter-input-wrapper input,
.filter-input-wrapper select {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.6rem;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-input-wrapper input:focus,
.filter-input-wrapper select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--bg-color);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.1);
}

.stat-info h3 {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.stat-info .value {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: "Outfit", sans-serif;
}

/* Table */
.recent-activity {
    margin-bottom: 4rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.link-more {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.table-card {
    padding: 0;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 1.2rem 1.5rem;
    text-align: left;
}

th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

tr {
    border-bottom: 1px solid var(--glass-border);
}

/* Destaque de linha para tribunal do usuário */
.row-highlight {
    background-color: rgba(227, 30, 36, 0.05) !important;
}

.row-highlight td:first-child {
    border-left: 4px solid var(--accent-color);
}

.row-highlight:hover {
    background-color: rgba(227, 30, 36, 0.08) !important;
}

tr:last-child {
    border-bottom: none;
}

.status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.status-approved {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.btn-icon:hover {
    opacity: 1;
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
}

/* Animations */
.animate-up {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Níveis de Cargo */
.nivel-analista {
    color: #4cc9f0;
    font-weight: 700;
}

.nivel-tecnico {
    color: #4361ee;
    font-weight: 700;
}

.nivel-auxiliar {
    color: #3a0ca3;
    font-weight: 700;
}

.nivel-assistente {
    color: #7209b7;
    font-weight: 700;
}

/* Tipos de Gratificação */
.badge-tipo-basica {
    background: rgba(34, 197, 94, 0.1) !important;
    color: var(--success-color) !important;
}

.badge-tipo-variavel {
    background: rgba(227, 30, 36, 0.1) !important;
    color: var(--accent-color) !important;
}

/* Badges de Usuários */
.badge-role {
    background: var(--bg-hover);
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    margin-right: 4px;
    margin-bottom: 4px;
    display: inline-block;
}

.badge-admin {
    background: var(--danger-color);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
}

.icon-success {
    color: var(--success-color) !important;
    font-size: 1.2rem;
}

.icon-danger {
    color: var(--danger-color) !important;
    font-size: 1.2rem;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

.delay-6 {
    animation-delay: 0.6s;
}

/* --- Sistema de Acordeões Responsivos (Mobile First) --- */
.mobile-list {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 2rem;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.accordion-item.active {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.15);
}

.accordion-header {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 12px;
}

.accordion-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.accordion-header-info.row-info {
    flex-direction: row;
    align-items: center;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .accordion-header-info.row-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px !important;
    }

    .desktop-only {
        display: none !important;
    }
}

.accordion-header-info strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.accordion-header-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.accordion-header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.accordion-chevron {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.accordion-item.active .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.02);
    padding: 0 1rem;
}

.accordion-item.active .accordion-content {
    max-height: 900px;
    padding: 1rem;
    border-top: 1px dashed var(--border-color);
}

.accordion-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion-detail-row:last-child {
    border-bottom: none;
}

.accordion-detail-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.accordion-detail-value {
    font-size: 0.85rem;
    text-align: right;
    color: var(--text-primary);
}

/* Responsividade de Visibilidade */
@media (max-width: 768px) {
    .table-card {
        display: none;
    }

    .mobile-list {
        display: flex;
    }

    .table-filters {
        flex-direction: column;
    }

    .filter-group {
        max-width: 100% !important;
    }
}

@media (min-width: 769px) {
    .mobile-list {
        display: none !important;
    }
}

:root {
    --glass-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
}

.landing-wrapper {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: #0f172a;
}

/* Decorative Background */
.bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.15) 0%, rgba(227, 30, 36, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.blob-1 {
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(179, 16, 21, 0.2) 0%, rgba(179, 16, 21, 0) 70%);
}

.blob-2 {
    top: 400px;
    left: -200px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.15) 0%, rgba(227, 30, 36, 0) 70%);
}

.blob-3 {
    bottom: -100px;
    right: 20%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0) 70%);
}

.landing-container {
    position: relative;
    z-index: 10;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem 8rem;
}

/* Nav */
.landing-nav {
    height: 90px;
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
}

.landing-nav__inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.landing-logo {
    height: 48px;
}

.landing-brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

/* Hero */
.landing-hero {
    text-align: center;
    padding: 4rem 0 8rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 2rem;
    color: #fff;
    letter-spacing: -2px;
}

.text-gradient {
    background: linear-gradient(135deg, #E31E24 0%, #B31015 50%, #FF6B6F 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 12px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Stats */
.stats-overview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 4rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 3rem;
    margin-bottom: 8rem;
    backdrop-filter: blur(20px);
    margin-left: 20px;
    margin-right: 20px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.stat-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #a08585;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    margin-left: 20px;
    margin-right: 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Module Card */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.module-card.glass {
    padding: 3rem 2.5rem;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.module-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(227, 30, 36, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-icon-blob {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    filter: blur(40px);
    opacity: 0.15;
    border-radius: 50%;
}

.module-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.module-card__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.module-card__description {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.card-footer-link {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.module-card:hover .card-footer-link {
    opacity: 1;
}

/* Animations */
.animate-up {
    animation: slideUp 1s ease-out forwards;
    opacity: 0;
}

.animate-down {
    animation: slideDown 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Media Queries & Responsividade Avançada */
@media (max-width: 1400px) {
    .landing-container {
        max-width: 1100px;
    }

    .hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 1200px) {
    .landing-container {
        max-width: 900px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .stats-overview {
        gap: 2rem;
    }

    .stat-value {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stats-overview {
        padding: 3rem 2rem;
        border-radius: 2rem;
    }
}

@media (max-width: 768px) {
    .landing-container {
        padding: 0 1.5rem 4rem;
    }

    .hero-title {
        font-size: 2.8rem;
        letter-spacing: -1.5px;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .stats-overview {
        flex-direction: column;
        gap: 2.5rem;
        padding: 3rem 1.5rem;
        margin-bottom: 5rem;
    }

    .stat-box {
        width: 100%;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.75rem;
    }

    .stat-divider {
        width: 60%;
        height: 1px;
        margin: 0 auto;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .landing-hero {
        padding: 4rem 0 4rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .module-card.glass {
        padding: 2.5rem 2rem;
        margin-left: 20px;
        margin-right: 20px;
    }

    .blob {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.5rem 1.2rem;
        letter-spacing: 1px;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Suporte a telas com pouca altura */
@media (max-height: 700px) {
    .landing-hero {
        padding-top: 2rem;
    }

    .hero-subtitle {
        margin-bottom: 2rem;
    }
}

/* Estilos específicos para o Layout Guest (Landing Page) */
.guest-body {
    background-color: #0b0f19;
    color: #f3f4f6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.guest-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(10px);
    background: rgba(11, 15, 25, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.guest-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.guest-logo img {
    height: 40px;
}

.guest-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.guest-nav a {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.guest-nav a:hover {
    color: #3b82f6;
}

.guest-btn-login {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6 !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-weight: 600 !important;
}

.guest-btn-login:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.guest-main {
    flex: 1;
    padding-top: 80px;
}

/* Animações suaves */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeIn 0.8s ease-out forwards;
}

@media (max-width: 768px) {
    .guest-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        max-width: 85vw;
        flex-direction: column;
        background: rgba(11, 15, 25, 0.98);
        backdrop-filter: blur(20px);
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    .guest-nav.open {
        transform: translateX(0);
    }

    .guest-nav a {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
        border-radius: 10px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .guest-nav a:hover {
        background: rgba(59, 130, 246, 0.08);
    }

    .guest-header {
        padding: 1rem;
    }

    .guest-hamburger {
        display: flex;
    }

    .guest-nav-close {
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.05);
        color: #f3f4f6;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .guest-nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1000;
    }

    .guest-nav-overlay.open {
        display: block;
    }
}

.guest-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #f3f4f6;
    cursor: pointer;
    font-size: 1.4rem;
}

.guest-nav-close {
    display: none;
}

.sind-dashboard-wrapper {
    position: relative;
    padding: 0.5rem 0 2rem;
    z-index: 1;
}

/* Decorative Blobs */
.sind-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    filter: blur(80px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: blobFloat 20s infinite alternate;
}

.sind-blob--1 {
    top: -100px;
    right: -50px;
    background: var(--auth-primary);
}

.sind-blob--2 {
    bottom: -50px;
    left: -100px;
    background: #8b5cf6;
    opacity: 0.1;
}

.sind-blob--3 {
    top: 40%;
    left: 30%;
    width: 200px;
    height: 200px;
    background: #10b981;
    opacity: 0.05;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

/* Hero Section */
.sind-hero-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 2rem;
}

.sind-hero-content {
    max-width: 600px;
}

.sind-badge-welcome {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--accent-color);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.sind-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #dc2626;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    letter-spacing: -1.5px;
}

.sind-hero-title span {
    background: linear-gradient(135deg, #dc2626 30%, #dc2626c7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sind-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.sind-hero-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sind-hero-date,
.sind-hero-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 12px #10b981;
    animation: pulseStatus 2s infinite;
}

@keyframes pulseStatus {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.4;
    }
}

/* Floating Stats Pills */
.sind-stats-floating {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sind-stat-pill {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: #000000d9;
    border-radius: 16px backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    min-width: 220px;
    transition: transform 0.3s ease;
}

.sind-stat-pill:hover {
    transform: translateX(-10px);
    border-color: rgba(255, 255, 255, 0.15);
}

.sind-stat-pill__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.sind-stat-pill__icon.blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.sind-stat-pill__icon.purple {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.sind-stat-pill__icon.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.sind-stat-pill__text {
    display: flex;
    flex-direction: column;
}

.sind-stat-pill__text strong {
    font-size: 1.25rem;
    color: #fff;
    line-height: 1;
}

.sind-stat-pill__text span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 4px;
}

/* Immersive Module Cards */
.sind-modules-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.sind-visual-card {
    position: relative;
    padding: 1.75rem 1.5rem;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.sind-visual-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.sind-visual-card__bg {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.15;
    transition: all 0.4s ease;
}

.sind-visual-card__bg.blue {
    background: #3b82f6;
}

.sind-visual-card__bg.purple {
    background: #8b5cf6;
}

.sind-visual-card__bg.emerald {
    background: #10b981;
}

.sind-visual-card__bg.amber {
    background: #f59e0b;
}

.sind-visual-card:hover .sind-visual-card__bg {
    transform: scale(1.5) translate(-20px, 20px);
    opacity: 0.3;
}

.sind-visual-card__icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #a08585;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.sind-visual-card:hover .sind-visual-card__icon {
    background: #a08585;
    color: #0f172a;
    transform: rotate(-10deg) scale(1.1);
}

.sind-visual-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.sind-visual-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.sind-visual-card__link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a08585;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.sind-visual-card:hover .sind-visual-card__link {
    opacity: 1;
    gap: 12px;
}

@media (max-width: 1200px) {
    .sind-hero-premium {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .sind-stats-floating {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }

    .sind-stat-pill {
        min-width: 180px;
        flex: 1;
    }
}

@media (max-width: 768px) {
    .sind-hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .sind-hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .sind-visual-card {
        border-radius: 24px;
    }
}

/* Sindicatos **/

.sind-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--sind-text);
}

.sind-contact-item ion-icon {
    font-size: 16px;
    color: var(--sind-primary);
    flex-shrink: 0;
}

.sind-link {
    color: var(--sind-primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.sind-link:hover {
    opacity: 0.8;
}

.sind-social-links {
    display: flex;
    gap: 12px;
}

.sind-social-links a {
    color: var(--sind-text-muted);
    font-size: 18px;
    transition: color 0.2s;
}

.sind-social-links a:hover {
    color: var(--sind-primary);
}

.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}