/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    padding-bottom: 20px;
}

.container {
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Tabla responsive */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Estilos para móviles */
@media (max-width: 768px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    h1 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .table thead {
        display: none;
    }
    
    .table, .table tbody, .table tr, .table td {
        display: block;
        width: 100%;
    }
    
    .table tr {
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
        border-radius: 5px;
        padding: 10px;
    }
    
    .table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px solid #dee2e6;
    }
    
    .table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        font-weight: bold;
        text-align: left;
    }
    
    /* Añadir etiquetas a las celdas */
    .table td[data-label]::before {
        content: attr(data-label);
    }
    
    /* Ocultar columnas menos importantes en móviles */
    .table td.d-none {
        display: none;
    }
    
    /* Botones en móvil */
    .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
        margin: 2px;
    }
}

/* Mejoras para tablets */
@media (min-width: 769px) and (max-width: 992px) {
    .table td, .table th {
        padding: 0.5rem;
    }
}

/* Efecto hover para filas */
.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

/* Badges */
.badge {
    font-size: 0.9rem;
    padding: 0.35em 0.65em;
}

/* Iconos */
.bi {
    font-size: 1rem;
}