/* ============== CONTAINER PRINCIPAL ============== */
.table-container {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* ============== CABEÇALHO E BOTÕES ============== */
.table-container h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
 
.table-container h3 {
    text-align: center;
    color: #000000;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


.table-container h4 {
    text-align: center;
    color: #000000;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.table-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* ============== TABELA ROLÁVEL ============== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
}

/* ============== ESTILO DA TABELA ============== */
table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ============== CABEÇALHO DA TABELA ============== */
thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

th {
    background-color: rgba(52, 152, 219, 0.7);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

/* ============== CÉLULAS DA TABELA ============== */
td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    vertical-align: middle;
}

/* ============== LINHAS E HOVER ============== */
tr:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.7);
}

tr:nth-child(even):hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* ============== BOTÕES E LINKS ============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    background: rgba(52, 152, 219, 0.85);
    color: white;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 0.5rem;
}

.btn:hover {
    background: rgba(41, 128, 185, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-danger {
    background: rgba(231, 76, 60, 0.85);
}

.btn-danger:hover {
    background: rgba(192, 57, 43, 0.95);
}

.action-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

/* Adicione isso ao seu CSS */
.action-links .btn-sm {
    padding: 4px 8px;       /* Reduz o preenchimento interno */
    font-size: 12px;        /* Diminui o tamanho do texto */
    border-radius: 3px;     /* Ajusta o arredondamento das bordas */
}

/* ============== BARRA DE SCROLL ============== */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: rgba(52, 152, 219, 0.6);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: rgba(41, 128, 185, 0.8);
}







/* ============== ESTILOS BÁSICOS DA TABELA ============== */
.table-container {
    width: 80%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* ============== FORMULÁRIO DE FILTRO ============== */
.filter-form {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.filter-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-group {
    flex: 1;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #6ec0f3;
}

.filter-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid rgba(173, 216, 230, 0.5);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: rgb(0, 0, 0);
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
}

/* ============== BOTÕES ADICIONAIS ============== */
.btn-secondary {
    background: rgba(108, 117, 125, 0.7);
}

.btn-secondary:hover {
    background: rgba(84, 91, 98, 0.8);
}

/* ============== MENSAGEM SEM RESULTADOS ============== */
.no-results {
    text-align: center;
    padding: 1rem;
    color: #a0c8e8;
}

/* ============== RESPONSIVIDADE ============== */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
    }
    
    .filter-actions {
        flex-wrap: wrap;
    }
    
    .btn {
        width: 100%;
    }
}


















/* ============== RESPONSIVIDADE ============== */
@media (max-width: 992px) {
    .table-container {
        padding: 1.5rem;
    }
    
    th, td {
        padding: 10px 12px;
    }
}

@media (max-width: 768px) {
    .table-container {
        padding: 1rem;
        margin: 1rem auto;
    }
    
    .table-container h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    th, td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .table-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
}