#map-wrapper {
  display: flex;
  height: 80vh; /* Chiều cao tùy chỉnh */
  position: relative;
  font-family: Arial, sans-serif;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#map-sidebar {
  width: 350px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  z-index: 10;
  transition: transform 0.3s ease-in-out;
}

#map-canvas {
  flex-grow: 1;
  height: 100%;
}

.sidebar-header {
  padding: 20px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #e0e0e0;
}
.sidebar-header h2 {
  margin: 0;
  font-size: 24px;
}

.sidebar-content {
  overflow-y: auto;
  flex-grow: 1;
}

.sidebar-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-content li {
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
}

.sidebar-content li:hover {
  background-color: #f5f5f5;
}

.sidebar-content li.active {
  background-color: #e8f0fe;
  font-weight: bold;
}

.sidebar-content .item-thumbnail {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  margin-right: 15px;
  object-fit: cover;
}

.sidebar-back-button {
  padding: 15px 20px;
  border-top: 1px solid #e0e0e0;
}
#back-to-main-menu {
  background: #0073aa;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}
#back-to-main-menu:hover {
  background: #005a87;
}

/* InfoWindow của Google Map */
.gm-style-iw-d {
  overflow: hidden !important; /* Fix scrollbar thừa */
}
.info-window-content {
  font-size: 14px;
}
.info-window-content h4 {
  margin: 0 0 5px 0;
}
.info-window-content p {
  margin: 0;
}
/* Container chính của menu xoay */
.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Đây là key để ẩn nửa vòng tròn còn lại */
}

/* Wrapper sẽ thực sự xoay */
.navigation-wrapper {
  position: absolute;
  /* Kích thước của vòng tròn, ví dụ 700px */
  width: 700px;
  height: 700px;
  /* Đặt tâm xoay ở bên trái và giữa theo chiều dọc */
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%); /* Đẩy nửa vòng tròn ra ngoài */
}

/* Từng item trên vòng tròn */
.navigation-item {
  position: absolute;
  width: 150px; /* Kích thước item to hơn */
  height: 150px;
  border-radius: 50%;
  cursor: pointer;
  /* Dùng transform để căn giữa chính xác */
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.navigation-item .background-holder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 4px solid transparent;
  transition: border-color 0.3s ease-in-out;
}

.navigation-item:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

/* Style cho item đang active */
.navigation-item.active .background-holder {
  border-color: #ffffff; /* Ví dụ: viền trắng */
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Panel chi tiết (cho danh sách quán ăn) */
.details-list-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background-color: rgba(25, 25, 25, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
}
