/* ==========================================================================
   Tropical Premium — layer πάνω από base.css/catalog.css/staff.css.
   Καθαρά προσθετικό: hero/marketing/carousel/decor components για hub,
   customer, login και staff shells. Καμία αλλαγή business-logic classes.
   ========================================================================== */

:root {
  --role-waiter: #00b7ff;
  --role-bar: #d4af37;
  --role-kitchen: #ff9d6b;
  --role-admin: #7dd7c0;
  --tp-wave-h: 46px;
}

/* --- Decorative texture helpers ------------------------------------------ */

.tp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 0.6rem;
}

.tp-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}

.tp-wave-divider {
  display: block;
  width: 100%;
  height: var(--tp-wave-h);
  margin-top: -1px;
  fill: var(--navy-deep);
  opacity: 0.9;
}

/* --- Big tropical hero (hub + customer + login) -------------------------- */

.tp-hero {
  position: relative;
  overflow: hidden;
  margin: 0.75rem;
  padding: clamp(2.25rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 3rem) clamp(3rem, 7vw, 4.5rem);
  border-radius: var(--radius-lg);
  isolation: isolate;
  background:
    radial-gradient(ellipse 700px 420px at 85% -10%, rgba(212, 175, 55, 0.22), transparent 60%),
    linear-gradient(150deg, rgba(6, 26, 48, 0.92), rgba(10, 37, 64, 0.72) 55%, rgba(0, 183, 255, 0.2)),
    image-set(
      url('../img/beach-sunset-hero-960.webp') 1x,
      url('../img/beach-sunset-hero-1920.webp') 2x
    ) center 70%/cover no-repeat;
  box-shadow: var(--shadow-lg);
}

@supports not (background: image-set(url('a.webp') 1x)) {
  .tp-hero {
    background:
      radial-gradient(ellipse 700px 420px at 85% -10%, rgba(212, 175, 55, 0.22), transparent 60%),
      linear-gradient(150deg, rgba(6, 26, 48, 0.92), rgba(10, 37, 64, 0.72) 55%, rgba(0, 183, 255, 0.2)),
      url('../img/beach-sunset-hero-960.jpg') center 70%/cover no-repeat;
  }
}

.tp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(0deg, rgba(6, 26, 48, 0.65), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.tp-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .tp-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

.tp-hero__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: var(--tracking-display);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.tp-hero__title em {
  font-style: normal;
  color: var(--gold-soft);
}

.tp-hero__subtitle {
  margin: 0 0 1.6rem;
  max-width: 46ch;
  font-size: clamp(1rem, 2vw, 1.15rem);
  opacity: 0.92;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.tp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tp-hero__actions .btn {
  padding: 0.85rem 1.6rem;
}

.tp-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.tp-hero__stat {
  min-width: 92px;
}

.tp-hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-soft);
  display: block;
}

.tp-hero__stat-label {
  font-size: 0.78rem;
  opacity: 0.78;
}

/* --- Rotating "alive" 3D cocktail ----------------------------------------- */

.tp-cocktail-3d {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
  perspective: 1000px;
}

.tp-cocktail-3d__stage {
  position: relative;
  width: min(76vw, 300px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--tiltY, 0) * 1deg)) rotateY(calc(var(--tiltX, 0) * 1deg));
  transition: transform 0.35s var(--ease-luxury);
}

.tp-cocktail-3d__ring {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(212, 175, 55, 0.28), transparent 68%);
  filter: blur(2px);
  animation: tpSpinSlow 16s linear infinite;
}

.tp-cocktail-3d__img-wrap {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(6, 26, 48, 0.55), 0 0 0 1px rgba(212, 175, 55, 0.35) inset;
  animation: tpFloat 6s var(--ease-luxury) infinite;
}

.tp-cocktail-3d__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: tpSpinImage 22s linear infinite;
}

.tp-cocktail-3d__shadow {
  position: absolute;
  left: 50%;
  bottom: -6%;
  width: 62%;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.45), transparent 72%);
  transform: translateX(-50%);
  animation: tpShadowPulse 6s var(--ease-luxury) infinite;
}

@keyframes tpSpinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes tpSpinImage {
  from { transform: rotate(0deg) scale(1.12); }
  to { transform: rotate(360deg) scale(1.12); }
}

@keyframes tpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes tpShadowPulse {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.35; transform: translateX(-50%) scale(0.88); }
}

