/* ============================================
   TABLES - Sistema de Tabelas Padronizadas
   Galinheiro Pinheiro
   ============================================ */

/* Tabela Moderna */
.table-modern {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.table-modern thead {
    background-color: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.table-modern thead th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.table-modern tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.15s ease;
}

.table-modern tbody tr:hover {
    background-color: #f9fafb;
}

.table-modern tbody td {
    padding: 1rem;
    color: #1f2937;
}

.table-modern tbody td.font-medium {
    font-weight: 600;
    color: #111827;
}

/* Coluna de Ações */
.table-modern th.text-center,
.table-modern td.text-center {
    text-align: center;
}

/* Badge de Status */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.badge-info {
    background-color: #dbeafe;
    color: #1e40af;
}

.badge-gray {
    background-color: #f3f4f6;
    color: #374151;
}

/* Estado Vazio */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state svg {
    margin: 0 auto;
    height: 3rem;
    width: 3rem;
    color: #9ca3af;
}

.empty-state h3 {
    margin-top: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: #6b7280;
}

.empty-state p {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Overflow Responsivo */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Responsividade */
@media (max-width: 768px) {
    .table-modern {
        font-size: 0.75rem;
    }
    
    .table-modern thead th,
    .table-modern tbody td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Ocultar colunas menos importantes em mobile */
    .table-modern .hide-mobile {
        display: none;
    }
}




