/* ===== ФИЛЬТР ПО ДАТАМ ===== */
.date-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    overflow-x: auto;
    padding: 15px 0;
    justify-content: center;
}

.date-filter-item {
    flex: 0 0 auto;
    background: rgba(30, 30, 30, 0.9);
    border: 2px solid #ff0000;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    min-width: 100px;
    color: #ffcc00;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.date-filter-item:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.date-filter-item.active {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #fff;
    border-color: #ffcc00;
}

.date-filter-item.active .date-display {
    color: #fff;
}

.date-label {
    font-size: 16px;
    font-weight: bold;
}

.date-display {
    font-size: 14px;
    color: #ffcc00;
    opacity: 0.9;
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.main-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    align-items: start;
}

.filters-container {
    position: sticky;
    top: 20px;
}

.screenings-container {
    min-width: 0;
}

/* ===== ФОРМА ФИЛЬТРОВ ===== */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #ffcc00;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ff0000;
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.8);
    color: #fff;
    font-size: 14px;
}

/* ===== КНОПКИ ФИЛЬТРОВ ===== */
.filter-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-apply {
    flex: 1;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(255, 0, 0, 0.4);
}

.btn-reset {
    flex: 1;
    background: rgba(50, 50, 50, 0.8);
    color: #ffcc00;
    padding: 12px;
    border: 2px solid #ff0000;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
}

.btn-reset:hover {
    background: rgba(70, 70, 70, 0.8);
    transform: translateY(-2px);
}

/* ===== КАРТОЧКИ ФИЛЬМОВ ===== */
.movie-card {
    background: rgba(30, 30, 30, 0.9);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    border: 2px solid #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

.movie-header {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.movie-poster {
    width: 150px;
    height: 200px;
    border-radius: 8px;
    border: 2px solid #ffcc00;
    overflow: hidden;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-poster-placeholder {
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffcc00;
    width: 150px;
    height: 200px;
}

.movie-info h2 {
    color: #ffcc00;
    margin-bottom: 10px;
    font-size: 24px;
}

.movie-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    color: #aaa;
    flex-wrap: wrap;
}

.movie-description {
    color: #ccc;
    line-height: 1.5;
}

.screening-counter {
    background: rgba(255, 204, 0, 0.2);
    color: #ffcc00;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 10px;
}

.btn-movie-details {
    display: inline-block;
    background: linear-gradient(135deg, #4a00e0 0%, #8e2de2 100%);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    margin-top: 15px;
}

.btn-movie-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(74, 0, 224, 0.4);
}

/* ===== СЕАНСЫ ===== */
.screenings-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #444;
}

.screenings-title {
    color: #ffcc00;
    margin-bottom: 10px;
    font-size: 16px;
}

.screenings-list {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
}

.screening-item {
    background: rgba(20, 20, 20, 0.8);
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ff0000;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 180px;
    text-align: center;
}

.screening-item:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: translateY(-2px);
}

.screening-time {
    font-weight: bold;
    color: #ffcc00;
    font-size: 16px;
}

.screening-hall {
    color: #aaa;
    font-size: 14px;
    margin: 5px 0;
}

.screening-price {
    color: #4CAF50;
    font-weight: bold;
}

.no-screenings {
    text-align: center;
    padding: 20px;
    color: #aaa;
    font-style: italic;
}

.no-screenings-today {
    text-align: center;
    padding: 15px;
    color: #aaa;
    font-style: italic;
    background: rgba(50, 50, 50, 0.5);
    border-radius: 8px;
    margin-top: 10px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }

    .filters-container {
        position: static;
    }

    .filter-buttons {
        flex-direction: column;
    }

    .movie-header {
        grid-template-columns: 1fr;
    }

    .movie-poster {
        margin: 0 auto;
    }
}

/* ===== СВЕТЛАЯ ТЕМА ===== */
[data-theme="light"] .date-filters {
    /* контейнер без изменений */
}

[data-theme="light"] .date-filter-item {
    background: #ffffff !important;
    border: 2px solid #cc0000 !important;
    color: #b8860b !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
}

[data-theme="light"] .date-filter-item .date-label {
    color: #b8860b !important;
}

[data-theme="light"] .date-filter-item .date-display {
    color: #b8860b !important;
}

[data-theme="light"] .date-filter-item:hover {
    background: #fff5f5 !important;
    box-shadow: 0 3px 10px rgba(255, 0, 0, 0.12) !important;
}

[data-theme="light"] .date-filter-item.active {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
    color: #ffffff !important;
    border-color: #b8860b !important;
}

[data-theme="light"] .date-filter-item.active .date-label,
[data-theme="light"] .date-filter-item.active .date-display {
    color: #ffffff !important;
}

[data-theme="light"] .movie-card {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}

[data-theme="light"] .movie-card:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.1) !important;
    border-color: #cc0000 !important;
}

[data-theme="light"] .movie-header {
    /* без изменений */
}

[data-theme="light"] .movie-poster-placeholder {
    background: #f0f0f0 !important;
    color: #b8860b !important;
}

[data-theme="light"] .movie-info h2 {
    color: #1a1a1a !important;
}

[data-theme="light"] .movie-meta {
    color: #666666 !important;
}

[data-theme="light"] .movie-description {
    color: #444444 !important;
}

[data-theme="light"] .screening-counter {
    background: #fff3cd !important;
    color: #856404 !important;
}

[data-theme="light"] .screenings-section {
    border-top-color: #e0e0e0 !important;
}

[data-theme="light"] .screenings-title {
    color: #b8860b !important;
}

[data-theme="light"] .screenings-list {
    /* без изменений */
}

[data-theme="light"] .screening-item {
    background: #fafafa !important;
    border: 1px solid #e0e0e0 !important;
}

[data-theme="light"] .screening-item:hover {
    background: #fff5f5 !important;
    border-color: #cc0000 !important;
}

[data-theme="light"] .screening-time {
    color: #b8860b !important;
}

[data-theme="light"] .screening-hall {
    color: #666666 !important;
}

[data-theme="light"] .screening-price {
    color: #2e7d32 !important;
}

[data-theme="light"] .form-group label {
    color: #555555 !important;
}

[data-theme="light"] .form-group select,
[data-theme="light"] .form-group input {
    background: #ffffff !important;
    border: 1px solid #cc0000 !important;
    color: #1a1a1a !important;
}

[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group input:focus {
    border-color: #b8860b !important;
    box-shadow: 0 0 8px rgba(184, 134, 11, 0.2) !important;
}

[data-theme="light"] .btn-apply {
    color: #ffffff !important;
}

[data-theme="light"] .btn-reset {
    background: #f5f5f5 !important;
    color: #b8860b !important;
    border-color: #cc0000 !important;
}

[data-theme="light"] .btn-reset:hover {
    background: #e8e8e8 !important;
}

[data-theme="light"] .btn-movie-details {
    color: #ffffff !important;
}

[data-theme="light"] .no-screenings,
[data-theme="light"] .no-screenings-today {
    color: #888888 !important;
    background: #fafafa !important;
}

[data-theme="light"] .filters-container .card {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}

[data-theme="light"] .main-content {
    /* без изменений */
}

[data-theme="light"] .filter-buttons {
    /* без изменений */
}