@import "/style/global.css";

body {
  /* display: flex; */
  /* flex-direction: column; */
  align-items: center;
  justify-content: center;
  position: relative;
  /* min-height: 100vh; */
}

.modal {
  gap: 0.4rem;
  width: 360px;
  padding: 1.3rem;
  min-height: 240px;
  position: fixed;
  top: 20%;
  left: 0;
  right: 0;
  margin-inline: auto;
  background-color: #000;
  border: 1px solid #ddd;
  border-radius: 16px;
}

/* .modal .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
} */

.modal input {
  padding: 0.7rem 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9em;
}

.modal p {
  font-size: 0.9rem;
  color: #ddd;
  margin: 0.4rem 0 0.2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  background-color: black;
  color: white;
  border-radius: 5px;
  text-align: center;
  font-size: 1em;
}

.btn-close {
  transform: translate(250px, -10px);
  padding: 0.5em;
  color: var(--text);
  border-radius: 50%;
  border: none;
}

.btn-close:hover {
  color: var(--error);
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 100;
}

.modal {
  z-index: 110;
}
