body {
    margin: 0;
    padding: 0;
    font-family: Verdana, sans-serif;
    overflow: hidden;
}
#map {
    height: 100vh;
    width: 100%;
    position: relative;
}
.custom-popup {
    position: absolute;
    left: 0;
    top: 0;
    width: 300px;
    height: 100%;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}
.custom-popup.visible {
    transform: translateX(0);
}
.country-name {
    font-size: 24px;
    margin-bottom: 20px;
    color: #FF9340;
    font-weight: bold;
    text-align: center;
}
.country-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
    border-radius: 4px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}
.country-info {
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    background: white;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.city-label {
    font-size: 10px;
    font-weight: 400;
    color: #333;
    text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.7), 
             1px -1px 0 rgba(255, 255, 255, 0.7), 
             -1px 1px 0 rgba(255, 255, 255, 0.7), 
             1px 1px 0 rgba(255, 255, 255, 0.7);

    white-space: nowrap;
    pointer-events: none;
    transform: translate(-150%, -150%);
}

.city-marker {
    stroke-width: 1.5px;
}

.city-marker-capital .inner-circle {
    fill: #ffeb3b;
    r: 3px;
}

.city-marker-summit {
    fill: #9c27b0;
}

.capital-marker::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #000;
    border: 1px solid white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-sizing: border-box;
}

.capital-marker .inner-dot {
    pointer-events: none;
}

.legend-image-only {
    margin-top: 10px;
    background: white;
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
  }

  .leaflet-marker-icon.black-square {
    background: #000;
    width: 10px !important;
    height: 10px !important;
    border: 1px solid #fff;
    border-radius: 2px;
}

.coal-square-marker {
    display: flex;
    justify-content: center;
    align-items: center;
}

.coal-square-marker div {
    transition: all 0.2s;
}

.coal-square-marker:hover div {
    transform: scale(1.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}