.Modal__overlay {
  flex-direction: column;
  flex-grow: 0px;
  flex-shrink: 1px;
  z-index: 100;
  background-color: #28282899;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
}

.Modal__modal {
  flex-grow: 0px;
  background-color: #fff;
  border-radius: 10px;
  flex-direction: column;
  min-width: 300px;
  min-height: 100px;
  padding: 20px;
  display: flex;
  position: relative;
  box-shadow: 0 0 20px #444;
}

.Modal__title {
  color: #444;
  border-bottom: 1px solid #ccc;
  margin: 0;
  padding-bottom: 10px;
  font-size: 1.4rem;
}

.Modal__closeButton {
  text-align: center;
  cursor: pointer;
  background-color: #eee;
  border: 0;
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  display: flex;
  position: absolute;
  right: 20px;
}

.Modal__closeButton:hover {
  background-color: #ddd;
}

.Modal__content {
  padding-top: 20px;
}

[data-theme="dark"] .Modal__modal {
  background-color: #111;
}

[data-theme="dark"] .Modal__closeButton {
  background-color: #222;
}

[data-theme="dark"] .Modal__closeButton:hover {
  background-color: #282828;
}

[data-theme="dark"] .Modal__title {
  color: #ccc;
}

