/* 
 * AdminVoz - Estilos Estándar del Sistema
 * Archivo CSS global para mantener consistencia en todos los módulos
 * Fecha: 4 de julio de 2025
 * Versión: 2.0 - Con especificidad mejorada
 */

/* ===== RESET Y BASE ===== */

/* Asegurar que nuestros estilos tengan prioridad */
.adminvoz-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.adminvoz-content * {
    box-sizing: border-box;
}

/* ===== CARDS DE ESTADÍSTICAS ===== */

/* Card de estadística */
.adminvoz-content .stat-card {
    background-color: white !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e5e7eb !important;
    transition: all 0.15s ease-in-out !important;
    margin-bottom: 1.5rem !important;
}

.adminvoz-content .stat-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.adminvoz-content .stat-card .card-body {
    padding: 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

/* Icono de estadística */
.adminvoz-content .stat-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 3rem !important;
    height: 3rem !important;
    border-radius: 0.5rem !important;
    font-size: 1.5rem !important;
    flex-shrink: 0 !important;
}

.adminvoz-content .stat-icon-primary {
    background-color: #dbeafe !important;
    color: #1e40af !important;
}

.adminvoz-content .stat-icon-success {
    background-color: #dcfce7 !important;
    color: #166534 !important;
}

.adminvoz-content .stat-icon-warning {
    background-color: #fef3c7 !important;
    color: #92400e !important;
}

.adminvoz-content .stat-icon-info {
    background-color: #f0f9ff !important;
    color: #0369a1 !important;
}

.adminvoz-content .stat-icon-danger {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
}

/* Contenido de estadística */
.adminvoz-content .stat-content {
    flex: 1 !important;
}

.adminvoz-content .stat-number {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.adminvoz-content .stat-label {
    font-size: 0.875rem !important;
    color: #6b7280 !important;
    margin-top: 0.25rem !important;
}

/* ===== LAYOUT DE PÁGINA ===== */

/* Encabezado de página */
.adminvoz-content .page-header {
    margin-bottom: 2rem !important;
}

.adminvoz-content .page-header .page-title {
    font-size: 1.875rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 0.5rem !important;
}

.adminvoz-content .page-header .text-muted {
    color: #6b7280 !important;
    font-size: 1rem !important;
}

/* Contenedor fluido */
.adminvoz-content .container-fluid {
    padding: 1.5rem !important;
    width: 100% !important;
    max-width: none !important;
}

/* Cards generales */
.adminvoz-content .card {
    background-color: white !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e5e7eb !important;
    margin-bottom: 1.5rem !important;
    overflow: hidden !important;
}

.adminvoz-content .card-header {
    padding: 1rem 1.5rem !important;
    border-bottom: 1px solid #e5e7eb !important;
    background-color: #f9fafb !important;
    border-radius: 0 !important;
}

.adminvoz-content .card-header .card-title {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin: 0 !important;
}

.adminvoz-content .card-body {
    padding: 1.5rem !important;
}

/* ===== BADGES ESPECÍFICOS ===== */

/* Badge base */
.adminvoz-content .badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.25rem 0.625rem !important;
    border-radius: 9999px !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    border: 1px solid transparent !important;
}

/* Badge success */
.adminvoz-content .badge-success {
    background-color: #dcfce7 !important;
    color: #166534 !important;
    border-color: #22c55e !important;
}

/* Badge warning */
.adminvoz-content .badge-warning {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    border-color: #f59e0b !important;
}

/* Badge info */
.adminvoz-content .badge-info {
    background-color: #dbeafe !important;
    color: #1e40af !important;
    border-color: #3b82f6 !important;
}

/* Badge danger */
.adminvoz-content .badge-danger {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
    border-color: #ef4444 !important;
}

/* ===== TABLA MEJORADA ===== */

.adminvoz-content .table-responsive {
    overflow-x: auto !important;
    border-radius: 0.5rem !important;
}

.adminvoz-content .table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 0 !important;
    background-color: white !important;
}

.adminvoz-content .table th,
.adminvoz-content .table td {
    padding: 0.75rem !important;
    text-align: left !important;
    border-bottom: 1px solid #e5e7eb !important;
    vertical-align: middle !important;
}

.adminvoz-content .table th {
    background-color: #f9fafb !important;
    font-weight: 600 !important;
    color: #374151 !important;
    font-size: 0.875rem !important;
}

.adminvoz-content .table-striped tbody tr:nth-child(odd) {
    background-color: #f9fafb !important;
}

.adminvoz-content .table-striped tbody tr:hover {
    background-color: #f3f4f6 !important;
}

