/* ============================================================
   Morning Glory Guest House — Split-Screen Login Stylesheet
   Palette: ☀️ Sunshine Gold + ☁️ Sky Blue + White Luxury
   Supports: Light / Dark / Auto themes
   ============================================================ */

:root {
  /* —— Light theme (default) —— */
  --sl-sun:        #C6A36A;
  --sl-sun-hi:     #E4C99A;
  --sl-sun-lo:     #8C6A3D;
  --sl-sun-soft:   rgba(156, 116, 62, 0.16);
  --sl-sun-glow:   rgba(156, 116, 62, 0.22);

  --sl-sky:        #2C3D36;
  --sl-sky-hi:     #4E655A;
  --sl-sky-lo:     #1E2A26;
  --sl-sky-soft:   rgba(44, 61, 54, 0.10);
  --sl-sky-deep:   rgba(22, 28, 24, 0.92);

  --sl-cloud:      #F6F1E8;
  --sl-cream:      #F3EEE4;
  --sl-surface:    #FFFCF7;
  --sl-surface-2:  #EFE8DC;

  --sl-ink:        #1C1915;
  --sl-ink-2:      #3F3830;
  --sl-muted:      #6F675E;
  --sl-line:       rgba(28, 25, 21, 0.10);
  --sl-line-hi:    rgba(28, 25, 21, 0.16);

  --sl-danger:     #C05A4A;
  --sl-success:    #4E9A6B;
  --sl-danger-soft: rgba(192, 90, 74, 0.12);
  --sl-success-soft: rgba(78, 154, 107, 0.12);

  --sl-panel:      rgba(255, 255, 255, 0.82);
  --sl-panel-stroke: rgba(255, 255, 255, 0.55);
  --sl-left-bg-a:  linear-gradient(165deg, #F6F1E8 0%, #FFFCF7 48%, #EFE6D8 100%);
  --sl-left-bg-b:  linear-gradient(160deg, #E7D7BE 0%, #C6A36A 100%);
  --sl-right-bg-a: linear-gradient(165deg, #F4EFE6 0%, #FFFCF7 50%, #E8E2D6 100%);
  --sl-right-bg-b: linear-gradient(160deg, #D9CBB4 0%, #B7A48A 100%);

  --sl-radius:     22px;
  --sl-radius-sm:  14px;
  --sl-shadow-lg:  0 40px 100px rgba(23, 45, 70, 0.18), 0 10px 30px rgba(23, 45, 70, 0.08);
  --sl-shadow-md:  0 20px 50px rgba(23, 45, 70, 0.14);
  --sl-shadow-sm:  0 10px 24px rgba(23, 45, 70, 0.08);
  --sl-shadow-soft: 0 2px 10px rgba(23, 45, 70, 0.06);
  --sl-ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --sl-ease-back:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --sl-ease-soft:  cubic-bezier(0.55, 0, 0.2, 1);
}

/* —— Dark theme —— */
[data-sl-theme="dark"] {
  --sl-sun:        #E9B83A;
  --sl-sun-hi:     #FFD460;
  --sl-sun-lo:     #C69816;
  --sl-sun-soft:   rgba(233, 184, 58, 0.20);
  --sl-sun-glow:   rgba(233, 184, 58, 0.32);

  --sl-sky:        #6DB0DF;
  --sl-sky-hi:     #95C9EB;
  --sl-sky-lo:     #4A8EBD;
  --sl-sky-soft:   rgba(109, 176, 223, 0.22);
  --sl-sky-deep:   rgba(20, 45, 69, 0.92);

  --sl-cloud:      #0F1C2B;
  --sl-cream:      #17222E;
  --sl-surface:    #12202F;
  --sl-surface-2:  #182839;

  --sl-ink:        #F0F4F8;
  --sl-ink-2:      #CBD5E0;
  --sl-muted:      #8DA1B6;
  --sl-line:       rgba(255, 255, 255, 0.10);
  --sl-line-hi:    rgba(255, 255, 255, 0.18);

  --sl-danger:     #E47A6B;
  --sl-success:    #67B685;
  --sl-danger-soft: rgba(228, 122, 107, 0.15);
  --sl-success-soft: rgba(103, 182, 133, 0.15);

  --sl-panel:      rgba(26, 40, 56, 0.74);
  --sl-panel-stroke: rgba(255, 255, 255, 0.10);
  --sl-left-bg-a:  linear-gradient(160deg, #1C2838 0%, #142130 45%, #111B27 100%);
  --sl-left-bg-b:  linear-gradient(160deg, #412F13 0%, #30220A 100%);
  --sl-right-bg-a: linear-gradient(160deg, #162638 0%, #111D2B 45%, #23211B 100%);
  --sl-right-bg-b: linear-gradient(160deg, #132A42 0%, #0C1D2E 100%);

  --sl-shadow-lg:  0 40px 100px rgba(0, 0, 0, 0.45), 0 10px 30px rgba(0, 0, 0, 0.25);
  --sl-shadow-md:  0 20px 50px rgba(0, 0, 0, 0.32);
  --sl-shadow-sm:  0 10px 24px rgba(0, 0, 0, 0.22);
  --sl-shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.18);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html, body { height: 100%; width: 100%; max-width: 100%; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  color: var(--sl-ink);
  background: var(--sl-cloud);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-wrap: break-word;
  transition: background 0.5s var(--sl-ease-soft), color 0.5s var(--sl-ease-soft);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.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; }

/* ============================================================
   Background Layer
   ============================================================ */
.sl-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--sl-cloud);
  transition: background 0.6s var(--sl-ease-soft);
}

.sl-bg__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 2s var(--sl-ease-soft), transform 14s linear;
}
.sl-bg__photo.is-active {
  opacity: 0.38;
  transform: scale(1);
}
[data-sl-theme="dark"] .sl-bg__photo.is-active {
  opacity: 0.22;
}

.sl-bg__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 15% 10%, var(--sl-sun-soft), transparent 55%),
    radial-gradient(1000px 800px at 85% 95%, var(--sl-sky-soft), transparent 55%),
    linear-gradient(180deg, rgba(247, 250, 253, 0.92), rgba(247, 250, 253, 0.98));
  transition: background 0.6s var(--sl-ease-soft);
}
[data-sl-theme="dark"] .sl-bg__wash {
  background:
    radial-gradient(1200px 700px at 15% 10%, var(--sl-sun-soft), transparent 55%),
    radial-gradient(1000px 800px at 85% 95%, var(--sl-sky-soft), transparent 55%),
    linear-gradient(180deg, rgba(15, 28, 43, 0.92), rgba(15, 28, 43, 0.98));
}

.sl-bg__grain {
  position: absolute;
  inset: -50%;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
  pointer-events: none;
}
[data-sl-theme="dark"] .sl-bg__grain { opacity: 0.07; }

/* ============================================================
   Ambient Floating Shapes
   ============================================================ */
.sl-ambient {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.sl-ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
  animation: sl-orb-drift 28s ease-in-out infinite;
}

.sl-ambient__orb--sun {
  width: clamp(420px, 40vmax, 720px); height: clamp(420px, 40vmax, 720px);
  top: clamp(-180px, -14vw, -120px); left: clamp(-120px, -10vw, -80px);
  background: radial-gradient(circle, var(--sl-sun-glow), transparent 62%);
}
.sl-ambient__orb--sky {
  width: clamp(500px, 48vmax, 880px); height: clamp(500px, 48vmax, 880px);
  bottom: clamp(-240px, -20vw, -160px); right: clamp(-160px, -12vw, -100px);
  background: radial-gradient(circle, var(--sl-sky-soft), transparent 60%);
  animation-delay: -10s;
  animation-duration: 34s;
}
.sl-ambient__orb--cloud {
  width: clamp(320px, 30vmax, 520px); height: clamp(320px, 30vmax, 520px);
  top: 40%; left: 48%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
  animation-delay: -18s;
  animation-duration: 40s;
  opacity: 0.9;
}
[data-sl-theme="dark"] .sl-ambient__orb--cloud {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 62%);
}

@keyframes sl-orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30%      { transform: translate(28px, -34px) scale(1.06); }
  60%      { transform: translate(-22px, 20px) scale(0.95); }
}

/* ============================================================
   Top Brand + Theme Switcher
   ============================================================ */
.sl-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: clamp(14px, 2.2vw, 26px) clamp(14px, 3vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.sl-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.9s var(--sl-ease-out) 0.25s, transform 0.9s var(--sl-ease-out) 0.25s;
}
.sl-login--ready .sl-brand { opacity: 1; transform: translateY(0); }

.sl-brand__mark {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--sl-sun-lo), var(--sl-sun));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px var(--sl-sun-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  overflow: hidden;
}
.sl-brand__mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 50%);
  pointer-events: none;
}
.sl-brand__mark svg {
  width: 26px; height: 26px;
  color: #2A1E04;
  position: relative;
  z-index: 1;
}
.sl-brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 1;
}

