.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  overflow-y: auto;
}

.modal-content {
  position: relative;
  background-color: var(--white);
  margin: 50px auto;
  padding: 30px;
  width: 90%;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--primary-color);
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.modal-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.tab-btn {
  background: none;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.tab-btn:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.tab-btn.active {
  color: var(--primary-color);
}

.tab-btn.active:after {
  width: 100%;
}

.tab-content {
  margin-bottom: 30px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.location-map {
  margin-top: 30px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.location-map h3 {
  text-align: center;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

#map {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .modal-content {
    margin: 20px auto;
    padding: 20px;
  }

  .tab-btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  #map {
    height: 250px;
  }
}
