/* Ana Kapsayıcı */
#aytemiz-map-wrapper {
    display: flex;
    height: 600px; /* Harita yüksekliğini buradan ayarlayabilirsiniz */
    width: 100%;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', sans-serif;
    border-radius: 8px;
    overflow: hidden;
}

/* Sol Panel */
#sidebar-panel {
    width: 320px;
    background: #fff;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #eee;
    z-index: 999;
}

.search-box {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

#searchInput {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

#stationList {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex: 1;
}

/* İstasyon Listesi Elemanları */
.station-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
    transition: background 0.2s;
}

.station-item:hover {
    background: #ffebee; /* Aytemiz kırmızısının çok açığı */
}

.station-item h4 {
    margin: 0 0 5px;
    font-size: 14px;
    color: #333;
    font-weight: 700;
}

.station-item p {
    margin: 0;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* Sağ Harita Alanı */
#map-canvas {
    flex: 1;
    height: 100%;
}

/* Popup ve Buton */
.leaflet-popup-content h3 {
    color: #e30613;
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: bold;
}

.leaflet-popup-content p {
    font-size: 13px;
    margin-bottom: 10px;
}

.btn-yol-tarifi {
    display: block;
    background: #e30613;
    color: #fff !important;
    text-align: center;
    padding: 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}

.btn-yol-tarifi:hover {
    background: #b0000b;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    #aytemiz-map-wrapper {
        flex-direction: column;
        height: 750px;
    }
    #sidebar-panel {
        width: 100%;
        height: 40%;
        order: 2;
    }
    #map-canvas {
        height: 60%;
        order: 1;
    }
}