.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 6, 23, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-card {
  position: relative;
  background: #14101e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  width: 100%;
  max-width: 460px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-closeButton {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: #ffffff;
  cursor: pointer;
}

.modal-heading {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 28px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-input,
.modal-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14px;
  color: #ffffff;
  box-sizing: border-box;
}

.modal-input::placeholder,
.modal-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.modal-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.modal-selectWrapper {
  position: relative;
  width: 100%;
}

.modal-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  appearance: none;
  box-sizing: border-box;
  cursor: pointer;
}

.modal-select option {
  background: #14101e;
  color: #ffffff;
}

.modal-selectIcon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.modal-submitButton {
  width: 100%;
  background: #ffffff;
  color: #14101e;
  font-size: 15px;
  font-weight: 700;
  padding: 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  margin-top: 6px;
}

.modal-footnote {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

@media (max-width: 500px) {
  .modal-card {
    padding: 28px 20px;
  }

  .modal-heading {
    font-size: 20px;
  }
}



.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #14101e;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90%;
  text-align: center;
}

.toast.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.toast--success {
  background: #1f7a3d;
}

.toast.toast--error {
  background: #b3261e;
}


.modal-errorText {
  color: #ff6b6b;
  font-size: 12px;
  margin-top: -8px;
  margin-bottom: -4px;
  padding-left: 4px;
}