/* Compact variant embedded inside the existing customer .hero--luxury banner */
.hero--luxury {
  position: relative;
}

.tp-cocktail-3d--compact {
  padding: 0;
  position: absolute;
  right: 1rem;
  top: 0.5rem;
  z-index: 1;
  display: none;
}

.tp-cocktail-3d--compact .tp-cocktail-3d__stage {
  width: 110px;
}

@media (min-width: 640px) {
  .tp-cocktail-3d--compact {
    display: flex;
  }
}

/* --- Marketing feature strip ---------------------------------------------- */

.tp-section {
  margin: 2.5rem 0.75rem;
}

.tp-section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

.tp-section__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
}

.tp-section__lead {
  margin: 0;
  opacity: 0.82;
}

.tp-feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 720px) {
  .tp-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tp-feature-card {
  padding: 1.5rem 1.25rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tp-feature-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  background: var(--gold-dim);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.tp-feature-card__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.tp-feature-card__text {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* --- Role entry cards (hub) ------------------------------------------------ */

.tp-role-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 560px) {
  .tp-role-grid--customer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .tp-role-grid--staff {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .tp-role-grid--staff {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tp-role-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem 1.25rem;
  text-decoration: none;
  color: var(--ivory);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform var(--motion-base) var(--ease-luxury),
    box-shadow var(--motion-base) var(--ease-luxury),
    border-color var(--motion-base) ease;
}

.tp-role-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--role-accent, var(--gold)) 0%, transparent 55%);
  opacity: 0.14;
  pointer-events: none;
}

.tp-role-card:hover,
.tp-role-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--role-accent, var(--gold));
}

.tp-role-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--role-accent, rgba(255, 255, 255, 0.2));
  color: var(--role-accent, var(--ivory));
}

.tp-role-card__title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.tp-role-card__text {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.78;
  flex: 1;
}

.tp-role-card__cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--role-accent, var(--gold-soft));
}

/* --- Carousel --------------------------------------------------------------- */

.tp-carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.tp-carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.tp-carousel__track {
  display: flex;
  transition: transform var(--motion-slow) var(--ease-luxury);
}

.tp-carousel__slide {
  flex: 0 0 100%;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  min-height: 200px;
}

@media (min-width: 720px) {
  .tp-carousel__slide {
    grid-template-columns: 1fr 1fr;
  }
}

.tp-carousel__media {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.tp-carousel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tp-carousel__body {
  padding: clamp(1.25rem, 4vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
}

.tp-carousel__body h3 {
  margin: 0;
  font-size: 1.25rem;
}

.tp-carousel__body p {
  margin: 0;
  opacity: 0.82;
  font-size: 0.92rem;
}

.tp-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.tp-carousel__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ivory);
  cursor: pointer;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
}

.tp-carousel__arrow:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.tp-carousel__dots {
  display: flex;
  gap: 0.5rem;
}

.tp-carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
}

.tp-carousel__dot.is-active {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

/* --- Reveal-on-scroll ------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--motion-slow) var(--ease-luxury), transform var(--motion-slow) var(--ease-luxury);
  pointer-events: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* --- Premium login card ----------------------------------------------------- */

.tp-login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.tp-login-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 20% 0%, rgba(212, 175, 55, 0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 100%, rgba(0, 183, 255, 0.14), transparent 55%);
  pointer-events: none;
}

.tp-login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 2rem 1.75rem;
}

.tp-login-card__brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.tp-login-card__brand-mark {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.tp-login-card__brand h1 {
  margin: 0 0 0.25rem;
  font-size: 1.4rem;
}

.tp-login-card__brand p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

.tp-role-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 0 0 1.1rem;
}

.tp-role-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.5rem 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ivory);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color var(--motion-fast) ease, background var(--motion-fast) ease, color var(--motion-fast) ease;
}

.tp-role-chip.is-active {
  border-color: var(--gold);
  background: var(--gold-dim);
  color: var(--gold-soft);
  box-shadow: var(--shadow-gold);
}

.tp-dev-pins {
  margin-top: 1rem;
  font-size: 0.78rem;
  opacity: 0.55;
  text-align: center;
}

/* --- Staff role hero banner -------------------------------------------------- */

