 /* Content Area */
        .content-wrapper {
            padding: 2.25rem;
        }

        .page-header {
            margin-bottom: 2.25rem;
        }

        .page-title {
            font-size: 2.5rem;
            font-weight: 900;
            color: var(--text-dark);
            margin-bottom: 0.625rem;
            letter-spacing: -1px;
        }

        .page-subtitle {
            color: var(--text);
            font-size: 1.05rem;
            font-weight: 400;
        }

        .card {
            background: white;
            border: 2px solid var(--border);
            border-radius: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            margin-bottom: 2.25rem;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 30px rgba(220, 38, 38, 0.15);
            border-color: var(--primary);
        }

        .card-header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: white;
            padding: 1.5rem 2rem;
            border: none;
            font-weight: 700;
            font-size: 1.1rem;
        }

        .card-body {
            padding: 2rem;
        }

        .upload-section {
            background: white;
            padding: 2.5rem;
            border-radius: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            margin-bottom: 2.25rem;
            border: 2px solid var(--border);
        }

        .upload-area {
            border: 3px dashed var(--border);
            border-radius: 8px;
            padding: 4rem 2rem;
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
            background: var(--light);
            position: relative;
        }

        .upload-area:hover {
            border-color: var(--primary);
            background: #e7f3ff;
        }

        .upload-area.dragover {
            border-color: var(--success);
            background: #e8f5e9;
        }

        .upload-icon {
            font-size: 4.5rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
            display: inline-block;
        }

        .upload-area h5 {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }

        .upload-area p {
            color: var(--text);
            font-size: 0.95rem;
        }

        .file-input {
            display: none;
        }

        .btn-primary {
            background: var(--primary);
            border: none;
            padding: 0.75rem 2rem;
            border-radius: 6px;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
        }

        .btn-outline-primary {
            border: 2px solid var(--primary);
            color: var(--primary);
            background: transparent;
            padding: 0.75rem 2rem;
            border-radius: 6px;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .btn-outline-primary:hover {
            background: var(--primary);
            color: white;
        }

        .preview-section {
            background: white;
            padding: 2rem;
            border-radius: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            margin-bottom: 2.25rem;
            display: none;
            border: 2px solid var(--border);
        }

        .preview-section.active {
            display: block;
        }

        .product-preview {
            background: var(--light);
            padding: 1.25rem;
            border-radius: 6px;
            margin-bottom: 0.75rem;
            border-left: 4px solid var(--primary);
            transition: all 0.3s ease;
        }

        .product-preview:hover {
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .product-preview.error {
            border-left-color: var(--danger);
            background: #fff5f5;
        }

        .product-preview strong {
            color: var(--text-dark);
            font-size: 1.05rem;
        }

        .progress-section {
            background: white;
            padding: 2.5rem;
            border-radius: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            margin-bottom: 2.25rem;
            display: none;
            text-align: center;
            border: 2px solid var(--border);
        }

        .progress-section.active {
            display: block;
        }

        .progress {
            height: 12px;
            border-radius: 6px;
            background: var(--border);
            overflow: hidden;
        }

        .progress-bar {
            background: var(--primary);
            border-radius: 6px;
            transition: width 0.3s ease;
        }

        .results-section {
            background: white;
            padding: 2.5rem;
            border-radius: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            display: none;
            border: 2px solid var(--border);
        }

        .results-section.active {
            display: block;
        }

        .stat-card {
            background: var(--primary);
            color: white;
            padding: 2rem;
            border-radius: 8px;
            text-align: center;
            margin-bottom: 1rem;
            transition: transform 0.3s ease;
        }

        .stat-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .stat-card.success {
            background: var(--success);
        }

        .stat-card.danger {
            background: var(--danger);
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            position: relative;
            z-index: 1;
        }

        .stat-label {
            font-size: 0.95rem;
            opacity: 0.95;
            font-weight: 500;
            position: relative;
            z-index: 1;
        }

        .btn-import {
            background: var(--success);
            color: white;
            border: none;
            padding: 1rem 2.5rem;
            border-radius: 6px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            width: 100%;
        }

        .btn-import:hover {
            background: #218838;
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
        }

        .btn-import:disabled {
            background: #6c757d;
            cursor: not-allowed;
            transform: none;
        }

        .error-list {
            max-height: 300px;
            overflow-y: auto;
            background: #fff5f5;
            padding: 1.25rem;
            border-radius: 6px;
            margin-top: 1rem;
            border: 1px solid #fecaca;
        }

        .error-item {
            padding: 0.75rem;
            border-bottom: 1px solid #fecaca;
            color: var(--danger);
            font-size: 0.9rem;
        }

        .error-item:last-child {
            border-bottom: none;
        }

        .example-section {
            background: #e7f3ff;
            padding: 2rem;
            border-radius: 8px;
            margin-bottom: 2rem;
            border: 1px solid #b3d9ff;
        }

        .example-section h5 {
            color: var(--text-dark);
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .example-section code {
            background: white;
            padding: 1.25rem;
            border-radius: 6px;
            display: block;
            overflow-x: auto;
            border: 1px solid var(--border);
            font-size: 0.875rem;
        }

        .form-select,
        .form-control {
            border-radius: 6px;
            border: 1px solid var(--border);
            padding: 0.75rem 1rem;
            transition: all 0.3s ease;
        }

        .form-select:focus,
        .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
        }

        /* Custom Dropdown Styles */
        .filter-box {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            position: relative;
            z-index: 1;
        }

        .filter-box:has(.custom-dropdown.active) {
            z-index: 10001;
        }

        .filter-label {
            font-weight: 600;
            color: var(--text-dark);
            font-size: 0.95rem;
            margin: 0;
        }

        .custom-dropdown {
            position: relative;
            width: 100%;
            z-index: 1;
        }

        .custom-dropdown.active {
            z-index: 10001 !important;
            position: relative;
        }

        .custom-dropdown.active .custom-dropdown-menu {
            z-index: 10001 !important;
        }

        .custom-dropdown-btn {
            width: 100%;
            border: 2px solid var(--border);
            border-radius: 12px;
            padding: 0.75rem 1rem;
            font-size: 0.9rem;
            background: white;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            color: var(--text-dark);
            font-weight: 500;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            text-align: left;
        }

        .custom-dropdown-btn:hover {
            border-color: var(--primary);
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
        }

        .custom-dropdown-btn:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
            background: white;
        }

        .custom-dropdown-btn:disabled {
            background: var(--light);
            color: var(--text);
            cursor: not-allowed;
            opacity: 0.7;
        }

        .custom-dropdown-btn i {
            font-size: 0.75rem;
            transition: transform 0.3s ease;
            color: var(--text);
        }

        .custom-dropdown.active .custom-dropdown-btn i {
            transform: rotate(180deg);
        }

        .custom-dropdown-menu {
            position: absolute;
            top: calc(100% + 5px);
            left: 0;
            right: 0;
            background: white !important;
            border: 2px solid var(--border);
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(220, 38, 38, 0.2);
            z-index: 10001 !important;
            max-height: 300px;
            overflow-y: auto;
            overflow-x: hidden;
            display: none;
        }

        .custom-dropdown.active .custom-dropdown-menu {
            display: block;
        }

        .custom-dropdown-items {
            max-height: 300px;
            overflow-y: auto;
            background: white !important;
        }

        .custom-dropdown-item {
            padding: 0.75rem 1rem;
            cursor: pointer;
            transition: all 0.2s ease;
            border-bottom: 1px solid var(--border);
            color: var(--text-dark);
            font-weight: 500;
            background: white !important;
        }

        .custom-dropdown-item:last-child {
            border-bottom: none;
        }

        .custom-dropdown-item:hover {
            background: var(--light) !important;
            color: var(--primary);
        }

        .custom-dropdown-item.selected {
            color: var(--primary);
            font-weight: 600;
            background: rgba(220, 38, 38, 0.08) !important;
        }

        .alert {
            border-radius: 6px;
            border: 1px solid;
            padding: 1.25rem;
            margin-bottom: 1.5rem;
        }

        .alert-info {
            background: #e7f3ff;
            color: var(--info);
            border-color: #b3d9ff;
        }

        h4 {
            color: var(--text-dark);
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .text-muted {
            color: var(--text) !important;
        }

        #fileName {
            background: #e8f5e9;
            padding: 1rem;
            border-radius: 6px;
            border: 1px solid #c8e6c9;
            color: var(--success);
            font-weight: 500;
        }

        /* Sidebar Toggle States */
        .sidebar.hidden {
            transform: translateX(-100%);
            left: -100%;
        }

        .main-content.sidebar-hidden {
            margin-left: 0;
        }

        /* Desktop toggle support */
        @media (min-width: 1025px) {
            .sidebar.hidden {
                transform: translateX(-100%);
                left: -100%;
            }

            .main-content.sidebar-hidden {
                margin-left: 0;
            }
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .sidebar {
                left: -100%;
            }

            .sidebar.active {
                left: 0;
            }

            .main-content {
                margin-left: 0;
            }

            .menu-toggle {
                display: block;
            }
        }

        @media (max-width: 768px) {
            .content-wrapper {
                padding: 1.5rem;
            }
        }

        .sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar::-webkit-scrollbar-track {
            background: transparent;
        }

        .sidebar::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 3px;
        }

        .sidebar::-webkit-scrollbar-thumb:hover {
            background: var(--primary);
        }

        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .sidebar-overlay.active {
            display: block;
            opacity: 1;
        }