.overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
}

.modal {
  width: min(100%, 400px);
  border-radius: 10px;
  background: #ffffff;
  color: #1b1b1b;
  padding: 28px 22px 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.title {
  font-family: var(--neue-bold-font);
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.45;
}

.code {
  color: #ad7fb5;
}

.subtitle {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(35, 35, 35, 0.78);
}

.warning {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #b45309;
  background: #fff7ed;
  border-radius: 8px;
  padding: 10px 12px;
}

.manual_section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.manual_label {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(35, 35, 35, 0.75);
  text-align: left;
}

.manual_input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: var(--neue-light-font);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn_primary,
.btn_secondary {
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--neue-light-font);
}


.btn_primary {
  border: none;
  background: #1fad74;
  color: #fff;
  width: 100%;
}

.btn_secondary {
  border: 1px solid rgba(0, 0, 0, 0.55);
  background: transparent;
  color: #242424;
  width: 100%;
}

.btn_later {
  border: none;
  background: transparent;
  color: rgba(35, 35, 35, 0.7);
  text-decoration: none;
  font-size: 0.8rem;
  margin-top: 4px;
  font-family: var(--neue-light-font);
  cursor: pointer;
  transition: all 0.4s ease;
  &:hover {
    color: black;
    text-decoration: underline;
  }
}

.btn_primary:disabled,
.btn_secondary:disabled,
.btn_later:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
