/* Стили для переиспользуемого компонента filter_panel */

.filter-panel {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-panel .card-body {
    padding: 1.5rem;
}

.filter-panel .card-title {
    color: #495057;
    font-weight: 600;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-panel .card-title i {
    color: #0d6efd;
}

.filter-panel hr {
    margin: 1rem 0;
    opacity: 0.2;
}

.filter-panel .form-label {
    font-weight: 500;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.filter-panel .form-label i {
    color: #6c757d;
    font-size: 0.875rem;
}

.filter-panel .form-control,
.filter-panel .form-select {
    border-radius: 6px;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

.filter-panel .form-control:focus,
.filter-panel .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.filter-panel .btn-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-panel .btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.filter-panel .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.filter-panel .btn i {
    margin-right: 0.25rem;
}

.filter-panel .form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.filter-panel .form-check-label {
    font-size: 0.9rem;
    color: #495057;
    cursor: pointer;
}

/* Адаптивность */
@media (max-width: 768px) {
    .filter-panel .card-body {
        padding: 1rem;
    }

    .filter-panel .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .filter-panel .btn-toolbar {
        width: 100%;
        margin-top: 1rem;
    }

    .filter-panel .card-title {
        margin-bottom: 0.5rem;
    }
}
