﻿/*.segment-label {
    background-color: rgba(0, 123, 255, 0.8);*/ /* plava boja */
/*color: white;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 24px;
    box-shadow: 0 0 3px rgba(0,0,0,0.5);
    border: 2px solid white;
    pointer-events: none;*/ /* ne ometa klik na liniju/marker */
/*}*/

.segment-label {
    position: relative; /* nužno za apsolutno pozicioniranje */
}

.segment-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    text-align: center;
    line-height: 24px;
    font-weight: bold;
    display: inline-block;
}

.segment-info {
    position: absolute;
    left: 30px; /* malo desno od kruga */
    top: -10px; /* po potrebi centriraj vertikalno */
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}


.leaflet-control.legend {
    background: white;
    padding: 8px;
    font-size: 13px;
    line-height: 18px;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

    .leaflet-control.legend h4 {
        margin: 0 0 5px;
        font-size: 14px;
        font-weight: bold;
    }

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.legend-color {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    border-radius: 3px;
}

.small-card {
    width: 180px;
    min-height: 280px;
    margin: 8px;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.card-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 5px 0 10px 0;
}

    .card-image-container img {
        max-width: 80%;
        max-height: 100px;
        object-fit: contain;
        display: block;
        cursor: pointer;
        margin: 0 auto;
    }
