:root {
  --auth-shell-max: 1180px;
  --auth-line: rgba(255, 255, 255, 0.12);
  --auth-soft-line: rgba(255, 255, 255, 0.08);
  --auth-panel-bg: rgba(9, 14, 25, 0.84);
  --auth-panel-strong: rgba(255, 255, 255, 0.04);
  --auth-text-soft: #c3cedf;
  --auth-text-muted: #90a0b7;
  --auth-accent: #ff6a5c;
  --auth-accent-strong: #d10f15;
  --auth-focus: rgba(255, 106, 92, 0.24);
  --auth-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.auth-shell {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: 48px 0 72px;
  overflow: hidden;
  background: #f1f5f9;
}

.auth-shell::before,
.auth-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(12px);
}

.auth-shell::before {
  width: 360px;
  height: 360px;
  top: 8%;
  left: -120px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.12) 0%, rgba(241, 245, 249, 0) 72%);
}

.auth-shell::after {
  width: 300px;
  height: 300px;
  bottom: 12%;
  right: -80px;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.12) 0%, rgba(241, 245, 249, 0) 72%);
}

.auth-shell .wrap {
  max-width: var(--auth-shell-max);
  position: relative;
  z-index: 1;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 460px);
  gap: 28px;
  align-items: stretch;
}

.auth-side {
  position: relative;
  display: grid;
  gap: 18px;
  align-self: stretch;
  height: 100%;
}

.auth-hero,
.auth-panel {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  background: #f8fafc;
}

.auth-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 640px;
  padding: 42px;
  border-radius: 32px;
  overflow: hidden;
}

.auth-hero::after {
  content: "";
  position: absolute;
  inset: auto -16% -16% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(248, 250, 252, 0) 62%);
}

.auth-hero__eyebrow,
.auth-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #ffffff;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-hero__title {
  margin: 18px 0 0;
  max-width: 12ch;
  color: #0f172a;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.auth-hero__lead {
  margin: 22px 0 0;
  max-width: 620px;
  color: #475569;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.45;
}

.auth-hero__videoCard {
  position: relative;
  margin: 34px -42px 0;
  min-height: 290px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-left: 0;
  border-right: 0;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

/* Logo container: negative margin compensates the parent's 42px padding
   so the element spans the full card width and truly centers the image. */
.auth-hero__logoContainer {
  margin: 40px -42px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
}

.auth-hero__logoImg {
  width: 220px;
  height: 220px;
  object-fit: contain;
  opacity: 0.92;
  /* Subtle drop-shadow so the logo pops on the white card */
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.12));
}

.auth-hero__video {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.08);
  transform-origin: center center;
  filter: brightness(1.06) contrast(1.08) saturate(1.02);
}

.auth-hero__videoOverlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.26)),
    linear-gradient(135deg, rgba(15, 23, 42, 0.04), rgba(209, 15, 21, 0.14));
  pointer-events: none;
}

.auth-hero__list {
  display: none;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  gap: 14px;
}

.auth-hero__list li {
  position: relative;
  padding-left: 22px;
  color: #334155;
  font-size: 15px;
  line-height: 1.5;
}

.auth-hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
}

.auth-hero__benefits {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.auth-hero__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.auth-hero__benefitIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: #ef4444;
  font-size: 21px;
  line-height: 1;
}

.auth-hero__benefits strong {
  display: block;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.auth-hero__benefits small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.auth-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 36px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  min-height: 100%;
}

.auth-panel-blob {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 320px;
  height: calc(100% - 18px);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(209, 15, 21, 0.92), rgba(255, 106, 92, 0.9));
  filter: blur(22px);
  opacity: 0.82;
  animation: authBlobBounce 6s infinite ease;
  pointer-events: none;
}

.auth-panel:focus-within .auth-panel-blob {
  animation-play-state: paused;
}

.auth-panel__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
  width: 100%;
  padding: 8px 0 0;
}

