/* Summit registration overlay — matches the captured page's Roboto/blue CTA styling */
#surf-reg-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 24, 0.78);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#surf-reg-modal {
  background: #ffffff;
  border-radius: 14px;
  max-width: 440px;
  width: 100%;
  padding: 28px 26px 22px;
  font-family: "Roboto", Arial, sans-serif;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}
#surf-reg-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: #9aa3b2;
  cursor: pointer;
  padding: 4px;
}
#surf-reg-modal h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
  color: #101828;
  text-align: center;
}
#surf-reg-modal .surf-reg-sub {
  margin: 0 0 18px;
  font-size: 14px;
  color: #475467;
  text-align: center;
  line-height: 1.45;
}
#surf-reg-modal label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #344054;
  margin: 12px 0 4px;
}
#surf-reg-modal input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 15px;
  font-family: inherit;
  color: #101828;
}
#surf-reg-modal input:focus {
  outline: none;
  border-color: #2180fc;
  box-shadow: 0 0 0 3px rgba(33, 128, 252, 0.18);
}
#surf-reg-submit {
  width: 100%;
  margin-top: 18px;
  background: #2180fc;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.2px;
}
#surf-reg-submit:hover { background: #1668d9; }
#surf-reg-submit:disabled { background: #93b8ef; cursor: wait; }
.surf-reg-legal {
  margin-top: 12px;
  font-size: 11px;
  color: #98a2b3;
  text-align: center;
  line-height: 1.4;
}
.surf-reg-error {
  margin-top: 10px;
  font-size: 13px;
  color: #d92d20;
  text-align: center;
  min-height: 16px;
}
.surf-reg-success {
  text-align: center;
  padding: 18px 4px 8px;
}
.surf-reg-success .surf-reg-check {
  font-size: 44px;
  line-height: 1;
}
.surf-reg-success h3 {
  margin: 12px 0 6px;
  font-size: 21px;
  color: #101828;
  font-family: "Roboto", Arial, sans-serif;
}
.surf-reg-success p {
  margin: 0;
  font-size: 14px;
  color: #475467;
  line-height: 1.5;
}
.surf-reg-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* intl-tel-input: keep the phone field the same width as the other inputs */
.iti {
  width: 100%;
  display: block;
}
.iti input#phone,
.iti input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
}
.iti__country-list {
  z-index: 100000;
  max-width: min(340px, 86vw);
  white-space: normal;
}
@media (max-width: 600px) {
  #phone,
  .iti input[type="tel"] {
    font-size: 16px; /* prevents iOS auto-zoom on focus */
  }
}
