.content-wrapper {
            padding: 20px;
        }
        .table-responsive {
            overflow-x: auto;
        }
        .table th, .table td {
            vertical-align: middle;
            white-space: nowrap;
        }
        .color-circle {
            display: inline-block;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            margin-right: 5px;
        }
        .btn-export {
            margin-left: 10px;
        }
        .stats-container {
            margin-bottom: 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        .stats-card {
            flex: 1;
            min-width: 200px;
            background: #fff;
            border-top: 3px solid;
            border-radius: 5px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        .stats-card .box-header {
            padding: 10px 15px;
            color: #fff;
            font-weight: 600;
            border-top-left-radius: 2px;
            border-top-right-radius: 2px;
        }
        .stats-card .box-body {
            padding: 15px;
            text-align: center;
            font-size: 24px;
            font-weight: bold;
            color: #333;
        }
        .stats-card .box-header i {
            margin-right: 5px;
        }
        .stats-card.vendidos .box-header {
            background: #f39c12;
            border-top-color: #f39c12;
        }
        .stats-card.no-vendidos .box-header {
            background: #00a65a;
            border-top-color: #00a65a;
        }
        .stats-card.total .box-header {
            background: #0073b7;
            border-top-color: #0073b7;
        }
        .filter-container {
            margin-bottom: 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            background: #fff;
            padding: 15px;
            border-radius: 5px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        .filter-container label {
            margin-right: 10px;
            font-weight: 600;
            color: #333;
            white-space: nowrap;
            align-self: center;
        }
        .filter-container input, .filter-container select {
            border-radius: 5px;
            border: 1px solid #ced4da;
            padding: 8px;
            font-size: 14px;
            transition: border-color 0.2s;
        }
        .filter-container input:focus, .filter-container select:focus {
            border-color: #3498db;
            box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
        }
        .filter-item {
            display: flex;
            align-items: center;
            flex: 1 1 220px;
            min-width: 220px;
            max-width: 300px;
        }
        .suggestions-list {
            list-style: none;
            padding: 0;
            margin: 5px 0 0 0;
            background: #F7F4E3;
            border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            max-height: 250px;
            overflow-y: auto;
            position: absolute;
            width: calc(100% - 30px);
            z-index: 10000;
            opacity: 0;
            transform: translateY(-10px);
            transition: opacity 0.3s ease, transform 0.3s ease;
            display: none;
        }
        .suggestions-list.show {
            opacity: 1;
            transform: translateY(0);
            display: block;
        }
        .suggestions-list li {
            padding: 14px 15px;
            color: #3C8DBC;
            font-weight: bold;
            font-size: clamp(1.8rem, 3.5vw, 1.3rem);
            cursor: pointer;
            transition: background 0.2s ease, color 0.2s ease;
        }
        .suggestions-list li:hover {
            background: #E5E7EB;
            color: #1E40AF;
        }
        .suggestions-list li:not(:last-child) {
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }
        .suggestions-list li.error {
            color: #DC2626;
            font-weight: normal;
            cursor: default;
        }
        .suggestions-list li.selected {
            background: #E5E7EB;
            color: #1E40AF;
        }
        .suggestions-list::-webkit-scrollbar {
            width: 8px;
        }
        .suggestions-list::-webkit-scrollbar-thumb {
            background: #1E3A8A;
            border-radius: 4px;
        }
        .suggestions-list::-webkit-scrollbar-track {
            background: #E5E7EB;
        }
        .input-group {
            position: relative;
        }
        .modal-robotic .modal-content {
            background: #f9f9f9;
            color: #333;
            border-radius: 10px;
            border: 2px solid #3498db;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            overflow: hidden;
        }
        .modal-robotic .modal-header {
            background: linear-gradient(90deg, #3498db, #2980b9);
            border-bottom: none;
            padding: 20px;
            color: #fff;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .modal-robotic .modal-header .close {
            color: #fff;
            opacity: 1;
            font-size: 24px;
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
        }
        .modal-robotic .modal-header .close:hover {
            background: rgba(255,255,255,0.4);
        }
        .modal-robotic .modal-body {
            padding: 25px;
            background: #fff;
            border-radius: 0 0 10px 10px;
        }
        .modal-robotic .modal-footer {
            background: #fff;
            border-top: 1px solid #ecf0f5;
            padding: 15px 20px;
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }
        .modal-robotic .btn-primary {
            background: #3498db;
            border-color: #3498db;
            transition: background 0.3s, transform 0.2s;
            padding: 10px 20px;
            font-weight: 600;
        }
        .modal-robotic .btn-primary:hover {
            background: #2980b9;
            transform: translateY(-2px);
        }
        .modal-robotic .btn-danger {
            background: #dd4b39;
            border-color: #dd4b39;
            transition: background 0.3s, transform 0.2s;
            padding: 10px 20px;
            font-weight: 600;
        }
        .modal-robotic .btn-danger:hover {
            background: #c23321;
            transform: translateY(-2px);
        }
        .modal-robotic .form-control {
            background: #ffffff;
            border: 1px solid #3498db;
            color: #333;
            transition: all 0.2s ease;
            border-radius: 5px;
            padding: 10px;
            font-size: 16px;
        }
        .modal-robotic .form-control:focus {
            border-color: #2980b9;
            box-shadow: 0 0 8px rgba(52, 152, 219, 0.4);
        }
        .modal-robotic .input-group-addon {
            background: #3498db;
            border-color: #3498db;
            color: #fff;
            border-radius: 5px 0 0 5px;
            padding: 10px;
        }
        .select2-results__options {
            height: 140px !important;
            overflow-y: scroll !important;
        }
        .select2-results__options::-webkit-scrollbar {
            width: 8px;
        }
        .select2-results__options::-webkit-scrollbar-thumb {
            background: #1E3A8A;
            border-radius: 4px;
        }
        .select2-results__options::-webkit-scrollbar-track {
            background: #E5E7EB;
        }
        .select2-color-option {
            display: flex;
            align-items: center;
            padding: 8px 12px;
            height: 35px;
        }
        .color-preview {
            display: inline-block;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            margin-right: 10px;
        }
        .panel {
            margin-bottom: 20px;
            background-color: #fff;
            border-radius: 4px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        .panel-primary {
            border-color: #3c8dbc;
        }
        .panel-heading {
            padding: 10px 15px;
            border-bottom: 1px solid transparent;
            border-top-left-radius: 3px;
            border-top-right-radius: 3px;
        }
        .panel-body {
            padding: 15px;
        }
        .hide-checkbox-container {
            display: flex;
            align-items: center;
        }
        .hide-checkbox-container label {
            margin-left: 5px;
            font-weight: 600;
            color: #333;
        }
        
        /* Nuevos estilos para edición en línea */
        .editable-cell {
            cursor: pointer;
            transition: background-color 0.2s;
        }
        .editable-cell:hover {
            background-color: #f8f9fa;
        }
        .editable-input {
            width: 100%;
            padding: 5px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        .editable-select {
            width: 100%;
            padding: 5px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        .save-btn, .cancel-btn {
            padding: 5px 10px;
            margin: 2px;
            font-size: 12px;
        }
        
        @media (max-width: 768px) {
            .box-header {
                flex-direction: column;
                align-items: flex-start;
            }
            .btn-export {
                margin-top: 10px;
            }
            .table {
                font-size: 14px;
            }
            .modal-dialog {
                margin: 10px;
            }
            .stats-container {
                flex-direction: column;
            }
            .filter-container {
                flex-direction: column;
                gap: 10px;
            }
            .filter-item {
                flex: 1 1 100%;
                max-width: 100%;
            }
            .hide-checkbox-container {
                margin-top: 10px;
            }
        }
        @media (max-width: 576px) {
            .table {
                font-size: 12px;
            }
            .btn {
                padding: 5px 10px;
                font-size: 14px;
            }
            .color-circle {
                width: 15px;
                height: 15px;
            }
        }