
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f2f2f2;
}

.container {
  padding: 20px;
}

svg {
  width: 100%;
  height: auto;
  margin-top: 20px;
}

.country {
  fill: #ccc;
  stroke: #666;
  stroke-width: 1;
  transition: fill 0.3s;
}

.country:hover {
  fill: #bbb;
}

.country.active {
  fill: #ffd54f;
  stroke: #f44336;
  stroke-width: 1.5;
}

.popup {
  display: none;
}

#infoPopup {
  position: fixed;
  left: 50%;
  top: 20%;
  transform: translate(-50%, 0);
  z-index: 9999;
  max-width: 90%;
  background: #fff;
  border: 2px solid #004aad;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  padding: 15px;
  transition: all 0.3s ease-in-out;
  touch-action: none; /* Cho phép kéo popup trên mobile */
  cursor: grab;
  display: none;
}

#infoPopup.visible {
  display: block;
}

.popup-content img {
  width: 100%;
  border-radius: 8px;
}

.popup-content h2 {
  margin-top: 10px;
  color: #004aad;
}

.popup-content p {
  margin: 10px 0;
}

.career-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  background: #004aad;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.close-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
}

.country-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.country-menu button {
  background: #004aad;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
}

.country-menu button:hover {
  background: #0066cc;
}

footer {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  color: #004aad;
}