/* ===== BOTONES ESPECÍFICOS ===== */

.adminvoz-content .btn-group {
    display: flex !important;
    gap: 0.25rem !important;
}

.adminvoz-content .btn-sm {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.75rem !important;
    border-radius: 0.25rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid transparent !important;
    transition: all 0.15s ease-in-out !important;
}

.adminvoz-content .btn-outline-primary {
    background-color: transparent !important;
    color: #3b82f6 !important;
    border-color: #3b82f6 !important;
}

.adminvoz-content .btn-outline-primary:hover {
    background-color: #3b82f6 !important;
    color: white !important;
}

.adminvoz-content .btn-outline-warning {
    background-color: transparent !important;
    color: #f59e0b !important;
    border-color: #f59e0b !important;
}

.adminvoz-content .btn-outline-warning:hover {
    background-color: #f59e0b !important;
    color: white !important;
}

.adminvoz-content .btn-outline-success {
    background-color: transparent !important;
    color: #10b981 !important;
    border-color: #10b981 !important;
}

.adminvoz-content .btn-outline-success:hover {
    background-color: #10b981 !important;
    color: white !important;
}

.adminvoz-content .btn-outline-danger {
    background-color: transparent !important;
    color: #ef4444 !important;
    border-color: #ef4444 !important;
}

.adminvoz-content .btn-outline-danger:hover {
    background-color: #ef4444 !important;
    color: white !important;
}

/* Botones principales */
.adminvoz-content .btn-primary {
    background-color: #3b82f6 !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: background-color 0.15s ease-in-out !important;
    border: 1px solid #3b82f6 !important;
}

.adminvoz-content .btn-primary:hover {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
}

.adminvoz-content .btn-secondary {
    background-color: #6b7280 !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: background-color 0.15s ease-in-out !important;
    border: 1px solid #6b7280 !important;
}

.adminvoz-content .btn-secondary:hover {
    background-color: #4b5563 !important;
    border-color: #4b5563 !important;
}

/* ===== FORMULARIOS ===== */

.adminvoz-content .form-label {
    display: block !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 0.5rem !important;
}

.adminvoz-content .form-control,
.adminvoz-content .form-select {
    width: 100% !important;
    padding: 0.5rem 0.75rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.375rem !important;
    font-size: 0.875rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
    background-color: white !important;
}

.adminvoz-content .form-control:focus,
.adminvoz-content .form-select:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.adminvoz-content .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 0.5rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.5em 1.5em !important;
    padding-right: 2.5rem !important;
}

/* ===== UTILIDADES DE LAYOUT ===== */

.adminvoz-content .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -0.75rem !important;
    margin-left: -0.75rem !important;
}

.adminvoz-content .col,
.adminvoz-content .col-auto,
.adminvoz-content .col-md-2,
.adminvoz-content .col-md-3,
.adminvoz-content .col-md-6,
.adminvoz-content .col-md-9,
.adminvoz-content .col-md-12 {
    position: relative !important;
    width: 100% !important;
    padding-right: 0.75rem !important;
    padding-left: 0.75rem !important;
}

.adminvoz-content .col-auto {
    flex: 0 0 auto !important;
    width: auto !important;
}

.adminvoz-content .col-md-2 {
    flex: 0 0 16.666667% !important;
    max-width: 16.666667% !important;
}

.adminvoz-content .col-md-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
}

.adminvoz-content .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

.adminvoz-content .col-md-9 {
    flex: 0 0 75% !important;
    max-width: 75% !important;
}

.adminvoz-content .col-md-12 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* ===== UTILIDADES DE ESPACIO ===== */

.adminvoz-content .mb-0 { margin-bottom: 0 !important; }
.adminvoz-content .mb-1 { margin-bottom: 0.25rem !important; }
.adminvoz-content .mb-2 { margin-bottom: 0.5rem !important; }
.adminvoz-content .mb-3 { margin-bottom: 1rem !important; }
.adminvoz-content .mb-4 { margin-bottom: 1.5rem !important; }
.adminvoz-content .mb-5 { margin-bottom: 3rem !important; }

.adminvoz-content .mt-0 { margin-top: 0 !important; }
.adminvoz-content .mt-1 { margin-top: 0.25rem !important; }
.adminvoz-content .mt-2 { margin-top: 0.5rem !important; }
.adminvoz-content .mt-3 { margin-top: 1rem !important; }
.adminvoz-content .mt-4 { margin-top: 1.5rem !important; }
.adminvoz-content .mt-5 { margin-top: 3rem !important; }

