/* ================================
   Custom Checkbox for My Events Filter - Improved Compact Design
   ================================ */

.filter-field-full {
    margin-bottom: var(--space-5);
}

/* Container - more compact and inline-like */
.filter-field-full .form-check {
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-4);
    transition: all var(--transition-base);
    cursor: pointer;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    width: auto;
    min-width: 280px;
    max-width: 400px;
    position: relative;
}

.filter-field-full .form-check:hover {
    background: var(--gray-50);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(91, 79, 233, 0.1);
}

.filter-field-full .form-check.checked {
    background: rgba(91, 79, 233, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(91, 79, 233, 0.15);
}

/* Hide the actual checkbox completely */
.filter-field-full .form-check-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    pointer-events: none;
}

/* Custom Label - full clickable area */
.filter-field-full .form-check-label {
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    margin: 0;
    transition: color var(--transition-base);
    flex: 1;
    width: 100%;
    height: 100%;
}

.filter-field-full .form-check-label i {
    color: var(--primary-color);
    font-size: 0.875rem;
    margin-right: var(--space-2);
}

.filter-field-full .form-check:hover .form-check-label {
    color: var(--gray-900);
}

.filter-field-full .form-check.checked .form-check-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Subtle animation for the entire container */
.filter-field-full .form-check:active {
    transform: scale(0.99);
}

/* Make the container behave like other form controls */
.filter-field-full .form-check:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(91, 79, 233, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-field-full .form-check {
        padding: var(--space-2) var(--space-3);
        min-width: 240px;
        font-size: 0.875rem;
    }
    
    .filter-field-full .form-check-label {
        font-size: 0.875rem;
    }
}