/* Custom Checkbox Styling for Filter Sidebar */

/* Hide default checkbox */
.filter-checkbox-item input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
    transition: all 0.2s ease;
}

/* Hover state */
.filter-checkbox-item input[type="checkbox"]:hover {
    border-color: #F97316;
    background: #fff7ed;
}

/* Checked state */
.filter-checkbox-item input[type="checkbox"]:checked {
    background: #F97316;
    border-color: #F97316;
}

/* Checkmark */
.filter-checkbox-item input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Focus state */
.filter-checkbox-item input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

/* Label styling */
.filter-checkbox-item label {
    cursor: pointer;
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.4;
    user-select: none;
}

/* Checkbox item container */
.filter-checkbox-item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 4px;
    border-radius: 8px;
    transition: background 0.2s;
}

.filter-checkbox-item:hover {
    background: #f9fafb;
}

/* Season filter specific styling */
.season-filter + label {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Filter checkbox list scrollbar */
.filter-checkbox-list {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 5px;
}

.filter-checkbox-list::-webkit-scrollbar {
    width: 6px;
}

.filter-checkbox-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.filter-checkbox-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.filter-checkbox-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
