       :root {
            --primary-color: #2563eb;
            --secondary-color: #64748b;
            --success-color: #059669;
            --warning-color: #d97706;
            --danger-color: #dc2626;
            --dark-color: #1f2937;
            --light-color: #f8fafc;
            --border-color: #e2e8f0;
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
            --border-radius: 0.75rem;
            --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            font-size: 14px;
            line-height: 1.6;
            color: var(--dark-color);
            background-color: #fafbfc;
        }

        /* ========================================
           SISTEMA DE TARJETAS MODERNAS
           ======================================== */

        /* Tarjetas base */
        .modern-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            border: none;
            transition: all 0.3s ease;
        }

        .modern-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        }

        /* Variantes de tarjetas específicas */
        .vehicle-card {
            padding: 1.25rem;
            margin-bottom: 1rem;
            border-left: 4px solid #667eea;
        }

        .auxiliar-card {
            padding: 1.25rem;
            margin-bottom: 1rem;
            border-left: 4px solid #28a745;
        }

        .asignacion-card {
            padding: 1.25rem;
            margin-bottom: 1rem;
            border-left: 4px solid #667eea;
        }

        /* ========================================
           ENCABEZADOS DE PÁGINA
           ======================================== */

        .page-header {
            color: white;
            padding: 2rem;
            border-radius: 12px;
            margin-bottom: 2rem;
        }

        .page-header.primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .page-header.success {
            background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        }

        .page-header h2 {
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .page-header p {
            margin-bottom: 0;
            opacity: 0.75;
        }

        /* ========================================
           SECCIONES DE CONTENIDO
           ======================================== */

        .filter-section,
        .action-buttons {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }

        .filter-section h5,
        .action-buttons h5 {
            color: #495057;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        /* ========================================
           BOTONES MODERNOS
           ======================================== */

        .btn-action,
        .btn-modern {
            border-radius: 8px;
            padding: 8px 12px;
            font-weight: 500;
            transition: all 0.3s ease;
            border: none;
            margin: 2px;
        }

        .btn-action:hover,
        .btn-modern:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .btn-toolbar .btn {
            margin: 0.25rem;
            border-radius: 8px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .btn-toolbar .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        /* ========================================
           ELEMENTOS DE INFORMACIÓN
           ======================================== */

        /* Información de vehículos */
        .vehicle-patente,
        .vehicle-info {
            font-weight: 700;
            font-size: 1.1rem;
            color: #2c3e50;
            margin-bottom: 0.25rem;
        }

        .vehicle-modelo {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

        .vehicle-conductor {
            color: #495057;
            font-weight: 500;
            font-size: 0.95rem;
        }

        /* Información de auxiliares */
        .auxiliar-nombre {
            font-weight: 700;
            font-size: 1.1rem;
            color: #2c3e50;
            margin-bottom: 0.25rem;
        }

        .auxiliar-codigo {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

        .auxiliar-info {
            color: #495057;
            font-weight: 500;
            font-size: 0.95rem;
        }

        .conductor-name {
            color: #495057;
            font-weight: 500;
        }

        /* Información de asignaciones */
        .asignacion-vehiculo {
            font-weight: 700;
            font-size: 1.1rem;
            color: #2c3e50;
            margin-bottom: 0.25rem;
        }

        .asignacion-conductor {
            color: #495057;
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 0.25rem;
        }

        .asignacion-fechas {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

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

        .status-badge {
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            margin-right: 0.5rem;
        }

        /* Estados de vehículos */
        .status-asignado {
            background-color: #e8f5e8;
            color: #2e7d2e;
        }

        .status-disponible {
            background-color: #e3f2fd;
            color: #1565c0;
        }

        /* Estados de certificaciones */
        .status-con-cert {
            background-color: #d4edda;
            color: #155724;
        }

        .status-sin-cert {
            background-color: #f8d7da;
            color: #721c24;
        }

        /* Estados de asignaciones */
        .status-vigente {
            background-color: #e8f5e8;
            color: #2e7d2e;
        }

        .status-finalizada {
            background-color: #fff3cd;
            color: #856404;
        }

        /* Contadores de certificaciones */
        .cert-count {
            background-color: #e2e3e5;
            color: #495057;
            padding: 2px 6px;
            border-radius: 8px;
            font-size: 0.8rem;
            margin-left: 0.5rem;
        }

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

        .form-control:focus,
        .form-select:focus {
            border-color: var(--primary-color, #667eea);
            box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
        }

        /* Variantes de enfoque para diferentes temas */
        .theme-success .form-control:focus,
        .theme-success .form-select:focus {
            border-color: #28a745;
            box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
        }

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

        .modern-table {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            border: none;
        }

        .modern-table thead {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .modern-table th {
            border: none;
            padding: 18px 16px;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 12px;
            letter-spacing: 0.5px;
        }

        .modern-table td {
            border: none;
            padding: 16px;
            vertical-align: middle;
            border-bottom: 1px solid #f1f3f4;
        }

        .modern-table tbody tr {
            transition: all 0.3s ease;
        }

        .modern-table tbody tr:hover {
            background-color: #f8f9ff;
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .modern-table tbody tr:last-child td {
            border-bottom: none;
        }

        /* ========================================
           PAGINACIÓN MODERNA
           ======================================== */

        .pagination .page-link {
            border-radius: 8px;
            margin: 0 2px;
            border: 1px solid #dee2e6;
            color: #495057;
            transition: all 0.3s ease;
        }

        .pagination .page-link:hover {
            background-color: var(--primary-color, #667eea);
            border-color: var(--primary-color, #667eea);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
        }

        .pagination .page-item.active .page-link {
            background-color: var(--primary-color, #667eea);
            border-color: var(--primary-color, #667eea);
            color: white;
            box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
        }

        .pagination .page-item.disabled .page-link {
            color: #6c757d;
            background-color: #fff;
            border-color: #dee2e6;
        }

        /* Variante para tema success */
        .theme-success .pagination .page-link:hover,
        .theme-success .pagination .page-item.active .page-link {
            background-color: #28a745;
            border-color: #28a745;
            box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
        }

        /* ========================================
           ELEMENTOS DE TEXTO ESPECIALIZADO
           ======================================== */

        .observacion-text {
            max-width: 200px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-style: italic;
            color: #6c757d;
        }

        .clear-filters {
            color: #6c757d;
            text-decoration: none;
            font-size: 0.875rem;
        }

        .clear-filters:hover {
            color: #495057;
            text-decoration: underline;
        }

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

        @media (max-width: 768px) {
            .btn-action,
            .btn-modern {
                font-size: 0.75rem;
                padding: 6px 10px;
            }
            
            .vehicle-card,
            .auxiliar-card,
            .asignacion-card {
                padding: 1rem;
            }
            
            .page-header {
                padding: 1.5rem;
            }
            
            .filter-section,
            .action-buttons {
                padding: 1rem;
            }
            
            .modern-table th,
            .modern-table td {
                padding: 12px 8px;
            }
            
            .modern-table th {
                font-size: 10px;
            }
            
            .status-badge {
                font-size: 10px;
                padding: 4px 8px;
            }
        }

        /* ========================================
           VARIABLES CSS PARA PERSONALIZACIÓN
           ======================================== */

        :root {
            --primary-color: #667eea;
            --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --success-color: #28a745;
            --success-gradient: linear-gradient(135deg, #28a745 0%, #20c997 100%);
            --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
            --border-radius: 12px;
            --border-radius-small: 8px;
            --transition: all 0.3s ease;
        }

        /* ========================================
           CLASES DE UTILIDAD
           ======================================== */

        .theme-primary {
            --primary-color: #667eea;
            --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .theme-success {
            --primary-color: #28a745;
            --primary-gradient: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        }

        /* Nuevos themes */
        .theme-danger {
            --primary-color: #dc3545;
            --primary-gradient: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
        }

        .theme-warning {
            --primary-color: #ffc107;
            --primary-gradient: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
        }

        .theme-info {
            --primary-color: #17a2b8;
            --primary-gradient: linear-gradient(135deg, #17a2b8 0%, #007bff 100%);
        }

        .theme-dark {
            --primary-color: #343a40;
            --primary-gradient: linear-gradient(135deg, #343a40 0%, #495057 100%);
        }

        .theme-purple {
            --primary-color: #6f42c1;
            --primary-gradient: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
        }

        .theme-pink {
            --primary-color: #e83e8c;
            --primary-gradient: linear-gradient(135deg, #e83e8c 0%, #fd7e14 100%);
        }

        .theme-indigo {
            --primary-color: #6610f2;
            --primary-gradient: linear-gradient(135deg, #6610f2 0%, #6f42c1 100%);
        }

        .theme-teal {
            --primary-color: #20c997;
            --primary-gradient: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
        }

        .theme-orange {
            --primary-color: #fd7e14;
            --primary-gradient: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
        }

        .theme-cyan {
            --primary-color: #00d4ff;
            --primary-gradient: linear-gradient(135deg, #00d4ff 0%, #17a2b8 100%);
        }

        .theme-emerald {
            --primary-color: #10b981;
            --primary-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
        }

        .theme-rose {
            --primary-color: #f43f5e;
            --primary-gradient: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
        }

        .theme-violet {
            --primary-color: #8b5cf6;
            --primary-gradient: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
        }

        .theme-slate {
            --primary-color: #64748b;
            --primary-gradient: linear-gradient(135deg, #64748b 0%, #475569 100%);
        }

        .theme-lime {
            --primary-color: #84cc16;
            --primary-gradient: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
        }

        .theme-amber {
            --primary-color: #f59e0b;
            --primary-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        }

        .theme-sky {
            --primary-color: #0ea5e9;
            --primary-gradient: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
        }

        .theme-red {
            --primary-color: #ef4444;
            --primary-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        }

        .theme-blue {
            --primary-color: #3b82f6;
            --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        }

        /* Variantes de enfoque para todos los themes */
        .theme-danger .form-control:focus,
        .theme-danger .form-select:focus {
            border-color: #dc3545;
            box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
        }

        .theme-warning .form-control:focus,
        .theme-warning .form-select:focus {
            border-color: #ffc107;
            box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
        }

        .theme-info .form-control:focus,
        .theme-info .form-select:focus {
            border-color: #17a2b8;
            box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
        }

        .theme-dark .form-control:focus,
        .theme-dark .form-select:focus {
            border-color: #343a40;
            box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.25);
        }

        .theme-purple .form-control:focus,
        .theme-purple .form-select:focus {
            border-color: #6f42c1;
            box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
        }

        .theme-pink .form-control:focus,
        .theme-pink .form-select:focus {
            border-color: #e83e8c;
            box-shadow: 0 0 0 0.2rem rgba(232, 62, 140, 0.25);
        }

        .theme-indigo .form-control:focus,
        .theme-indigo .form-select:focus {
            border-color: #6610f2;
            box-shadow: 0 0 0 0.2rem rgba(102, 16, 242, 0.25);
        }

        .theme-teal .form-control:focus,
        .theme-teal .form-select:focus {
            border-color: #20c997;
            box-shadow: 0 0 0 0.2rem rgba(32, 201, 151, 0.25);
        }

        .theme-orange .form-control:focus,
        .theme-orange .form-select:focus {
            border-color: #fd7e14;
            box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.25);
        }

        .theme-cyan .form-control:focus,
        .theme-cyan .form-select:focus {
            border-color: #00d4ff;
            box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
        }

        .theme-emerald .form-control:focus,
        .theme-emerald .form-select:focus {
            border-color: #10b981;
            box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
        }

        .theme-rose .form-control:focus,
        .theme-rose .form-select:focus {
            border-color: #f43f5e;
            box-shadow: 0 0 0 0.2rem rgba(244, 63, 94, 0.25);
        }

        .theme-violet .form-control:focus,
        .theme-violet .form-select:focus {
            border-color: #8b5cf6;
            box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25);
        }

        .theme-slate .form-control:focus,
        .theme-slate .form-select:focus {
            border-color: #64748b;
            box-shadow: 0 0 0 0.2rem rgba(100, 116, 139, 0.25);
        }

        .theme-lime .form-control:focus,
        .theme-lime .form-select:focus {
            border-color: #84cc16;
            box-shadow: 0 0 0 0.2rem rgba(132, 204, 22, 0.25);
        }

        .theme-amber .form-control:focus,
        .theme-amber .form-select:focus {
            border-color: #f59e0b;
            box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25);
        }

        .theme-sky .form-control:focus,
        .theme-sky .form-select:focus {
            border-color: #0ea5e9;
            box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.25);
        }

        .theme-red .form-control:focus,
        .theme-red .form-select:focus {
            border-color: #ef4444;
            box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25);
        }

        .theme-blue .form-control:focus,
        .theme-blue .form-select:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
        }

        /* Variantes de paginación para todos los themes */
        .theme-danger .pagination .page-link:hover,
        .theme-danger .pagination .page-item.active .page-link {
            background-color: #dc3545;
            border-color: #dc3545;
            box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
        }

        .theme-warning .pagination .page-link:hover,
        .theme-warning .pagination .page-item.active .page-link {
            background-color: #ffc107;
            border-color: #ffc107;
            color: #212529;
            box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
        }

        .theme-info .pagination .page-link:hover,
        .theme-info .pagination .page-item.active .page-link {
            background-color: #17a2b8;
            border-color: #17a2b8;
            box-shadow: 0 4px 8px rgba(23, 162, 184, 0.3);
        }

        .theme-dark .pagination .page-link:hover,
        .theme-dark .pagination .page-item.active .page-link {
            background-color: #343a40;
            border-color: #343a40;
            box-shadow: 0 4px 8px rgba(52, 58, 64, 0.3);
        }

        .theme-purple .pagination .page-link:hover,
        .theme-purple .pagination .page-item.active .page-link {
            background-color: #6f42c1;
            border-color: #6f42c1;
            box-shadow: 0 4px 8px rgba(111, 66, 193, 0.3);
        }

        .theme-pink .pagination .page-link:hover,
        .theme-pink .pagination .page-item.active .page-link {
            background-color: #e83e8c;
            border-color: #e83e8c;
            box-shadow: 0 4px 8px rgba(232, 62, 140, 0.3);
        }

        .theme-indigo .pagination .page-link:hover,
        .theme-indigo .pagination .page-item.active .page-link {
            background-color: #6610f2;
            border-color: #6610f2;
            box-shadow: 0 4px 8px rgba(102, 16, 242, 0.3);
        }

        .theme-teal .pagination .page-link:hover,
        .theme-teal .pagination .page-item.active .page-link {
            background-color: #20c997;
            border-color: #20c997;
            box-shadow: 0 4px 8px rgba(32, 201, 151, 0.3);
        }

        .theme-orange .pagination .page-link:hover,
        .theme-orange .pagination .page-item.active .page-link {
            background-color: #fd7e14;
            border-color: #fd7e14;
            box-shadow: 0 4px 8px rgba(253, 126, 20, 0.3);
        }

        .theme-cyan .pagination .page-link:hover,
        .theme-cyan .pagination .page-item.active .page-link {
            background-color: #00d4ff;
            border-color: #00d4ff;
            color: #212529;
            box-shadow: 0 4px 8px rgba(0, 212, 255, 0.3);
        }

        .theme-emerald .pagination .page-link:hover,
        .theme-emerald .pagination .page-item.active .page-link {
            background-color: #10b981;
            border-color: #10b981;
            box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
        }

        .theme-rose .pagination .page-link:hover,
        .theme-rose .pagination .page-item.active .page-link {
            background-color: #f43f5e;
            border-color: #f43f5e;
            box-shadow: 0 4px 8px rgba(244, 63, 94, 0.3);
        }

        .theme-violet .pagination .page-link:hover,
        .theme-violet .pagination .page-item.active .page-link {
            background-color: #8b5cf6;
            border-color: #8b5cf6;
            box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
        }

        .theme-slate .pagination .page-link:hover,
        .theme-slate .pagination .page-item.active .page-link {
            background-color: #64748b;
            border-color: #64748b;
            box-shadow: 0 4px 8px rgba(100, 116, 139, 0.3);
        }

        .theme-lime .pagination .page-link:hover,
        .theme-lime .pagination .page-item.active .page-link {
            background-color: #84cc16;
            border-color: #84cc16;
            color: #212529;
            box-shadow: 0 4px 8px rgba(132, 204, 22, 0.3);
        }

        .theme-amber .pagination .page-link:hover,
        .theme-amber .pagination .page-item.active .page-link {
            background-color: #f59e0b;
            border-color: #f59e0b;
            color: #212529;
            box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
        }

        .theme-sky .pagination .page-link:hover,
        .theme-sky .pagination .page-item.active .page-link {
            background-color: #0ea5e9;
            border-color: #0ea5e9;
            box-shadow: 0 4px 8px rgba(14, 165, 233, 0.3);
        }

        .theme-red .pagination .page-link:hover,
        .theme-red .pagination .page-item.active .page-link {
            background-color: #ef4444;
            border-color: #ef4444;
            box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
        }

        .theme-blue .pagination .page-link:hover,
        .theme-blue .pagination .page-item.active .page-link {
            background-color: #3b82f6;
            border-color: #3b82f6;
            box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
        }

        /* Encabezados de página para todos los themes */
        .theme-danger .page-header.primary {
            background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
        }

        .theme-warning .page-header.primary {
            background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
        }

        .theme-info .page-header.primary {
            background: linear-gradient(135deg, #17a2b8 0%, #007bff 100%);
        }

        .theme-dark .page-header.primary {
            background: linear-gradient(135deg, #343a40 0%, #495057 100%);
        }

        .theme-purple .page-header.primary {
            background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
        }

        .theme-pink .page-header.primary {
            background: linear-gradient(135deg, #e83e8c 0%, #fd7e14 100%);
        }

        .theme-indigo .page-header.primary {
            background: linear-gradient(135deg, #6610f2 0%, #6f42c1 100%);
        }

        .theme-teal .page-header.primary {
            background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
        }

        .theme-orange .page-header.primary {
            background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
        }

        .theme-cyan .page-header.primary {
            background: linear-gradient(135deg, #00d4ff 0%, #17a2b8 100%);
        }

        .theme-emerald .page-header.primary {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        }

        .theme-rose .page-header.primary {
            background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
        }

        .theme-violet .page-header.primary {
            background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
        }

        .theme-slate .page-header.primary {
            background: linear-gradient(135deg, #64748b 0%, #475569 100%);
        }

        .theme-lime .page-header.primary {
            background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
        }

        .theme-amber .page-header.primary {
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        }

        .theme-sky .page-header.primary {
            background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
        }

        .theme-red .page-header.primary {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        }

        .theme-blue .page-header.primary {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        }

        .gradient-bg {
            background: var(--primary-gradient);
        }

        .shadow-modern {
            box-shadow: var(--card-shadow);
        }

        .shadow-modern-hover {
            box-shadow: var(--card-shadow-hover);
        }

        /* Modern Navbar */
        .navbar {
            background: rgba(255, 255, 255, 0.95) !important;
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
            padding: 0.75rem 0;
            position: sticky;
            top: 0;
            z-index: 1030;
        }

        .navbar-brand img {
            transition: var(--transition);
            filter: brightness(1.1);
        }

        .navbar-brand:hover img {
            transform: scale(1.05);
        }

        .nav-link {
            font-weight: 500;
            color: var(--secondary-color) !important;
            padding: 0.5rem 1rem !important;
            border-radius: var(--border-radius);
            transition: var(--transition);
            position: relative;
        }

        .nav-link:hover {
            color: var(--primary-color) !important;
            background-color: rgba(37, 99, 235, 0.1);
        }

        .nav-link.active {
            color: var(--primary-color) !important;
            background-color: rgba(37, 99, 235, 0.1);
        }

        .dropdown-menu {
            border: none;
            box-shadow: var(--shadow-lg);
            border-radius: var(--border-radius);
            padding: 0.5rem;
            margin-top: 0.5rem;
        }

        .dropdown-item {
            padding: 0.5rem 1rem;
            border-radius: calc(var(--border-radius) - 0.25rem);
            font-weight: 500;
            transition: var(--transition);
        }

        .dropdown-item:hover {
            background-color: rgba(37, 99, 235, 0.1);
            color: var(--primary-color);
        }

        .btn-outline-success {
            border-color: var(--success-color);
            color: var(--success-color);
            font-weight: 500;
            padding: 0.5rem 1.5rem;
            border-radius: var(--border-radius);
            transition: var(--transition);
        }

        .btn-outline-success:hover {
            background-color: var(--success-color);
            border-color: var(--success-color);
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }

        /* Main content area */
        main {
            min-height: calc(100vh - 80px);
            padding: 0;
        }

        /* Loading indicator */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.9);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid var(--border-color);
            border-top: 4px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Responsive improvements */
        @media (max-width: 991px) {
            .navbar-collapse {
                background: white;
                margin-top: 1rem;
                padding: 1rem;
                border-radius: var(--border-radius);
                box-shadow: var(--shadow-md);
            }
        }

        /* Dark mode support */
        @media (prefers-color-scheme: dark) {
            body {
                background-color: #0f172a;
                color: #e2e8f0;
            }
            
            .navbar {
                background: rgba(15, 23, 42, 0.95) !important;
                border-bottom-color: #334155;
            }
        }