* {
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  padding: clamp(1rem, 4vw, 3rem);
  overflow: hidden;
  font-family: system-ui, sans-serif;
  color: #243126;
  background: #f4f7f2;
}

main {
  display: flex;
  flex-direction: column;
  width: min(100%, 1100px);
  height: 100%;
  margin-inline: auto;
}

.map-container {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  width: 100%;
  border: 1px solid #b9c8b8;
  border-radius: 1rem;
  background: #dcebf2;
  box-shadow: 0 0.5rem 1.5rem rgb(28 48 32 / 12%);
}

.map {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.place-dialog {
  width: min(90vw, 32rem);
  padding: 0;
  border: 0;
  border-radius: 1rem;
  color: #243126;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 35%);
}

.place-dialog::backdrop {
  background: rgb(20 28 22 / 60%);
}

.dialog-content {
  position: relative;
  padding: 2rem;
}

.place-dialog-content {
  display: block;
  width: 100%;
  min-height: 12rem;
  border: 0;
  background: transparent;
}

.dialog-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #243126;
  background: #e7eee4;
}

.dialog-close:hover {
  background: #d4e1cf;
}