.auth-panel-bg {
  position: absolute;
  inset: 8px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  border-radius: 24px;
  outline: 1px solid rgba(255, 255, 255, 0.98);
}

@keyframes authBlobBounce {
  0% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }

  25% {
    transform: translate(-100%, -100%) translate3d(100%, 0, 0);
  }

  50% {
    transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
  }

  75% {
    transform: translate(-100%, -100%) translate3d(0, 100%, 0);
  }

  100% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-panel-blob {
    animation: none;
  }
}

.auth-panel__header h2 {
  margin: 18px 0 10px;
  color: #0f172a;
  font-size: 38px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.auth-panel__header p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
}

.auth-alert {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(220, 38, 38, 0.28);
  background: rgba(220, 38, 38, 0.9);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.18);
}

.auth-field-error {
  margin: 2px 0 10px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.auth-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.auth-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.auth-honeypot label,
.auth-honeypot input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.auth-field label,
.auth-field__row label {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.auth-field__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.auth-field input {
  min-height: 56px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: #ffffff;
  color: #0f172a;
  font-size: 15px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.auth-field input::placeholder {
  color: #94a3b8;
}

.auth-field input:hover {
  border-color: rgba(148, 163, 184, 0.6);
}

.auth-field input:focus {
  border-color: rgba(239, 68, 68, 0.8);
  box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.16);
  transform: translateY(-1px);
}

.auth-inline-link,
.auth-create-link {
  color: #ef4444;
  font-size: 13px;
  font-weight: 700;
}

.auth-inline-link:hover,
.auth-create-link:hover {
  color: #b91c1c;
}

.auth-submit {
  min-height: 58px;
  margin-top: 6px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--auth-accent-strong), var(--auth-accent));
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(209, 15, 21, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.auth-submit:hover,
.auth-submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 52px rgba(209, 15, 21, 0.42);
  filter: saturate(1.08);
}

.auth-socials {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.auth-field__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.auth-field input {
  min-height: 56px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: #ffffff;
  color: #0f172a;
  font-size: 15px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.auth-field input::placeholder {
  color: #94a3b8;
}

.auth-field input:hover {
  border-color: rgba(148, 163, 184, 0.6);
}

.auth-field input:focus {
  border-color: rgba(239, 68, 68, 0.8);
  box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.16);
  transform: translateY(-1px);
}

.auth-inline-link,
.auth-create-link {
  color: #ef4444;
  font-size: 13px;
  font-weight: 700;
}

.auth-inline-link:hover,
.auth-create-link:hover {
  color: #b91c1c;
}

.auth-submit {
  min-height: 58px;
  margin-top: 6px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--auth-accent-strong), var(--auth-accent));
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(209, 15, 21, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.auth-submit:hover,
.auth-submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 52px rgba(209, 15, 21, 0.42);
  filter: saturate(1.08);
}

.auth-socials {
  margin: 18px 0 20px;
  display: grid;
  gap: 12px;
}

.auth-socials__label {
  margin: 0;
  text-align: center;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.auth-socials__row {
  display: flex;
  gap: 12px;
}

.auth-inline-grid {
  display: grid;
  gap: 16px;
}

.auth-inline-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-social-btn {
  flex: 1;
  min-height: 50px;
  width: 100%;
  text-decoration: none;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.auth-social-btn:hover,
.auth-social-btn:focus-visible {
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.auth-social-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.auth-social-btn--apple svg {
  fill: #0f172a;
}

.auth-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 3;
  align-self: end;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--auth-soft-line);
}

.auth-panel__footer p {
  margin: 0;
  color: var(--auth-text-muted);
  font-size: 14px;
}

.auth-panel > .container-cards-ticket {
  position: relative;
  z-index: 1;
  margin: 36px auto 0;
  max-width: 280px;
  width: 100%;
  perspective: 1000px;
}

.auth-side > .container-cards-ticket {
  display: none;
}

.card-ticket {
  position: relative;
  min-height: 120px;
  display: flex;
  gap: 14px;
  overflow: hidden;
  color: #1f2937;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.25), box-shadow 0.3s ease;
  animation: authTicketFloat 10s infinite ease-in-out;
}

.card-ticket:hover {
  animation-play-state: paused;
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.12);
}

.card-ticket__stamp {
  position: absolute;
  inset: 0 auto 0 0;
  width: 64px;
  height: 100%;
  color: rgba(148, 163, 184, 0.28);
}

.separator {
  position: absolute;
  top: 0;
  left: 48px;
  width: 16px;
  height: 100%;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.span-lines {
  position: relative;
  display: block;
  height: 100%;
  border-left: 2px dashed rgba(148, 163, 184, 0.34);
}

.span-lines::before,
.span-lines::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #f1f5f9;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.span-lines::before {
  top: -8px;
}

.span-lines::after {
  bottom: -8px;
}

.content-ticket {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-left: 64px;
}

.content-ticket::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -18px;
  width: 120px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0));
  transform: translateX(-140px) rotate(18deg);
  animation: authTicketLight 10s infinite ease-in-out;
  pointer-events: none;
}

