/* MAP MODAL STYLES */

.map-modal-body {
  position: relative;
  width: 100%;
  height: calc(85vh - 100px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  overflow: hidden;
  padding: 10px;
}

.map-modal-wrapper {
  position: relative;
  /* width/height managed explicitly by map-modal.js */
}

.map-modal-wrapper .map-modal-img {
  display: block;
  width: 100%;
  height: 100%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  background: rgba(4, 5, 11, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.05);
}

.map-modal-pins {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.map-modal-dropdown-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  z-index: 1000;
}

.map-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease;
  min-width: 250px;
  color: #fff;
}

.map-dropdown-trigger:hover {
  background: rgba(255, 255, 255, 0.15);
}

.map-dropdown-trigger.open .dropdown-chevron {
  transform: rotate(180deg);
}

.map-dropdown-label {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  padding: 0;
}

/* Reusing .glass-dropdown class from top-bar.css for the list, we just override its specific location overrides */
.map-modal-dropdown-wrapper .glass-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 250px;
}