.adminvoz-content .me-1 { margin-right: 0.25rem !important; }
.adminvoz-content .me-2 { margin-right: 0.5rem !important; }
.adminvoz-content .me-3 { margin-right: 1rem !important; }

/* ===== UTILIDADES DE ALINEACIÓN ===== */

.adminvoz-content .align-items-center {
    align-items: center !important;
}

.adminvoz-content .justify-content-center {
    justify-content: center !important;
}

.adminvoz-content .justify-content-between {
    justify-content: space-between !important;
}

.adminvoz-content .d-flex {
    display: flex !important;
}

.adminvoz-content .text-center {
    text-align: center !important;
}

.adminvoz-content .text-muted {
    color: #6b7280 !important;
}

/* ===== UTILIDADES DE MARGEN (BOOTSTRAP COMPATIBLE) ===== */

.adminvoz-content .mr-1 { margin-right: 0.25rem !important; }
.adminvoz-content .mr-2 { margin-right: 0.5rem !important; }
.adminvoz-content .mr-3 { margin-right: 1rem !important; }
.adminvoz-content .ml-1 { margin-left: 0.25rem !important; }
.adminvoz-content .ml-2 { margin-left: 0.5rem !important; }
.adminvoz-content .ml-3 { margin-left: 1rem !important; }

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .adminvoz-content .container-fluid {
        padding: 1rem !important;
    }
    
    .adminvoz-content .stat-card .card-body {
        padding: 1rem !important;
    }
    
    .adminvoz-content .stat-number {
        font-size: 1.5rem !important;
    }
    
    .adminvoz-content .page-header .page-title {
        font-size: 1.5rem !important;
    }
    
    .adminvoz-content .card-body {
        padding: 1rem !important;
    }
    
    .adminvoz-content .col-md-2,
    .adminvoz-content .col-md-3,
    .adminvoz-content .col-md-6,
    .adminvoz-content .col-md-9,
    .adminvoz-content .col-md-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .adminvoz-content .row {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    
    .adminvoz-content .col,
    .adminvoz-content .col-auto,
    .adminvoz-content .col-md-2,
    .adminvoz-content .col-md-3,
    .adminvoz-content .col-md-6,
    .adminvoz-content .col-md-9,
    .adminvoz-content .col-md-12 {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}

/* ===== BOTONES PRINCIPALES ===== */

/* Botón principal - Azul */
.btn-primary {
    background-color: #3b82f6;
    color: white;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.15s ease-in-out;
}

.btn-primary:hover {
    background-color: #2563eb;
}

/* Botón secundario - Verde */
.btn-secondary {
    background-color: #10b981;
    color: white;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.15s ease-in-out;
}

.btn-secondary:hover {
    background-color: #059669;
}

/* Botón terciario - Gris */
.btn-tertiary {
    background-color: #6b7280;
    color: white;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.15s ease-in-out;
}

.btn-tertiary:hover {
    background-color: #4b5563;
}

/* ===== BADGES Y ESTADOS ===== */

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

/* Badge activo - Verde */
.badge-active {
    background-color: #dcfce7;
    color: #166534;
}

/* Badge inactivo - Rojo */
.badge-inactive {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Badge pendiente - Amarillo */
.badge-pending {
    background-color: #fef3c7;
    color: #92400e;
}

/* Badge procesando - Azul */
.badge-processing {
    background-color: #dbeafe;
    color: #1e40af;
}

/* Badge neutral - Gris */
.badge-neutral {
    background-color: #f3f4f6;
    color: #374151;
}

/* ===== FORMULARIOS ===== */

/* Etiquetas de formulario */
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Campos de entrada */
.form-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background-color: white;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Selectores */
.form-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background-color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Textarea */
.form-textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background-color: white;
    resize: vertical;
    min-height: 6rem;
}

.form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Checkbox y radio */
.form-checkbox,
.form-radio {
    width: 1rem;
    height: 1rem;
    color: #3b82f6;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
}

.form-radio {
    border-radius: 50%;
}

.form-checkbox:checked,
.form-radio:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.form-checkbox:focus,
.form-radio:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Grupo de formulario */
.form-group {
    margin-bottom: 1rem;
}

/* Texto de ayuda */
.form-help {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Mensaje de error */
.form-error {
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 0.25rem;
}

/* Campo con error */
.form-input-error,
.form-select-error,
.form-textarea-error {
    border-color: #dc2626;
}

.form-input-error:focus,
.form-select-error:focus,
.form-textarea-error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* ===== TABLAS ===== */

/* Contenedor de tabla */
.table-container {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.table-responsive {
    overflow-x: auto;
}

/* Encabezado de tabla */
.table-header {
    background-color: #f9fafb;
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Celda de tabla */
.table-cell {
    padding: 1rem 1.5rem;
    white-space: nowrap;
}

/* Fila de tabla con hover */
.table-row-hover:hover {
    background-color: #f9fafb;
}

/* ===== ALERTAS ===== */

/* Alerta base */
.alert {
    padding: 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    border: 1px solid;
}

/* Alerta éxito */
.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border-color: #22c55e;
}

/* Alerta error */
.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #ef4444;
}

/* Alerta advertencia */
.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
    border-color: #f59e0b;
}

/* Alerta información */
.alert-info {
    background-color: #dbeafe;
    color: #1e40af;
    border-color: #3b82f6;
}

/* ===== NAVEGACIÓN ===== */

/* Breadcrumbs */
.breadcrumb {
    margin-bottom: 2rem;
}

/* Título de página */
.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

/* Subtítulo */
.page-subtitle {
    color: #6b7280;
    margin-bottom: 1rem;
}

/* Contenedor de acciones de página */
.page-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.page-actions-buttons {
    display: flex;
    gap: 0.5rem;
}

/* ===== UTILIDADES ===== */

/* Texto pequeño */
.text-small {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Texto muy pequeño */
.text-xs {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Separador */
.divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 1.5rem 0;
}

/* ===== RESPONSIVE ===== */

/* Ocultar en móviles */
@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .page-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}

/* Mostrar solo en móviles */
@media (min-width: 769px) {
    .visible-mobile {
        display: none;
    }
}

/* ===== ICONOS ===== */

/* Iconos en botones */
.btn-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
}

