﻿.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-closer {
    position: absolute;
    top: 2px;
    right: 2px;
    text-decoration: none;
    font-weight: bold;
    color: #333;
}

body {
    overflow-y: hidden;
    padding: 0;
    margin: 0;
    background-color: #f3f7fe;
}

.bordo {
    color: white !important;
    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: 20px;
    border-top-right-radius: 20px;
    position: absolute;
    bottom: 0;
    z-index: 5;
    left: 0;
    width: 100%;
    height: 30vh; /* İlk açılışta yüzde 20 */
    background: #f8f9fa;
    border-top: 2px solid #ccc;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: height 0.5s; /* Yumuşak geçiş */
}

#listHeader {
    background: #343a40;
    color: #fff;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-size: 1.2rem;
}

#listContent {
    padding: 0px 10px 10px 10px;
    overflow-y: auto;
    height: calc(100% - 50px); /* Başlık boyutunu çıkar */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Genel liste stili */
#durakList {
    list-style: none;
    padding: 0;
    margin-left: 5px;
    border-left: 2px solid #800000; /* Sol tarafta çizgi */
    position: relative;
}

/* Liste öğesi */
.donus {
    position: relative;
    padding: 10px 20px;
    margin: 18px 0;
    border-top-right-radius: 20rem;
    border-bottom-right-radius: 20rem;
    display: flex;
    border: 0.5px solid #387a933b;
    align-items: center;
    font-size: 14px;
    color: #333;
}

    /* Active olan öğe */
    .donus.active {
        font-weight: bold;
        color: #01295f;
    }

    /* Sadece active için Font Awesome otobüs ikonu */
    .donus .bus-icon {
        display: none;
        position: absolute;
        border-radius: 20rem;
        background: white;
        left: -15px;
        top: 120%;
        transform: translateY(-50%);
        font-size: 25px;
        color: #01295f;
    }

    /* Active olan öğe için ikonu görünür yap */
    .donus.active .bus-icon {
        display: block;
    }

/* Soldaki düz çizgi */
#durakList::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #800000; /* Çizgi rengi */
}


/* Oklar konteyneri */
.oklar {
    display: none;
    position: absolute;
    left: -6px;
    top: 180%;
    transform: translateY(-50%);
}

/* Sadece active olan liste öğesinde okları göster */
.donus.active .oklar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donus .durak-icon {
    font-size: 20px;
    position: absolute;
    left: -12px;
    background-color: white;
    color: darkred;
}

</style >
<style >
.gidis .durak-icon {
    font-size: 20px;
    position: absolute;
    left: -12px;
    background-color: white;
    color: #01295f;
}
/* Genel liste stili */
#durakListG {
    list-style: none;
    padding: 0;
    margin-left: 5px;
    border-left: 2px solid #01295f; /* Sol tarafta çizgi */
    position: relative;
}

/* Liste öğesi */
.gidis {
    position: relative;
    padding: 10px 20px;
    margin: 18px 0;
    border-top-right-radius: 20rem;
    border-bottom-right-radius: 20rem;
    display: flex;
    border: 0.5px solid #387a933b;
    align-items: center;
    font-size: 14px;
    color: #333;
}

    /* Active olan öğe */
    .gidis.active {
        font-weight: bold;
        color: #01295f;
    }

    /* Sadece active için Font Awesome otobüs ikonu */
    .gidis .bus-icon {
        display: none;
        position: absolute;
        border-radius: 20rem;
        background: white;
        left: -15px;
        top: 120%;
        transform: translateY(-50%);
        font-size: 25px;
        color: #800000;
    }

    /* Active olan öğe için ikonu görünür yap */
    .gidis.active .bus-icon {
        display: block;
    }

/* Soldaki düz çizgi */
#durakListG::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #01295f; /* Çizgi rengi */
}


/* Oklar konteyneri */
.oklar {
    display: none;
    position: absolute;
    left: -6.6px;
    top: 180%;
    transform: translateY(-50%);
}

/* Sadece active olan liste öğesinde okları göster */
.gidis.active .oklar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Her bir ok için stil */
.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;
}

</style >
<style >


#saatGor {
    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 */
}

.cevirBtn {
    background-color: darkred;
    width: 45px;
    height: 45px;
    color: white;
    border-radius: 20rem;
    text-decoration: none; /* Bağlantı alt çizgisini kaldırır */
}

    .cevirBtn:active {
        background-color: darkred;
        width: 45px;
        height: 45px;
        color: white;
        border-radius: 20rem;
    }

    .cevirBtn:hover {
        background-color: darkred;
        width: 45px;
        height: 45px;
        color: white;
        border-radius: 20rem;
    }

#durakList {
    display: none;
}

.tamB {
    font-size: 15px;
}

.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;
}