.sl-brand__words { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.sl-brand__name {
  font-weight: 900;
  font-size: clamp(12.5px, 1.1vw, 16px);
  letter-spacing: 0.1px;
  color: var(--sl-ink);
  overflow-wrap: break-word;
  white-space: normal;
}
.sl-brand__tagline {
  font-size: clamp(9.5px, 0.9vw, 11.5px);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--sl-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}
.sl-brand__tagline span { color: var(--sl-sun-lo); margin: 0 3px; }

/* Theme switch */
.sl-theme {
  position: relative;
  padding: 5px;
  background: var(--sl-panel);
  border: 1px solid var(--sl-panel-stroke);
  border-radius: 999px;
  display: inline-flex;
  gap: 2px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--sl-shadow-soft);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.9s var(--sl-ease-out) 0.35s, transform 0.9s var(--sl-ease-out) 0.35s, box-shadow 0.3s ease;
}
.sl-login--ready .sl-theme { opacity: 1; transform: translateY(0); }

.sl-theme__btn {
  position: relative;
  width: 38px; height: 38px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sl-muted);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.sl-theme__btn:hover { color: var(--sl-ink); background: rgba(255, 255, 255, 0.35); }
[data-sl-theme="dark"] .sl-theme__btn:hover { background: rgba(255, 255, 255, 0.08); }
.sl-theme__btn.is-active { color: var(--sl-ink); }
.sl-theme__btn.is-active::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--sl-sun), var(--sl-sun-lo));
  box-shadow: 0 6px 16px var(--sl-sun-glow);
  z-index: 0;
}
.sl-theme__btn svg { position: relative; z-index: 1; width: 18px; height: 18px; }
.sl-theme__btn.is-active svg { color: #2A1E04; }

/* ============================================================
   Stage + Split Container
   ============================================================ */
.sl-stage {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(84px, 10vw, 120px) clamp(12px, 3vw, 48px) clamp(100px, 14vw, 160px);
}

.sl-split {
  position: relative;
  width: 100%;
  max-width: clamp(720px, 92vw, 1260px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: clamp(22px, 2.2vw, 28px);
  overflow: hidden;
  box-shadow: var(--sl-shadow-lg);
  background: var(--sl-surface);
  border: 1px solid var(--sl-line);
  transform: translateY(30px) scale(0.98);
  opacity: 0;
  transition:
    transform 1.1s var(--sl-ease-out) 0.2s,
    opacity 1.1s var(--sl-ease-out) 0.2s,
    box-shadow 0.6s ease,
    background 0.6s var(--sl-ease-soft),
    border-color 0.6s var(--sl-ease-soft);
}
.sl-login--ready .sl-split {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Shared side */
.sl-side {
  position: relative;
  padding: clamp(28px, 4.4vw, 54px) clamp(20px, 3.5vw, 48px) clamp(24px, 3.2vw, 44px);
  min-height: clamp(420px, 70vh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.6s var(--sl-ease-soft);
}

/* ---- LEFT: Management ---- */
.sl-side--left {
  background: var(--sl-left-bg-a);
  position: relative;
}
.sl-side--left::before {
  content: '';
  position: absolute;
  top: -40%; right: -30%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: var(--sl-left-bg-b);
  filter: blur(2px);
  opacity: 0.35;
  mix-blend-mode: multiply;
  transform: translate(0, 0);
  animation: sl-sidefloat 26s ease-in-out infinite;
  pointer-events: none;
}
[data-sl-theme="dark"] .sl-side--left::before { mix-blend-mode: screen; opacity: 0.18; }

.sl-side--left::after {
  content: '';
  position: absolute;
  bottom: -25%; left: -20%;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sl-sky-soft), transparent 65%);
  filter: blur(10px);
  animation: sl-sidefloat 30s ease-in-out -12s infinite;
  pointer-events: none;
}

.sl-side__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--sl-sun-soft);
  color: var(--sl-sun-lo);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  border: 1px solid rgba(217, 165, 32, 0.22);
  width: fit-content;
  margin-bottom: 24px;
}
.sl-side__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sl-sun-lo);
  box-shadow: 0 0 12px var(--sl-sun-glow);
}