.content-ticket::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 90px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(248, 113, 113, 0.12));
  pointer-events: none;
}

.content-data {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 10px 12px 0;
}

.destination,
.data-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.data-flex-col {
  display: grid;
  gap: 10px;
}

.card-ticket__divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.26);
}

.dest {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.country,
.title {
  margin: 0;
  color: #94a3b8;
  font-size: 10px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.acronym {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
}

.hour,
.subtitle {
  margin: 0;
  color: #334155;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 700;
}

.destination > svg {
  flex-shrink: 0;
  color: #94a3b8;
}

.container-icons {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 50px;
  padding: 12px 10px 12px 0;
  color: #fff;
  animation: authTicketAccent 10s infinite linear;
}

.icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.icon svg {
  width: 18px;
  height: 18px;
}

.icon--logo {
  background: transparent;
  padding: 0;
}

.icon--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes authTicketFloat {
  0%,
  100% {
    transform: translateZ(0);
  }

  25% {
    transform: translateX(-6px) rotateY(-10deg);
  }

  75% {
    transform: translateX(6px) rotateY(10deg);
  }
}

@keyframes authTicketLight {
  0%,
  20% {
    transform: translateX(-140px) rotate(18deg);
  }

  42% {
    transform: translateX(360px) rotate(18deg);
  }

  100% {
    transform: translateX(360px) rotate(18deg);
  }
}

@keyframes authTicketAccent {
  0%,
  100% {
    background: linear-gradient(180deg, #ff8b7f 0%, #d10f15 100%);
  }

  50% {
    background: linear-gradient(180deg, #ff6a5c 0%, #ef4444 100%);
  }
}

@media (max-width: 1080px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-hero {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .auth-shell {
    padding: 26px 0 48px;
  }

  .auth-hero,
  .auth-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .card-ticket {
    min-height: 156px;
  }

  .auth-hero__title {
    max-width: none;
    font-size: clamp(34px, 11vw, 54px);
  }

  .auth-hero__videoCard,
  .auth-hero__video {
    min-height: 240px;
    height: 240px;
  }

  .auth-hero__videoCard {
    margin-right: -24px;
    margin-left: -24px;
  }

  .auth-hero__benefits {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .auth-panel {
    padding: 24px 20px;
    min-height: 0;
  }

  .auth-panel__header h2 {
    font-size: 32px;
  }

  .auth-inline-grid--two {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .auth-layout {
    gap: 18px;
  }

  .auth-shell .wrap {
    padding: 0 12px;
  }

  .auth-hero {
    display: none;
  }

  .container-cards-ticket {
    display: none;
  }

  .auth-panel {
    min-width: 0;
  }

  .auth-field__row,
  .auth-panel__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-socials__row {
    grid-template-columns: 1fr;
  }
}
