/* Nice Hotels auth — hospitality split panel */
body.nh-auth {
  --nh-coral: #e85d2a;
  --nh-coral-deep: #c94a1c;
  --nh-night: #0c1118;
  --nh-ink: #14181f;
  --nh-muted: #5a6474;
  --nh-paper: #f4f2ee;
  --nh-display: "Cormorant Garamond", Georgia, serif;
  --nh-font: "Manrope", "Segoe UI", sans-serif;
  margin: 0;
  font-family: var(--nh-font);
  color: var(--nh-ink);
  background: var(--nh-paper);
  -webkit-font-smoothing: antialiased;
}

body.nh-auth .auth-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(300px, 1.12fr) minmax(340px, 0.88fr);
}

body.nh-auth .auth-brand {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--nh-night);
  padding: clamp(1.75rem, 4vw, 3rem);
}

body.nh-auth .nh-auth-media,
body.nh-auth .nh-auth-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
}
body.nh-auth .nh-auth-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transform: scale(1.06);
  animation: nhAuthKenBurns 24s ease-out forwards;
}
body.nh-auth .nh-auth-veil {
  z-index: 1;
  background:
    linear-gradient(165deg, rgba(12, 17, 24, 0.72) 0%, rgba(12, 17, 24, 0.42) 45%, rgba(12, 17, 24, 0.82) 100%),
    linear-gradient(90deg, rgba(12, 17, 24, 0.35) 0%, transparent 55%);
}

body.nh-auth .auth-brand-inner {
  position: relative;
  z-index: 2;
  max-width: 28rem;
  margin: 0;
  padding-top: clamp(1.25rem, 12vh, 6rem);
  animation: nhAuthRise 0.75s ease both;
}

body.nh-auth .auth-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

body.nh-auth .auth-brand h1 {
  margin: 0 0 0.55rem;
  font-family: var(--nh-display);
  font-size: clamp(3rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
body.nh-auth .auth-brand h1 a {
  color: #fff;
  text-decoration: none;
}

body.nh-auth .nh-auth-tagline {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  max-width: 22rem;
}

body.nh-auth .auth-lead {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 26rem;
}

body.nh-auth .nh-auth-plan {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(232, 93, 42, 0.22);
  border: 1px solid rgba(232, 93, 42, 0.45);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}
body.nh-auth .nh-auth-plan span {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

body.nh-auth .auth-points {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
body.nh-auth .auth-points li {
  display: grid;
  gap: 0.2rem;
  padding-left: 1rem;
  position: relative;
  font-weight: 500;
}
body.nh-auth .auth-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--nh-coral);
}
body.nh-auth .auth-points strong {
  font-family: var(--nh-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
body.nh-auth .auth-points span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 500;
}

body.nh-auth .nh-auth-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
body.nh-auth .nh-auth-foot a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}
body.nh-auth .nh-auth-foot a:hover {
  background: rgba(255, 255, 255, 0.16);
}
body.nh-auth .nh-auth-foot a.is-solid {
  background: var(--nh-coral);
  border-color: var(--nh-coral);
}
body.nh-auth .nh-auth-foot a.is-solid:hover {
  background: var(--nh-coral-deep);
  border-color: var(--nh-coral-deep);
}

body.nh-auth .auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(232, 93, 42, 0.06), transparent 55%),
    linear-gradient(180deg, #faf8f5 0%, #f0ebe4 100%);
}

body.nh-auth .auth-card {
  width: min(100%, 420px);
  background: #fff;
  border-radius: 20px;
  padding: clamp(1.4rem, 3vw, 1.85rem);
  box-shadow: 0 18px 50px rgba(20, 24, 31, 0.08);
  border: 1px solid rgba(20, 24, 31, 0.06);
  animation: nhAuthRise 0.75s 0.08s ease both;
}

body.nh-auth .auth-card h2 {
  margin: 0 0 0.35rem;
  font-family: var(--nh-display);
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--nh-ink);
}

body.nh-auth .auth-card-sub {
  margin: 0 0 1.25rem;
  color: var(--nh-muted);
  font-size: 0.95rem;
}

body.nh-auth .auth-card .form-label {
  font-weight: 700;
  font-size: 0.86rem;
  color: #3a4254;
}

body.nh-auth .auth-card .form-control {
  border-radius: 12px;
  border-color: #d9dde6;
  font-size: 1rem;
}
body.nh-auth .auth-card .form-control:focus {
  border-color: var(--nh-coral);
  box-shadow: 0 0 0 0.2rem rgba(232, 93, 42, 0.18);
}

body.nh-auth .auth-submit,
body.nh-auth .auth-card .btn-primary {
  background: var(--nh-coral) !important;
  border-color: var(--nh-coral) !important;
  border-radius: 999px !important;
  font-weight: 800;
  padding-block: 0.85rem;
  box-shadow: 0 10px 24px rgba(232, 93, 42, 0.28);
}
body.nh-auth .auth-submit:hover,
body.nh-auth .auth-card .btn-primary:hover {
  background: var(--nh-coral-deep) !important;
  border-color: var(--nh-coral-deep) !important;
}

body.nh-auth .auth-footnote {
  margin: 1.1rem 0 0;
  text-align: center;
  color: var(--nh-muted);
  font-size: 0.92rem;
}
body.nh-auth .auth-footnote a {
  color: var(--nh-coral-deep);
  font-weight: 700;
  text-decoration: none;
}
body.nh-auth .auth-footnote a:hover { text-decoration: underline; }

@keyframes nhAuthKenBurns {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
@keyframes nhAuthRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  body.nh-auth .auth-shell { grid-template-columns: 1fr; }
  body.nh-auth .auth-brand { min-height: 42vh; }
  body.nh-auth .auth-brand-inner { padding-top: 1rem; max-width: none; }
  body.nh-auth .auth-points { display: none; }
  body.nh-auth .nh-auth-foot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.nh-auth .nh-auth-media img { animation: none; transform: none; }
  body.nh-auth .auth-brand-inner,
  body.nh-auth .auth-card { animation: none; }
}