.sl-side__title {
  font-size: clamp(22px, 4.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--sl-ink);
  text-wrap: balance;
}
.sl-side__title em {
  font-style: italic;
  font-weight: 500;
  background: none;
  color: #7C5A2E;
  -webkit-text-fill-color: #7C5A2E;
}

.sl-side__subtitle {
  font-size: clamp(13px, 1.5vw, 15.5px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--sl-muted);
  margin: 0;
  max-width: 440px;
  overflow-wrap: break-word;
}

.sl-side--left .sl-side__body { margin-top: clamp(22px, 3vw, 40px); flex: 1; display: flex; flex-direction: column; }

/* Management feature mini-list */
.sl-features {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(20px, 2.6vw, 30px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(8px, 1vw, 14px) clamp(12px, 1.5vw, 18px);
}
.sl-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(12px, 1.1vw, 13px);
  font-weight: 700;
  color: var(--sl-ink-2);
  overflow-wrap: break-word;
}
.sl-feature__icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--sl-sun-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--sl-sun-lo);
}
.sl-feature__icon svg { width: 14px; height: 14px; }

/* ---- Form (Left) ---- */
.sl-form { flex: 1; display: flex; flex-direction: column; }

.sl-alert {
  display: none;
  padding: 13px 16px;
  border-radius: var(--sl-radius-sm);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 20px;
  border: 1px solid transparent;
  transform: translateY(-4px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.sl-alert.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.sl-alert--error {
  background: var(--sl-danger-soft);
  color: var(--sl-danger);
  border-color: rgba(192, 90, 74, 0.25);
}
.sl-alert--success {
  background: var(--sl-success-soft);
  color: var(--sl-success);
  border-color: rgba(78, 154, 107, 0.25);
}
.sl-alert__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-weight: 800;
}
.sl-alert__head svg { width: 17px; height: 17px; flex-shrink: 0; }

.sl-field { margin: 0 0 clamp(12px, 1.5vw, 16px); }
.sl-field__label {
  display: block;
  font-size: clamp(11.5px, 1.1vw, 12.8px);
  font-weight: 700;
  color: var(--sl-muted);
  margin: 0 0 8px;
  letter-spacing: 0.15px;
}
.sl-field__wrap { position: relative; }

.sl-field__icon {
  position: absolute;
  left: 15px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--sl-muted);
  opacity: 0.9;
  pointer-events: none;
  z-index: 2;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.sl-field__control {
  width: 100%;
  padding: clamp(12px, 1.4vw, 14.5px) clamp(14px, 1.5vw, 16px) clamp(12px, 1.4vw, 14.5px) 46px;
  min-height: 48px;
  font-size: clamp(13.5px, 1.3vw, 14.5px);
  font-weight: 500;
  font-family: inherit;
  color: var(--sl-ink);
  background: var(--sl-surface);
  border: 1.5px solid var(--sl-line);
  border-radius: var(--sl-radius-sm);
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    padding 0.25s ease;
}
.sl-field__control::placeholder {
  color: rgba(107, 127, 149, 0.55);
  font-weight: 500;
}
[data-sl-theme="dark"] .sl-field__control::placeholder { color: rgba(141, 161, 182, 0.55); }

.sl-field__control:hover { border-color: var(--sl-sun); background: var(--sl-surface); }

.sl-field__control:focus {
  border-color: var(--sl-sun);
  box-shadow:
    0 0 0 4px var(--sl-sun-soft),
    0 6px 18px var(--sl-sun-glow);
  padding-top: 15px;
  padding-bottom: 15px;
}

.sl-field__control:focus ~ .sl-field__icon,
.sl-field__wrap:focus-within .sl-field__icon {
  color: var(--sl-sun-lo);
  opacity: 1;
  transform: translateY(-52%) scale(1.06);
}

.sl-field--password .sl-field__control { padding-right: 56px; }

.sl-eye {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sl-muted);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  z-index: 3;
}
.sl-eye:hover { background: var(--sl-sun-soft); color: var(--sl-sun-lo); }
.sl-eye:active { transform: translateY(-50%) scale(0.94); }
.sl-eye svg { width: 18px; height: 18px; }

