/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: #f5f7fa;
    color: #1e293b;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

.logo span {
    color: #2563eb;
}

.logo-label {
    font-size: 12px;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #2563eb;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.notifications {
    position: relative;
    cursor: pointer;
}

.notification-icon {
    font-size: 20px;
    color: #64748b;
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 30px;
    transition: background 0.3s;
}

.user-profile:hover {
    background: #f1f5f9;
}

.profile-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
}

.profile-avatar svg {
    width: 100%;
    height: 100%;
}

.chevron {
    font-size: 12px;
    color: #94a3b8;
}

/* Search Section */
.search-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 50px 0 60px;
}

.search-header {
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.search-header h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
}

.search-header p {
    font-size: 16px;
    color: #cbd5e1;
}

.search-filters {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}

.filter-tab {
    padding: 10px 20px;
    border: none;
    background: #f1f5f9;
    border-radius: 30px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tab:hover,
.filter-tab.active {
    background: #2563eb;
    color: #fff;
}

.filter-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-input {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.search-input input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.search-input input:focus {
    outline: none;
    border-color: #2563eb;
}

.filter-select {
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #1e293b;
    background: #fff;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #2563eb;
}

.range-inputs {
    display: flex;
    gap: 10px;
}

.range-inputs input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
}

.range-inputs input:focus {
    outline: none;
    border-color: #2563eb;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-outline {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.btn-outline:hover {
    background: #f1f5f9;
}

.btn-link {
    background: transparent;
    color: #2563eb;
    padding: 12px 0;
}

.count {
    background: rgba(255,255,255,0.2);
    padding: 3px 8px;
    border-radius: 20px;
    margin-left: 8px;
    font-size: 13px;
}

/* Complexes Section */
.complexes-section {
    padding: 40px 0 60px;
}

.complexes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.complexes-stats h3 {
    font-size: 20px;
    color: #1e293b;
}

.stat {
    color: #2563eb;
    font-weight: 700;
}

.complexes-stats p {
    font-size: 14px;
    color: #64748b;
    margin-top: 5px;
}

.complexes-view {
    display: flex;
    gap: 10px;
    background: #fff;
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 8px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
}

.view-btn:hover,
.view-btn.active {
    background: #2563eb;
    color: #fff;
}

/* Complex Card - Grid View */
.complexes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.complex-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.complex-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.complex-image {
    height: 200px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    background-image: url('../images/placeholder-building.jpg');
}

.complex-badges {
    position: absolute;
    top: 15px;
    left: 125px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.badge.sale {
    background: #ef4444;
}

.badge.new {
    background: #10b981;
}

.badge.promo {
    background: #f59e0b;
}

.complex-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
}

.complex-content {
    padding: 20px;
}

.complex-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #0f172a;
}

