/* Shared mobile-first authentication popup and reusable hotel-search loader. */

body.auth-popup-open,
body.search-loading-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.auth-popup,
.hotel-search-loader {
  position: fixed;
  inset: 0;
  display: grid;
}

.auth-popup[hidden],
.auth-popup [hidden],
.auth-step[hidden],
.hotel-search-loader[hidden] {
  display: none !important;
}

.auth-popup {
  z-index: 9000;
  place-items: center;
  padding: 22px;
}

.auth-popup-backdrop,
.hotel-search-loader-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.auth-popup-backdrop {
  cursor: pointer;
  background: rgba(18, 19, 17, .72);
  backdrop-filter: blur(10px) saturate(.82);
  animation: auth-backdrop-in .24s ease both;
}

.auth-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 44px));
  min-height: 590px;
  max-height: calc(100dvh - 44px);
  display: grid;
  grid-template-columns: minmax(300px, .86fr) minmax(410px, 1.14fr);
  direction: ltr;
  overflow: hidden;
  color: #33332e;
  background: #fffdf9;
  border: 1px solid rgba(239, 214, 164, .45);
  border-radius: 28px;
  box-shadow: 0 40px 110px rgba(11, 12, 10, .42), 0 8px 30px rgba(11, 12, 10, .18);
  animation: auth-dialog-in .42s cubic-bezier(.16, 1, .3, 1) both;
}

.auth-visual,
.auth-panel {
  direction: rtl;
}

.auth-visual {
  position: relative;
  min-height: 590px;
  padding: 38px 34px 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(155deg, rgba(239, 198, 112, .12), transparent 42%),
    radial-gradient(circle at 22% 84%, rgba(220, 167, 68, .17), transparent 30%),
    #262722;
  isolation: isolate;
}

.auth-visual::before,
.auth-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(228, 181, 88, .13);
  border-radius: 50%;
}

.auth-visual::before {
  width: 360px;
  height: 360px;
  right: -150px;
  top: 75px;
}

.auth-visual::after {
  width: 235px;
  height: 235px;
  right: -87px;
  top: 138px;
}

.auth-visual-glow {
  position: absolute;
  z-index: -1;
  display: block;
  border-radius: 50%;
  filter: blur(2px);
}

.auth-visual-glow--one {
  width: 190px;
  height: 190px;
  right: -70px;
  top: -90px;
  background: rgba(232, 188, 96, .17);
}

.auth-visual-glow--two {
  width: 240px;
  height: 240px;
  left: -150px;
  bottom: -120px;
  background: rgba(208, 150, 42, .13);
}

.auth-visual > img {
  width: 73px;
  height: 73px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 9px 16px rgba(0, 0, 0, .2));
}

.auth-visual-copy {
  margin-top: auto;
  margin-bottom: 42px;
}

.auth-visual-copy > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e4bb68;
  font-size: 12px;
  font-weight: 800;
}

.auth-visual-copy > span::before {
  content: "";
  width: 18px;
  height: 2px;
  background: #d8a94f;
  border-radius: 99px;
}

.auth-visual-copy h2 {
  margin: 11px 0 9px;
  color: #fff;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.55;
  letter-spacing: -.5px;
}

.auth-visual-copy p {
  max-width: 275px;
  margin: 0;
  color: rgba(255, 255, 255, .57);
  font-size: 13px;
  line-height: 2;
}

.auth-visual ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.auth-visual li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 650;
}

.auth-visual li > span {
  width: 25px;
  height: 25px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #2d2d27;
  background: linear-gradient(135deg, #f0ce7c, #d6a243);
  border-radius: 50%;
  box-shadow: 0 5px 12px rgba(212, 155, 48, .2);
}

.auth-visual li svg {
  font-size: 13px;
  stroke-width: 2.6;
}

.auth-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: flex;
  background:
    radial-gradient(circle at 100% 0, rgba(222, 178, 89, .09), transparent 28%),
    #fffdf9;
}

