* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17243a;
  background:
    radial-gradient(ellipse 75% 45% at 50% 110%, rgba(92, 169, 255, 0.24), transparent 68%),
    linear-gradient(to bottom, #ffffff 0%, #ffffff 70%, #f7fbff 100%);
  overflow: hidden;
}

.welcome {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  transform: translateY(-2%);
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  line-height: 1.05;
  font-weight: 750;
  letter-spacing: -0.055em;
  margin-bottom: 34px;
}

h1 span {
  color: #2878df;
}

.dashboard-button {
  width: 230px;
  padding: 14px 24px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #2878df;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(45, 112, 190, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dashboard-button:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(45, 112, 190, 0.14);
}

.dashboard-button:active {
  transform: translateY(0);
}

.admin-button {
  margin-top: 14px;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.7rem;
  }

  .dashboard-button {
    width: 210px;
  }
}

.staff-login-overlay[hidden] { display: none !important; }
.staff-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(8px);
}
.staff-login-modal {
  position: relative;
  width: min(420px, 100%);
  padding: 32px;
  border: 1px solid rgba(88, 101, 242, .3);
  border-radius: 18px;
  background: #111317;
  color: #f2f3f5;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
  text-align: left;
}
.staff-login-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #b5bac1;
  font-size: 28px;
  cursor: pointer;
}
.staff-login-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #5865f2;
  color: white;
  font-weight: 800;
  margin-bottom: 18px;
}
.staff-login-eyebrow { color: #949ba4; font-size: 11px; font-weight: 800; letter-spacing: .12em; margin-bottom: 7px; }
.staff-login-modal h2 { margin: 0 0 8px; font-size: 26px; }
.staff-login-subtitle { color: #b5bac1; line-height: 1.5; margin: 0 0 22px; font-size: 14px; }
.staff-login-modal label { display: block; margin: 14px 0 7px; color: #dbdee1; font-size: 13px; font-weight: 700; }
.staff-login-modal input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #303338;
  border-radius: 9px;
  outline: none;
  background: #0b0d10;
  color: #f2f3f5;
  font: inherit;
}
.staff-login-modal input:focus { border-color: #5865f2; box-shadow: 0 0 0 3px rgba(88,101,242,.15); }
.staff-login-submit {
  width: 100%;
  margin-top: 20px;
  padding: 13px;
  border: 0;
  border-radius: 9px;
  background: #5865f2;
  color: white;
  font-weight: 700;
  cursor: pointer;
}
.staff-login-submit:hover { background: #4752c4; }
.staff-login-error { min-height: 20px; margin: 12px 0 0; color: #f23f42; font-size: 13px; }