.tp-staff-hero {
  --role-accent: var(--turquoise);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(120deg, rgba(212, 175, 55, 0.12), transparent 60%),
    linear-gradient(160deg, #0a2540 0%, #123a56 60%, #0a2540 100%);
  box-shadow: var(--shadow);
}

.tp-staff-hero[data-role="waiter"] { --role-accent: var(--role-waiter); }
.tp-staff-hero[data-role="bar"] { --role-accent: var(--role-bar); }
.tp-staff-hero[data-role="kitchen"] { --role-accent: var(--role-kitchen); }
.tp-staff-hero[data-role="admin"] { --role-accent: var(--role-admin); }

.tp-staff-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 380px 200px at 90% -20%, var(--role-accent), transparent 70%);
  opacity: 0.18;
  pointer-events: none;
}

.tp-staff-hero__brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tp-staff-hero__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--role-accent);
  color: var(--role-accent);
  flex-shrink: 0;
}

.tp-staff-hero__title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.tp-staff-hero__subtitle {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.7;
}

.tp-staff-hero__logout {
  position: relative;
  z-index: 1;
}

/* Role-tinted accents for inner (JS-rendered) staff-header + cards, μέσω body[class] */
.role-waiter .order-no,
.role-waiter .staff-card { --role-accent: var(--role-waiter); }
.role-bar .order-no,
.role-bar .staff-card { --role-accent: var(--role-bar); }
.role-kitchen .order-no,
.role-kitchen .staff-card { --role-accent: var(--role-kitchen); }
.role-admin .order-no,
.role-admin .staff-card { --role-accent: var(--role-admin); }

.role-waiter .staff-card,
.role-bar .staff-card,
.role-kitchen .staff-card,
.role-admin .staff-card {
  border-left-color: color-mix(in srgb, var(--role-accent, var(--gold)) 55%, transparent);
}

/* ==========================================================================
   Beach-bar production surface: all existing vanilla components keep their
   business classes, but render on an island/rattan/sunset visual system.
   ========================================================================== */

body {
  color: #fff8ea;
  background:
    linear-gradient(180deg, rgba(16, 33, 31, 0.9) 0%, rgba(12, 38, 43, 0.78) 42%, rgba(25, 47, 44, 0.9) 100%),
    url('../img/beach-sunset-hero-1920.jpg') center top / cover fixed no-repeat;
}

@supports (-webkit-touch-callout: none) {
  body {
    background-attachment: scroll;
  }
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.32;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 233, 189, 0.025) 19px 20px),
    radial-gradient(ellipse 90% 38% at 50% 110%, rgba(59, 179, 197, 0.25), transparent 70%);
}

.glass-panel {
  background:
    linear-gradient(145deg, rgba(47, 57, 46, 0.72), rgba(16, 36, 38, 0.8)),
    repeating-linear-gradient(95deg, rgba(250, 218, 163, 0.035) 0 2px, transparent 2px 10px);
  border-color: rgba(249, 216, 157, 0.22);
  box-shadow: 0 18px 45px rgba(4, 20, 23, 0.34);
}

.btn {
  min-height: 46px;
  padding: 0.65rem 1rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  box-shadow: 0 5px 15px rgba(2, 18, 20, 0.2);
}