.auth-close {
  position: absolute;
  z-index: 3;
  top: 13px;
  right: 15px;
  left: auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #737168;
  background: #f5f1e9;
  border: 1px solid #e9e1d3;
  border-radius: 50%;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.auth-close:hover,
.auth-close:focus-visible {
  color: #292a25;
  background: #eee5d6;
  transform: rotate(5deg);
}

.auth-close svg {
  font-size: 18px;
}

.auth-panel-scroll {
  width: 100%;
  min-height: 0;
  padding: 58px 54px 38px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #d9cdbb transparent;
}

.auth-heading {
  padding-left: 34px;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9b6d23;
  font-size: 12px;
  font-weight: 850;
}

.auth-eyebrow i {
  width: 7px;
  height: 7px;
  background: #d8a648;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(216, 166, 72, .13);
}

.auth-heading h2 {
  margin: 10px 0 5px;
  color: #2c2d28;
  font-size: 27px;
  line-height: 1.5;
  letter-spacing: -.35px;
}

.auth-heading p {
  min-height: 48px;
  margin: 0;
  color: #817d74;
  font-size: 13px;
  line-height: 1.9;
}

.auth-tabs {
  position: relative;
  margin: 24px 0 27px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #f1eee7;
  border: 1px solid #e8e1d6;
  border-radius: 13px;
}

.auth-tabs button {
  min-height: 43px;
  color: #807b72;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.auth-tabs button[aria-selected="true"] {
  color: #2c2c27;
  background: #fff;
  box-shadow: 0 5px 15px rgba(48, 43, 33, .08), inset 0 0 0 1px rgba(218, 167, 74, .13);
}

.auth-mobile-form > label {
  margin-bottom: 8px;
  display: block;
  color: #4c4b45;
  font-size: 12px;
  font-weight: 800;
}

.auth-mobile-control {
  height: 56px;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 38px;
  align-items: center;
  direction: rtl;
  color: #59584f;
  background: #fff;
  border: 1px solid #ddd5c8;
  border-radius: 13px;
  box-shadow: 0 7px 20px rgba(59, 51, 38, .035);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.auth-mobile-control:focus-within {
  background: #fffefa;
  border-color: #d4a348;
  box-shadow: 0 0 0 4px rgba(212, 163, 72, .12), 0 9px 24px rgba(59, 51, 38, .05);
}

.auth-mobile-control.is-error {
  border-color: #b85c50;
  box-shadow: 0 0 0 4px rgba(184, 92, 80, .09);
}

.auth-mobile-control > span {
  color: #b17b2a;
  font-size: 21px;
}

.auth-mobile-control input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  color: #292a25;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 1.2px;
  text-align: left;
}

.auth-mobile-control input::placeholder {
  color: #aaa59c;
  font-weight: 540;
  letter-spacing: .7px;
}

.auth-mobile-control > b {
  padding-right: 9px;
  color: #9a948b;
  border-right: 1px solid #e8e1d5;
  font-size: 12px;
  font-weight: 750;
}

.auth-field-status {
  min-height: 23px;
  margin: 6px 2px 12px;
  display: block;
  color: #9a958c;
  font-size: 12px;
  line-height: 1.8;
}

.auth-field-status.is-error {
  color: #a84940;
  font-weight: 700;
}

.auth-field-status.is-success {
  color: #3c7950;
  font-weight: 700;
}

.auth-primary {
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #28271f;
  background: linear-gradient(135deg, #f2d38c 0%, #d7a442 72%, #c89230 100%);
  border: 1px solid #d2a044;
  border-radius: 13px;
  box-shadow: 0 12px 25px rgba(171, 119, 32, .2), inset 0 1px 0 rgba(255, 255, 255, .42);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.auth-primary:hover,
.auth-primary:focus-visible {
  color: #20201b;
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 15px 30px rgba(171, 119, 32, .25), inset 0 1px 0 rgba(255, 255, 255, .48);
}

.auth-primary:active {
  transform: translateY(0);
}

.auth-primary svg {
  font-size: 16px;
  stroke-width: 2.2;
}

.auth-primary.is-loading {
  pointer-events: none;
  filter: saturate(.68);
}

.auth-primary.is-loading svg {
  animation: auth-button-spin .8s linear infinite;
}

.auth-legal {
  margin: 12px 0 0;
  color: #979187;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

.auth-legal a {
  color: #8f621e;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(143, 98, 30, .28);
  text-underline-offset: 3px;
}

.auth-trust-row {
  margin-top: 25px;
  padding-top: 18px;
  display: flex;
  justify-content: center;
  gap: 28px;
  color: #918b82;
  border-top: 1px solid #eee8de;
}

.auth-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
}

.auth-trust-row svg {
  color: #b07b29;
  font-size: 15px;
}

.auth-back {
  margin: -4px 0 20px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8b6426;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.auth-back svg {
  font-size: 14px;
  transform: rotate(180deg);
}

.auth-code-copy {
  text-align: center;
}

.auth-code-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  color: #9d6c20;
  background: linear-gradient(145deg, #fbefd6, #f1d49d);
  border: 1px solid #edcd8f;
  border-radius: 21px;
  box-shadow: 0 12px 28px rgba(181, 128, 37, .14);
}

.auth-code-icon svg {
  font-size: 29px;
}

.auth-code-copy h3,
.auth-success-step h3 {
  margin: 0 0 5px;
  color: #2e2f2a;
  font-size: 20px;
  line-height: 1.6;
}

.auth-code-copy p,
.auth-success-step p {
  margin: 0;
  color: #817c73;
  font-size: 12px;
  line-height: 1.9;
}

.auth-code-copy p b {
  color: #4a4942;
  font-size: 13px;
}

.auth-code-form {
  margin-top: 25px;
}

.auth-otp {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(42px, 1fr));
  gap: 9px;
  direction: ltr;
  border: 0;
}

.auth-otp input {
  min-width: 0;
  height: 57px;
  color: #2d2e29;
  background: #fff;
  border: 1px solid #ddd5c8;
  border-radius: 12px;
  outline: 0;
  font: inherit;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  caret-color: #b47b24;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.auth-otp input:focus {
  border-color: #d4a348;
  box-shadow: 0 0 0 4px rgba(212, 163, 72, .11);
  transform: translateY(-1px);
}

.auth-otp.is-error input {
  border-color: #bd6a5f;
  animation: auth-code-shake .28s ease both;
}

.auth-code-status {
  margin: 8px 2px 10px;
  text-align: center;
}

.auth-code-status b {
  color: #8e641f;
}

.auth-resend {
  min-height: 28px;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #918b83;
  font-size: 12px;
}

.auth-resend button {
  padding: 4px 7px;
  color: #91641f;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.auth-resend button:disabled {
  display: none;
}

.auth-success-step {
  padding: 38px 4px 10px;
  text-align: center;
  animation: auth-success-in .42s cubic-bezier(.16, 1, .3, 1) both;
}

.auth-success-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #59a56d, #347649);
  border: 7px solid #e7f3ea;
  border-radius: 50%;
  box-shadow: 0 15px 32px rgba(51, 119, 73, .22);
}

.auth-success-icon svg {
  font-size: 32px;
  stroke-width: 2.8;
}

.auth-success-kicker {
  display: block;
  color: #3d7a50;
  font-size: 12px;
  font-weight: 850;
}

.auth-success-step h3 {
  margin-top: 7px;
  font-size: 23px;
}

.auth-success-step p {
  max-width: 330px;
  margin: 5px auto 26px;
}

.auth-success-step .auth-primary {
  max-width: 330px;
  margin: 0 auto;
}

.hotel-search-loader {
  z-index: 10000;
  place-items: center;
  padding: 18px;
}

.hotel-search-loader-backdrop {
  background:
    radial-gradient(circle at 50% 36%, rgba(222, 178, 87, .16), transparent 34%),
    rgba(45, 43, 37, .64);
  backdrop-filter: blur(9px) saturate(.9);
  animation: auth-backdrop-in .28s ease both;
}

.hotel-search-loader-card {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100vw - 36px));
  padding: 23px 34px 28px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 100% 0, rgba(230, 185, 91, .14), transparent 31%),
    linear-gradient(155deg, #fffefa, #f8f4ec);
  border: 1px solid rgba(238, 211, 160, .75);
  border-radius: 27px;
  box-shadow: 0 35px 95px rgba(7, 8, 7, .45), 0 8px 25px rgba(7, 8, 7, .2);
  animation: search-loader-card-in .46s cubic-bezier(.16, 1, .3, 1) both;
}

