/* POS customer screen + floating rewards button (Electron) */

.pos-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 50% 0%, #14375f 0%, var(--navy-deep) 55%, #040d18 100%);
  color: #fff;
  padding: 2rem;
  overflow: hidden;
}

.pos-screen {
  text-align: center;
  max-width: 720px;
}

.pos-brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.pos-brand .brand-mark {
  width: 72px;
  height: 72px;
  font-size: 2rem;
  border-radius: 18px;
}

.pos-brand .brand-text {
  font-size: 2rem;
  text-align: left;
}

.pos-brand .brand-text small {
  font-size: .7rem;
  color: #fbbf24;
}

.pos-screen h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.pos-lede {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.pos-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.pos-feature {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  min-width: 140px;
}

.pos-feature span {
  display: block;
  font-size: 1.6rem;
  margin-bottom: .35rem;
}

.pos-feature strong {
  display: block;
  font-size: .85rem;
}

.pos-staff-bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  padding: .75rem 1rem;
  z-index: 50;
}

.pos-staff-bar .btn-ghost {
  font-size: .8rem;
  padding: .45rem .8rem;
}

.pos-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  transition: transform .15s ease;
}

.pos-fab:hover {
  transform: scale(1.05);
}

.pos-fab:active {
  transform: scale(0.98);
}

.pos-fab-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  font-size: 2rem;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.45), 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.25);
}

.pos-fab-label {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.pos-clock {
  margin-top: 2.5rem;
  font-size: .9rem;
  color: #94a3b8;
}

body:has(#scanModal:not(.hidden)) .pos-fab {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}
