html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.hero-section {
    background: url('../img/banner.webp') no-repeat center center/cover;
    padding: 80px 0;
    position: relative;
}

.hero-overlay {
    background: rgb(116 121 107 / 48%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.search-box {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.7);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.logo {
    display: block;
    width: 100%;
    text-align: center;
}

    .logo > img {
        height: 50px;
        margin: 10px 0 15px 0;
    }

.select2-results__group {
    font-weight: bold !important;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected {
    background-color: #5cc0c9;
}

/* Dropdown içerisindeki scroll alanı */
.select2-container--bootstrap-5 .select2-results__options {
    scrollbar-color: #5cc0c9 #ffffff; /* Firefox */
}

    /* WebKit tarayıcılar (Chrome, Edge, Safari) */
    .select2-container--bootstrap-5 .select2-results__options::-webkit-scrollbar {
        width: 12px; /* Kalınlık */
        scrollbar-color: #5cc0c9 #ffffff !important;
    }

    .select2-container--bootstrap-5 .select2-results__options::-webkit-scrollbar-track {
        background: #ffffff; /* Gri arka plan */
        border-radius: 0px;
    }

    .select2-container--bootstrap-5 .select2-results__options::-webkit-scrollbar-thumb {
        background: #5cc0c9; /* Scrollbar rengi */
        border-radius: 10px;
    }

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--highlighted {
    color: #000;
    background-color: #e9fdff !important
}

.btn-calc-route {
    background-color: #5ac0c9;
    border-color: #47b5be;
    color: white !important;
}

    .btn-calc-route:hover, .btn-calc-route:visited {
        background-color: #278e97 !important;
        border-color: #187a83 !important;
    }

.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #5ac0c9;
    box-shadow: 0 0 0 .18rem rgb(90 192 201 / 23%);
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus {
    border-color: #5ac0c9;
    box-shadow: 0 0 0 .18rem rgb(90 192 201 / 23%);
}

/* İçe aktarma (Import) - Bootstrap Icons'ı kullandığınızdan emin olun */
/* Eğer Bootstrap Icons kullanmıyorsanız, ikonlar görünmez. */

.route-summary-container {
    /* Genel konteyner stilini hafifçe yuvarlatıp gölge ekleyerek kart görünümü verin */
    background-color: #fff;
    border-radius: 12px;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);*/
    /* Mobil görünüm için sınırı ayarlayın */
}

/* Üst Kısım Bilgi Kutuları (7 saat, 674 km, 24.11.2025) */
.header-info .info-box {
    background-color: #f8f9fa; /* Hafif gri arka plan */
    padding: 5px;
    border-radius: 8px;
    color: #495057;
    font-size: 12px;
    margin-right: 3px;
}

#startTime {
    margin-bottom: 15px;
    display: block;
    font-weight: bold;
}

.header-info .info-box:last-child {
    margin-right: 0 !important;
}
/* ------------------------------------------------ */
/* DİKEY ZAMAN ÇİZELGESİ (TIMELINE) CSS KODLARI     */
/* ------------------------------------------------ */

.timeline {
    position: relative;
    padding-left: 15px; /* Dikey çizgi için sol boşluk */
}

    /* Dikey Çizgiyi Kesik Yapmak İçin Güncellenen Blok */
    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        left: 5px; /* İşaretleyicinin merkezine hizalama için ayarlandı */
        height: 100%;
        width: 0; /* Artık genişlik kullanmıyoruz, border kullanacağız */
        /* YENİ KURAL: Solid arka plan yerine Sol Kenar Çizgisi (Border) kullan */
        border-left: 2px dashed #dee2e6; /* Tireli (Dashed) çizgi */
        /* Veya Noktalı (Dotted) çizgi isterseniz: */
        /* border-left: 2px dotted #dee2e6; */
        /* Dikey çizgiyi en alta kadar uzatmak için height: 100%; kullanılır */
    }

/* Her Bir Rota Noktası */
.timeline-item {
    margin-bottom: 8px; /* Noktalar arası boşluk */
    position: relative;
    padding-left: 20px; /* İçerik için boşluk */
}

/* İşaretleyici (Pin İkonu) */
.timeline-marker {
    position: absolute;
    left: -22px; /* Çizginin üzerine gelecek şekilde sola kaydır */
    top: 0;
    /* İkonu kaplayan beyaz daire/arka plan */
    background: white;
    border-radius: 50%;
    padding: 2px;
    z-index: 10;
}

    /* İkonun Kendisi (Görselde tam daire değil, sadece ikon kullanılmış) */
    .timeline-marker .bi-geo-alt-fill {
        font-size: 1.4rem; /* İkon boyutu */
        color: #5cbfc9 !important; /* Bootstrap Primary rengi */
    }

/* İçerik Stili */
.timeline-content {
    /* Başlangıç ve ilçe/il ayrımı */
    font-size: 0.95rem;
}

.city-name {
    font-size: 1.1rem;
    color: #212529; /* Koyu metin */
}

.weather-row {
    font-size: 0.9rem;
    /*margin-top: 5px;*/
}

/* Hava Durumu Simgesi ve Saat/Sıcaklık Metinleri */
.time-temp, .temp {
    color: #7b848d;
}

   /* .time-temp .bi {
        margin-left: 10px;
    }*/
/* Hava Durumu Detay Metni (Alt satır) */
.weather-detail {
    font-size: 0.85rem;
    margin-top: -3px; /* Üstteki satırla biraz çakışma/yakınlık */
}

/* Hava Durumu İkonlarını renklendirme (Örneğin: Güneşli/Açık) */
.weather-row .text-warning {
    color: #ffc107 !important; /* Sarı/Güneş rengi */
}

/* Yükleme Ekranı (Overlay) */
.loading-overlay {
    position: fixed; /* Ekranı sabitler */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Yarı saydam siyah arka plan */
    display: none; /* Başlangıçta gizlidir (JavaScript ile gösterilecek) */
    justify-content: center; /* İçeriği yatayda ortala */
    align-items: center; /* İçeriği dikeyde ortala */
    z-index: 9999; /* Diğer her şeyin üstünde görünmesini sağlar */
}

/* Spinner ve Metin İçeriği */
.spinner-content {
    text-align: center;
}

/* Bootstrap Spinner'ı biraz büyütelim */
.spinner-border {
    width: 3rem;
    height: 3rem;
    color: #ffffff !important; /* Spinner'ı beyaz yap */
}

/* Harita üzerindeki marker kutusu */
.custom-map-marker {
    background-color: white; /* Arka plan rengi */
    border-radius: 50%; /* Yuvarlak yapar */
    border: 2px solid white; /* Beyaz çerçeve */
    box-shadow: 0 3px 6px rgba(0,0,0,0.3); /* Hafif gölge */
    display: flex;
    justify-content: center !important; /* İkonu yatay ortala */
    align-items: center; /* İkonu dikey ortala */
    font-size: 1.25rem; /* İkon boyutu */
    text-align:center !important;
}

.text-cloud {
    --bs-text-opacity: 1;
    color: rgb(101 180 233) !important;
}