.sl-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 0 26px;
  gap: 12px;
  flex-wrap: wrap;
}
.sl-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
  font-size: clamp(12.5px, 1.2vw, 13.2px);
  font-weight: 600;
  color: var(--sl-ink-2);
}
.sl-check input {
  width: 20px; height: 20px;
  margin: 0;
  accent-color: var(--sl-sun);
  cursor: pointer;
  flex-shrink: 0;
}

.sl-link {
  font-size: clamp(12.5px, 1.2vw, 13.2px);
  font-weight: 700;
  color: var(--sl-sky-lo);
  transition: color 0.2s ease;
  white-space: nowrap;
  position: relative;
}
.sl-link:hover {
  color: var(--sl-sky);
}
.sl-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--sl-sky);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s var(--sl-ease-out);
}
.sl-link:hover::after { transform: scaleX(1); transform-origin: left center; }

/* Primary Button */
.sl-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(13px, 1.5vw, 15.5px) clamp(18px, 2.2vw, 22px);
  min-height: 48px;
  min-width: 48px;
  border: none;
  border-radius: var(--sl-radius-sm);
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(14px, 1.35vw, 14.8px);
  font-weight: 800;
  letter-spacing: 0.2px;
  overflow: hidden;
  transition:
    transform 0.3s var(--sl-ease-out),
    box-shadow 0.4s ease,
    background 0.4s ease;
}

