
/* Inline Filter Panel Styling - DISTINCT & VISIBLE */
.inline-filter-panel {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background: #f8f9fa !important; /* Light gray background */
    border: 2px solid #e0e0e0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    z-index: 100;
    overflow: hidden !important;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s ease;
}

.inline-filter-panel.active {
    display: block !important;
    max-height: 3000px;
    opacity: 1;
    margin-bottom: 50px;
    padding: 20px !important; /* Add internal padding */
}

.inline-filter-content {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible !important;
}

/* 12-Column Grid Overrides - High Density */
.filter-group {
    border: none !important;
    background: transparent !important;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
}

.filter-group-header {
    padding: 0 0 8px 0 !important;
    border-bottom: 1.5px solid #007bff !important;
    margin-bottom: 15px !important;
    cursor: default !important;
    background: transparent !important;
}

.filter-group-header h4 {
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #444 !important;
    font-weight: 800 !important;
    margin: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-group-content {
    max-height: none !important;
    overflow: visible !important;
}

.filter-group-inner {
    padding: 0 !important;
}

/* Form elements styling - Flat and clean */
.filter-group-inner select, 
.filter-group-inner input[type="text"],
.filter-group-inner input[type="number"] {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 12px;
    background: #fff;
    color: #333;
    transition: border-color 0.2s;
}

.filter-group-inner select:hover {
    border-color: #007bff;
}

.filter-group-inner label {
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    line-height: 1.4;
}

/* Mobile responsive - Dynamic Column Fitting */
@media (max-width: 1400px) {
    #inlineFilterDrawerContent { grid-template-columns: repeat(5, 1fr) !important; }
}

@media (max-width: 1200px) {
    #inlineFilterDrawerContent { grid-template-columns: repeat(4, 1fr) !important; }
}

@media (max-width: 992px) {
    #inlineFilterDrawerContent { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 768px) {
    #inlineFilterDrawerContent { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 480px) {
    #inlineFilterDrawerContent { grid-template-columns: repeat(1, 1fr) !important; }
}
