/* ================================================================================
   Файл: filters.css
   Стили для фильтров (partials_filters_main)
   ================================================================================ */

.filters-main-container {
    background: #2d2d2d;
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    border: 1px solid #404040;
}

.filters-top-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.filters-middle-row {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.filters-bottom-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.search-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-filter form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-filter input {
    padding: 0.5rem 0.75rem;
    border: 2px solid #404040;
    border-radius: 0.5rem;
    width: 16rem;
    font-size: 1.1rem;
    background: #363636;
    color: #e0e0e0;
}

.search-filter input:focus {
    outline: none;
    border-color: #64b5f6;
    background: #2d2d2d;
}

.search-filter button {
    padding: 0.5rem 1rem;
    border: 2px solid #404040;
    border-radius: 0.5rem;
    background: #363636;
    color: #e0e0e0;
    cursor: pointer;
    font-size: 1.1rem;
}

.category-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-filter select {
    padding: 0.5rem 1rem;
    border: 2px solid #404040;
    border-radius: 0.5rem;
    background: #363636;
    color: #e0e0e0;
    cursor: pointer;
    font-size: 1.1rem;
    width: 200px;
}

.year-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.year-button {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    border: 2px solid #4299e1;
    background: #2d3748;
    color: #e2e8f0;
    min-width: 5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.year-button:hover {
    background: #4299e1;
    color: #1a1a1a;
}

.year-filter span {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    border-radius: 0.5rem;
    min-width: 5rem;
    text-align: center;
}

.month-filter {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.month-filter a,
.time-filters a {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    border: 2px solid #64b5f6;
    background: #2d2d2d;
    color: #64b5f6;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-align: center;
    min-width: 5rem;
    display: inline-block;
}

.month-filter a:hover,
.time-filters a:hover,
.month-filter a.active,
.time-filters a.active {
    background: #64b5f6;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.time-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.all-filter {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    border: 2px solid #e2e8f0;
    background: #2d2d2d;
    color: #e2e8f0;
    transition: all 0.3s ease;
}

.all-filter:hover,
.all-filter.active {
    background: #e2e8f0;
    color: #1a1a1a;
}