/* staff-login.css — Employee login (/login.html), on the shared beach backdrop.
   Markup ids are what login.js drives — keep them. */
:root {
  --sea: #0e7490;
  --ink: #0f2a33;
  --muted: #4b6672;
  --accent: #22d3ee;
  --accent2: #fbbf24;
  --card: #fff;
  --card-ink: #0f2a33;
  --card-muted: #5a7480;
  --radius: 22px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
/* Sky, sun + waves come from signin.css (shared with the venue + player pages). */


.sl-wrap {
  position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 70px 20px 170px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: 100vh;
}
.sl-back {
  position: absolute; top: 28px; right: 20px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px;
  background: rgba(255, 255, 255, .6); padding: 8px 14px; border-radius: 999px;
}
.sl-back:hover { background: rgba(255, 255, 255, .85); }

/* hero */
.sl-hero { text-align: left; }
.sl-logo {
  width: 150px; height: 150px; border-radius: 50%; background: #fff; padding: 6px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .6), 0 18px 40px rgba(8, 132, 154, .3);
  animation: sl-bob 3.4s ease-in-out infinite;
}
@keyframes sl-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
.sl-kicker { margin: 22px 0 4px; color: #0369a1; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.sl-title { font-family: "Fredoka", Inter, sans-serif; font-size: clamp(42px, 6vw, 68px); line-height: 1; margin: 0 0 12px; text-shadow: 0 4px 0 rgba(255, 255, 255, .6); }
.sl-quote { font-size: 19px; color: var(--ink); opacity: .92; min-height: 54px; margin: 0 0 20px; max-width: 460px; transition: opacity .45s ease; }
.sl-check { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 480px; }
.sl-check li {
  display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(255, 255, 255, .7); box-shadow: 0 4px 12px rgba(8, 132, 154, .12);
}

/* card */
.sl-card {
  background: var(--card); color: var(--card-ink); border-radius: var(--radius); padding: 30px 28px 24px;
  box-shadow: 0 18px 44px rgba(8, 132, 154, .22); border-top: 6px solid var(--accent);
}
.sl-card-title { font-family: "Fredoka", Inter, sans-serif; font-size: 28px; margin: 0; }
.sl-card-sub { margin: 4px 0 20px; color: var(--card-muted); font-size: 14px; }
.sl-field { display: grid; gap: 6px; margin-bottom: 14px; }
.sl-field label { font-weight: 700; font-size: 14px; }
.sl-field input, .sl-select select {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 2px solid #d6e8ee; background: #fff; color: var(--card-ink);
  font-size: 16px; font-family: inherit;
}
.sl-field input:focus, .sl-select select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(34, 211, 238, .2); }
.sl-select { position: relative; }
.sl-select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; font-weight: 600; }
.sl-select::after { content: "▾"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--card-muted); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 48px; }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; padding: 8px; color: var(--card-muted); border-radius: 8px; }
.password-toggle:hover { background: #f0f7fa; }
.eye-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.sl-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 4px 0 18px; font-size: 14px; flex-wrap: wrap; }
.sl-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.sl-checkbox input { width: 17px; height: 17px; accent-color: #0891b2; }
.sl-row a, .sl-help a { color: #0369a1; font-weight: 700; text-decoration: none; }
.sl-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 15px;
  font-size: 17px; font-weight: 800; cursor: pointer; color: #062a33;
  background: linear-gradient(135deg, #22d3ee, #34d399); box-shadow: 0 12px 24px rgba(34, 211, 238, .35);
  transition: transform .12s ease, filter .12s ease;
}
.sl-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.sl-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.sl-btn--google { background: #fff; color: var(--card-ink); border: 2px solid #e2edf1; box-shadow: none; font-size: 15px; font-weight: 700; }
.sl-btn--google:hover { background: #f7fbfc; }
.sl-divider { display: flex; align-items: center; gap: 12px; color: var(--card-muted); font-size: 13px; margin: 16px 0; }
.sl-divider::before, .sl-divider::after { content: ""; flex: 1; height: 1px; background: #e2edf1; }
.sl-help { margin: 16px 0 0; text-align: center; color: var(--card-muted); font-size: 13px; }

@media (max-width: 880px) {
  .sl-wrap { grid-template-columns: 1fr; gap: 26px; padding-top: 96px; min-height: 0; }
  .sl-hero { text-align: center; }
  .sl-logo { width: 110px; height: 110px; }
  .sl-quote { margin-left: auto; margin-right: auto; min-height: 0; }
  .sl-check { justify-content: center; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .sl-logo { animation: none; }
}