/* ===== ANIMACIONES ===== */

/* Fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Pulse para elementos de carga */
.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ===== ESTADOS DE CARGA ===== */

/* Skeleton loader */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, transparent 37%, transparent 63%, #f0f0f0 75%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

/* ===== PRINT STYLES ===== */

@media print {
    .no-print {
        display: none !important;
    }
    
    .table-container {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .btn-action,
    .action-buttons {
        display: none !important;
    }
}

/* ===== CARDS DE ESTADÍSTICAS ===== */

/* Card de estadística */
.stat-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.15s ease-in-out;
}

.stat-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.stat-card .card-body {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Icono de estadística */
.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-icon-primary {
    background-color: #dbeafe;
    color: #1e40af;
}

.stat-icon-success {
    background-color: #dcfce7;
    color: #166534;
}

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

.stat-icon-info {
    background-color: #f0f9ff;
    color: #0369a1;
}

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

/* Contenido de estadística */
.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* ===== LAYOUT DE PÁGINA ===== */

/* Encabezado de página */
.page-header {
    margin-bottom: 2rem;
}

.page-header .page-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.page-header .text-muted {
    color: #6b7280;
    font-size: 1rem;
}

/* Contenedor fluido */
.container-fluid {
    padding: 1.5rem;
}

/* Cards generales */
.card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
    border-radius: 0.5rem 0.5rem 0 0;
}

.card-header .card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.card-body {
    padding: 1.5rem;
}

/* ===== BADGES ESPECÍFICOS ===== */

/* Badge success */
.badge-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #22c55e;
}

/* Badge warning */
.badge-warning {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}

/* Badge info */
.badge-info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

/* Badge danger */
.badge-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* ===== TABLA MEJORADA ===== */

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.table-striped tbody tr:nth-child(odd) {
    background-color: #f9fafb;
}

.table-striped tbody tr:hover {
    background-color: #f3f4f6;
}

/* ===== RESPONSIVE UTILITIES ===== */

@media (max-width: 768px) {
    .container-fluid {
        padding: 1rem;
    }
    
    .stat-card .card-body {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .page-header .page-title {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* ===== BOTONES ESPECÍFICOS ===== */

.btn-group {
    display: flex;
    gap: 0.25rem;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.btn-outline-primary {
    background-color: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.btn-outline-primary:hover {
    background-color: #3b82f6;
    color: white;
}

.btn-outline-warning {
    background-color: transparent;
    color: #f59e0b;
    border: 1px solid #f59e0b;
}

.btn-outline-warning:hover {
    background-color: #f59e0b;
    color: white;
}

.btn-outline-success {
    background-color: transparent;
    color: #10b981;
    border: 1px solid #10b981;
}

.btn-outline-success:hover {
    background-color: #10b981;
    color: white;
}

.btn-outline-danger {
    background-color: transparent;
    color: #ef4444;
    border: 1px solid #ef4444;
}

.btn-outline-danger:hover {
    background-color: #ef4444;
    color: white;
}

/* ===== ESTADOS DE CARGA ===== */
