.ol-popup {
    position: absolute;
    background: white;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
    bottom: 12px;
    left: -50%;
    min-width: 250px;
    max-height: 400px;
    overflow: auto;
}

.ol-popup.tbb-vehicle-popup-shell {
    padding: 0;
    border: none;
    border-radius: 12px;
    width: min(228px, calc(100vw - 48px));
    min-width: 0;
    max-width: 228px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
    overflow: hidden;
}

.ol-popup-closer {
    position: absolute;
    top: 2px;
    right: 2px;
    text-decoration: none;
    font-weight: bold;
    color: #333;
}

body {
    background-color: #f3f7fe;
    overflow-y:hidden;
    overflow-x:hidden;
}

.bordo {
    color: white;
    background-color: darkred;
    border-radius: 20rem;
    font-size: 1.1rem;
    display: inline-flex; /* Flexbox düzenini etkinleştir */
    align-items: center; /* Dikeyde ortala */
    justify-content: center; /* Yatayda ortala */
    width: 45px; /* Sabit genişlik */
    height: 45px; /* Sabit yükseklik */
    border-radius: 50%; /* Yuvarlak buton */
    vertical-align: middle; /* Varsayılan hizalamayı düzelt */
    line-height: 0; /* Satır yüksekliğini sıfırla */
    text-decoration: none; /* Alt çizgiyi kaldır */
}


.mavi {
    color: white;
    background-color: #01295f;
    border-radius: 5rem;
    font-size: 1.1rem;
    display: inline-flex; /* Flexbox düzenini etkinleştir */
    align-items: center; /* Dikeyde ortala */
    justify-content: center; /* Yatayda ortala */
    width: 45px; /* Sabit genişlik */
    height: 45px; /* Sabit yükseklik */
    border-radius: 50%; /* Yuvarlak buton */
    vertical-align: middle; /* Varsayılan hizalamayı düzelt */
    line-height: 0; /* Satır yüksekliğini sıfırla */
    text-decoration: none; /* Alt çizgiyi kaldır */
}

    .mavi:hover {
        color: azure;
    }

.beltr {
    font-size: 1.9rem;
    color: #01295f;
    font-weight: 700;
    margin-bottom: 10px;
}

.itemBg {
    background-color: #e4ecf8;
    font-size: 1.6rem;
    font-weight: 600;
}

.list-group-item {
    background-color: transparent;
}

.container-fluid {
    padding: 0px !important;
    height: 100vh !important;
}

.footer {
    display: none;
}

#map {
}

#listContainer {
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
    position: absolute;
    bottom: 0;
    z-index: 5;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 0;
    box-shadow: 0 -12px 32px rgba(6, 34, 103, 0.18);
    overflow: hidden;
    transition: height 0.3s ease;
}

#listHeader {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-height: 36px;
    padding: 10px 16px 4px;
    cursor: pointer;
}

#listContent {
    padding: 0;
    overflow: hidden;
    height: calc(100% - 36px);
    display: flex;
    flex-direction: column;
}
/* Durak listesi — detay stiller mobil-tbb-theme.css içinde */
#durakList {
    display: none;
}

.tamB {
    font-size: var(--tbb-text-base, 1rem);
    font-weight: var(--tbb-font-bold, 700);
    color: #15803d;
    margin: 0;
    line-height: 1.45;
}

/* Aktif durak ok animasyonu */
.oklar {
    display: none;
    position: absolute;
    left: -6px;
    top: calc(100% + 4px);
    transform: translateY(0);
}

.gidis.active .oklar,
.donus.active .oklar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ok {
    width: 10px;
    height: 10px;
    border: solid #01295f;
    border-width: 0 2px 2px 0;
    color: #01295f;
    display: inline-block;
    margin: 5px 0;
    transform: rotate(45deg);
    animation: fadeDown 1s infinite;
}

/* Oklar animasyonu */
@keyframes fadeDown {
    0% {
        opacity: 0;
        transform: translateY(-10px) rotate(45deg);
    }

    50% {
        opacity: 1;
        transform: translateY(0) rotate(45deg);
    }

    100% {
        opacity: 0;
        transform: translateY(10px) rotate(45deg);
    }
}

.ok:nth-child(1) {
    animation-delay: 0s;
}

.ok:nth-child(2) {
    animation-delay: 0.2s;
}

.ok:nth-child(3) {
    animation-delay: 0.4s;
}

.cevirBtn:not(.tbb-line-pill-btn),
#saatGor:not(.tbb-line-pill-btn) {
    background-color: var(--tbb-primary);
    width: 46px;
    height: 46px;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    border: 0;
    box-shadow: 0 6px 16px rgba(6, 34, 103, 0.22);
}

    .cevirBtn:not(.tbb-line-pill-btn):active,
    .cevirBtn:not(.tbb-line-pill-btn):hover,
    #saatGor:not(.tbb-line-pill-btn):active,
    #saatGor:not(.tbb-line-pill-btn):hover {
        background-color: var(--tbb-primary-alt);
        color: #fff;
    }

.bus-container {
    max-width: 400px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border: 1px solid #e0e0e0;
}

.bus-header {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: left;
}

.bus-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: #fdfdfd;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .bus-item:hover {
        background-color: #e7f1ff; /* Hafif mavi ton */
    }

.bus-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .bus-info i {
        font-size: 1.8rem;
        color: darkred;
    }

    .bus-info div {
        display: flex;
        flex-direction: column;
    }

        .bus-info div h3 {
            font-size: 1.2rem;
            color: #01295f;
            margin: 0;
        }

        .bus-info div span {
            font-size: 0.9rem;
            color: #868e96;
        }

.time-badge {
    font-size: 1rem;
    background: #01295f;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0.5;
    }
}
/* Loader stil */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    visibility: hidden; /* Başlangıçta gizli */
    opacity: 0;
    transition: visibility 0s, opacity 0.3s;
}

    .loader-overlay.active {
        visibility: visible;
        opacity: 1;
    }

.loader {
    text-align: center;
    color: #fff;
    font-family: Arial, sans-serif;
}

    .loader .spinner {
        margin: 0 auto 10px auto; /* Ortalamayı garanti eder */
        width: 50px;
        height: 50px;
        border: 6px solid rgba(255, 255, 255, 0.3);
        border-top: 6px solid #ffffff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* Özel Buton Stili */
.custom-btn {
    background-color: #01295f; /* Mavi Renk */
    color: #ffffff;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    /* Hover Durumu */
    .custom-btn:hover {
        background-color: #014080; /* Daha açık mavi */
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
        transform: translateY(-2px); /* Hafif yukarı çıkma */
    }

    /* Aktif Durumu */
    .custom-btn:active {
        background-color: #001f47; /* Daha koyu mavi */
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
        transform: translateY(2px); /* Hafif aşağı inme */
    }


.tbb-map-actions .mavi,
.tbb-map-actions .btn {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    margin: 0 !important;
}