.header {
  height: 90px;
  justify-content: center;
  padding: 0 30px;
}

.back-button {
  position: absolute;
  left: 20px;
}

.map-container {
  position: relative;
  top: 110px;
  width: 100%;
  height: 400px;
  background: lightgray;
  z-index: 0;
}

.map {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.location-display {
  position: relative;
  top: -40px;
  margin: 0 auto;
  max-width: 400px;
  background: white;
  padding: 30px;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.location-display-title {
  font-size: 1.125rem;
  font-weight: 400;
  color: #696b6b;
  margin: 20px 0 46px;
  text-align: center;
}

.location-search {
  display: flex;
  align-items: center;
  background: var(--background-white-color);
  padding: 0 18.4px;
  height: 76px;
  border-radius: 12.27px;
  box-shadow: 3.68px 3.68px 12.27px rgba(0, 0, 0, 0.15);
  margin-bottom: 42px;
}

.search-icon {
  width: 24.55px;
  height: 24.55px;
  margin-right: 12px;
}

.espelhado {
  transform: scaleX(-1);
}

.location-search input {
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  width: 100%;
  background: var(--background-white-color);
}

.pin-block {
  display: flex;
  align-items: center;
  margin-bottom: 46px;
}

.pin-box {
  border: 1.23px solid var(--primary-purple-color);
  border-radius: 12.33px;
  width: 67.79px;
  height: 62.86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 18.5px;
  box-shadow: 3.7px 12.33px 12.33px rgba(0, 0, 0, 0.15);
}

.pin-box img {
  width: 19.72px;
  height: 25.88px;
  margin-bottom: 5px;
}

.pin-box span {
  font-size: 0.625rem;
  color: var(--primary-purple-color);
  font-weight: 400;
}

.address-text {
  font-size: 0.771rem;
  color: #1e1e1e;
  text-align: left;
  font-weight: 500;
  width: 80%;
}

.confirm-button {
  background-color: var(--primary-purple-color);
  height: 77px;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 10.67px;
  cursor: pointer;
  font-size: 1.25rem;
  width: 100%;
  transition: background 0.3s;
}

.confirm-button:hover {
  background-color: var(--secondary-purple-color);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.3);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-box {
  background-color: white;
  padding: 25px 20px;
  border-radius: 20px;
  text-align: center;
  max-width: 300px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--primary-purple-color);
}

.modal-box h2 {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
}

.modal-input {
  width: calc(100% - 24px);
  padding: 12px;
  margin: 0 auto 15px auto;
  display: block;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 14px;
}

.modal-button {
  background-color: #8e6de9;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-button:hover {
  background-color: #6b4edb;
}

.modal-button:disabled {
  background-color: #bba4f0;
  cursor: not-allowed;
  opacity: 0.6;
}

.modal-button:enabled {
  background-color: #6200ea;
  cursor: pointer;
  opacity: 1;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-box {
  background-color: white;
  padding: 25px 20px;
  border-radius: 20px;
  text-align: center;
  max-width: 300px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #6200ea;
}

.modal-box h2 {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
}

.modal-input {
  width: calc(100% - 24px);
  padding: 12px;
  margin: 0 auto 15px auto;
  display: block;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 14px;
}

.modal-button {
  background-color: #8e6de9;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-button:hover {
  background-color: #6b4edb;
}

.modal-button:disabled {
  background-color: #bba4f0;
  cursor: not-allowed;
  opacity: 0.6;
}

.modal-button:enabled {
  background-color: #6200ea;
  cursor: pointer;
  opacity: 1;
}

.hidden {
  display: none;
}