.complex-developer {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.complex-location {
    font-size: 14px;
    color: #475569;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.complex-location i,
.complex-developer i {
    font-style: normal;
}

.complex-metro {
    display: inline-block;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #475569;
    margin-bottom: 15px;
}

.complex-price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.price-label {
    font-size: 14px;
    color: #64748b;
}

.price-value {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.price-unit {
    font-size: 14px;
    color: #94a3b8;
}

.complex-features {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #475569;
}

.complex-deadline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 13px;
    color: #475569;
}

.deadline-date {
    font-weight: 600;
    color: #0f172a;
}

.complex-passport {
    margin-top: 15px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px;
}

.complex-passport h4 {
    margin-bottom: 10px;
    font-size: 14px;
    color: #0f172a;
}

.passport-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.passport-label {
    color: #64748b;
}

.passport-value {
    font-weight: 600;
    color: #0f172a;
}

.complex-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.commission {
    font-size: 14px;
    font-weight: 600;
    color: #10b981;
}

.btn-card {
    padding: 8px 16px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-card:hover {
    background: #1d4ed8;
}

/* List View */
.complexes-grid.list-view {
    display: block;
}

.complexes-grid.list-view .complex-card {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
    width: 100%;
    height: 280px;
}

.complexes-grid.list-view .complex-image {
    width: 300px;
    height: 100%;
    flex-shrink: 0;
}

.complexes-grid.list-view .complex-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.complexes-grid.list-view .complex-title {
    font-size: 22px;
    margin-bottom: 10px;
}

.complexes-grid.list-view .complex-location {
    margin-bottom: 15px;
}

.complexes-grid.list-view .complex-metro {
    display: inline-block;
    margin-bottom: 20px;
}

.complexes-grid.list-view .complex-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.complexes-grid.list-view .price-value {
    font-size: 24px;
    margin-right: 10px;
}

.complexes-grid.list-view .complex-features {
    display: flex;
    margin: 15px 0;
    border-top: none;
    gap: 30px;
}

.complexes-grid.list-view .complex-deadline {
    width: 50%;
    margin-top: 10px;
}

.complexes-grid.list-view .complex-passport {
    width: 50%;
    margin-top: 10px;
}

.complexes-grid.list-view .complex-footer {
    display: flex;
    align-items: center;
    margin-top: 15px;
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
}

.complexes-grid.list-view .complex-badges {
    position: absolute;
    top: 15px;
    left: 125px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.complexes-grid.list-view .complex-status {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

/* Map View */
.complexes-grid.map-view .map-container {
    width: 100%;
    height: 500px;
    background: #f1f5f9;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #64748b;
}

.map-placeholder span {
    font-size: 48px;
    margin-bottom: 20px;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 8px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover,
.page-btn.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.page-btn.next {
    width: auto;
    padding: 0 15px;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}

.modal-header h2 {
    font-size: 24px;
    color: #0f172a;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #ef4444;
}

.modal-body {
    padding: 30px;
}

/* Паспорт объекта в модальном окне */
.object-passport {
    display: grid;
    gap: 30px;
}

.passport-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.gallery-main {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    background-color: #e2e8f0;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.thumb {
    height: 145px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s;
    background-color: #e2e8f0;
}

.thumb:hover {
    opacity: 0.8;
}

.passport-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-section {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
}

.info-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #0f172a;
}

.info-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #64748b;
    font-size: 14px;
}

.info-value {
    font-weight: 600;
    color: #0f172a;
}

.documents-list {
    list-style: none;
}

.documents-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.commission-info {
    margin-top: 20px;
    padding: 15px;
    background: #dbeafe;
    border-radius: 8px;
    color: #1e40af;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-nav ul {
        gap: 20px;
    }
    
    .complexes-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .user-menu {
        width: 100%;
        justify-content: center;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .complexes-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .passport-gallery {
        grid-template-columns: 1fr;
    }
    
    .passport-info {
        grid-template-columns: 1fr;
    }
    
    .complexes-grid.list-view .complex-card {
        flex-direction: column;
        height: auto;
    }
    
    .complexes-grid.list-view .complex-image {
        width: 100%;
        height: 200px;
    }
    
    .complexes-grid.list-view .complex-deadline,
    .complexes-grid.list-view .complex-passport {
        width: 100%;
    }
}

/* Основной контент с двумя колонками */
.main-content {
    padding: 40px 0 60px;
    background: #f5f7fa;
}

.content-wrapper {
    display: flex;
    gap: 30px;
}

/* Левая колонка с фильтрами */
.filters-sidebar {
    width: 300px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

/* Заголовок фильтров */
.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.filters-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.reset-filters {
    background: transparent;
    border: none;
    color: #2563eb;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.reset-filters:hover {
    background: #f1f5f9;
}

/* Блок фильтра */
.filter-block {
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}

.filter-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-block-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    user-select: none;
}

.filter-icon {
    font-size: 16px;
    color: #2563eb;
}

.filter-block-header span:not(.filter-icon) {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    flex: 1;
}

.toggle-icon {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.3s;
}

.filter-block.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.filter-block.collapsed .filter-block-content {
    display: none;
}

.filter-block-content {
    transition: all 0.3s;
}

/* Поле ввода */
.filter-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.filter-input:focus {
    outline: none;
    border-color: #2563eb;
}

/* Чекбоксы */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #475569;
    user-select: none;
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s;
}

.checkbox-input:checked + .checkbox-custom {
    background: #2563eb;
    border-color: #2563eb;
}

.checkbox-input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-input:focus + .checkbox-custom {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.checkbox-text {
    flex: 1;
}

.show-more {
    background: transparent;
    border: none;
    color: #2563eb;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 0;
    margin-top: 5px;
}

.show-more:hover {
    text-decoration: underline;
}

/* Сетка комнат */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.room-label {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.room-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.room-text {
    display: block;
    padding: 8px 0;
    width: 100%;
    text-align: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s;
}

.room-input:checked + .room-text {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.room-input:focus + .room-text {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Радиокнопки */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #475569;
    user-select: none;
}

.radio-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s;
}

.radio-input:checked + .radio-custom {
    border-color: #2563eb;
}

.radio-input:checked + .radio-custom::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #2563eb;
    border-radius: 50%;
    top: 2px;
    left: 2px;
}

.radio-input:focus + .radio-custom {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.radio-text {
    flex: 1;
}

/* Диапазоны цен и площади */
.range-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.range-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.range-field label {
    font-size: 12px;
    color: #64748b;
}

.range-field input {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
}

.range-field input:focus {
    outline: none;
    border-color: #2563eb;
}

/* Кнопка применения фильтров */
.apply-filters {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.apply-filters:hover {
    background: #1d4ed8;
}

/* Правая колонка с результатами */
.results-content {
    flex: 1;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .filters-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }
    
    .rooms-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .rooms-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .filters-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Активные фильтры */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 13px;
    color: #0f172a;
}

.filter-tag-remove {
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
}

.filter-tag-remove:hover {
    color: #ef4444;
}