﻿
#search-pagination-controls {
    padding: 5%;
    text-align: center;
}

#search-load-more {
    padding: 1% 5%;
    background-color: #F1EB44;
    font-weight: bold;
}

#pagination-controls {
    padding: 5%;
    text-align: center;
}

#load-more {
    padding: 1% 5%;
    background-color: #f1eb44;
    font-weight: bold;
}

.hikayeYN__sehir {
    display: none !important;
}

.direkBilet {
    white-space: nowrap;
}

.sehir-detay_etkinliklerfiltre_gorunum b {
    font-size: 14px;
}

/* Tarih filtresi stil eklemeleri - Mekan filtreleme ile birebir aynı */
.sehir-detay__etkinlikler__filtre__tarih {
    display: none; /* Varsayılan olarak gizli - sadece mobilde gösterilecek */
}

@media (max-width: 768px) {
    .sehir-detay__etkinlikler__filtre__tarih {
        display: block;
    }
}

/* Custom checkbox styles - mevcut sistemle uyumlu */
.checkboxYN {
    position: relative;
    display: block;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    line-height: 1.4;
}

    .checkboxYN input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    .checkboxYN .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 20px;
        width: 20px;
        background-color: #fff;
        border: 2px solid #ddd;
        border-radius: 3px;
        transition: all 0.2s ease;
    }

    .checkboxYN:hover input ~ .checkmark {
        border-color: #999;
    }

    .checkboxYN input:checked ~ .checkmark {
        background-color: #f1eb44;
        border-color: #f1eb44;
    }

    .checkboxYN .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    .checkboxYN input:checked ~ .checkmark:after {
        display: block;
    }

    .checkboxYN .checkmark:after {
        left: 6px;
        top: 2px;
        width: 6px;
        height: 12px;
        border: solid #333;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }
/* Mobile full-screen overlay for date filter (match venue filter) */
@media (max-width: 980px) {
    /* Hide container by default; show when .mekanfiltreAcik is added (JS does this) */
    .sehir-detay__etkinlikler__filtre__tarih
    .sehir-detay__etkinlikler__tarihfiltre > li > div {
        display: none;
    }

        .sehir-detay__etkinlikler__filtre__tarih
        .sehir-detay__etkinlikler__tarihfiltre > li > div.mekanfiltreAcik {
            display: flex;
            flex-direction: column;
            position: fixed;
            inset: 0; /* top/right/bottom/left: 0 */
            width: 100vw;
            height: 100vh;
            background: #fff;
            z-index: 110002;
            padding: 16px 16px 84px; /* leave space for bottom button */
        }
    /* Mobile header (Back) inside overlay */
    .sehir-detay__etkinlikler__filtre__tarih
    .sehir-detay__etkinlikler__filtre--mobil---altbaslik {
        display: flex;
        align-items: center;
        gap: 8px;
        position: sticky;
        top: 0;
        background: #fff;
        padding: 8px 0 12px;
        z-index: 1;
    }
    /* Clear button */
    .sehir-detay__etkinlikler__filtre__tarih .tarihTemizle {
        align-self: flex-end;
        background: transparent;
        padding: 6px 10px;
        font-size: 12px;
        border: 1px solid #e1e1e1;
        border-radius: 4px;
        margin-bottom: 8px;
    }
    /* Scrollable list area */
    .sehir-detay__etkinlikler__filtre__tarih
    .sehir-detay__etkinlikler__tarihfiltre--liste {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* Sticky bottom result button (shared class name with other filters) */
    .sehir-detay__etkinlikler__filtre__tarih
    .sehir-detay__etkinlikler__mekanfiltre--sonuc {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 56px;
        width: 100%;
        background: #f8e71c;
        display: block;
        font-weight: 600;
        z-index: 110003;
        border-radius: 0;
    }
    /* Ensure block spans full width like others */
    .sehir-detay__etkinlikler__filtre__tarih > span,
    .sehir-detay__etkinlikler__filtre__tarih > ul {
        width: 100%;
    }

    .sehir-detay__etkinlikler__filtre__tarih {
        position: relative;
    }
}