.sl-btn--primary {
  width: 100%;
  background: linear-gradient(145deg, var(--sl-sun-lo), var(--sl-sun) 55%, var(--sl-sun-hi));
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #2A1E04;
  box-shadow: 0 14px 34px var(--sl-sun-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.sl-btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.35) 50%, transparent 75%);
  transform: translateX(-100%);
  transition: transform 0.8s var(--sl-ease-soft);
}
.sl-btn--primary:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 20px 44px var(--sl-sun-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.sl-btn--primary:hover::before { transform: translateX(100%); }
.sl-btn--primary:active { transform: translateY(0); box-shadow: 0 8px 22px var(--sl-sun-glow); }

.sl-btn:disabled, .sl-btn.is-loading {
  cursor: not-allowed;
  opacity: 0.9;
  transform: none !important;
  pointer-events: none;
}

.sl-btn__content {
  display: inline-flex; align-items: center; gap: 10px;
  position: relative; z-index: 2;
  transition: opacity 0.22s ease;
}
.sl-btn.is-loading .sl-btn__content { opacity: 0; }

.sl-btn__spinner {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 2;
}
.sl-btn.is-loading .sl-btn__spinner { opacity: 1; }

.sl-spinner {
  width: 22px; height: 22px;
  border: 2.5px solid rgba(42, 30, 4, 0.22);
  border-top-color: #2A1E04;
  border-radius: 50%;
  animation: sl-spin 0.7s linear infinite;
}
@keyframes sl-spin { to { transform: rotate(360deg); } }

@keyframes sl-sidefloat {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50%      { transform: translate(22px, -18px) rotate(6deg); }
}

/* ============================================================
   RIGHT SIDE: Guest & Customer
   ============================================================ */
.sl-side--right {
  background: var(--sl-right-bg-a);
  border-left: 1px solid var(--sl-line);
  position: relative;
}
.sl-side--right::before {
  content: '';
  position: absolute;
  bottom: -30%; right: -25%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: var(--sl-right-bg-b);
  filter: blur(2px);
  opacity: 0.35;
  mix-blend-mode: multiply;
  animation: sl-sidefloat 30s ease-in-out -6s infinite;
  pointer-events: none;
}
[data-sl-theme="dark"] .sl-side--right::before { mix-blend-mode: screen; opacity: 0.2; }

.sl-side--right::after {
  content: '';
  position: absolute;
  top: -10%; left: -10%;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sl-sun-soft), transparent 65%);
  filter: blur(10px);
  animation: sl-sidefloat 32s ease-in-out -20s infinite;
  pointer-events: none;
}

