:root {
  --navy-950: #071722;
  --navy-900: #0c2434;
  --navy-800: #133549;
  --gold-500: #c89b56;
  --gold-400: #dbb978;
  --ink: #132331;
  --muted: #687783;
  --line: #dce4e8;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body.login-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 28px 62px;
  overflow-x: hidden;
  color: #fff;
  background: var(--navy-950);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.login-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}

.login-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 17, 26, .9) 0%, rgba(5, 22, 32, .72) 49%, rgba(5, 18, 28, .45) 100%),
    linear-gradient(180deg, rgba(3, 15, 22, .18) 0%, rgba(3, 15, 22, .16) 55%, rgba(3, 15, 22, .76) 100%);
}

.login-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) .55px, transparent .55px);
  background-size: 4px 4px;
  opacity: .12;
}

.login-glow {
  position: fixed;
  z-index: 0;
  width: 440px;
  height: 440px;
  right: 4%;
  top: 8%;
  border-radius: 50%;
  background: rgba(199, 155, 86, .17);
  filter: blur(100px);
  pointer-events: none;
}

.login-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.hotel-presentation { min-width: 0; }

.presentation-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(34px, 6vh, 66px);
}

.presentation-pill,
.presentation-greeting {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.11);
  box-shadow: inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.presentation-greeting { color: #e9d4aa; }

.pill-dot {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #79d6a5;
  box-shadow: 0 0 0 4px rgba(121,214,165,.12);
}

.hotel-brand {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 34px;
}

.hotel-logo {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 19px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 14px 38px rgba(0,0,0,.22);
}

.hotel-logo img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.hotel-brand-label { display: block; margin-bottom: 5px; color: var(--gold-400); font-size: 10px; font-weight: 800; letter-spacing: 1.35px; }
.hotel-brand h2 { margin: 0; max-width: 540px; color: #fff; font-size: clamp(22px, 3vw, 34px); line-height: 1.05; text-shadow: 0 2px 18px rgba(0,0,0,.25); }

.presentation-copy { max-width: 690px; }
.presentation-eyebrow { color: #ead5ae; font-size: 11px; font-weight: 800; letter-spacing: 1.15px; }
.presentation-copy h1 { margin: 10px 0 15px; max-width: 660px; font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: -1.9px; text-shadow: 0 3px 26px rgba(0,0,0,.28); }
.presentation-copy p { max-width: 610px; margin: 0; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.55; }

.hotel-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  max-width: 690px;
  margin-top: 35px;
}

.feature-card {
  min-height: 128px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 16px;
  background: rgba(255,255,255,.11);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 14px 34px rgba(0,0,0,.12);
  backdrop-filter: blur(14px);
}

.feature-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  margin-bottom: 11px;
  border-radius: 10px;
  color: #f2d59e;
  background: rgba(7,23,34,.56);
}

.feature-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card strong { display: block; margin-bottom: 5px; font-size: 13px; }
.feature-card small { display: block; color: rgba(255,255,255,.7); font-size: 11px; line-height: 1.38; }

.login-card {
  width: 100%;
  padding: 38px 36px 28px;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 24px;
  background: rgba(251, 250, 247, .96);
  box-shadow: 0 32px 90px rgba(0,0,0,.36), inset 0 1px rgba(255,255,255,.75);
  backdrop-filter: blur(24px);
}

.mobile-brand { display: none; }
.login-eyebrow { display: block; margin-bottom: 7px; color: #a5773d; font-size: 10px; font-weight: 800; letter-spacing: 1.25px; }
.login-card-heading h2 { margin: 0; color: #112636; font-size: 30px; line-height: 1.15; letter-spacing: -.55px; }
.login-card-heading p { margin: 8px 0 27px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

.login-form label { display: block; margin: 0 0 7px; color: #344956; font-size: 12px; font-weight: 750; }
.input-control { position: relative; margin-bottom: 18px; }
.input-control input {
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 0 46px 0 50px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  color: #1a2d39;
  background: #f3f6f7;
  font: inherit;
  font-size: 13.5px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.input-control input::placeholder { color: #93a0a7; }
.input-control input:focus { border-color: #b7894c; background: #fff; box-shadow: 0 0 0 4px rgba(183,137,76,.13); }
.input-icon { position: absolute; z-index: 1; left: 13px; top: 50%; width: 29px; height: 29px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 8px; color: #93652e; background: #eee2cf; pointer-events: none; }
.input-icon svg, .password-toggle svg, .secure-access svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.password-toggle { position: absolute; z-index: 2; right: 10px; top: 50%; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; transform: translateY(-50%); border: 0; border-radius: 8px; color: #71808a; background: transparent; cursor: pointer; }
.password-toggle:hover, .password-toggle:focus { color: #8c622f; background: #eee6da; outline: none; }
.login-actions { margin-top: 7px; }
.login-submit { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 13px; padding: 0 22px; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #173e52, #0b2636); box-shadow: 0 12px 24px rgba(11,38,54,.24); font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.login-submit:hover, .login-submit:focus { transform: translateY(-1px); background: linear-gradient(135deg, #1c4b62, #0c2d40); box-shadow: 0 15px 28px rgba(11,38,54,.3); outline: none; }
.login-submit:active { transform: translateY(0); }
.submit-arrow { font-size: 22px; font-weight: 400; line-height: 1; }
.forgot-password { display: block; margin: 16px auto 0; padding: 5px 8px; border: 0; color: #805b30; background: transparent; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.forgot-password:hover, .forgot-password:focus { color: #4e351a; text-decoration: underline; outline: none; }

.secure-access { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 25px; padding-top: 20px; border-top: 1px solid #e3e8ea; color: #7a8991; font-size: 10.5px; }
.secure-access svg { width: 15px; height: 15px; color: #87969d; }
.login-footer { position: fixed; z-index: 1; left: 20px; right: 20px; bottom: 17px; color: rgba(255,255,255,.58); text-align: center; font-size: 10.5px; letter-spacing: .25px; }

@media (max-width: 1020px) {
  .login-shell { grid-template-columns: minmax(0, 1fr) 390px; gap: 42px; }
  .presentation-copy h1 { font-size: 43px; }
  .hotel-features { grid-template-columns: 1fr; max-width: 360px; }
  .feature-card { min-height: 0; display: grid; grid-template-columns: 35px 1fr; column-gap: 11px; align-items: center; padding: 11px 13px; }
  .feature-icon { grid-row: span 2; margin: 0; }
  .feature-card strong, .feature-card small { margin: 0; }
}

@media (max-width: 760px) {
  body.login-page { align-items: flex-start; padding: 24px 16px 54px; }
  .login-backdrop { background-position: 58% center; }
  .login-backdrop::before { background: linear-gradient(180deg, rgba(4,18,27,.56), rgba(4,18,27,.78)); }
  .login-shell { display: block; width: min(440px, 100%); margin: auto; }
  .hotel-presentation { display: none; }
  .login-card { margin-top: max(2vh, 10px); padding: 28px 24px 24px; border-radius: 21px; }
  .mobile-brand { width: 84px; height: 84px; display: grid; place-items: center; margin: 0 auto 22px; padding: 9px; overflow: hidden; border: 1px solid #e4e7e7; border-radius: 17px; background: #fff; box-shadow: 0 10px 28px rgba(15,37,49,.12); }
  .mobile-brand img { max-width: 100%; max-height: 100%; object-fit: contain; }
  .login-card-heading { text-align: center; }
  .login-card-heading h2 { font-size: 27px; }
  .login-card-heading p { margin-bottom: 23px; }
  .login-footer { position: fixed; bottom: 10px; font-size: 9px; }
}

@media (max-width: 390px) {
  body.login-page { padding-left: 10px; padding-right: 10px; }
  .login-card { padding-left: 19px; padding-right: 19px; }
  .input-control input { height: 53px; }
  .login-submit { min-height: 53px; }
}

@media (max-height: 720px) and (min-width: 761px) {
  body.login-page { padding-top: 24px; padding-bottom: 42px; }
  .presentation-top { margin-bottom: 24px; }
  .hotel-brand { margin-bottom: 23px; }
  .presentation-copy h1 { font-size: 42px; }
  .hotel-features { margin-top: 24px; }
  .feature-card { min-height: 110px; }
  .login-card { padding-top: 29px; padding-bottom: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
