/* ===== СТРАНИЦА СЕАНСА ===== */
.screening-info-section {
    background: rgba(30, 30, 30, 0.9);
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.screening-movie-info {
    background: rgba(40, 40, 40, 0.8);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #ffcc00;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.info-item {
    background: rgba(20, 20, 20, 0.7);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #333;
}

/* ===== СХЕМА ЗАЛА ===== */
.cinema-hall {
    margin: 30px 0;
}

.screen {
    background: #333;
    color: white;
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
    text-align: center;
}

.row {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.row-label {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #ffcc00;
}

/* ===== МЕСТА ===== */
.seat {
    width: 45px;
    height: 45px;
    margin: 0 5px 5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    position: relative;
    transition: all 0.2s;
    font-weight: bold;
    user-select: none;
}

.seat.booked {
    background-color: #f44336;
    cursor: not-allowed;
    opacity: 0.7;
}

.seat.selected {
    background-color: #2196F3;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.7);
}

.seat-number {
    font-size: 10px;
    position: absolute;
    bottom: 2px;
    right: 2px;
}

/* ===== ИНФОРМАЦИЯ О ВЫБРАННЫХ МЕСТАХ ===== */
.selected-seats-info {
    margin: 20px 0;
    font-size: 20px;
    font-weight: bold;
    color: #ffcc00;
    text-align: center;
}

/* ===== ГОСТЕВОЕ УВЕДОМЛЕНИЕ ===== */
.guest-notification {
    background: rgba(255, 204, 0, 0.1);
    border: 2px solid #ffcc00;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.guest-notification h3 {
    color: #ffcc00;
    margin-bottom: 15px;
}

.guest-notification p {
    color: #fff;
    margin-bottom: 20px;
}

.guest-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== СООБЩЕНИЕ ОБ УСПЕШНОЙ ПОКУПКЕ ===== */
.purchase-success {
    background: rgba(0, 128, 0, 0.2);
    border: 2px solid #00ff00;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.purchase-success h3 {
    color: #00ff00;
    margin-bottom: 15px;
}

.purchase-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 15px 0;
}

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

    .row {
        flex-wrap: wrap;
    }

    .seat {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

    .row-label {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* ===== СВЕТЛАЯ ТЕМА ===== */
[data-theme="light"] .screening-info-section {
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    color: #1a1a1a !important;
}

[data-theme="light"] .screening-movie-info {
    background: #f9f9f9 !important;
    border-left-color: #b8860b !important;
    color: #1a1a1a !important;
}

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

[data-theme="light"] .info-item {
    background: #f5f5f5 !important;
    border-color: #e0e0e0 !important;
    color: #1a1a1a !important;
}

[data-theme="light"] .info-item strong,
[data-theme="light"] .info-item span,
[data-theme="light"] .info-item div,
[data-theme="light"] .info-item p {
    color: #1a1a1a !important;
}

[data-theme="light"] .screen {
    background: #e0e0e0 !important;
    color: #1a1a1a !important;
    box-shadow: 0 0 10px rgba(184, 134, 11, 0.3) !important;
}

[data-theme="light"] .cinema-hall {
    color: #1a1a1a !important;
}

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

[data-theme="light"] .seat {
    background-color: #4CAF50 !important;
    color: #fff !important;
}

[data-theme="light"] .seat.booked {
    background-color: #f44336 !important;
}

[data-theme="light"] .seat.selected {
    background-color: #2196F3 !important;
}

[data-theme="light"] .selected-seats-info {
    color: #b8860b !important;
}

[data-theme="light"] .guest-notification {
    background: rgba(184, 134, 11, 0.08) !important;
    border-color: #b8860b !important;
}

[data-theme="light"] .guest-notification h3 {
    color: #b8860b !important;
}

[data-theme="light"] .guest-notification p {
    color: #444444 !important;
}

[data-theme="light"] .purchase-success {
    background: rgba(0, 128, 0, 0.06) !important;
    border-color: #00cc00 !important;
    color: #1a1a1a !important;
}

[data-theme="light"] .purchase-success h3 {
    color: #008000 !important;
}

[data-theme="light"] .screening-info-section h2,
[data-theme="light"] .screening-info-section h3,
[data-theme="light"] .screening-info-section h4 {
    color: #b8860b !important;
}

[data-theme="light"] .screening-info-section p,
[data-theme="light"] .screening-info-section span,
[data-theme="light"] .screening-info-section div,
[data-theme="light"] .screening-info-section li {
    color: #1a1a1a !important;
}

[data-theme="light"] .guest-buttons a,
[data-theme="light"] .guest-buttons .btn {
    color: #fff !important;
}

[data-theme="light"] .purchase-actions a,
[data-theme="light"] .purchase-actions .btn {
    color: #fff !important;
}