.hotel-search-loader-card::before {
  content: "";
  position: absolute;
  top: -90px;
  left: -100px;
  width: 210px;
  height: 210px;
  background: rgba(221, 170, 72, .08);
  border-radius: 50%;
}

.hotel-search-loader-brand {
  position: relative;
  z-index: 2;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotel-search-loader-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(.28) sepia(.2) drop-shadow(0 5px 9px rgba(50, 43, 31, .08));
}

.hotel-search-loader-scene {
  position: relative;
  width: 178px;
  height: 160px;
  margin: 7px auto 3px;
}

.hotel-search-loader-orbit {
  position: absolute;
  inset: 12px 20px 10px;
  border: 1px dashed rgba(172, 119, 35, .28);
  border-radius: 50%;
  animation: search-orbit-spin 9s linear infinite;
}

.hotel-search-loader-orbit::before,
.hotel-search-loader-orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  background: #d4a144;
  border: 3px solid #f7ecd6;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(165, 111, 25, .28);
}

.hotel-search-loader-orbit::before {
  right: 12px;
  top: 3px;
}

.hotel-search-loader-orbit::after {
  left: 7px;
  bottom: 16px;
}

.hotel-search-loader-route {
  position: absolute;
  right: 38px;
  bottom: 33px;
  width: 97px;
  height: 58px;
  border: 3px dotted rgba(186, 129, 36, .42);
  border-top-color: transparent;
  border-left-color: transparent;
  border-radius: 0 0 75px 0;
  transform: rotate(-10deg);
}

