select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  padding-right: 30px;
  background-image: url('../images/videos/union-1.svg');
  background-position: 95%;
  background-repeat: no-repeat;
  background-size: auto;
}

main{
  background: #f5f5f5;
}

:root{
    --primary:#00447b;
    --primary-light:#0d5c9a;
    --bg:#f4f7fa;
    --card:#ffffff;
    --text:#1f2937;
    --border:#dbe3ec;
}

/* ---- FILTROS ---- */
.filters{
    background:var(--card);
    padding:25px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    margin-bottom:30px;
}

.filters h2{
    margin-top: 0;
    margin-bottom:10px;
    font-size:18px;
    font-weight:600;
    line-height: 25px;
    font-family: Inter, sans-serif;
}

.filter-grid{
    display:grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap:20px;
}

.filters input,
.filters select{
    padding:12px 14px;
    border:1px solid var(--border);
    border-radius:10px;
    font-size:14px;
    transition:0.3s ease;
    font-family: Inter, sans-serif;
}

.filters input:focus,
.filters select:focus{
    outline:none;
    border-color:var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 68, 123, 0.15);
}

/* ---- TABLA ---- */
.table-card{
    background:var(--card);
    padding:25px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

table{
    width:100%;
    border-collapse:collapse;
    font-family: Inter, sans-serif;
}

thead{
    background:var(--primary);
    color: #fff;
}

thead th{
    padding:14px;
    text-align:left;
    font-size:14px;
    font-weight:500;
}

tbody tr{
    border-bottom:1px solid var(--border);
    transition:0.2s ease;
}

tbody tr:hover{
    background:#f9fafb;
}

tbody td{
    padding:14px;
    font-size:14px;
}

.table-card button {
    padding: 0px !important;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background: #e8e8e8;
    font-family: 'Inter', sans-serif;
    color: #000;
}

/* Responsive */
@media(max-width:768px){
    .filter-grid{
        grid-template-columns:1fr;
    }
}

/* Contenedor responsive para tablas */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smooth scroll en iOS */
}

/* Forzar ancho mínimo de la tabla para evitar que se comprima */
.table-responsive table {
    min-width: 600px; /* ajusta según tu número de columnas */
}

/* Opcional: Scroll más visible en navegadores modernos */
.table-responsive::-webkit-scrollbar {
    height: 6px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

/* En móviles, margen interno para que no se corte contenido */
@media (max-width: 768px) {
    .table-responsive {
        margin-bottom: 10px;
    }
}
