:root {
  color-scheme: dark;
  --bg: #050914;
  --panel: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .14);
  --text: #f8fbff;
  --muted: rgba(248, 251, 255, .68);
  --blue: #4f63f2;
  --cyan: #48d5ff;
  --gold: #f0c76a;
  --red: #ff6b7d;
  --green: #59df90;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(79, 99, 242, .2), transparent 30rem),
    radial-gradient(circle at 90% 10%, rgba(72, 213, 255, .1), transparent 28rem),
    linear-gradient(180deg, #050914 0%, #091225 100%);
}
button, input { font: inherit; }
button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, .1);
  font-weight: 850;
  cursor: pointer;
}
button:hover { background: rgba(255, 255, 255, .16); }
button:disabled { cursor: wait; opacity: .64; }
a { color: inherit; text-decoration: none; }
.manage-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 0 48px;
}
.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 48px;
  align-items: center;
}
.login-copy h1 {
  max-width: 720px;
  margin: 0 0 22px;
  font-size: clamp(48px, 8vw, 94px);
  line-height: .88;
  letter-spacing: 0;
}
.login-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 750;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.login-card, .panel, .hero-card, .stat, .loading-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.06));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
  backdrop-filter: blur(20px);
}
.login-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 32px;
}
.login-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 24px;
}
.login-card h2 {
  margin: 0;
  font-size: 34px;
}
.login-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}
.login-card input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  color: white;
  background: rgba(5, 9, 20, .74);
}
.login-card button {
  min-height: 56px;
  border: 0;
  background: linear-gradient(135deg, #159cff, #4f63f2);
}
.login-card a {
  color: var(--cyan);
  font-weight: 850;
}
.manage-topbar {
  position: sticky;
  z-index: 5;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  margin-bottom: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 14, 30, .82);
  box-shadow: 0 18px 60px rgba(0,0,0,.24);
  backdrop-filter: blur(20px);
}
.brand, .top-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand { font-size: 20px; font-weight: 950; }
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
}
.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}
.dashboard-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .95;
}
.dashboard-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  font-weight: 700;
}
.hero-card, .stat {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border-radius: 28px;
}
.hero-card strong { font-size: 30px; }
.hero-card span, .stat span, .stat small, .muted { color: var(--muted); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}
.stat strong { font-size: 52px; line-height: .9; }
.grid { display: grid; gap: 18px; margin-top: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel, .loading-panel {
  padding: 22px;
  border-radius: 28px;
}
.panel h2 { margin: 0 0 16px; font-size: 26px; }
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.panel-head small {
  min-width: 36px;
  padding: 8px 10px;
  border-radius: 999px;
  text-align: center;
  background: rgba(255,255,255,.1);
  font-weight: 900;
}
.info-row, .list-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.info-row span, .list-row span { color: var(--muted); }
.info-row b { max-width: 58%; text-align: right; }
.list { display: grid; }
.list-row > div:first-child {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.list-row b, .list-row span { overflow-wrap: anywhere; }
.employee-row { justify-content: flex-start; }
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  background: rgba(255,255,255,.12);
  font-weight: 950;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.row-actions button { min-height: 38px; padding: 0 12px; }
.pill {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(240,199,106,.14);
  font-weight: 900;
}
.pill.confirmed { color: var(--green); background: rgba(89,223,144,.14); }
.pill.rejected, .pill.cancelled { color: var(--red); background: rgba(255,107,125,.14); }
.notice {
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  font-weight: 850;
}
.notice.success { color: var(--green); background: rgba(89,223,144,.12); }
.notice.error { color: var(--red); background: rgba(255,107,125,.12); }
@media (max-width: 860px) {
  .manage-shell { width: min(100% - 28px, 620px); }
  .login-screen, .dashboard-hero, .grid.two, .stats { grid-template-columns: 1fr; }
  .login-screen { align-content: center; gap: 28px; padding: 28px 0; }
  .login-copy h1 { font-size: 56px; }
  .login-copy p { font-size: 18px; }
  .manage-topbar { position: static; border-radius: 26px; align-items: flex-start; flex-direction: column; }
  .top-actions { width: 100%; }
  .top-actions button { flex: 1; }
  .info-row { align-items: flex-start; flex-direction: column; }
  .info-row b { max-width: none; text-align: left; }
  .booking-row { flex-direction: column; }
  .row-actions { width: 100%; justify-content: flex-start; }
}
