.dsi-debug-block {
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dsi-debug-btn {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: none;
    color: white !important;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: filter 0.2s;
}

.dsi-debug-btn:hover {
    filter: brightness(1.2);
}

.dsi-debug-block h3 {
    margin-top: 0;
    color: #3498db;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Premium DSI Smart Filters Styling */
.dsi-live-filters {
    background: rgba(20, 24, 35, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #e0e0e0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.dsi-filter-title {
    color: #00d4ff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    padding-bottom: 15px;
}

.dsi-filter-title .badge {
    background: linear-gradient(135deg, #00d4ff, #9d50bb);
    color: white;
    font-size: 0.6rem;
    padding: 3px 8px;
    border-radius: 20px;
    margin-left: 10px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.dsi-filter-group {
    margin-bottom: 25px;
}

.dsi-filter-group h5 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}

.dsi-filter-group h5:hover {
    color: #00d4ff;
}

.dsi-filter-group h5 span {
    display: flex;
    align-items: center;
}

.dsi-filter-group h5 .material-icons {
    font-size: 1.1rem;
    margin-right: 8px;
    color: #00d4ff;
}

.dsi-filter-group h5 .toggle-icon {
    font-size: 1rem;
    color: rgba(255,255,255,0.4);
    transition: transform 0.3s;
}

.dsi-filter-values {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 5px;
    transition: all 0.3s ease;
}

.dsi-checkbox .count {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 24px;
    text-align: center;
}

.dsi-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    flex-shrink: 0;
}

/* Custom Scrollbar for filter values */
.dsi-filter-values::-webkit-scrollbar {
    width: 4px;
}
.dsi-filter-values::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}
.dsi-filter-values::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 4px;
}

.dsi-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
}

.dsi-checkbox:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateX(4px);
}

.dsi-checkbox input {
    margin-right: 12px;
    accent-color: #007bff;
}

.dsi-filter-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #333;
}

.dsi-apply-btn {
    width: 100%;
    background: #007bff;
    border: none;
    color: white;
    font-weight: 700;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.dsi-apply-btn:hover {
    background: #0056b3;
}

.dsi-debug-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    font-weight: 500;
}

.dsi-status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.dsi-status-badge.ok {
    background: #27ae60;
    color: white;
}

.dsi-status-badge.error {
    background: #e74c3c;
    color: white;
}

.dsi-debug-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