.btn-primary {
  color: #122b2c;
  background: linear-gradient(135deg, #ffd87a, #e7ae43 50%, #c4872f);
  border-color: rgba(255, 236, 173, 0.6);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(220, 164, 56, 0.3);
}

.btn-secondary {
  color: #fff9ed;
  background: rgba(33, 62, 61, 0.72);
  border-color: rgba(255, 230, 175, 0.28);
}

/* Customer catalog -------------------------------------------------------- */

.catalog-header {
  margin: max(0.5rem, env(safe-area-inset-top)) 0.75rem 0.75rem;
  border-radius: 18px;
  background: rgba(21, 52, 51, 0.86);
  border-color: rgba(255, 221, 151, 0.3);
}

.brand-title {
  font-family: var(--font-display);
  color: #ffe0a0;
  font-size: 1.32rem;
}

.table-badge {
  background: rgba(229, 174, 65, 0.18);
  color: #ffe1a5;
  border-color: rgba(255, 217, 127, 0.62);
}

.hero--luxury,
.tp-hero {
  border: 1px solid rgba(255, 230, 175, 0.3);
}

.hero--luxury::before {
  content: "Island service · your table, your rhythm";
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffdfa0;
}

.hero--luxury .hero__title {
  max-width: 10ch;
  font-size: clamp(2rem, 7vw, 3.45rem);
}

.hero--luxury .hero__subtitle {
  max-width: 36ch;
}

.category-nav {
  top: 72px;
  padding-top: 0.65rem;
  background: linear-gradient(180deg, rgba(13, 40, 42, 0.92), rgba(13, 40, 42, 0));
}

.category-chip {
  background: rgba(255, 244, 219, 0.11);
  border-color: rgba(255, 235, 189, 0.14);
}

.category-chip.is-active {
  background: linear-gradient(135deg, rgba(237, 185, 79, 0.32), rgba(109, 197, 190, 0.22));
  color: #fff1cf;
  border-color: #efc15a;
}

.product-grid {
  gap: 0.8rem;
  padding-bottom: 145px;
}

@media (min-width: 640px) {
  .product-grid { gap: 1.05rem; }
}

.product-card {
  border-radius: 19px;
  background: linear-gradient(160deg, rgba(47, 67, 59, 0.9), rgba(18, 43, 43, 0.94));
  border-color: rgba(255, 224, 160, 0.19);
}

.product-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 244, 205, 0.09) 49%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-luxury);
}

.product-card:hover::after,
.product-card:focus-within::after {
  transform: translateX(120%);
}

.product-card__media {
  aspect-ratio: 1.35 / 1;
  border-bottom: 1px solid rgba(255, 225, 165, 0.14);
}

