
        /* Variables de colores - MISMO ESQUEMA GRIS QUE OTRAS PÁGINAS */
        /* Updated color variables to match landing page dark slate theme with green neon accents */
        :root {
            --primary-color: #0f172a;
            --primary-dark: #cbd5e1;
            --primary-light: #ffffff;
            --secondary-color: #0f172a;
            --secondary-dark: #ffffff;
            --success-color: #4f46e5;
            --danger-color: #ef4444;
            --warning-color: #f59e0b;
            --info-color: #3b82f6;
            --dark-color: #0f172a;
            --light-color: #f8fafc;
            --gray-color: #475569;
            --white: #f8fafc;
            --accent-color: #ffffff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }

        /* Updated body background to dark slate */
        body {
            background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
            color: #0f172a;
            line-height: 1.6;
            min-height: 100vh;
        }

        /* HEADER EXACTAMENTE IGUAL QUE OTRAS PÁGINAS */
        /* Updated header gradient to dark slate colors */
        header {
            background: linear-gradient(135deg, 
                #ffffff 0%, 
                #ffffff 50%, 
                #ffffff 100%);
            backdrop-filter: blur(20px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            position: sticky;
            top: 0;
            z-index: 1000;
            overflow: hidden;
            padding: 1rem 0;
            border-bottom: 1px solid #e2e8f0;
        }

        header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(148, 163, 184, 0.05) 50%, 
                transparent 100%);
            animation: shimmer 3s ease-in-out infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
            z-index: 2;
            gap: 15px;
        }

        .logo {
            display: flex;
            align-items: center;
            flex-shrink: 0;
        }

        /* LOGO SIN BRILLO - EXACTAMENTE IGUAL QUE INDEX */
        .logo img {
            max-width: 80px;
            height: auto;
            border-radius: 8px;
            transition: all 0.3s ease;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
        }

        .logo img:hover {
            transform: scale(1.1) rotate(2deg);
            filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
        }

        .header-info {
            display: flex;
            align-items: center;
            gap: 1rem;
            color: #0f172a;
        }

        /* Updated admin badge background */
        .admin-badge {
            background: rgba(148, 163, 184, 0.1);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            border: 1px solid #e2e8f0;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 0.5rem;
            flex-shrink: 0;
        }

        .nav-links li {
            margin: 0;
        }

        /* Updated nav links background and hover effects */
        .nav-links a {
            color: #0f172a;
            text-decoration: none;
            padding: 0.8rem 1.2rem;
            border-radius: 12px;
            transition: all 0.3s ease;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
            overflow: hidden;
            background: rgba(148, 163, 184, 0.08);
            border: 1px solid #e2e8f0;
            backdrop-filter: blur(10px);
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(148, 163, 184, 0.1), 
                transparent);
            transition: left 0.5s ease;
        }

        .nav-links a:hover::before {
            left: 100%;
        }

        .nav-links a:hover {
            background: rgba(148, 163, 184, 0.15);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            border-color: #cbd5e1;
        }

        .nav-links i {
            font-size: 1.1em;
        }

        /* TOGGLE SIDEBAR BUTTON */
        .toggle-sidebar {
            background: none;
            border: none;
            color: #0f172a;
            font-size: 1.3rem;
            cursor: pointer;
            display: none;
            margin-right: 15px;
            padding: 8px;
            border-radius: 6px;
            transition: all 0.3s;
        }

        /* Updated toggle sidebar hover background */
        .toggle-sidebar:hover {
            background-color: rgba(148, 163, 184, 0.15);
        }

        /* LAYOUT PRINCIPAL */
        .admin-layout {
            display: flex;
            min-height: calc(100vh - 80px);
        }

        /* SIDEBAR */
        /* Updated sidebar background to dark slate gradient */
        .sidebar {
            width: 280px;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            color: #0f172a;
            transition: transform 0.3s ease;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
            overflow-y: auto;
            position: relative;
        }

        .sidebar-header {
            padding: 1.5rem;
            text-align: center;
            border-bottom: 1px solid #e2e8f0;
            background: rgba(148, 163, 184, 0.05);
        }

        .sidebar-header h3 {
            font-size: 1.2rem;
            margin: 0;
            color: #0f172a;
            font-weight: 600;
        }

        /* MENÚ SIDEBAR */
        .sidebar-menu {
            padding: 1rem 0;
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        .menu-item {
            display: block;
            width: 100%;
            padding: 1rem 1.5rem;
            color: #0f172a;
            text-decoration: none;
            transition: all 0.3s ease;
            border-left: 4px solid transparent;
            margin: 0;
            margin-bottom: 2px;
            font-size: 1rem;
            font-weight: 500;
            position: relative;
            background: transparent;
            border-radius: 0;
            text-align: left;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Updated menu item hover and active states with green neon */
        .menu-item:hover {
            background: rgba(148, 163, 184, 0.1);
            border-left-color: #0f172a;
            transform: translateX(5px);
        }

        .menu-item.active {
            background: rgba(226, 232, 240, 0.1);
            border-left-color: #0f172a;
            color: #0f172a;
            font-weight: 600;
        }

        .menu-item i {
            margin-right: 12px;
            width: 20px;
            text-align: center;
            font-size: 1.1em;
            display: inline-block;
            vertical-align: middle;
        }

        .menu-item span {
            display: inline-block;
            vertical-align: middle;
        }

        /* CONTENIDO PRINCIPAL */
        .main-content {
            flex: 1;
            padding: 2rem;
            overflow-x: auto;
        }

        /* SECCIONES */
        .content-section {
            display: none;
        }

        .content-section.active {
            display: block;
        }

        /* Updated section backgrounds to dark slate */
        .section {
            background: #ffffff;
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            border: 1px solid #e2e8f0;
        }

        .section h2 {
            margin-top: 0;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #e2e8f0;
            color: #0f172a;
            font-size: 1.4rem;
            display: flex;
            align-items: center;
            font-weight: 600;
        }

        .section h2 i {
            margin-right: 12px;
            color: #475569;
        }

        /* DASHBOARD STATS */
        .dashboard-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        /* Updated stat card backgrounds and colors */
        .stat-card {
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
            position: relative;
            overflow: hidden;
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #cbd5e1 0%, #64748b 100%);
        }

        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            border-color: #cbd5e1;
        }

        .stat-card h3 {
            margin: 0 0 1rem 0;
            color: #0f172a;
            font-size: 1.2rem;
            font-weight: 600;
        }

        .stat-value {
            font-size: 2.2rem;
            color: #0f172a;
            margin: 1rem 0;
            font-weight: 700;
        }

        .stat-card i {
            font-size: 2.2rem;
            color: #475569;
            margin-bottom: 1rem;
        }

        .stat-card p {
            color: #475569;
            font-weight: 500;
        }

        /* FORMULARIOS */
        .admin-form {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        /* Updated form group label and input colors */
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: #0f172a;
            font-size: 1rem;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background-color: #f8fafc;
            color: #0f172a;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #475569;
            box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.2);
            background-color: #ffffff;
        }

        .form-group textarea {
            min-height: 100px;
            resize: vertical;
        }

        /* BOTONES */
        /* Updated button colors to green neon gradient */
        .btn {
            display: inline-block;
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background: var(--primary-color, #4f46e5);
            color: #ffffff;
            box-shadow: none;
            text-decoration: none;
        }

        .btn:hover {
            background: var(--primary-dark, #4338ca);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .btn-small {
            padding: 8px 16px;
            font-size: 0.9rem;
        }

        .btn-success {
            background: var(--primary-color, #4f46e5);
            color: #ffffff;
        }

        .btn-success:hover {
            background: var(--primary-dark, #4338ca);
        }

        .btn-danger {
            background: #ef4444;
            border-color: #ef4444;
        }

        .btn-danger:hover:not(:disabled) {
            background: #dc2626;
            border-color: #dc2626;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
        }

        .btn-danger:disabled {
            background: #ccc;
            border-color: #ccc;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        /* TABLAS */
        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 1.5rem;
            background: #ffffff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        table th {
            background: #ffffff;
            padding: 15px;
            text-align: left;
            font-weight: 600;
            color: #0f172a;
            border-bottom: 2px solid #e2e8f0;
        }

        table td {
            padding: 15px;
            border-bottom: 1px solid #e2e8f0;
            vertical-align: middle;
            color: #0f172a;
        }

        table tr:last-child td {
            border-bottom: none;
        }

        table tr:hover {
            background: rgba(148, 163, 184, 0.05);
        }

        /* ALERTAS */
        .alert {
            padding: 15px 20px;
            margin-bottom: 1.5rem;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 500;
        }

        .alert-success {
            background: rgba(79, 70, 229, 0.1);
            color: #4f46e5;
            border-left: 4px solid #4f46e5;
        }

        .alert-danger {
            background: rgba(239, 68, 68, 0.1);
            color: #ef4444;
            border-left: 4px solid #ef4444;
        }

        .alert i {
            font-size: 1.2rem;
        }

        /* IMÁGENES */
        .service-image {
            max-width: 80px;
            max-height: 80px;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .preview-image {
            max-width: 200px;
            max-height: 200px;
            margin: 15px 0;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .image-preview-container {
            margin: 15px 0;
            text-align: center;
        }

        /* CONTENEDOR DE CUENTAS */
        .cuentas-container {
            max-width: 2000px;
            overflow-wrap: break-word;
            word-wrap: break-word;
            padding: 10px;
            border-radius: 6px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            font-size: 0.9rem;
            color: #0f172a;
        }

        .cuentas-container.editing {
            border: 2px solid #64748b;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.2);
        }

        /* ATRIBUTOS */
        /* Updated attribute tag background */
        .attribute-tag {
            display: inline-flex;
            align-items: center;
            padding: 4px 12px;
            background: rgba(148, 163, 184, 0.15);
            color: #0f172a;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid #e2e8f0;
        }

        /* Updated checkbox list background */
        .checkbox-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 12px;
            margin-top: 15px;
            background: #f8fafc;
            padding: 15px;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
        }

        .checkbox-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .checkbox-item:hover {
            background: rgba(148, 163, 184, 0.1);
        }

        .checkbox-item input[type="checkbox"] {
            margin: 0;
            width: 18px;
            height: 18px;
            accent-color: #475569;
        }

        .checkbox-item label {
            font-weight: 500;
            color: #0f172a;
            cursor: pointer;
        }

        /* BÚSQUEDA */
        /* Updated search box background */
        .search-box {
            margin-bottom: 2rem;
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            background: #ffffff;
            padding: 1.5rem;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
        }

        .search-input {
            flex: 1;
            min-width: 200px;
            padding: 12px 15px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background-color: #f8fafc;
            color: #0f172a;
        }

        .search-input:focus {
            border-color: #475569;
            box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.2);
        }

        .search-button {
            background: #e2e8f0;
            color: #f8fafc;
            border: none;
            border-radius: 8px;
            padding: 12px 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
        }

        .search-button:hover {
            background: #cbd5e1;
            transform: translateY(-2px);
        }

        .search-button.reset {
            background: #64748b;
        }

        .search-button.reset:hover {
            background: #cbd5e1;
        }

        /* PAGINACIÓN */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 2rem 0;
            gap: 20px;
        }

        /* Updated pagination info color */
        .pagination-info {
            margin: 0 15px;
            color: #475569;
            font-size: 1rem;
            font-weight: 500;
        }

        /* Updated form edit backgrounds */
        #formulario_edicion_usuario,
        #formulario_edicion_servicio {
            display: none;
            margin-top: 2rem;
            padding: 2rem;
            background: #ffffff;
            border-radius: 8px;
            border-left: 4px solid #cbd5e1;
            border: 1px solid #e2e8f0;
        }

        #formulario_edicion_usuario.active,
        #formulario_edicion_servicio.active {
            display: block;
        }

        /* ESTILOS PARA REGISTRO DE CRÉDITOS */
        .credit-info {
            display: flex;
            flex-direction: column;
            gap: 4px;
            font-size: 0.9rem;
        }

        .credit-available {
            color: #0f172a;
            font-weight: 600;
        }

        .credit-spent {
            color: #ef4444;
            font-weight: 500;
        }

        .credit-total {
            color: #475569;
            font-size: 0.8rem;
        }

        .credit-badge {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-left: 8px;
        }

        /* Updated credit badge colors */
        .credit-badge.available {
            background: rgba(148, 163, 184, 0.15);
            color: #475569;
        }

        .credit-badge.spent {
            background: rgba(239, 68, 68, 0.2);
            color: #ef4444;
        }

        .credit-summary {
            background: #f8fafc;
            padding: 15px;
            border-radius: 8px;
            margin: 10px 0;
            border-left: 4px solid #cbd5e1;
        }

        .credit-summary h4 {
            margin: 0 0 10px 0;
            color: #0f172a;
            font-size: 1rem;
        }

        .credit-summary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
        }

        .credit-summary-item {
            text-align: center;
            padding: 10px;
            background: #ffffff;
            border-radius: 6px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .credit-summary-item .value {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .credit-summary-item .label {
            font-size: 0.8rem;
            color: #475569;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* RESPONSIVE DESIGN */
        @media (max-width: 992px) {
            .toggle-sidebar {
                display: block;
            }

            .sidebar {
                position: fixed;
                top: 80px;
                left: 0;
                height: calc(100vh - 80px);
                z-index: 999;
                transform: translateX(-100%);
            }

            .sidebar.active {
                transform: translateX(0);
            }

            .main-content {
                margin-left: 0;
            }

            .dashboard-stats {
                grid-template-columns: 1fr;
            }

            .search-box {
                flex-direction: column;
            }

            .search-input {
                min-width: auto;
            }

            .credit-summary-grid {
                grid-template-columns: 1fr;
            }

            /* Ensuring table scrolls horizontally on mobile */
            .reports-table-container {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .reports-table {
                min-width: 800px;
            }

            .reports-table th,
            .reports-table td {
                white-space: nowrap;
                min-width: 120px;
            }

            .reports-table th:first-child,
            .reports-table td:first-child {
                position: sticky;
                left: 0;
                background: #ffffff;
                z-index: 1;
            }

            .reports-table th:first-child {
                background: #f8fafc;
            }
        }

        @media (max-width: 768px) {
            nav {
                padding: 0 1rem;
                gap: 0.3rem;
            }

            .logo img {
                max-width: 80px;
            }

            .admin-badge {
                display: none;
            }

            .nav-links {
                gap: 0.3rem;
            }

            .nav-links a {
                padding: 0.8rem 1.2rem;
                font-size: 0.9em;
            }

            .nav-links a span {
                display: none;
            }

            .nav-links a i {
                font-size: 1.2em;
            }

            .main-content {
                padding: 1rem;
            }

            .section {
                padding: 1.5rem;
            }

            .section h2 {
                font-size: 1.2rem;
            }

            .form-group input,
            .form-group select,
            .form-group textarea {
                padding: 10px 12px;
            }

            .btn {
                padding: 10px 20px;
            }

            table th,
            table td {
                padding: 10px;
                font-size: 0.9rem;
            }

            .stat-card {
                padding: 1.5rem;
            }

            .stat-value {
                font-size: 1.8rem;
            }

            .checkbox-list {
                grid-template-columns: 1fr;
            }

            /* SIDEBAR EN MÓVIL */
            .sidebar {
                width: 260px;
            }

            .menu-item {
                padding: 0.8rem 1.2rem;
                font-size: 0.95rem;
            }

            .menu-item i {
                margin-right: 10px;
                width: 18px;
                font-size: 1em;
            }
        }

        @media (max-width: 480px) {
            nav {
                padding: 0 1rem;
            }

            .logo img {
                max-width: 70px;
            }

            .nav-links a {
                padding: 0.8rem 1.2rem;
                font-size: 0.9em;
            }

            .main-content {
                padding: 0.75rem;
            }

            .section {
                padding: 1rem;
            }

            .dashboard-stats {
                gap: 1rem;
            }

            .stat-card {
                padding: 1rem;
            }

            .stat-value {
                font-size: 1.5rem;
            }

            .cuentas-container {
                max-width: 200px;
                font-size: 0.8rem;
            }

            .service-image {
                max-width: 60px;
                max-height: 60px;
            }

            /* SIDEBAR MUY PEQUEÑO */
            .sidebar {
                width: 240px;
            }

            .sidebar-header {
                padding: 1rem;
            }

            .sidebar-header h3 {
                font-size: 1.1rem;
            }

            .menu-item {
                padding: 0.7rem 1rem;
                font-size: 0.9rem;
            }

            .menu-item i {
                margin-right: 8px;
                width: 16px;
                font-size: 0.9em;
            }

            .credit-info {
                font-size: 0.8rem;
            }
        }

        /* OVERLAY PARA SIDEBAR EN MÓVIL */
        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 998;
        }

        .sidebar-overlay.active {
            display: block;
        }

        /* TÍTULO PRINCIPAL */
        h1 {
            color: #0f172a;
            margin-bottom: 2rem;
            font-size: 2rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        h1 i {
            color: #475569;
        }

        /* DESCRIPCIÓN DE SERVICIO */
        .service-description {
            margin-top: 10px;
            padding: 10px;
            background: #f8fafc;
            border-radius: 6px;
            font-size: 0.9rem;
            color: #0f172a;
            max-height: 80px;
            overflow-y: auto;
            border: 1px solid #e2e8f0;
        }

        /* Updated service description toggle color */
        .service-description-toggle {
            color: #475569;
            cursor: pointer;
            font-size: 0.8rem;
            margin-top: 5px;
            display: inline-block;
            font-weight: 600;
        }

        .service-description-toggle:hover {
            color: #0f172a;
        }

        /* INDICADOR DE ACTUALIZACIÓN */
        /* Updated auto-update indicator background */
        .auto-update-indicator {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #e2e8f0;
            color: #0f172a;
            padding: 10px 20px;
            border-radius: 25px;
            font-size: 0.9rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            display: none;
            z-index: 1000;
            font-weight: 600;
        }

        /* ANIMACIONES */
        @keyframes fadeOut {
            from { opacity: 1; }
            to { opacity: 0; }
        }

        .auto-update-indicator {
            animation: fadeOut 1s ease-in-out forwards;
            animation-delay: 3s;
        }

        /* Agregando estilos para la sección de reportes */
        .reports-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 2rem;
        }

        /* Updated report stat card colors */
        .report-stat-card {
            background: #ffffff;
            padding: 1.5rem;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
            position: relative;
            overflow: hidden;
        }

        .report-stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
        }

        .report-stat-card.total::before {
            background: #64748b;
        }

        .report-stat-card.pendientes::before {
            background: #f59e0b;
        }

        .report-stat-card.en_proceso::before {
            background: #3b82f6;
        }

        .report-stat-card.resueltos::before {
            background: #4f46e5;
        }

        .report-stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .report-stat-card h3 {
            margin: 0 0 0.5rem 0;
            color: #0f172a;
            font-size: 1rem;
            font-weight: 600;
        }

        .report-stat-value {
            font-size: 2rem;
            font-weight: 700;
            margin: 0.5rem 0;
        }

        /* Updated report stat card colors */
        .report-stat-card.total .report-stat-value {
            color: #0f172a;
        }

        .report-stat-card.pendientes .report-stat-value {
            color: #f59e0b;
        }

        .report-stat-card.en_proceso .report-stat-value {
            color: #3b82f6;
        }

        .report-stat-card.resueltos .report-stat-value {
            color: #4f46e5;
        }

        .reports-filters {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
            align-items: center;
        }

        .filter-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .filter-group label {
            font-size: 0.875rem;
            font-weight: 600;
            color: #0f172a;
        }

        .filter-select {
            padding: 0.5rem 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            background: #f8fafc;
            color: #0f172a;
            font-size: 0.875rem;
            min-width: 150px;
        }

        .filter-select:focus {
            outline: none;
            border-color: #475569;
        }

        .reports-table-container {
            background: #ffffff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            border: 1px solid #e2e8f0;
            overflow-x: auto;
        }

        .reports-table {
            width: 100%;
            border-collapse: collapse;
        }

        .reports-table th {
            background: #f8fafc;
            color: #0f172a;
            padding: 1rem;
            text-align: left;
            font-weight: 600;
            font-size: 0.875rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .reports-table td {
            padding: 1rem;
            border-bottom: 1px solid #e2e8f0;
            vertical-align: top;
            color: #0f172a;
        }

        .reports-table tr:hover {
            background: rgba(148, 163, 184, 0.05);
        }

        .report-row {
            transition: all 0.3s ease;
        }

        .report-client {
            font-weight: 600;
            color: #0f172a;
            margin-bottom: 0.25rem;
        }

        .report-platform {
            font-size: 0.875rem;
            color: #0f172a;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .platform-badge {
            background: #0ea5e9;
            padding: 3px 8px;
            border-radius: 10px;
            font-weight: 500;
            font-size: 0.8rem;
        }

        .report-account-info {
            font-size: 0.875rem;
            color: #0f172a;
            line-height: 1.4;
        }

        .report-account-info strong {
            color: #475569;
        }

        .report-problem {
            max-width: 300px;
            font-size: 0.875rem;
            line-height: 1.4;
            color: #0f172a;
        }

        .report-problem-preview {
            display: -webkit-box;
            -webkit-line-clamp: 10;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .report-dates {
            font-size: 0.8rem;
            color: #475569;
            line-height: 1.4;
        }

        .report-dates strong {
            color: #0f172a;
        }

        .status-badge-admin {
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .status-badge-admin.pendiente {
            background: rgba(245, 158, 11, 0.1);
            color: #f59e0b;
            border: 1px solid #f59e0b;
        }

        .status-badge-admin.en_proceso {
            background: rgba(59, 130, 246, 0.1);
            color: #3b82f6;
            border: 1px solid #3b82f6;
        }

        .status-badge-admin.resuelto {
            background: rgba(79, 70, 229, 0.1);
            color: #4f46e5;
            border: 1px solid #4f46e5;
        }

        .report-actions {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            min-width: 120px;
        }

        .btn-small {
            padding: 0.4rem 0.8rem;
            font-size: 0.75rem;
            border-radius: 6px;
            border: none;
            cursor: pointer;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.25rem;
        }

        .btn-respond {
            background: var(--primary-color, #4f46e5);
            color: #ffffff;
        }

        .btn-respond:hover {
            background: var(--primary-dark, #4338ca);
            transform: translateY(-1px);
        }

        .btn-process {
            background: #3b82f6;
            color: #0f172a;
        }

        .btn-process:hover {
            background: #2563eb;
            transform: translateY(-1px);
        }

        .btn-resolve {
            background: var(--primary-color, #4f46e5);
            color: #ffffff;
        }

        .btn-resolve:hover {
            background: var(--primary-dark, #4338ca);
            transform: translateY(-1px);
        }

        /* Modal para responder reportes */
        .response-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            padding: 1rem;
        }

        .response-modal.active {
            display: flex;
        }

        .response-content {
            background: #ffffff;
            border-radius: 16px;
            width: 100%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        }

        .response-header {
            padding: 1.5rem;
            border-bottom: 1px solid #e2e8f0;
            background: #f8fafc;
            color: #0f172a;
            border-radius: 16px 16px 0 0;
        }

        .response-header h3 {
            margin: 0;
            font-size: 1.3rem;
            font-weight: 600;
        }

        .response-body {
            padding: 2rem;
        }

        .response-form {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .response-form textarea {
            width: 100%;
            min-height: 120px;
            padding: 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
            resize: vertical;
            background-color: #f8fafc;
            color: #0f172a;
        }

        .response-form textarea:focus {
            outline: none;
            border-color: #475569;
        }

        .response-actions {
            display: flex;
            gap: 1rem;
            justify-content: flex-end;
        }

        .btn-cancel {
            background: #64748b;
            color: #0f172a;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
        }

        .btn-send {
            background: #e2e8f0;
            color: #f8fafc;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
        }

        .btn-send:hover {
            background: #cbd5e1;
        }

        .empty-reports {
            text-align: center;
            padding: 3rem;
            color: #475569;
        }

        .empty-reports i {
            font-size: 4rem;
            margin-bottom: 1rem;
            color: #ffffff;
        }

        @media (max-width: 768px) {
            .reports-filters {
                flex-direction: column;
                align-items: stretch;
            }

            .filter-group {
                width: 100%;
            }

            .filter-select {
                min-width: auto;
            }

            .reports-table th,
            .reports-table td {
                padding: 0.5rem;
                font-size: 0.8rem;
            }

            .report-actions {
                min-width: 100px;
            }

            .btn-small {
                padding: 0.3rem 0.6rem;
                font-size: 0.7rem;
            }
        }

        /* Dashboard shortcut links */
        .dashboard-shortcut {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.7rem 0.75rem;
            background: #f8fafc;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            text-decoration: none;
            color: #0f172a;
            font-size: 0.82rem;
            font-weight: 600;
            transition: all 0.2s ease;
        }
        .dashboard-shortcut i {
            color: #475569;
            font-size: 0.75rem;
            width: 16px;
            text-align: center;
        }
        .dashboard-shortcut:hover {
            border-color: #cbd5e1;
            background: rgba(148,163,184,0.08);
            transform: translateY(-1px);
        }

        /* Dashboard grid responsive */
        @media (max-width: 900px) {
            .dashboard-grid {
                grid-template-columns: 1fr !important;
            }
        }
