
.map-container {
    width: 90%;
    max-width: 1200px;
    position: relative;
}

svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

svg g path {
    fill: #231f20;
    /* Default no-branch color */
    stroke: #ffffff;
    stroke-width: 1.5;
    transition: fill 0.3s ease;
    /* Only animate fill if it changes dynamically, though mostly static */
}

svg g:hover path {
    /* No visual change on hover as requested */
    /* Keeping the selector empty or removing it entirely is fine, ensuring no opacity/stroke shift */
}

svg g.has-branch {
    cursor: pointer;
}

/* Map Colors */
svg g.has-branch path {
  fill: #ef1d23; /* Active Branch - Red */
}

svg g.has-representative path {
  fill: #ef1d8c; /* Representative - Pink (Requested) */
}

svg g.has-construction path {
  fill: #3498db; /* Construction - Blue */
}

/* Popup Badge Styling */
.status-badge {
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: normal;
  display: inline-block;
  vertical-align: middle;
}

.status-representative {
  background-color: #ef1d8c;
  color: white;
}

.status-construction {
  background-color: #3498db;
  color: white;
}


/* Popup Styling */
.popup {
    position: absolute;
    background-color: #231f20;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    /* Allow clicking links inside */
    z-index: 1000;
    min-width: 250px;
    border: 1px solid #444;
    display: none;
    /* Controlled by JS */
}

.popup h3 {
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #555;
    padding-bottom: 5px;
    font-size: 1.2rem;
    color: #ef1d23;
}

.branch-item {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.branch-logo {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
	padding: 1px;
}

.branch-details {
    flex-grow: 1;
}

.branch-name {
    font-weight: bold;
    display: block;
    margin-bottom: 2px;
}


.branch-link {
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.branch-link:hover {
  color: #ef1d23;
  text-decoration: underline;
}

/* Instagram Icon */
.instagram-icon {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
}
