@charset "UTF-8";

.invitee-page .landing {
  padding-bottom: max(32px, env(safe-area-inset-bottom));
}

.invitee-entry {
  width: min(100%, 540px);
  margin-top: clamp(28px, 4vh, 48px);
  padding-top: 0;
}

.invitee-panel {
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 18px 24px 14px;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 12px;
  background: rgb(15 27 39 / 85%);
  box-shadow: 0 12px 32px rgb(0 0 0 / 15%);
}

.invitee-panel h2 {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.invitee-form {
  display: grid;
  width: min(100%, 280px);
  margin: 0 auto;
  gap: 10px;
}

.invitee-panel h2 span {
  display: inline-block;
}

.invitee-field {
  display: grid;
  gap: 4px;
  text-align: left;
}

.invitee-field label {
  color: #d2d8df;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.invitee-field input {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 5px 10px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 4px;
  background: rgb(255 255 255 / 7%);
  color: #fff;
  color-scheme: dark;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.invitee-field input:focus-visible {
  outline: 2px solid rgb(240 216 187 / 70%);
  outline-offset: 2px;
}

.invitee-submit {
  width: min(100%, 200px);
  min-height: 40px;
  padding: 8px 22px;
  font-size: 16px;
  line-height: 1.5;
  justify-self: center;
  margin-top: 4px;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.invitee-submit:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}

.invitee-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 8px;
  padding: 4px 12px;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-underline-offset: 4px;
}

.invitee-entry .contact {
  margin-top: 24px;
}

@media (max-width: 540px) {
  .invitee-entry { margin-top: 28px; }
  .invitee-panel { padding: 18px 16px 12px; }
  .invitee-panel h2 { margin-bottom: 14px; font-size: 16px; }
  .invitee-field input { min-height: 44px; padding: 9px 11px; }
  .invitee-submit { min-height: 44px; padding: 10px 20px; }
  .invitee-back { min-height: 44px; }
}
