@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

.wf form {
  background: rgba(255, 255, 255, 1);
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
  padding: 32px;
  font-family: "Inter", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.wf .reg-form-title {
  color: rgba(13, 25, 133, 1);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  font-family: "Inter", sans-serif;
}

.wf .reg-form-subtitle {
  color: rgba(0, 0, 0, 1);
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px;
  font-family: "Inter", sans-serif;
}

.wf input[type="text"],
.wf input[type="email"] {
  height: 50px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  padding: 0 14px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  color: rgba(0, 0, 0, 1);
  background: transparent;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.wf input[type="text"]::placeholder,
.wf input[type="email"]::placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.wf input[type="text"]:hover,
.wf input[type="email"]:hover,
.wf input[type="text"]:focus,
.wf input[type="email"]:focus {
  border-color: rgba(0, 0, 0, 0.4);
}

/* Phone: let intl-tel-input control the input width */
.wf .phone .iti {
  width: 100%;
}

.wf .phone input[type="tel"] {
  height: 50px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  color: rgba(0, 0, 0, 1);
  background: transparent;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.wf .phone input[type="tel"]::placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.wf .phone input[type="tel"]:hover,
.wf .phone input[type="tel"]:focus {
  border-color: rgba(0, 0, 0, 0.4);
}

.wf button[type="submit"] {
  height: 60px;
  background: rgba(13, 25, 133, 1);
  color: rgba(255, 255, 255, 1);
  border: none;
  border-radius: 100px;
  font-size: 20px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: background 0.2s;
}

.wf button[type="submit"]:hover {
  background: rgba(37, 48, 145, 1);
}

.wf button[type="submit"]:active,
.wf button[type="submit"]:disabled {
  background: rgba(13, 25, 133, 1);
  opacity: 0.7;
  cursor: not-allowed;
}

/* Toast notification */
#reg-form-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0d1985;
  color: #fff;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  pointer-events: none;
}

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

/* intl-tel-input flag sprites */
.iti__flag {
  background-image: url("../images/intl-tel-input/flags.png") !important;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("../images/intl-tel-input/flags@2x.png") !important;
  }
}
