﻿/* ============================
   MODAL – MOBİL FULLWIDTH
   ============================ */
@media (max-width: 768px) {
    #seatModal .modal-dialog.modal-lg {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }

    #seatModal .modal-content {
        width: 100% !important;
        max-width: 100% !important;
    }
}



/* ============================
   KOLTUK ALANI – YATAY SCROLL
   + ALT BOŞLUĞU KALDIR
   ============================ */
@media (max-width: 768px) {
    #seatContainer {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        display: block !important;
        max-width: 100% !important;
        min-height: 130px !important; /* Eski 275 → artık çok daha kompakt */
        /* 🔥 ASIL FİNAL ÇÖZÜM – scroll bar boşluğunu kaldırır */
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

#seatContainer > div:last-child {
    margin-bottom: 8px !important;
}

/* ============================
   BEYAZ BİLGİ KUTUSU – Daha sıkı
   ============================ */
@media (max-width: 768px) {
    #seatModal .alert.alert-light {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
        padding: 10px !important;
    }
}


/* ============================
   🟢 BUTONLAR YAN YANA (MOBİL)
   ============================ */

@media (max-width: 768px) {
    #seatModal .modal-content {
        padding-bottom: 70px !important; /* 🔥 Alt boşluk artırıldı */
    }
}


@media (max-width: 768px) {

    #footer-buttons {
        display: flex !important;
        flex-direction: row !important; /* Yan yana */
        justify-content: space-between;
        gap: 10px !important;
        width: 100%;
    }

        #footer-buttons button {
            flex: 1 1 auto !important; /* Eşit genişlik */
            width: 50% !important;
            font-size: 16px;
            padding: 12px;
            border-radius: 10px;
            white-space: nowrap;
        }
}

/* SEFER BİLGİLERİ TASARIMI */
.sefer-info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

    .sefer-info-row .label {
        font-weight: 600;
        color: #444;
        white-space: nowrap;
    }

    .sefer-info-row .value {
        text-align: right;
        font-weight: 500;
        color: #222;
    }

@media (max-width: 768px) {
    .sefer-info-row {
        font-size: 14px;
        padding: 8px 4px;
    }
}

