
/* Map section in index */
#orase-harta {

}

#orase-harta .map-page {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 14px 16px 30px;
}

#orase-harta .map-page h1 {
    text-align: center;
    margin: 0 0 18px;
    font-size: clamp(24px, 4vw, 38px);
    color: #342d68;
    letter-spacing: -0.02em;
}

#orase-harta .map-wrap {
    position: relative;
    padding: 12px;
    height: calc(150vh - 285px);
    min-height: 630px;
    max-height: 1230px;
}

#orase-harta #romania-map {
    width: 100%;
    height: 100%;
    display: block;
}

#orase-harta .county {
    stroke: #ffffff;
    stroke-width: 1.2;
    transition: fill 0.22s ease, filter 0.22s ease;
}

#orase-harta .county-default {
    fill: #ded9ee;
}

#orase-harta .county-active {
    fill: #7a63c9;
    cursor: pointer;
}

#orase-harta .county-active:hover,
#orase-harta .county-active:focus {
    fill: #fb5bb5;
    filter: drop-shadow(0 0 8px rgba(251, 91, 181, 0.45));
    outline: none;
}

#orase-harta .city-dot {
    fill: #f97316;
    stroke: #ffffff;
    stroke-width: 1.6;
    cursor: pointer;
    transition: transform 0.2s ease;
}

#orase-harta .city-text {
    fill: #1f1235;
    font-size: 12px;
    font-weight: 700;
    paint-order: stroke;
    stroke: rgba(255, 255, 255, 0.95);
    stroke-width: 2px;
    cursor: pointer;
    user-select: none;
}

#orase-harta .city-label:hover .city-dot {
    transform: scale(1.22);
}

#orase-harta .map-tooltip {
    position: absolute;
    z-index: 20;
    max-width: 260px;
    background: rgba(35, 24, 64, 0.96);
    color: #ffffff;
    border: 1px solid rgba(169, 152, 219, 0.5);
    border-radius: 10px;
    padding: 10px 12px;
    text-align: left;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.14s ease;
    box-shadow: 0 10px 26px rgba(25, 16, 53, 0.34);
    line-height: 1.2;
}

#orase-harta .map-tooltip strong {
    display: block;
    font-size: 13px;
    margin: 0 0 3px;
    line-height: 1.2;
}

#orase-harta .map-tooltip span {
    display: block;
    font-size: 12px;
    line-height: 1.25;
    color: #e5dcff;
    margin: 0;
}

@media (max-width: 768px) {
    #orase-harta .map-page {
        padding: 8px 8px 18px;
    }

    #orase-harta .map-page h1 {
        font-size: 24px;
        margin: 0 0 10px;
    }

    #orase-harta .map-wrap {
        border-radius: 14px;
        padding: 8px;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    #orase-harta #romania-map {
        height: auto;
    }
}