.product-card__body { padding: 0.9rem 0.95rem 1rem; }
.product-card__name { color: #fff1d4; font-family: var(--font-display); }
.product-card__desc { line-height: 1.45; min-height: 2.65em; }
.product-card__price { color: #ffe092; font-family: var(--font-display); }
.product-card__add {
  width: auto;
  min-width: 42px;
  height: 42px;
  padding: 0 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #153c3b;
  background: linear-gradient(135deg, #ffe19b, #d79638);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.22);
  font-size: 0.77rem;
  white-space: nowrap;
}

.customer-actions {
  gap: 0.55rem;
}

.customer-actions .btn {
  min-width: min(145px, 46%);
  font-size: 0.84rem;
  background: rgba(27, 71, 68, 0.82);
}

.cart-fab,
.bottom-bar {
  background: linear-gradient(135deg, rgba(36, 74, 70, 0.96), rgba(22, 50, 50, 0.98));
  border-color: rgba(255, 222, 153, 0.3);
}

.cart-fab {
  color: #fff3d8;
  border-radius: 16px;
  border: 1px solid rgba(255, 219, 139, 0.42);
}

.modal-overlay { background: rgba(4, 22, 25, 0.75); backdrop-filter: blur(6px); }
.modal-sheet {
  background:
    linear-gradient(160deg, rgba(45, 68, 59, 0.98), rgba(13, 35, 37, 0.99)),
    url('../img/beach-bg.svg') center / cover;
  border: 1px solid rgba(255, 226, 164, 0.26);
}
.modal-sheet--cart { border-left-color: rgba(255, 221, 145, 0.38); }
.field-input { background: rgba(7, 30, 33, 0.65); border-color: rgba(255, 223, 157, 0.28); }
.addon-pill { background: rgba(255, 247, 226, 0.08); border-color: rgba(255, 228, 169, 0.24); }
.addon-pill.is-selected { border-color: #f2c15d; background: rgba(235, 183, 72, 0.2); }

/* Staff, online admin and local builder ---------------------------------- */

.staff-layout {
  max-width: 1480px;
  padding: clamp(0.65rem, 2vw, 1.3rem);
}

.tp-staff-hero {
  margin: 0 0 1rem;
  min-height: 86px;
  background:
    linear-gradient(105deg, rgba(14, 49, 47, 0.9), rgba(72, 69, 42, 0.62)),
    url('../img/beach-sunset-hero-960.jpg') center 62% / cover;
  border-color: rgba(255, 222, 153, 0.28);
}

.staff-header {
  position: sticky;
  top: 0.5rem;
  z-index: 20;
  margin-bottom: 1rem;
  padding: 0.75rem 0.95rem;
  border-radius: 16px;
  background: rgba(17, 55, 53, 0.9);
  border: 1px solid rgba(255, 222, 155, 0.2);
  backdrop-filter: blur(16px);
}

.staff-header h1 {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  color: #ffe5ae;
}

.staff-grid {
  gap: 0.85rem;
}

.staff-card {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border-left-width: 4px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(50, 75, 64, 0.86), rgba(17, 45, 46, 0.94));
}

.staff-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 92px;
  height: 92px;
  border-radius: 0 0 0 100%;
  background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--role-accent, #edbb59) 35%, transparent), transparent 70%);
  pointer-events: none;
}

.staff-card__title h3 { color: #fff0ce; margin: 0; }
.order-no { color: #ffe094; font-size: 1.13rem; }
.staff-item { border-bottom-color: rgba(255, 232, 186, 0.12); padding: 0.7rem 0; }
.staff-item__actions { gap: 0.45rem; }
.staff-item__actions .btn { min-height: 38px; }
.section-title { color: #ffe3a7; font-family: var(--font-display); }
.table-order-preview {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.7rem;
  border-radius: 12px;
  background: rgba(6, 32, 34, 0.3);
  border: 1px solid rgba(255, 223, 158, 0.13);
}
.table-order-preview__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.15rem;
  font-size: 0.88rem;
}
.table-order-preview__item strong { color: #fff1d2; }
.table-order-preview__addons { color: #ebce91; font-size: 0.78rem; }
.table-order-preview__comment { color: #ffcfac; font-size: 0.78rem; font-style: italic; }
.status-pill--pending { color: #ffe39a; background: rgba(241, 187, 80, 0.18); }
.status-pill--ready { color: #b8f5d5; background: rgba(55, 183, 131, 0.22); }

.feed-status {
  background: rgba(5, 30, 31, 0.42);
  border: 1px solid rgba(255, 234, 187, 0.12);
  color: #fff0d1;
}

.table-row,
.inventory-row,
.inventory-order-row {
  border-bottom-color: rgba(255, 231, 183, 0.12);
}

.request-banner {
  border-radius: 13px;
  border-color: rgba(255, 200, 105, 0.65);
  background: rgba(186, 117, 46, 0.18);
}

.waiter-alert-banner {
  border-radius: 14px;
  color: #fff2cc;
  border-color: rgba(255, 208, 112, 0.76);
  background: linear-gradient(135deg, rgba(199, 133, 49, 0.42), rgba(28, 105, 99, 0.44));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.customer-comment-critical {
  color: #fff2c9;
  text-shadow: none;
  background: rgba(139, 57, 39, 0.55);
  border-color: rgba(255, 185, 126, 0.72);
}

@media (max-width: 520px) {
  .staff-card { padding: 0.85rem; }
  .staff-item__actions .btn { flex: 1 1 auto; }
  .tp-staff-hero { padding: 0.9rem 1rem; }
}

/* Decorative waves: a GPU-only visual layer, never bound to API/UI state. */
.tp-staff-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
}

.tp-staff-hero::before,
.hero--luxury::after {
  background:
    radial-gradient(ellipse at 20% 110%, rgba(123, 223, 221, 0.28) 0 9%, transparent 10%),
    radial-gradient(ellipse at 52% 112%, rgba(255, 239, 185, 0.22) 0 10%, transparent 11%),
    radial-gradient(ellipse at 82% 110%, rgba(112, 209, 207, 0.23) 0 10%, transparent 11%);
  background-size: 180px 56px;
  animation: tpWaves 12s linear infinite;
}

@keyframes tpWaves {
  from { background-position: 0 0; }
  to { background-position: 360px 0; }
}

/* --- Mobile / touch interaction fixes ------------------------------------ */

@media (hover: none) and (pointer: coarse) {
  body {
    background-attachment: scroll;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

.hub-layout.hub-layout--tp {
  display: block;
  min-height: 100dvh;
  padding:
    max(0.75rem, env(safe-area-inset-top))
    max(0.75rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom))
    max(0.75rem, env(safe-area-inset-left));
}

.hub-layout.hub-layout--tp .hub-page-tp {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.hub-layout.hub-layout--tp .tp-role-card,
.hub-layout.hub-layout--tp .tp-hero__actions a {
  position: relative;
  z-index: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(212, 175, 55, 0.28);
}

.tp-role-card > * {
  position: relative;
  z-index: 1;
}

.tp-login-shell {
  min-height: 100dvh;
}