.hotel-search-loader-pin {
  position: absolute;
  z-index: 4;
  top: 37px;
  right: 61px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #3a382f;
  background: linear-gradient(145deg, #f4d58e, #d7a23d);
  border: 5px solid #fff8ea;
  border-radius: 20px;
  box-shadow: 0 14px 26px rgba(171, 116, 30, .24);
  animation: search-pin-float 1.7s ease-in-out infinite;
}

.hotel-search-loader-pin svg {
  font-size: 28px;
  stroke-width: 1.8;
}

.hotel-search-loader-hotel {
  position: absolute;
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(2, 7px);
  gap: 4px;
  align-content: start;
  justify-content: center;
  padding-top: 9px;
  background: #4d4d45;
  border-radius: 5px 5px 2px 2px;
  box-shadow: 0 7px 13px rgba(47, 46, 40, .16);
}

.hotel-search-loader-hotel--one {
  right: 25px;
  width: 34px;
  height: 47px;
  transform: rotate(3deg);
}

.hotel-search-loader-hotel--two {
  left: 26px;
  bottom: 38px;
  width: 30px;
  height: 39px;
  transform: rotate(-3deg) scale(.86);
  opacity: .72;
}

.hotel-search-loader-hotel i {
  width: 7px;
  height: 7px;
  display: block;
  background: #edc66f;
  border-radius: 1px;
  animation: search-window-blink 1.6s ease-in-out infinite alternate;
}

.hotel-search-loader-hotel i:nth-child(2) { animation-delay: .25s; }
.hotel-search-loader-hotel i:nth-child(3) { animation-delay: .5s; }
.hotel-search-loader-hotel i:nth-child(4) { animation-delay: .75s; }

.hotel-search-loader-spark {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #d8a348;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(216, 163, 72, .1);
  animation: search-spark-pulse 1.3s ease-in-out infinite;
}

.hotel-search-loader-spark--one { top: 28px; left: 28px; }
.hotel-search-loader-spark--two { top: 68px; right: 16px; animation-delay: .42s; }
.hotel-search-loader-spark--three { left: 65px; bottom: 9px; animation-delay: .76s; }

.hotel-search-loader-copy > span {
  color: #a57222;
  font-size: 12px;
  font-weight: 850;
}

.hotel-search-loader-copy h2 {
  margin: 7px 0 4px;
  color: #2f302b;
  font-size: 19px;
  line-height: 1.65;
}

.hotel-search-loader-copy p {
  min-height: 26px;
  margin: 0;
  color: #7f7a71;
  font-size: 12px;
  line-height: 1.9;
  transition: opacity .16s ease, transform .16s ease;
}

.hotel-search-loader-copy p.is-changing {
  opacity: 0;
  transform: translateY(4px);
}

.hotel-search-loader-progress {
  position: relative;
  height: 5px;
  margin: 20px 0 13px;
  overflow: hidden;
  background: #e9e2d6;
  border-radius: 99px;
}

.hotel-search-loader-progress span {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: 42%;
  background: linear-gradient(90deg, #c58e2d, #edcb7d, #d39c39);
  border-radius: inherit;
  box-shadow: 0 0 12px rgba(209, 154, 54, .34);
  animation: search-progress-move 1.35s cubic-bezier(.65, 0, .35, 1) infinite;
}

.hotel-search-loader-card > small {
  color: #9a948b;
  font-size: 12px;
  line-height: 1.7;
}

@keyframes auth-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes auth-dialog-in {
  from { opacity: 0; transform: translateY(20px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes auth-button-spin {
  to { transform: rotate(-360deg); }
}

@keyframes auth-code-shake {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-3px); }
  70% { transform: translateX(3px); }
}

@keyframes auth-success-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes search-loader-card-in {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes search-orbit-spin {
  to { transform: rotate(-360deg); }
}

@keyframes search-pin-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes search-window-blink {
  from { opacity: .35; }
  to { opacity: 1; }
}

@keyframes search-spark-pulse {
  0%, 100% { opacity: .3; transform: scale(.7); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes search-progress-move {
  0% { right: -45%; width: 34%; }
  50% { width: 58%; }
  100% { right: 105%; width: 34%; }
}

@media (max-width: 760px) {
  .auth-popup {
    place-items: end center;
    padding: 0;
  }

  .auth-popup-backdrop {
    background: rgba(18, 19, 17, .69);
    backdrop-filter: blur(7px);
  }

  .auth-dialog {
    width: 100%;
    min-height: 0;
    max-height: min(94dvh, 760px);
    display: block;
    overflow: auto;
    border-width: 1px 0 0;
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -22px 70px rgba(10, 11, 9, .32);
    animation-name: auth-sheet-in;
  }

  .auth-visual {
    min-height: 104px;
    height: 104px;
    padding: 17px 23px;
    flex-direction: row;
    align-items: center;
    gap: 17px;
    background:
      radial-gradient(circle at 10% 40%, rgba(224, 175, 79, .2), transparent 28%),
      linear-gradient(125deg, #242520, #33342e);
  }

  .auth-visual::before {
    width: 190px;
    height: 190px;
    top: -100px;
    right: auto;
    left: -30px;
  }

  .auth-visual::after,
  .auth-visual-glow,
  .auth-visual ul,
  .auth-visual-copy p,
  .auth-visual-copy > span {
    display: none;
  }

  .auth-visual > img {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
  }

  .auth-visual-copy {
    margin: 0;
  }

  .auth-visual-copy h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
  }

  .auth-visual-copy h2 br {
    display: none;
  }

  .auth-panel {
    min-height: 0;
  }

  .auth-close {
    position: fixed;
    top: 33px;
    right: auto;
    left: 14px;
    width: 38px;
    height: 38px;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .16);
    backdrop-filter: blur(8px);
  }

  .auth-close:hover,
  .auth-close:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .17);
  }

  .auth-panel-scroll {
    padding: 29px 22px max(26px, env(safe-area-inset-bottom));
    overflow: visible;
  }

  .auth-heading {
    padding-left: 0;
  }

  .auth-heading h2 {
    margin-top: 7px;
    font-size: 22px;
  }

  .auth-heading p {
    min-height: 42px;
    font-size: 12px;
  }

  .auth-tabs {
    margin: 18px 0 21px;
  }

  .auth-trust-row {
    margin-top: 20px;
  }

  .auth-code-step {
    padding-top: 0;
  }

  .auth-back {
    margin-bottom: 15px;
  }

  .auth-code-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 11px;
    border-radius: 18px;
  }

  .auth-code-icon svg {
    font-size: 25px;
  }

  .auth-code-form {
    margin-top: 19px;
  }

  .auth-success-step {
    padding-top: 16px;
  }

  .hotel-search-loader {
    place-items: center;
    padding: 14px;
  }

  .hotel-search-loader-card {
    width: 100%;
    max-width: 420px;
    padding: 21px 22px 25px;
    border-radius: 24px;
  }

  .hotel-search-loader-scene {
    transform: scale(.92);
    margin-block: -1px -4px;
  }

  @keyframes auth-sheet-in {
    from { opacity: .7; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 420px) {
  .auth-dialog {
    max-height: 96dvh;
    border-radius: 22px 22px 0 0;
  }

  .auth-visual {
    height: 86px;
    min-height: 86px;
    padding: 13px 19px;
  }

  .auth-visual > img {
    width: 50px;
    height: 50px;
  }

  .auth-visual-copy h2 {
    font-size: 15px;
  }

  .auth-close {
    top: 24px;
  }

  .auth-panel-scroll {
    padding: 23px 16px max(22px, env(safe-area-inset-bottom));
  }

  .auth-mobile-control {
    height: 53px;
  }

  .auth-primary {
    min-height: 49px;
  }

  .auth-trust-row {
    gap: 16px;
  }

  .auth-otp {
    gap: 6px;
  }

  .auth-otp input {
    height: 52px;
    border-radius: 10px;
    font-size: 18px;
  }

  .hotel-search-loader-card {
    padding-inline: 18px;
  }

  .hotel-search-loader-scene {
    height: 148px;
    transform: scale(.84);
    transform-origin: center;
    margin-block: -8px -6px;
  }

  .hotel-search-loader-copy h2 {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-popup-backdrop,
  .auth-dialog,
  .auth-success-step,
  .hotel-search-loader-backdrop,
  .hotel-search-loader-card,
  .hotel-search-loader-pin,
  .hotel-search-loader-orbit,
  .hotel-search-loader-hotel i,
  .hotel-search-loader-spark,
  .hotel-search-loader-progress span {
    animation: none !important;
  }

  .hotel-search-loader-progress span {
    right: 0;
    width: 72%;
  }
}
