/* Frontend Harita Wrapper */
.cml-map-wrapper {
    position: relative;
    width: 100%;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.cml-map {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* Minimal Profesyonel Pin */
.cml-custom-marker {
    background: transparent;
    border: none;
}

.cml-custom-marker svg {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
    cursor: pointer;
    transition: transform 0.15s ease;
}

.cml-custom-marker:hover svg {
    transform: scale(1.08);
}

/* Ultra Minimal Bilgi Kutusu - Sol Üst */
.cml-info-box-container {
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    min-width: 260px;
    max-width: 320px;
    margin: 12px;
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.cml-info-card h2 {
    margin: 0 0 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: #202124;
    line-height: 1.3;
}

.cml-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.4;
}

.cml-info-item:last-of-type {
    margin-bottom: 14px;
}

.cml-info-item svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.cml-info-item span {
    color: #5f6368;
    flex: 1;
}

.cml-info-item a {
    color: #1a73e8;
    text-decoration: none;
    transition: color 0.15s ease;
}

.cml-info-item a:hover {
    color: #174ea6;
}

/* Yol Tarifi Butonu - Belirgin */
.cml-btn-directions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: #1a73e8;
    color: white !important;
    border-radius: 4px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cml-btn-directions:hover {
    background: #1765cc;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.cml-btn-directions svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.cml-btn-directions span {
    color: white;
}

/* Minimal Zoom Kontroller - Sağ Üstte */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15) !important;
    border-radius: 2px !important;
    margin-top: 12px !important;
    margin-right: 12px !important;
}

.leaflet-control-zoom a {
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 16px !important;
    border: none !important;
    background: white !important;
    color: #5f6368 !important;
    font-weight: 400 !important;
}

.leaflet-control-zoom a:hover {
    background: #f8f9fa !important;
    color: #202124 !important;
}

.leaflet-control-zoom-in {
    border-bottom: 1px solid #e8eaed !important;
}

/* Attribution - Minimal */
.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.85) !important;
    padding: 2px 5px !important;
    font-size: 9px !important;
    color: #70757a !important;
    border-radius: 2px !important;
}

.leaflet-control-attribution a {
    color: #70757a !important;
}

/* Popup Kapalı */
.leaflet-popup {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .cml-map {
        min-height: 350px;
    }
    
    .cml-info-box-container {
        min-width: 240px;
        max-width: calc(100vw - 80px);
        margin: 10px;
        padding: 14px;
    }
    
    .cml-info-card h2 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .cml-info-item {
        font-size: 12px;
        margin-bottom: 9px;
    }
    
    .cml-btn-directions {
        font-size: 12px;
        padding: 8px 14px;
    }
}

/* Loading */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cml-map {
    animation: fadeIn 0.3s ease-in;
}

/* Print */
@media print {
    .leaflet-control-zoom,
    .leaflet-control-attribution {
        display: none !important;
    }
    
    .cml-map-wrapper {
        box-shadow: none !important;
        border: 1px solid #e0e0e0;
    }
    
    .cml-info-box-container {
        box-shadow: none !important;
        border: 1px solid #e0e0e0;
    }
}
