* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* .container {
  display: grid;
  grid-template-columns: 380px 1fr;
  height: 100vh;
} */

.left-panel {
  border-right: 1px solid #e6e6e6;
  display: flex;
  flex-direction: column;
  min-width: 280px;
}

.left-header {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.left-header h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.left-header input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
}

.hotel-list {
  overflow-y: auto;
  padding: 8px 12px;
  height: 100%;
}

.hotel-item {
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.05s ease, background 0.1s ease;
}

.hotel-item:hover {
  background: #fafafa;
  transform: translateY(-1px);
}

.hotel-item h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

.hotel-item p {
  margin: 0;
  color: #666;
  font-size: 13px;
}

.right-panel #map {
  width: 100%;
  height: 100vh;
}

/* InfoWindow "card" styling */
.info-window {
  max-width: 260px;
}

.info-window .card {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-gap: 10px;
}

.info-window img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.info-window h3 {
  margin: 0;
  font-size: 16px;
}

.info-window .meta {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.count-badge {
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.thumb-wrap {
  height: 120px;
  overflow: hidden;
}

span.infobox_rate {
  display: inline-block;
  margin: -44px 0 0 -20px;
  float: left;
  background-color: #0054a6;
  padding: 5px 8px;
  font-weight: 500;
  text-align: left;
  font-size: 0.75rem;
}

.marker_info {
  width: 240px;
  height: 230px;
  border-radius: 5px;
  text-align: left;
  background: #fff;
  position: relative;
  z-index: 999;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.12);
}

.marker_info h3 {
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 500;
  margin-bottom: 3px;
  color: #444;
}

.marker_info em {
  display: inline-block;
  font-size: 0.75rem;
  color: #999;
}

.gm-style-iw.gm-style-iw-c {
  padding: 0;
  margin: 0;
}

.infoBox>img {
  position: absolute !important;
  right: 60px !important;
  top: 10px !important;
  z-index: 9999;
  width: 20px;
  height: 20px;
  display: block;
  cursor: pointer;
}

.gm-style-iw-d {
  padding: 0 !important;
  overflow: hidden !important;
}

/* Remove extra right/left spacing */
.gm-style-iw {
  padding: 0 !important;
  max-width: none !important;
}

.gm-style-iw-chr {
  position: absolute;
  z-index: 99999;
  width: 100%;
}

.marker_info .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .gm-ui-hover-effect {
  display: none !important;
} */

/* test starts */

.price-label {
  background: #fc5b62;
  border: 2px solid white;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: bold;
  position: absolute;
  white-space: nowrap;
  transform: translate(-50%, -100%);
  /* center above point */
  cursor: pointer;
  z-index: 100;
  /* always below InfoWindow */
}

.price-label-arrow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #fc5b62;
}

/* Put in your main CSS */
.price-label {
  position: absolute;
  transform: translate(-50%, -100%);
  white-space: nowrap;
  z-index: 100;
  /* overlays are under the map's InfoWindow which sits above */
  pointer-events: auto;
  font-weight: 700;
}

.price-label .price-label-inner {
  background: #fc5b62;
  /* border: 2px solid white; */
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: bold;
}

.price-label .price-label-arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #fc5b62;
}

/* test ends */