@font-face {
  font-family: "RB";
  src: url("../fonts/RB Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "RB";
  src: url("../fonts/RB Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "RB";
  src: url("../fonts/RB Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Saudi";
  src: url("../fonts/Saudi-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Saudi";
  src: url("../fonts/Saudi-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Saudi";
  src: url("../fonts/Saudi-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #111c4e;
  --green: #005b4f;
  --gold: #d1b253;
  --white: #fff;
  --page-ratio: 56.25vw;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--white);
}

body {
  color: var(--navy);
  font-family: "RB", Arial, sans-serif;
}

button,
input {
  font: inherit;
}

.page {
  position: relative;
  display: flex;
  min-height: max(100svh, var(--page-ratio));
  overflow: hidden;
  background: #fff;
}

.page::before {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  height: 2.61vw;
  min-height: 24px;
  content: "";
  background: url("../images/top-pattern-desktop.png") center top / cover no-repeat;
}

.top-pattern {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 2.61vw;
  min-height: 24px;
  overflow: hidden;
  object-fit: cover;
  pointer-events: none;
}

.top-pattern-mobile {
  display: none;
}

.page::after {
  position: absolute;
  z-index: 12;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.46vw;
  min-height: 15px;
  content: "";
  background: var(--navy);
}

.brand {
  position: absolute;
  z-index: 15;
  top: 10.6%;
  display: block;
  object-fit: contain;
}

.brand-award {
  left: 6.85%;
  width: 9.65%;
}

.brand-seetah {
  right: 6.1%;
  width: 10.6%;
}

.ornament {
  position: absolute;
  z-index: 14;
  object-fit: contain;
  pointer-events: none;
}

.ornament-left {
  bottom: 0;
  left: 0;
  width: 3.9%;
}

.ornament-right {
  right: 0;
  bottom: 9.4%;
  width: 3.9%;
}

.mobile-footer {
  display: none;
  pointer-events: none;
}

.main {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: auto;
  text-align: center;
}

.invitation-main {
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  padding: 7.5vw 12.4vw 3.2vw;
}

.sponsor {
  margin: 0;
  color: var(--green);
  font-family: "Saudi", "RB", sans-serif;
  font-size: 2.6vw;
  font-weight: 700;
  line-height: 1.35;
}

.sponsor-detail {
  margin: 0.22vw 0 0;
  color: var(--green);
  font-family: "Saudi", "RB", sans-serif;
  font-size: 1.82vw;
  font-weight: 700;
  line-height: 1.3;
}

.guest-intro {
  margin: 1.93vw 0 0;
  font-family: "Saudi", "RB", sans-serif;
  font-size: 2.08vw;
  font-weight: 700;
  line-height: 1.25;
}

.guest-name {
  margin: 0.1vw 0 0;
  font-family: "Saudi", "RB", sans-serif;
  font-size: 2.9vw;
  font-weight: 700;
  line-height: 1.3;
}

.guest-role {
  margin: 0;
  font-family: "Saudi", "RB", sans-serif;
  font-size: 2.06vw;
  font-weight: 700;
  line-height: 1.25;
}

.invite-line {
  margin: 1.25vw 0 0;
  font-family: "Saudi", "RB", sans-serif;
  font-size: 2.2vw;
  font-weight: 700;
}

.event-title {
  margin: 0.02vw auto 0;
  color: var(--green);
  font-family: "Saudi", "RB", sans-serif;
  font-size: 3.92vw;
  font-weight: 700;
  line-height: 1.18;
  white-space: nowrap;
}

.dinner {
  margin: 0.25vw 0 0;
  font-family: "Saudi", "RB", sans-serif;
  font-size: 2.34vw;
  font-weight: 600;
}

.event-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5.5vw;
  margin-top: 1.45vw;
  color: var(--green);
  direction: rtl;
}

.event-detail {
  display: flex;
  align-items: center;
  gap: 0.55vw;
  min-width: 12vw;
  font-family: "RB", sans-serif;
  font-size: 1.2vw;
  line-height: 1.15;
  text-align: right;
}

.event-detail svg {
  width: 2.35vw;
  height: 2.35vw;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.event-detail.location svg {
  fill: currentColor;
  stroke-width: 0;
}

.action-row {
  display: flex;
  justify-content: center;
  gap: 4.65vw;
  margin-top: 1.72vw;
  direction: rtl;
  order: 1;
  transform: translateY(1.4vw);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 11.65vw;
  min-height: 3.25vw;
  border: 0;
  border-radius: 0;
  color: var(--navy);
  background: var(--gold);
  font-family: "RB", sans-serif;
  font-size: 1.86vw;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.btn-green {
  color: #fff;
  background: var(--green);
}

.invitation-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3vw;
  width: 65vw;
  margin: 2.25vw auto 0;
  direction: rtl;
  font-size: 1.08vw;
  line-height: 1.5;
  text-align: right;
  order: 2;
}

.notes p {
  margin: 0;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2vw;
  direction: ltr;
  text-align: center;
}

.contact > div + div {
  padding-left: 1.2vw;
  border-left: 2px solid #b79a00;
}

.contact p {
  margin: 0;
}

.contact a {
  color: inherit;
  text-decoration: none;
}

.contact-phone-link {
  position: absolute;
  z-index: 35;
  left: 31.2%;
  top: 91.5%;
  display: block;
  width: 8.8%;
  height: 4%;
  border-radius: 6px;
  color: transparent;
  font-size: 0;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: rgb(209 178 83 / 25%);
}

.contact-phone-link:focus-visible {
  outline: 3px solid #d1b253;
  outline-offset: 2px;
}

.form-main {
  align-self: flex-start;
  margin: 0 auto;
  padding: 10.4vw 8.5vw 5vw;
}

.screen-title {
  margin: 0;
  font-family: "RB", sans-serif;
  font-size: 2.82vw;
  font-weight: 700;
}

.registration-form {
  margin: 6vw auto 0;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.55vw 6.1vw;
  max-width: 83vw;
  margin: 0 auto;
  direction: rtl;
}

.field {
  width: 100%;
  height: 2.35vw;
  min-height: 40px;
  padding: 0.5vw 1.1vw;
  border: 0;
  border-radius: 0;
  outline: none;
  color: #fff;
  background: var(--green);
  font-size: 1.25vw;
  text-align: right;
}

.field::placeholder {
  color: #fff;
  opacity: 1;
}

.field:focus {
  box-shadow: 0 0 0 3px rgb(209 178 83 / 65%);
}

.phone-control {
  display: flex;
  width: 100%;
  height: 2.35vw;
  min-height: 40px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--green);
  direction: ltr;
}

.phone-control:focus-within {
  box-shadow: 0 0 0 3px rgb(209 178 83 / 65%);
}

.phone-control .field {
  min-width: 0;
  height: 100%;
  min-height: 0;
  flex: 1;
  background: transparent;
  direction: rtl;
  box-shadow: none;
}

.country-code {
  display: none;
  flex: 0 0 auto;
  border: 0;
  outline: 0;
  color: #fff;
  background: var(--green);
  font-family: "RB", Arial, sans-serif;
  cursor: pointer;
}

.country-code option {
  color: var(--navy);
  background: #fff;
}

.phone-error {
  display: block;
  min-height: 0;
  color: #b42318;
  font-size: 0;
  text-align: right;
}

.form-submit {
  margin-top: 10.7vw;
}

.message-main,
.ticket-main,
.lookup-main {
  padding: 8vw 18vw 7vw;
}

.message-title {
  margin: 0;
  font-size: 3.65vw;
  font-weight: 400;
  line-height: 1.48;
  transform: translateY(-2.4vw);
}

.ticket-main {
  align-self: flex-start;
  padding-top: 10.8vw;
}

.ticket-title {
  margin: 0;
  font-size: 3.65vw;
  font-weight: 400;
  line-height: 1.15;
}

.ticket-en {
  margin: -0.25vw 0 0;
  font-size: 3.42vw;
  font-weight: 400;
  line-height: 1.06;
}

.ticket-subtitle {
  margin: 0;
  font-size: 2.75vw;
  letter-spacing: 0.08em;
}

.qr {
  display: block;
  width: 17.8vw;
  margin: 2.55vw auto 0;
}

.lookup-main {
  align-self: flex-start;
  margin: 0 auto;
  padding-top: 13.2vw;
}

.lookup-title {
  margin: 0;
  font-size: 4.15vw;
  font-weight: 400;
  line-height: 1.18;
}

.lookup-subtitle {
  margin: 0.15vw 0 0;
  font-size: 3.65vw;
  font-weight: 400;
  line-height: 1.25;
}

.lookup-form {
  width: 40vw;
  margin: 9.05vw auto 0;
}

.lookup-form label {
  display: block;
}

.lookup-form label + label > .field,
.lookup-form label + label > .phone-control {
  margin-top: 0.85vw;
}

.mobile-only {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .contact-phone-link { left: 25.5%; top: 60.4%; width: 13%; height: 2.5%; }
  :root {
    --page-ratio: 177.78vw;
  }

  .page {
    height: max(100svh, var(--page-ratio));
    min-height: 0;
    padding-bottom: 27.78vw;
  }

  .page::before {
    display: none;
    height: 22.69vw;
    min-height: 0;
    background-image: url("../images/top-pattern-mobile.png");
    background-size: 100% 100%;
  }

  .top-pattern {
    height: 22.69vw;
    min-height: 0;
  }

  .top-pattern-desktop {
    display: none;
  }

  .top-pattern-mobile {
    display: block;
  }

  .page::after {
    height: 3.35vw;
    min-height: 0;
  }

  .brand,
  .ornament-right {
    display: none;
  }

  .ornament-left {
    display: block;
    width: 10vw;
    height: auto;
    bottom: 0;
    left: 0;
    z-index: 14;
  }

  .mobile-footer {
    position: absolute;
    z-index: 9;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 27.78vw;
    object-fit: fill;
  }

  .main {
    margin-top: 0;
    margin-bottom: 0;
  }

  .invitation-main {
    padding: 28.7vw 4.7vw 0;
  }

  .invitation-meta {
    order: 1;
  }

  .action-row {
    order: 2;
  }

  .sponsor {
    font-size: 3.95vw;
    line-height: 1.4;
  }

  .sponsor-detail {
    width: 91%;
    margin: 1.25vw auto 0;
    font-size: 3.15vw;
    line-height: 1.42;
  }

  .mobile-only {
    display: initial;
  }

  .guest-intro {
    margin-top: 3.15vw;
    font-size: 3.85vw;
  }

  .guest-name {
    margin-top: 0.45vw;
    font-size: 4.9vw;
    line-height: 1.35;
  }

  .guest-role {
    margin-top: 0.35vw;
    font-size: 3.55vw;
  }

  .invite-line {
    margin-top: 3.5vw;
    font-size: 4.15vw;
  }

  .event-title {
    width: 91%;
    margin-top: 0;
    font-size: 6.65vw;
    line-height: 1.22;
    white-space: normal;
  }

  .dinner {
    margin-top: 1.05vw;
    font-size: 4.05vw;
  }

  .event-details {
    gap: 6vw;
    margin-top: 2vw;
  }

  .event-detail {
    gap: 1vw;
    min-width: 0;
    font-size: 2.25vw;
  }

  .event-detail svg {
    width: 4.8vw;
    height: 4.8vw;
  }

  .invitation-meta {
    grid-template-columns: 1fr;
    gap: 1.7vw;
    width: 82%;
    margin-top: 2vw;
    font-size: 1.87vw;
    text-align: center;
  }

  .contact {
    grid-row: 2;
    gap: 2.2vw;
  }

  .contact > div + div {
    padding-left: 2.2vw;
  }

  .action-row {
    flex-direction: column;
    align-items: center;
    gap: 4.2vw;
    margin-top: 2.5vw;
    transform: translateY(-5vw);
  }

  .btn {
    width: 24.6vw;
    min-height: 6.8vw;
    font-size: 4.35vw;
  }

  .form-main {
    padding: 34vw 10.4vw 32vw;
  }

  .screen-title {
    font-size: 6.3vw;
  }

  .registration-form {
    margin-top: 4.3vw;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 2.5vw;
    max-width: none;
  }

  .field-grid label:nth-child(1) { order: 1; }
  .field-grid label:nth-child(2) { order: 5; }
  .field-grid label:nth-child(3) { order: 2; }
  .field-grid label:nth-child(4) { order: 6; }
  .field-grid label:nth-child(5) { order: 3; }
  .field-grid label:nth-child(6) { order: 7; }
  .field-grid label:nth-child(7) { order: 4; }
  .field-grid label:nth-child(8) { order: 8; }

  .field {
    height: 7.65vw;
    min-height: 0;
    padding: 1vw 2.2vw;
    font-size: 3.15vw;
    border-radius: 2px;
  }

  .phone-control {
    height: 7.65vw;
    min-height: 0;
    border-radius: 2px;
  }

  .phone-control .field {
    padding-right: 2.2vw;
    padding-left: 1.2vw;
  }

  .country-code {
    display: block;
    width: 29vw;
    height: 100%;
    padding: 0 1.8vw;
    border-right: 1px solid rgb(255 255 255 / 42%);
    font-size: 2.85vw;
    text-align: left;
  }

  .phone-error:not(:empty) {
    min-height: 3.6vw;
    margin-top: 1vw;
    font-size: 2.4vw;
  }

  .form-submit {
    margin-top: 13.8vw;
  }

  .message-main,
  .ticket-main,
  .lookup-main {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24vw 8vw 28vw;
  }

  .message-title {
    margin-top: -2vw;
    font-size: 5.25vw;
    line-height: 1.5;
    transform: translateY(13vw);
  }

  .ticket-main {
    justify-content: flex-start;
    padding-top: 48vw;
  }

  .ticket-title {
    font-size: 5.3vw;
  }

  .ticket-en {
    margin-top: 1vw;
    font-size: 4.8vw;
  }

  .ticket-subtitle {
    font-size: 4.25vw;
    letter-spacing: 0.06em;
  }

  .qr {
    width: 32vw;
    margin-top: 3.5vw;
  }

  .lookup-main {
    justify-content: flex-start;
    padding-top: 47vw;
  }

  .lookup-title {
    font-size: 6.15vw;
  }

  .lookup-subtitle {
    margin-top: 0.5vw;
    font-size: 5.55vw;
  }

  .lookup-form {
    width: 79.2vw;
    margin-top: 18.8vw;
  }

  .lookup-form label + label > .field,
  .lookup-form label + label > .phone-control {
    margin-top: 3vw;
  }
}

/* High-visibility registration validation state. */
.registration-form .field-grid > label.has-live-error > .field,
.registration-form .field-grid > label.has-live-error > .phone-control,
.registration-form .field-grid > label.has-live-error .document-choice {
  box-shadow:
    inset 0 0 0 2px #e11d48,
    0 0 0 4px rgb(225 29 72 / 22%),
    0 0 18px rgb(225 29 72 / 34%) !important;
  animation: registration-error-pulse .48s ease-out;
}

.registration-form .field-grid > label.has-live-error > .field:focus,
.registration-form .field-grid > label.has-live-error > .phone-control:focus-within,
.registration-form .field-grid > label.has-live-error .document-choice:focus-within {
  box-shadow:
    inset 0 0 0 2px #be123c,
    0 0 0 5px rgb(225 29 72 / 30%),
    0 0 22px rgb(225 29 72 / 42%) !important;
}

.registration-form .live-field-error:not(:empty),
.registration-form .document-hint:not(:empty),
.registration-form .phone-error:not(:empty) {
  display: block !important;
  min-height: auto !important;
  padding: 6px 9px !important;
  border: 1px solid #fda4af !important;
  border-radius: 6px !important;
  color: #9f1239 !important;
  background: #fff1f2 !important;
  font-size: clamp(11px, .78vw, 14px) !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  box-shadow: 0 8px 20px rgb(159 18 57 / 20%) !important;
}

@keyframes registration-error-pulse {
  0% { box-shadow: inset 0 0 0 2px #e11d48, 0 0 0 0 rgb(225 29 72 / 48%); }
  100% { box-shadow: inset 0 0 0 2px #e11d48, 0 0 0 4px rgb(225 29 72 / 22%), 0 0 18px rgb(225 29 72 / 34%); }
}

@media (max-width: 768px) {
  .registration-form .live-field-error:not(:empty),
  .registration-form .document-hint:not(:empty),
  .registration-form .phone-error:not(:empty) {
    padding: 5px 7px !important;
    font-size: clamp(11px, 2.7vw, 13px) !important;
  }
}

/* Mobile artboards are the approved Illustrator source of truth. */
.invitation-page { --mobile-artboard: url("../mobile/screen-1.svg"); }
.form-page { --mobile-artboard: url("../mobile/screen-2.svg"); }
.message-page { --mobile-artboard: url("../mobile/screen-3.svg"); }
.ticket-page { --mobile-artboard: url("../mobile/screen-4.svg"); }
.lookup-page { --mobile-artboard: url("../mobile/screen-5.svg"); }

.invitation-page { --desktop-artboard: url("../desktop/screen-1.svg"); }
.form-page { --desktop-artboard: url("../desktop/screen-2.svg"); }
.message-page { --desktop-artboard: url("../desktop/screen-3.svg"); }
.ticket-page { --desktop-artboard: url("../desktop/screen-4.svg"); }
.lookup-page { --desktop-artboard: url("../desktop/screen-5.svg"); }

/* Premium motion system: exact at rest, expressive only during interaction. */
:root {
  --motion-ease: cubic-bezier(0.2, 0, 0, 1);
  --motion-quick: 120ms;
  --motion-standard: 280ms;
  --motion-slow: 560ms;
}

.preloader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--navy);
  background: #fff;
}

.preloader-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 26px;
}

.preloader-ring {
  position: relative;
  display: grid;
  width: clamp(138px, 12vw, 184px);
  aspect-ratio: 1;
  place-items: center;
}

.preloader-ring::before,
.preloader-ring::after { display: none; content: none; }

.preloader-ring svg {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.preloader-ring circle {
  fill: none;
  stroke-width: 2.5;
}

.preloader-ring-track {
  stroke: rgb(17 28 78 / 13%);
}

.preloader-ring-progress {
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-dasharray: 314.159;
  stroke-dashoffset: 314.159;
  filter: drop-shadow(0 0 7px rgb(209 178 83 / 54%));
}

.preloader-percent {
  position: relative;
  z-index: 3;
  color: var(--navy);
  font-family: "RB", Arial, sans-serif;
  font-size: clamp(28px, 2.6vw, 42px);
  font-variant-numeric: tabular-nums;
  font-weight: 300;
  letter-spacing: -0.04em;
}

.preloader-logo {
  position: relative;
  z-index: 3;
  display: block;
  width: 62%;
  height: 62%;
  object-fit: contain;
}

/* Inline registration feedback and identity/passport selector. */
.field-grid > label { overflow: visible !important; }
.live-field-error,
.document-hint {
  position: absolute;
  z-index: 120;
  top: calc(100% + 4px);
  right: 0;
  display: none;
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 5px;
  color: #fff;
  background: #b42318;
  font-family: "RB", Arial, sans-serif;
  font-size: clamp(10px, .72vw, 13px);
  line-height: 1.35;
  text-align: right;
  box-shadow: 0 7px 18px rgb(100 15 10 / 20%);
}
.has-live-error > .live-field-error,
.has-live-error > .document-hint { display: block; }
.has-live-error > .field,
.has-live-error > .phone-control { box-shadow: inset 0 0 0 2px #ff8a80 !important; }
.document-field { isolation: isolate; }
.document-field::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -25% 0 -20%;
  background: #fafaf8;
  pointer-events: none;
}
.field-grid > label.has-live-error { z-index: 110 !important; }
.document-choice {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  border-radius: 5px;
  background: var(--navy);
  transition: width .2s ease, inset .2s ease, padding .2s ease;
}
.document-choice label { position: relative; display: block; min-width: 0; cursor: pointer; }
.document-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.document-choice span {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 3px;
  color: #fff;
  background: transparent;
  font-family: "RB", Arial, sans-serif;
  font-size: .72em;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.document-choice input:checked + span {
  border-color: var(--gold);
  color: var(--navy);
  background: var(--gold);
  box-shadow: none;
}
.document-choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 1px; }
.document-field .document-choice,
.document-field.has-selection .document-choice {
  inset: -30% auto auto 16%;
  width: 68%;
  height: 42%;
  padding: 2px;
  border-radius: 4px;
  box-shadow: 0 3px 8px rgb(17 28 78 / 14%);
}
.document-field .document-choice span,
.document-field.has-selection .document-choice span { font-size: .78em; }
.document-field .document-number,
.document-field.has-selection .document-number {
  position: absolute;
  z-index: 2;
  top: 17%;
  right: 0;
  display: block;
  visibility: visible;
  width: 100% !important;
  height: 100% !important;
  padding: 0 2.4% !important;
  border-radius: 4px !important;
  background: var(--navy) !important;
  opacity: 1;
}
.document-field .document-number::placeholder { color: #fff !important; opacity: .88; }
.document-field .document-hint { top: calc(117% + 4px); }
@media (max-width: 768px) {
  .live-field-error,.document-hint { max-width: 88vw; font-size: 2.35vw; }
  .document-choice span { font-size: 2.45vw; }
  .document-field .document-choice,
  .document-field.has-selection .document-choice { inset: -34% auto auto 14%; width: 72%; height: 54%; gap: 4px; padding: 2px; }
  .document-field .document-choice span,
  .document-field.has-selection .document-choice span { font-size: 2.7vw; }
  .document-field .document-number,
  .document-field.has-selection .document-number { top: 28%; }
  .document-field::before { inset: -36% 0 -28%; }
  .document-field .document-hint { top: calc(128% + 4px); }
}

.preloader-copy {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 0;
  color: rgb(17 28 78 / 78%);
  font-family: "Saudi", "RB", Arial, sans-serif;
  font-size: clamp(17px, 1.2vw, 21px);
  font-weight: 600;
  letter-spacing: 0;
}

.preloader-copy span {
  display: inline-block;
}

.preloader-copy i {
  display: inline-block;
  min-width: 1.7em;
  color: var(--gold);
  font-style: normal;
  letter-spacing: 0.08em;
  transform-origin: left center;
}


.field-grid > label,
.lookup-form > label,
.action-row .btn,
.form-submit {
  transform-origin: center;
  transition:
    transform var(--motion-standard) var(--motion-ease),
    filter var(--motion-standard) var(--motion-ease),
    opacity var(--motion-quick) ease-out;
}

.field-grid > label:hover,
.lookup-form > label:hover,
.field-grid > label:focus-within,
.lookup-form > label:focus-within {
  z-index: 20;
  transform: scale(1.018);
}

.field-grid > label:hover .field,
.lookup-form > label:hover .field,
.field-grid > label:focus-within .field,
.lookup-form > label:focus-within .field {
  background: #005247;
}

.field-grid > label:hover .field::placeholder,
.lookup-form > label:hover .field::placeholder,
.field-grid > label:focus-within .field::placeholder,
.lookup-form > label:focus-within .field::placeholder {
  color: #fff;
  opacity: 1;
}

.field-grid > label:focus-within,
.lookup-form > label:focus-within {
  filter: drop-shadow(0 10px 18px rgb(17 28 78 / 18%));
  transform: scale(1.025);
}

.field:focus,
.phone-control:focus-within {
  box-shadow: inset 0 0 0 2px var(--gold) !important;
}

.action-row .btn:hover,
.action-row .btn:focus-visible,
.form-submit:hover,
.form-submit:focus-visible {
  z-index: 30;
  opacity: 1 !important;
  filter: drop-shadow(0 12px 18px rgb(17 28 78 / 24%));
  transform: scale(1.06);
}

.action-row .btn:active,
.form-submit:active {
  transform: scale(0.97);
}

@media (min-width: 769px) {
  .page {
    position: relative;
    display: block;
    width: 100vw;
    height: 56.25vw;
    min-height: 0;
    padding: 0;
    background-color: #fff;
    background-image: var(--desktop-artboard);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
  }

  .page::before,
  .page::after,
  .page > .top-pattern,
  .page > .brand,
  .page > a > .brand,
  .page > .ornament,
  .page > .mobile-footer {
    display: none !important;
  }

  .page .main {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    transform: none;
  }

  .invitation-main > :not(.action-row) {
    opacity: 0;
    pointer-events: none;
  }

  .invitation-main .action-row {
    position: absolute;
    inset: 0;
    display: block;
    padding: 0;
    margin: 0;
    transform: none;
  }

  .invitation-main .action-row .btn {
    position: absolute;
    top: 79.7222%;
    display: flex;
    width: 11.6146%;
    height: 5.7407%;
    min-height: 0;
    padding: 0;
    border: 0;
    opacity: 0;
  }

  .invitation-main .action-row .btn:nth-child(1) { left: 68.5938%; }
  .invitation-main .action-row .btn:nth-child(2) { left: 52.3438%; }
  .invitation-main .action-row .btn:nth-child(3) { left: 36.0417%; }
  .invitation-main .action-row .btn:nth-child(4) { left: 19.7917%; }

  .form-main .screen-title {
    opacity: 0;
    pointer-events: none;
  }

  .form-main .registration-form,
  .form-main .field-grid {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    padding: 0;
    margin: 0;
  }

  .form-main .field-grid > label {
    position: absolute;
    display: block;
    width: 39.0625%;
    height: 5.3704%;
    margin: 0;
  }

  .form-main .field-grid > label:nth-child(1),
  .form-main .field-grid > label:nth-child(3),
  .form-main .field-grid > label:nth-child(5),
  .form-main .field-grid > label:nth-child(7) { left: 51.9271%; }

  .form-main .field-grid > label:nth-child(2),
  .form-main .field-grid > label:nth-child(4),
  .form-main .field-grid > label:nth-child(6),
  .form-main .field-grid > label:nth-child(8) { left: 8.9583%; }

  .form-main .field-grid > label:nth-child(1),
  .form-main .field-grid > label:nth-child(2) { top: 37.5926%; }
  .form-main .field-grid > label:nth-child(3),
  .form-main .field-grid > label:nth-child(4) { top: 44.6296%; }
  .form-main .field-grid > label:nth-child(5),
  .form-main .field-grid > label:nth-child(6) { top: 51.7593%; }
  .form-main .field-grid > label:nth-child(7),
  .form-main .field-grid > label:nth-child(8) { top: 58.7963%; }

  .form-main .field-grid .field,
  .lookup-main .lookup-form > label > .field {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0 2.4%;
    border: 0;
    border-radius: 0.42vw;
    color: #fff;
    background: transparent;
    font-size: 1.25vw;
    line-height: 1;
    box-shadow: none;
  }

  .form-main .field-grid .field::placeholder,
  .lookup-main .lookup-form > label > .field::placeholder {
    color: transparent;
  }

  .form-main .field-grid .field:focus,
  .form-main .field-grid .field:not(:placeholder-shown),
  .lookup-main .lookup-form > label > .field:focus,
  .lookup-main .lookup-form > label > .field:not(:placeholder-shown) {
    background: #005247;
  }

  .form-main .phone-control,
  .lookup-main .phone-control {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0.42vw;
    background: #005247;
    box-shadow: none;
  }

  .form-main .phone-control .field,
  .lookup-main .phone-control .field {
    height: 100%;
    padding: 0 2.4%;
    color: #fff;
    background: transparent;
  }

  .form-main .phone-control .field::placeholder,
  .lookup-main .phone-control .field::placeholder {
    color: #fff;
    opacity: 1;
  }

  .form-main .country-code,
  .lookup-main .country-code {
    display: block;
    width: 23%;
    height: 100%;
    padding: 0 1.5%;
    border: 0;
    border-right: 1px solid rgb(255 255 255 / 42%);
    border-radius: 0;
    color: #fff;
    background: #005247;
    font-size: 1vw;
  }

  .form-main .phone-error,
  .lookup-main .phone-error {
    position: absolute;
    z-index: 40;
    top: 100%;
    right: 0;
    width: 100%;
    margin: 0;
    color: #b42318;
    background: #fff;
    font-size: 0.82vw;
    line-height: 1.35;
  }

  .form-main .form-submit {
    position: absolute;
    top: 81.5741%;
    left: 44.2188%;
    display: flex;
    width: 11.6146%;
    height: 5.8333%;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    opacity: 0;
  }

  .message-main,
  .ticket-main {
    opacity: 0;
    pointer-events: none;
  }

  .lookup-main .lookup-title,
  .lookup-main .lookup-subtitle {
    opacity: 0;
    pointer-events: none;
  }

  .lookup-main .lookup-form {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
  }

  .lookup-main .lookup-form > label {
    position: absolute;
    left: 29.6354%;
    display: block;
    width: 40.7292%;
    height: 5.3704%;
    margin: 0;
  }

  .lookup-main .lookup-form > label:nth-of-type(1) { top: 56.0185%; }
  .lookup-main .lookup-form > label:nth-of-type(2) { top: 63.1481%; }

  .lookup-main .lookup-form label + label > .phone-control {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .page {
    position: relative;
    display: block;
    width: 100vw;
    height: max(100svh, 177.7778vw);
    min-height: 0;
    padding: 0;
    background-color: #fafaf8;
    background-image: var(--mobile-artboard);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
  }

  .page::before,
  .page::after,
  .page > .top-pattern,
  .page > .brand,
  .page > a > .brand,
  .page > .ornament,
  .page > .mobile-footer {
    display: none !important;
  }

  .page .main {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    transform: none;
  }

  /* Invitation: preserve the vector artboard and add exact clickable regions. */
  .invitation-main > :not(.action-row) {
    opacity: 0;
    pointer-events: none;
  }

  .invitation-main .action-row {
    position: absolute;
    inset: 0;
    display: block;
    padding: 0;
    margin: 0;
    transform: none;
  }

  .invitation-main .action-row .btn {
    position: absolute;
    left: 37.7778%;
    display: block;
    width: 24.4444%;
    min-height: 0;
    height: 3.8021%;
    padding: 0;
    border: 0;
    opacity: 0;
  }

  .invitation-main .action-row .btn:nth-child(1) { top: 66.0938%; }
  .invitation-main .action-row .btn:nth-child(2) { top: 72.1875%; }
  .invitation-main .action-row .btn:nth-child(3) { top: 78.2292%; }
  .invitation-main .action-row .btn:nth-child(4) { top: 84.3229%; }

  /* Registration: fields remain native controls over the exact AI rectangles. */
  .form-main .screen-title {
    opacity: 0;
    pointer-events: none;
  }

  .form-main .registration-form,
  .form-main .field-grid {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    padding: 0;
    margin: 0;
  }

  .form-main .field-grid > label {
    position: absolute;
    left: 10.463%;
    display: block;
    width: 79.0741%;
    height: 4.2708%;
    margin: 0;
  }

  .form-main .field-grid > label:nth-child(1) { top: 27.1354%; }
  .form-main .field-grid > label:nth-child(2) { top: 50.8333%; }
  .form-main .field-grid > label:nth-child(3) { top: 33.0729%; }
  .form-main .field-grid > label:nth-child(4) { top: 56.7708%; }
  .form-main .field-grid > label:nth-child(5) { top: 39.0104%; }
  .form-main .field-grid > label:nth-child(6) { top: 62.7083%; }
  .form-main .field-grid > label:nth-child(7) { top: 44.9479%; }
  .form-main .field-grid > label:nth-child(8) { top: 68.6458%; }

  .form-main .field-grid .field,
  .lookup-main .lookup-form > label > .field {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0 2.4%;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: transparent;
    font-size: 3.15vw;
    line-height: 1;
    box-shadow: none;
  }

  .form-main .field-grid .field::placeholder,
  .lookup-main .lookup-form > label > .field::placeholder {
    color: transparent;
  }

  .form-main .field-grid .field:focus,
  .form-main .field-grid .field:not(:placeholder-shown),
  .lookup-main .lookup-form > label > .field:focus,
  .lookup-main .lookup-form > label > .field:not(:placeholder-shown) {
    background: #005247;
  }

  .form-main .phone-control,
  .lookup-main .phone-control {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: 0.9vw;
    background: #005247;
    box-shadow: none;
    overflow: hidden;
  }

  .form-main .phone-control:focus-within,
  .lookup-main .phone-control:focus-within {
    box-shadow: inset 0 0 0 2px #c8ab55;
  }

  .form-main .phone-control .field,
  .lookup-main .phone-control .field {
    height: 100%;
    padding: 0 2.4%;
    color: #fff;
    background: transparent;
  }

  .form-main .phone-control .field::placeholder,
  .lookup-main .phone-control .field::placeholder {
    color: #fff;
    opacity: 1;
  }

  .form-main .country-code,
  .lookup-main .country-code {
    width: 31%;
    height: 100%;
    padding: 0 1.5%;
    border-right: 1px solid rgb(255 255 255 / 42%);
    border-radius: 0;
    color: #fff;
    background: #005247;
    font-size: 2.85vw;
  }

  .form-main .phone-error,
  .lookup-main .phone-error {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 5;
    width: 100%;
    margin: 0;
    color: #b42318;
    background: #fafaf8;
    font-size: 2.35vw;
    line-height: 1.35;
  }

  .form-main .form-submit {
    position: absolute;
    top: 80.6771%;
    left: 37.7778%;
    display: block;
    width: 24.4444%;
    height: 3.8021%;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    opacity: 0;
  }

  /* Static confirmation and ticket screens are drawn by the approved artboards. */
  .message-main,
  .ticket-main {
    opacity: 0;
    pointer-events: none;
  }

  /* Lookup fields align to the two AI bars; the phone row keeps the requested code selector. */
  .lookup-main .lookup-title,
  .lookup-main .lookup-subtitle {
    opacity: 0;
    pointer-events: none;
  }

  .lookup-main .lookup-form {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
  }

  .lookup-main .lookup-form > label {
    position: absolute;
    left: 10.463%;
    display: block;
    width: 79.0741%;
    height: 4.2708%;
    margin: 0;
  }

  .lookup-main .lookup-form > label:nth-of-type(1) { top: 52.0313%; }
  .lookup-main .lookup-form > label:nth-of-type(2) { top: 57.9688%; }

  .lookup-main .lookup-form label + label > .phone-control {
    margin-top: 0;
  }
}

/* Keep interactive states above the exact-artboard reset rules. */
.field-grid > label:hover .field,
.lookup-form > label:hover .field,
.field-grid > label:focus-within .field,
.lookup-form > label:focus-within .field {
  background: #005247;
}

.field-grid > label:hover .field::placeholder,
.lookup-form > label:hover .field::placeholder,
.field-grid > label:focus-within .field::placeholder,
.lookup-form > label:focus-within .field::placeholder {
  color: #fff;
  opacity: 1;
}

.action-row .btn:hover,
.action-row .btn:focus-visible,
.form-submit:hover,
.form-submit:focus-visible {
  z-index: 30;
  opacity: 1 !important;
  filter: drop-shadow(0 12px 18px rgb(17 28 78 / 24%));
  transform: scale(1.06);
}

/* Final viewport and form behavior requested for both breakpoints. */
html,
body {
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  overflow-x: clip;
}

.page {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100svh;
  overflow-x: clip;
  overflow-y: visible;
  background-size: 100% 100%;
}

.field-grid > label,
.lookup-form > label,
.field-grid > label:hover,
.lookup-form > label:hover,
.field-grid > label:focus-within,
.lookup-form > label:focus-within {
  filter: none;
  transform: none !important;
}

.form-main .field-grid .field,
.lookup-main .lookup-form > label > .field,
.form-main .phone-control,
.lookup-main .phone-control,
.form-main .phone-control .field,
.lookup-main .phone-control .field {
  color: #fff;
  background-color: var(--navy) !important;
}

.form-main .phone-control,
.lookup-main .phone-control {
  overflow: visible !important;
}

.form-main .field-grid .field::placeholder,
.lookup-main .lookup-form > label > .field::placeholder,
.form-main .phone-control .field::placeholder,
.lookup-main .phone-control .field::placeholder {
  color: #fff;
  opacity: 1;
}

.field-grid > label:hover .field,
.lookup-form > label:hover .field,
.field-grid > label:hover .phone-control,
.lookup-form > label:hover .phone-control {
  box-shadow: inset 0 0 0 1px rgb(209 178 83 / 48%);
}

.field-grid > label:focus-within .field,
.lookup-form > label:focus-within .field,
.field-grid > label:focus-within .phone-control,
.lookup-form > label:focus-within .phone-control,
.field:focus,
.phone-control:focus-within {
  box-shadow:
    inset 0 0 0 2px var(--gold),
    0 0 0 3px rgb(209 178 83 / 20%),
    0 0 16px rgb(209 178 83 / 34%) !important;
}

.field-select {
  appearance: none;
  color: #fff;
  background-color: var(--navy) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 3% center;
  background-size: 1.15em;
  cursor: pointer;
}

.field-select option {
  color: var(--navy);
  background: #fff;
}

.public-message {
  position: fixed;
  z-index: 400;
  top: 18px;
  right: 18px;
  max-width: min(440px, calc(100vw - 36px));
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  box-shadow: 0 12px 34px rgb(17 28 78 / 22%);
}

.public-message-error { background: #9b1c1c; }
.public-message-success { background: #005b4f; }

.form-main .form-submit { z-index: 35; opacity: 1 !important; color: var(--navy); background: var(--gold); }
.form-main .form-submit:disabled { color: #fff; background: #98a2b3; cursor: not-allowed; pointer-events: none; filter: none; transform: none; }
.form-modal { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; padding: 20px; background: rgb(17 28 78 / 58%); backdrop-filter: blur(6px); }
.form-modal-card { position: relative; width: min(430px, 100%); padding: 36px 30px 30px; border: 1px solid rgb(209 178 83 / 55%); border-radius: 14px; color: var(--navy); background: #fff; text-align: center; box-shadow: 0 25px 70px rgb(0 0 0 / 28%); }
.form-modal-icon { display: grid; width: 48px; height: 48px; margin: 0 auto 14px; place-items: center; border-radius: 50%; color: #fff; background: #b42318; font-size: 27px; font-weight: 700; }
.form-modal-card h2 { margin: 0; font-size: 25px; }.form-modal-card p { margin: 12px 0 24px; color: #475569; font-size: 17px; line-height: 1.7; }.form-modal-close { position: absolute; top: 9px; left: 12px; border: 0; color: #64748b; background: transparent; font-size: 29px; cursor: pointer; }.form-modal-button { width: 130px; min-height: 42px; font-size: 18px; }

/* Registration-closed state: the form is intentionally absent from the DOM. */
.registration-closed-page { min-height: 100vh; overflow: hidden; background: #fff; }
.registration-closed-modal {
  position: fixed;
  z-index: 20000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 40px);
  background: rgb(17 28 78 / 70%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.registration-closed-card {
  position: relative;
  width: min(540px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: 42px 48px 36px;
  border: 1px solid rgb(209 178 83 / 72%);
  border-radius: 22px;
  color: var(--navy);
  background: linear-gradient(145deg, #fff 0%, #fffdf8 100%);
  text-align: center;
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px rgb(209 178 83 / 20%), 0 32px 90px rgb(0 0 0 / 40%);
  animation: registration-closed-enter .55s cubic-bezier(.22, 1, .36, 1) both;
}
.registration-closed-card::before { position: absolute; top: 0; right: 50%; width: 132px; height: 3px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, transparent, var(--gold), transparent); content: ""; transform: translateX(50%); }
.registration-closed-card > img { display: block; width: 108px; height: auto; margin: 0 auto 21px; }
.registration-closed-badge { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 auto; color: #9a7920; font-size: 14px; letter-spacing: .2px; }
.registration-closed-badge::before,
.registration-closed-badge::after { width: 42px; height: 1px; background: linear-gradient(90deg, transparent, rgb(209 178 83 / 78%)); content: ""; }
.registration-closed-badge::after { transform: rotate(180deg); }
.registration-closed-card h1 { margin: 15px 0 12px; font-size: clamp(29px, 4vw, 36px); line-height: 1.3; letter-spacing: -.3px; }
.registration-closed-card p { max-width: 430px; margin: 0 auto 27px; color: #465064; font-size: clamp(16px, 2vw, 17.5px); line-height: 2; }
.registration-closed-home { display: inline-flex; min-width: 230px; min-height: 50px; align-items: center; justify-content: center; padding: 10px 24px; border: 1px solid #c8a53d; border-radius: 9px; color: var(--navy); background: linear-gradient(135deg, #dec468, var(--gold)); font-size: 17px; text-decoration: none; box-shadow: 0 9px 22px rgb(154 121 32 / 18%); transition: transform .2s ease, box-shadow .2s ease; }
.registration-closed-home:hover,
.registration-closed-home:focus-visible { transform: scale(1.025); box-shadow: 0 10px 25px rgb(17 28 78 / 18%); outline: none; }
@keyframes registration-closed-enter { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 600px) {
  .registration-closed-modal { padding: 16px; }
  .registration-closed-card { width: 100%; max-height: calc(100dvh - 32px); padding: 30px 23px 25px; border-radius: 18px; }
  .registration-closed-card > img { width: 86px; margin-bottom: 17px; }
  .registration-closed-badge { gap: 9px; font-size: 13px; }
  .registration-closed-badge::before,
  .registration-closed-badge::after { width: 26px; }
  .registration-closed-card h1 { margin: 12px 0 9px; font-size: 29px; }
  .registration-closed-card p { margin-bottom: 21px; font-size: 15.5px; line-height: 1.9; }
  .registration-closed-home { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .registration-closed-card { animation: none; } }
.country-field { z-index: 80 !important; overflow: visible !important; isolation: isolate; }.country-field.is-open { z-index: 1000 !important; }.country-trigger { position: relative; display:flex; align-items:center; justify-content:space-between; padding-inline:3% !important; border:0; color:#fff; background:var(--navy) !important; cursor:pointer; }.country-trigger .country-placeholder { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.country-chevron { width:9px; height:9px; flex:0 0 auto; margin-left:3%; border-bottom:2px solid #fff; border-left:2px solid #fff; transform:rotate(-45deg) translateY(-2px); transition:transform .18s ease; }.country-field.is-open .country-chevron { transform:rotate(135deg) translateY(-2px); }.country-popover { position:absolute; z-index:9999; top:calc(100% + 7px); right:0; display:block; width:max(100%, min(390px, 88vw)); max-width:88vw; overflow:hidden; border:1px solid rgb(17 28 78 / 18%); border-radius:10px; color:var(--navy); background:#fff; box-shadow:0 20px 50px rgb(17 28 78 / 26%); }.country-popover[hidden] { display:none !important; }.country-search-wrap { display:block; padding:10px; border-bottom:1px solid #e4e8ef; background:#fff; }.country-search { width:100%; min-height:42px; padding:8px 10px; border:1px solid #cdd6e3; border-radius:7px; outline:0; color:var(--navy); background:#fff; font-family:"RB",Arial,sans-serif; text-align:right; }.country-search:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgb(209 178 83 / 18%); }.country-options { display:block; max-height:min(310px,42vh); overflow:auto; background:#fff; }.country-option { display:grid; grid-template-columns:28px minmax(0,1fr) auto; width:100%; gap:9px; align-items:center; padding:10px 12px; border:0; color:var(--navy); background:#fff; font-family:"RB",Arial,sans-serif; text-align:right; cursor:pointer; }.country-option:hover,.country-option:focus { background:#f1f5fb; outline:0; }.country-flag { font-size:20px; line-height:1; }.country-option small { overflow:hidden; color:#7b8799; font-family:Arial,sans-serif; font-size:11px; direction:ltr; text-overflow:ellipsis; white-space:nowrap; }.country-empty { display:block; padding:24px; color:#64748b; text-align:center; }.registration-form.country-menu-open .form-submit { z-index:1 !important; visibility:hidden; pointer-events:none; }

@media (max-width: 768px) {
  .country-popover { right:0; left:auto; width:100%; max-width:100%; }
  .country-options { max-height:30vh; }
  .country-option small { display:none; }
}

/* Compact, correctly aligned country picker. Its own list scrolls without growing the page. */
.country-trigger {
  font-family: "RB", Arial, sans-serif;
  font-size: inherit;
  font-weight: 400;
  line-height: 1;
  direction: rtl;
  text-align: right;
}

.country-trigger .country-placeholder {
  display: block;
  min-width: 0;
  overflow: visible;
  direction: rtl;
  line-height: 1.45;
  text-align: right;
  text-overflow: clip;
}

.country-chevron {
  margin-right: 12px;
  margin-left: 0;
}

.country-popover {
  display: flex;
  max-height: min(260px, 36dvh);
  flex-direction: column;
}

.country-popover[hidden] { display: none !important; }
.country-search-wrap { flex: 0 0 auto; padding: 8px; }
.country-search { min-height: 38px; padding-block: 7px; }

.country-options {
  min-height: 0;
  max-height: 200px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.country-option { padding-block: 8px; }

@media (max-width: 768px) {
  .country-popover { max-height: min(220px, 27dvh); }
  .country-search { min-height: 34px; }
  .country-options { max-height: min(160px, 20dvh); }
  .country-option { padding-block: 6px; }
}

.lookup-submit {
  position: relative;
  z-index: 30;
  display: block;
  margin: 4vw auto 0;
  font-size: max(15px, 1.3vw);
}

.lookup-main .lookup-submit {
  position: absolute;
  z-index: 35;
  top: 70.6%;
  left: 44.2%;
  width: 11.6%;
  min-height: 5.4%;
  margin: 0;
  color: var(--navy);
  background: var(--gold);
}

.lookup-main .lookup-submit:disabled {
  color: #fff;
  background: #98a2b3;
  cursor: not-allowed;
  pointer-events: none;
  filter: none;
  transform: none;
}

/* Lookup inputs stay legible and aligned independently from the artwork underneath. */
.lookup-main .lookup-form > label > .field,
.lookup-main .phone-control .phone-number {
  width: 100%;
  height: 100%;
  padding-right: 4% !important;
  border-radius: 4px;
  color: #fff;
  background: var(--navy) !important;
  font-family: "RB", Arial, sans-serif;
  font-weight: 400;
  direction: rtl;
  text-align: right;
}

.lookup-main .lookup-form > label > .field::placeholder,
.lookup-main .phone-control .phone-number::placeholder {
  color: #fff !important;
  opacity: 1 !important;
  direction: rtl;
  text-align: right;
}

.lookup-main .phone-control .iti {
  border-radius: 4px;
  overflow: visible;
}

.lookup-main .lookup-form > .phone-field,
.lookup-main .lookup-form > .phone-field:focus-within {
  z-index: 1200 !important;
}

.lookup-main .phone-control .iti__country-selector {
  z-index: 1300;
}

.lookup-main .phone-control .iti__selected-country-primary {
  border-radius: 4px 0 0 4px;
}

.ticket-qr-dynamic {
  position: absolute;
  z-index: 25;
  left: 43.23%;
  top: 29.26%;
  display: block;
  width: 13.54%;
  aspect-ratio: 1;
  background: #fff;
}

.ticket-qr-mask {
  position: absolute;
  z-index: 24;
  left: 42.9%;
  top: 28.9%;
  width: 14.2%;
  height: 25.2%;
  background: #fff;
}

@media (max-width: 768px) {
  .lookup-submit {
    width: 36vw;
    min-height: 9vw;
    margin-top: 8vw;
    font-size: 4vw;
  }
  .ticket-qr-mask { left: 31.2%; top: 43.4%; width: 37.8%; height: 21.3%; }
  .ticket-qr-dynamic { left: 31.67%; top: 43.85%; width: 36.85%; }
}

.country-code {
  display: none !important;
}

.phone-control .iti {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  color: #fff;
  background: var(--navy);
  direction: ltr;
}

.phone-control .iti input.phone-number {
  width: 100%;
  height: 100%;
  color: #fff;
  background: var(--navy) !important;
  direction: ltr;
  text-align: right;
}

.phone-control .iti input.phone-number:placeholder-shown {
  direction: rtl;
}

.phone-control .iti__country-container,
.phone-control .iti__selected-country,
.phone-control .iti__selected-country-primary {
  height: 100%;
}

.phone-control .iti__selected-country-primary {
  color: #fff;
  background: var(--navy) !important;
}

.phone-control .iti__selected-dial-code,
.phone-control .iti__arrow {
  color: #fff;
}

.phone-control .iti__arrow {
  border-top-color: #fff;
}

.phone-control .iti__country-selector {
  z-index: 200;
  min-width: min(360px, 88vw);
  color: var(--navy);
  background: #fff;
  border: 1px solid rgb(17 28 78 / 18%);
  box-shadow: 0 18px 45px rgb(17 28 78 / 24%);
  direction: rtl;
  max-height: min(260px, 36dvh);
  overflow: hidden;
}

.phone-control .iti__search-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgb(17 28 78 / 22%);
  border-radius: 7px;
  outline: none;
  color: var(--navy);
  background: #fff;
  font-family: "RB", Arial, sans-serif;
  text-align: right;
}

.phone-control .iti__search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgb(209 178 83 / 20%);
}

.phone-control .iti__country-list {
  max-height: min(190px, 25dvh);
  overscroll-behavior: contain;
}

.phone-control .iti__country.iti__highlight,
.phone-control .iti__country:hover {
  background: rgb(17 28 78 / 8%);
}

.phone-control .iti__dial-code {
  color: #667085;
  direction: ltr;
}

@media (max-width: 768px) {
  .page {
    height: 100vh;
    height: 100dvh;
    min-height: 100svh;
    padding-bottom: 0;
  }

  .phone-control .iti__country-selector {
    min-width: min(330px, 88vw);
    max-height: min(220px, 27dvh);
  }
  .phone-control .iti__country-list { max-height: min(145px, 18dvh); }
  .lookup-main .lookup-submit {
    top: 65.2%;
    left: 32%;
    width: 36%;
    min-height: 6.2%;
    margin: 0;
    font-size: 4vw;
  }
}

@media (min-width: 769px) {
  .page {
    height: 100vh;
    height: 100dvh;
    min-height: 100svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader {
    display: none !important;
  }

  .page,
  .field-grid > label,
  .lookup-form > label,
  .action-row .btn,
  .form-submit {
    transition: none !important;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

/* Stable controls: one tap/click, with no geometry or font changes on interaction. */
.action-row .btn,
.action-row .btn:hover,
.action-row .btn:focus-visible,
.action-row .btn:active,
.form-submit,
.form-submit:hover,
.form-submit:focus-visible,
.form-submit:active,
.lookup-submit,
.lookup-submit:hover,
.lookup-submit:focus-visible,
.lookup-submit:active {
  font-family: "RB", Arial, sans-serif !important;
  font-weight: 400 !important;
  line-height: normal !important;
  transform: none !important;
  filter: none !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.invitation-page .action-row .btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  color: var(--navy) !important;
  background: var(--gold) !important;
  box-shadow: none !important;
  transition: transform 180ms cubic-bezier(.2,.8,.2,1) !important;
  text-align: center !important;
}

@media (min-width: 769px) {
  .invitation-page .action-row .btn {
    padding-top: .12% !important;
  }
}

@media (max-width: 768px) {
  .invitation-page .action-row .btn {
    padding-top: .18% !important;
  }
}

.invitation-page .action-row .btn.btn-green {
  color: #fff !important;
  background: var(--green) !important;
}

@media (hover: hover) and (pointer: fine) {
  .invitation-page .action-row .btn:hover,
  .form-submit:hover,
  .lookup-submit:hover {
    z-index: 40;
    transform: scale(1.02) !important;
  }
}

.invitation-page .action-row .btn:active,
.form-submit:active,
.lookup-submit:active {
  transform: none !important;
}

/* Full-size document selector followed by a full-size document number field. */
.form-main .document-field::before { display: none; }
.form-main .document-field .document-choice,
.form-main .document-field.has-selection .document-choice {
  inset: 0;
  width: 100%;
  height: 100%;
  gap: 3px;
  padding: 3px;
  border-radius: .42vw;
  background: var(--navy);
  box-shadow: none;
}
.form-main .document-field .document-choice span,
.form-main .document-field.has-selection .document-choice span {
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: .3vw;
  color: #fff;
  background: transparent;
  font-size: 1.05vw;
  font-weight: 400;
}
.form-main .document-field .document-choice input:checked + span {
  border-color: var(--gold);
  color: var(--navy);
  background: var(--gold);
}
.form-main .document-field .document-number,
.form-main .document-field.has-selection .document-number {
  top: 132%;
  width: 100% !important;
  height: 100% !important;
  padding: 0 2.4% !important;
  border-radius: .42vw !important;
  background: var(--navy) !important;
}
.form-main .document-field .document-hint { top: calc(232% + 4px); }
.form-main .field-grid > label:nth-child(8) { top: 65.9259%; }
.form-main .field-grid > label:nth-child(8) .field {
  color: #fff;
  background: var(--navy) !important;
}
.form-main .field-grid > label:nth-child(8) .field::placeholder { color: #fff !important; opacity: 1; }

@media (max-width: 768px) {
  .form-main .document-field .document-choice,
  .form-main .document-field.has-selection .document-choice {
    inset: 0;
    width: 100%;
    height: 100%;
    gap: 4px;
    padding: 3px;
    border-radius: .9vw;
  }
  .form-main .document-field .document-choice span,
  .form-main .document-field.has-selection .document-choice span {
    border-radius: .65vw;
    font-size: 3vw;
  }
  .form-main .document-field .document-number,
  .form-main .document-field.has-selection .document-number {
    top: 132%;
    border-radius: .9vw !important;
  }
  .form-main .document-field .document-hint { top: calc(232% + 4px); }
  .form-main .field-grid > label:nth-child(8) { top: 74.5833%; }
}
