.my-map{
    text-align: center;
}


.syria-map path:hover {
    fill: #891635; 
    cursor: pointer;
}


.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 200px;
    text-align: center;
    background-color: #e8eae6;
    box-sizing: border-box;
    padding: 10px;
    z-index: 100;
    display: none;
    /*to hide popup initially*/
}
  
.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    background-color: black;
    color: white;
    border-radius: 50%;
    padding: 4px;
}

circle {
    fill: red;
}

text {
    font-size: 17px;
    font-weight: normal;
    fill: white;
    stroke: black;
    stroke-width: 0.5px;
    paint-order: stroke;
}

/* Remove default margins and make the page fit viewport */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* No scrollbars */
  font-family: Arial, sans-serif;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.map-wrapper {
  position: relative;
  width: 90%;
  height: 90%;
}

.syria-map {
  width: 100%;
  height: 100%;
  fill: #9f9f9f;
  stroke: #fff;
  stroke-width: 2;
}

.labels {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Allow clicks to pass to map */
}

.label {
  position: absolute;
  background: rgba(255,255,255,0.8);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  white-space: nowrap;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    height: 100vh;
}

#mapContainer {
    flex: 1;
    overflow: none;
}

#centersList {
    width: 360px;
    padding: 16px;
    box-sizing: border-box;
    background: #fafafa;
    overflow: none;
}

#centersList h3{
	color: #421a1a;
}

.centers-box {
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    max-height: 80vh;
    overflow-y: auto;
    padding: 10px;
}

.center-entry {
    padding: 8px 0;
    border-bottom: 1px solid #ccc;
    
}

    .center-entry:last-child {
        border-bottom: none;
    }

    .center-entry h4 {
        margin: 0 0 5px;
        font-size: 17px;
        color: #891635;
    }
    .center-entry p {
        margin: 0 0 5px;
        font-size: 14px;
    }
    
     @media (max-width: 768px) {
    body {
        flex-direction: column;
        height: 100%;

    }

    #mapContainer {
        width: 100%;
        height: 100%;
    }
    

        #centersList {
        width: 100%;
        height: 50%;
        overflow: scroll;
    }
    .syria-map{
    	width: 80%;
    }
    
    .centers-box {
    overflow-y: unset;
        max-height: 100%;
        border: 0px solid #ccc;
    border-radius: 0px;
    background: #fafafa;
    padding: 10px;
}
}