/* assets/frontend.css - упрощенная версия для Elementor */

/* Контейнер фильтров */
.tvf-elementor-wrapper {
    margin-bottom: 30px;
}

.tvf-elementor-sidebar {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.tvf-elementor-title {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #1e293b;
    padding-bottom: 12px;
    border-bottom: 2px solid #3b82f6;
}

.tvf-elementor-filter-group {
    margin-bottom: 20px;
}

.tvf-elementor-filter-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #334155;
    font-size: 14px;
}

.tvf-elementor-filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s;
}

.tvf-elementor-filter-select:hover {
    border-color: #3b82f6;
}

.tvf-elementor-filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.tvf-elementor-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.tvf-elementor-apply {
    flex: 2;
    padding: 12px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.tvf-elementor-apply:hover {
    background: #2563eb;
}

.tvf-elementor-reset {
    flex: 1;
    padding: 12px;
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.tvf-elementor-reset:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

/* Состояние загрузки */
.tvf-loading {
    position: relative;
    min-height: 200px;
    opacity: 0.6;
    pointer-events: none;
}

.tvf-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: tvf-spin 1s linear infinite;
    z-index: 1000;
}

@keyframes tvf-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .tvf-elementor-actions {
        flex-direction: column;
    }
}