.sl-side--right .sl-side__eyebrow {
  background: var(--sl-sky-soft);
  color: var(--sl-sky-lo);
  border-color: rgba(44, 61, 54, 0.22);
}
.sl-side--right .sl-side__eyebrow::before {
  background: var(--sl-sky-lo);
  box-shadow: 0 0 12px var(--sl-sky-soft);
}
.sl-side--right .sl-side__title em {
  background: none;
  color: #7C5A2E;
  -webkit-text-fill-color: #7C5A2E;
}

/* Guest action cards */
.sl-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(12px, 1.3vw, 16px);
  margin-top: clamp(22px, 3vw, 36px);
  flex: 1;
  align-content: start;
}

.sl-action {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 1.8vw, 20px) clamp(14px, 1.7vw, 18px) clamp(14px, 1.6vw, 18px);
  border-radius: clamp(16px, 1.5vw, 18px);
  background: var(--sl-surface);
  border: 1px solid var(--sl-line);
  box-shadow: var(--sl-shadow-soft);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.4s var(--sl-ease-out),
    box-shadow 0.4s var(--sl-ease-out),
    border-color 0.3s ease,
    background 0.4s ease;
  opacity: 0;
  transform: translateY(14px);
  animation: sl-action-in 0.7s var(--sl-ease-out) forwards;
}
.sl-login--ready .sl-action { animation-delay: 0.5s; }
.sl-login--ready .sl-action:nth-child(2) { animation-delay: 0.62s; }
.sl-login--ready .sl-action:nth-child(3) { animation-delay: 0.74s; }
.sl-login--ready .sl-action:nth-child(4) { animation-delay: 0.86s; }

@keyframes sl-action-in {
  to { opacity: 1; transform: translateY(0); }
}

.sl-action::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), var(--sl-sky-soft), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.sl-action--sun::before {
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), var(--sl-sun-soft), transparent 50%);
}

.sl-action:hover {
  transform: translateY(-4px);
  box-shadow: var(--sl-shadow-md);
  border-color: var(--sl-sky);
  background: var(--sl-surface);
}
.sl-action--sun:hover { border-color: var(--sl-sun); }
.sl-action:hover::before { opacity: 1; }

.sl-action__icon {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  transition: transform 0.4s var(--sl-ease-back), box-shadow 0.4s ease;
}
.sl-action:hover .sl-action__icon { transform: scale(1.08) rotate(-2deg); }
.sl-action__icon svg { width: 22px; height: 22px; }

.sl-action--book .sl-action__icon {
  background: linear-gradient(145deg, var(--sl-sun-lo), var(--sl-sun));
  color: #2A1E04;
  box-shadow: 0 10px 22px var(--sl-sun-glow);
}
.sl-action--rooms .sl-action__icon {
  background: linear-gradient(145deg, var(--sl-sky-lo), var(--sl-sky));
  color: #fff;
  box-shadow: 0 10px 22px rgba(62, 133, 184, 0.30);
}
.sl-action--food .sl-action__icon {
  background: linear-gradient(145deg, #F07E2C, #F5A24D);
  color: #fff;
  box-shadow: 0 10px 22px rgba(240, 126, 44, 0.28);
}
.sl-action--services .sl-action__icon {
  background: linear-gradient(145deg, #9871D0, #B594E3);
  color: #fff;
  box-shadow: 0 10px 22px rgba(152, 113, 208, 0.28);
}

.sl-action__name {
  position: relative;
  font-size: clamp(13px, 1.25vw, 14.2px);
  font-weight: 800;
  color: var(--sl-ink);
  letter-spacing: -0.1px;
  line-height: 1.3;
  z-index: 1;
}
.sl-action__desc {
  position: relative;
  font-size: clamp(11.5px, 1.1vw, 12.2px);
  font-weight: 500;
  color: var(--sl-muted);
  line-height: 1.55;
  z-index: 1;
  flex: 1;
  overflow-wrap: break-word;
}

.sl-action__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: clamp(12px, 1.1vw, 12.6px);
  font-weight: 800;
  color: var(--sl-sky-lo);
  margin-top: 2px;
  z-index: 1;
  transition: transform 0.3s var(--sl-ease-out), color 0.3s ease;
}
.sl-action--sun .sl-action__cta { color: var(--sl-sun-lo); }
.sl-action:hover .sl-action__cta { transform: translateX(3px); }
.sl-action__cta svg { width: 14px; height: 14px; transition: transform 0.3s var(--sl-ease-out); }
.sl-action:hover .sl-action__cta svg { transform: translateX(2px); }

/* Right side bottom guest-brand block */
.sl-guest-block {
  position: relative;
  margin-top: auto;
  padding: 18px 20px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.4));
  border: 1px solid var(--sl-panel-stroke);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sl-shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 1;
  opacity: 0;
  transform: translateY(10px);
  animation: sl-action-in 0.7s var(--sl-ease-out) 0.98s forwards;
}
[data-sl-theme="dark"] .sl-guest-block {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.sl-guest-block__title {
  font-size: 13px;
  font-weight: 800;
  color: var(--sl-ink);
  margin: 0 0 3px;
}
.sl-guest-block__text {
  font-size: 12px;
  font-weight: 500;
  color: var(--sl-muted);
  margin: 0;
  line-height: 1.5;
}
.sl-guest-block__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--sl-sun);
  margin-bottom: 4px;
}
.sl-guest-block__stars svg { width: 13px; height: 13px; }

