.sm-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 60%;
  overflow: hidden;
}

#map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important; 
  height: 100% !important;
}

@media (max-width: 768px) {
  .sm-map-wrapper {
      padding-bottom: 58%;
      max-width: 800px;
  }
}

@media (max-width: 480px) {
  .sm-map-wrapper {
      padding-bottom: 60%;
      max-width: 100%;
  }
}

#map svg {
  width: 100% !important;
  height: 100% !important;
  transform-origin: 0 0;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 90%;
    max-width: 500px;
    position: relative;
  }
  
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
  }
  
  #nexus-form label {
    margin-right: 20px;
  }
  
  #nexus-result {
    margin-top: 20px;
  }