.sl-guest-block__score {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--sl-sky-lo), var(--sl-sky));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(62, 133, 184, 0.30);
}
.sl-guest-block__score span:first-child {
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  margin-bottom: 1px;
}
.sl-guest-block__score span:last-child {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  opacity: 0.92;
}

/* ============================================================
   Footer
   ============================================================ */
.sl-footer {
  position: fixed;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--sl-muted);
  opacity: 0;
  transition: opacity 0.9s ease 1.1s;
  line-height: 1.6;
}
.sl-login--ready .sl-footer { opacity: 1; }

.sl-footer__row { display: flex; align-items: center; justify-content: center; gap: 10px; }
.sl-footer__sep { width: 3px; height: 3px; border-radius: 50%; background: var(--sl-muted); opacity: 0.5; }

.sl-footer a {
  font-weight: 800;
  background: linear-gradient(135deg, var(--sl-sun-lo), var(--sl-sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: filter 0.25s ease;
}
.sl-footer a:hover { filter: brightness(1.1); text-decoration: underline; text-underline-offset: 2px; }

/* —— Social media handle row —— */
.sl-footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(6px, 0.8vw, 10px);
  margin-bottom: clamp(6px, 0.8vw, 10px);
  width: 100%;
}

.sl-social {
  --sl-social-bg: rgba(255, 255, 255, 0.72);
  --sl-social-stroke: rgba(255, 255, 255, 0.95);
  --sl-social-color: #2E3F54;
  --sl-social-glow: 0 0 0 rgba(245, 197, 66, 0);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  border-radius: 999px;
  background: var(--sl-social-bg);
  border: 1px solid var(--sl-line);
  color: var(--sl-social-color);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  transition:
    transform 0.25s var(--sl-ease-out),
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: var(--sl-shadow-soft);
  position: relative;
}

.sl-social::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(245, 197, 66, 0.55), rgba(94, 168, 221, 0.55), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.sl-social:hover {
  transform: translateY(-2px) scale(1.06);
  color: #ffffff;
  background: linear-gradient(135deg, var(--sl-sun), var(--sl-sky));
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(23, 45, 70, 0.14), 0 0 0 4px var(--sl-sun-glow);
  text-decoration: none;
  filter: none;
}

.sl-social:hover::after { opacity: 1; }
.sl-social:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--sl-sun), 0 0 0 6px rgba(245, 197, 66, 0.25);
}

[data-sl-theme="dark"] .sl-social {
  --sl-social-bg: rgba(255, 255, 255, 0.05);
  --sl-social-color: #DDE6F0;
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-sl-theme="dark"] .sl-social:hover {
  color: #0E1722;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(245, 197, 66, 0.18);
}

/* ============================================================
   Accessibility: Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .sl-bg__photo,
  .sl-ambient__orb,
  .sl-side--left::before,
  .sl-side--left::after,
  .sl-side--right::before,
  .sl-side--right::after,
  .sl-split,
  .sl-brand,
  .sl-theme,
  .sl-footer,
  .sl-footer__socials,
  .sl-social,
  .sl-social::after,
  .sl-action,
  .sl-guest-block,
  .sl-btn--primary::before {
    animation: none !important;
    transition: none !important;
  }
  .sl-social:hover { transform: none !important; }
  .sl-login--ready .sl-split,
  .sl-login--ready .sl-brand,
  .sl-login--ready .sl-theme,
  .sl-login--ready .sl-footer,
  .sl-action,
  .sl-guest-block {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   Responsive: Large / 4K Screens
   ============================================================ */
@media (min-width: 1600px) {
  .sl-split {
    max-width: min(1440px, 85vw);
    border-radius: 32px;
  }
  .sl-stage {
    padding: clamp(90px, 8vw, 160px) clamp(24px, 4vw, 80px) clamp(110px, 10vw, 200px);
  }
}

/* ============================================================
   Responsive: Brand Words Collapse (avoid header collision)
   ============================================================ */
@media (max-width: 880px) {
  .sl-brand__words { display: none; }
}

/* ============================================================
   Responsive: Footer Fixed→Relative (short / stacked screens)
   Also applied at max-width:760 below; here for HEIGHT trigger.
   ============================================================ */
@media (max-width: 760px), (max-height: 720px) {
  .sl-footer {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin: 0 auto;
    padding: 22px clamp(12px, 2vw, 20px) 20px;
    font-size: clamp(11px, 1.1vw, 12px);
    line-height: 1.65;
    white-space: normal;
  }
  .sl-footer__row { flex-wrap: wrap; gap: 8px; }
  .sl-footer__sep { display: none; }
  .sl-stage { padding-bottom: 18px !important; }
}

/* ============================================================
   Responsive: Mobile Stacked
   ============================================================ */
@media (max-width: 760px) {
  .sl-brand__mark { width: 44px; height: 44px; border-radius: 13px; }
  .sl-brand__mark svg { width: 22px; height: 22px; }

  .sl-split {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }
  .sl-side { min-height: auto; }
  .sl-side--right { border-left: none; border-top: 1px solid var(--sl-line); }

  .sl-action__icon { width: 40px; height: 40px; border-radius: 11px; }
  .sl-action__icon svg { width: 20px; height: 20px; }
}

/* ============================================================
   Responsive: Force single-column actions on narrow phones
   ============================================================ */
@media (max-width: 520px) {
  .sl-actions { grid-template-columns: 1fr; }
}

/* ============================================================
   Responsive: Tiny phones — check-row stacked + socials smaller
   ============================================================ */
@media (max-width: 420px) {
  .sl-form__row { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 380px) {
  .sl-social {
    width: 34px; min-width: 34px;
    height: 34px; min-height: 34px;
  }
  .sl-footer__socials { gap: 6px; }
}

/* ============================================================
   Responsive: Landscape Short-Height Phones / Tablets
   ============================================================ */
@media (orientation: landscape) and (max-height: 620px) {
  .sl-side { min-height: auto; }
  .sl-side__title { letter-spacing: -0.3px; }
  .sl-features { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
  .sl-guest-block { margin-top: 16px; padding: 14px 16px; }
}

@media (max-height: 520px) {
  .sl-side { min-height: auto; }
  .sl-features { gap: clamp(6px, 0.8vw, 10px); }
  .sl-guest-block { margin-top: 14px; }
}

/* ============================================================
   Utility: focus ring for keyboard users
   ============================================================ */
.sl-btn:focus-visible,
.sl-action:focus-visible,
.sl-field__control:focus-visible,
.sl-theme__btn:focus-visible,
.sl-eye:focus-visible {
  outline: 2.5px solid var(--sl-sky);
  outline-offset: 3px;
}

.sl-brand__name,
.sl-side__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
}
.sl-side__title { font-size: clamp(36px, 4vw, 52px); line-height: 0.95; }
.sl-bg__photo.is-active { filter: sepia(0.25) saturate(0.55) brightness(0.92); }
.sl-btn, .sl-action { border-radius: 2px; letter-spacing: 0.08em; text-transform: uppercase; }
