/* ==========================================================================
   AJNA - High-End Luxury Nightlife & Private Guestlist Stylesheet
   ========================================================================== */

:root {
  --bg-deep: #030712;
  --bg-surface: #0b0f19;
  --bg-card: rgba(17, 24, 39, 0.7);
  --bg-card-hover: rgba(24, 33, 53, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #6366f1;

  --text-pure: #ffffff;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --accent-gold: #fbbf24;
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --accent-purple: #a855f7;
  --accent-danger: #ef4444;

  --font-brand: 'Syne', sans-serif;
  --font-main: 'Rubik', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glow-cyan: 0 0 30px rgba(56, 189, 248, 0.25);
  --shadow-glow-gold: 0 0 30px rgba(251, 191, 36, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body.luxury-nightlife-theme {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(217, 70, 239, 0.06) 0%, transparent 40%);
  color: var(--text-pure);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

[dir="rtl"] { direction: rtl; text-align: right; }
[dir="ltr"] { direction: ltr; text-align: left; }

/* ==========================================================================
   Header Navbar
   ========================================================================== */
.navbar {
  position: relative;
  z-index: 100;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 20px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-group-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  transition: all 0.25s ease;
}

.noctis-svg-logo,
.ajna-svg-logo {
  height: 40px;
  width: auto;
  max-width: 175px;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.nav-brand:hover .noctis-svg-logo,
.nav-brand:hover .ajna-svg-logo {
  transform: scale(1.02);
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.75)) drop-shadow(0 0 30px rgba(192, 132, 252, 0.55));
}

.noctis-emblem-group,
.ajna-emblem-group {
  transform-origin: 18px 18px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-brand:hover .noctis-emblem-group,
.nav-brand:hover .ajna-emblem-group {
  transform: translate(3px, 3px) rotate(8deg);
}

/* Co-branding Divider */
.brand-co-divider {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.5), transparent);
}

/* Co-branding Badge: המלונה של קשת */
.keshet-kennel-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(212, 175, 55, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 12px 4px 6px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
  cursor: default;
}

.keshet-kennel-badge:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}

.kennel-img-wrap {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-gold);
  overflow: visible;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.kennel-crest-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.kennel-verified-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0f172a;
  box-shadow: 0 0 6px #10b981;
}

.kennel-text-box {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.kennel-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.kennel-sub {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.06em;
  line-height: 1.2;
}

/* Staff Console Keshet Mini Badge */
.staff-keshet-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  padding: 3px 10px 3px 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-gold);
  vertical-align: middle;
}

.staff-keshet-mini-img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  object-fit: cover;
}

.brand-monogram {
  display: none;
}

.brand-name {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Backstage Button in Navbar */
.btn-backstage {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(56, 189, 248, 0.15));
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.btn-backstage:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(56, 189, 248, 0.3));
  border-color: var(--accent-purple);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
  transform: translateY(-1px);
}

.backstage-icon {
  font-size: 1.1rem;
}

/* Backstage Modal Polish */
.modal-backstage {
  max-width: 440px;
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(168, 85, 247, 0.15);
}

.backstage-badge-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 4px;
}

.lbl-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-forgot-link {
  background: none;
  border: none;
  color: var(--accent-gold);
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.2s;
}

.btn-forgot-link:hover {
  color: #fde047;
}

.btn-backstage-submit {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  margin-top: 18px;
}

.btn-backstage-submit:hover {
  background: linear-gradient(135deg, #6d28d9, #1d4ed8);
}

.quick-credentials-hint {
  margin-top: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-sm);
}

.hint-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.hint-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chip-hint {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.75rem;
  padding: 5px 8px;
  cursor: pointer;
  text-align: start;
  transition: var(--transition-smooth);
}

.chip-hint:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
}

.chip-hint.gold:hover {
  border-color: var(--accent-gold);
}

.forgot-instructions {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.forgot-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.btn-ghost-cancel {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 6px;
}

.btn-ghost-cancel:hover {
  color: #fff;
}

.text-center {
  text-align: center;
  letter-spacing: 6px;
  font-size: 1.2rem;
  font-weight: 700;
}

/* ==========================================================================
   ADVANCED NIGHTLIFE ENGINE: GYRO SHIMMER, MESH P2P, STRIPE CONNECT & WHATSAPP
   ========================================================================== */

/* 1. Holographic Gyro Motion Shimmer (Anti-Screen Recording) */
.qr-luxury-frame {
  position: relative;
  overflow: hidden;
  perspective: 600px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.gyro-shimmer-layer {
  position: absolute;
  inset: -100%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.45) 45%,
    rgba(56, 189, 248, 0.5) 50%,
    rgba(217, 70, 239, 0.5) 55%,
    rgba(255, 255, 255, 0) 70%
  );
  pointer-events: none;
  mix-blend-mode: color-dodge;
  opacity: 0.75;
  transform: translate(0%, 0%);
  transition: transform 0.1s linear;
}

.live-ms-tag {
  font-family: monospace;
  font-size: 0.72rem;
  background: #030712;
  color: var(--accent-cyan);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-inline-start: 8px;
  font-weight: 700;
}

.gyro-hint {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 6px;
  text-align: center;
}

/* 2. Local Mesh Network Sync Chip */
.mesh-network-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-emerald);
}

.mesh-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-ring 1.8s infinite;
}

/* 3. Optimistic Queue Locking */
.queue-card-item.locked {
  opacity: 0.6;
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.05);
  cursor: not-allowed;
}

.lock-badge-chip {
  font-size: 0.68rem;
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-gold);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-inline-start: 6px;
}

/* 4. Stripe Connect Direct Payouts Dashboard */
.payouts-dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payout-account-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.account-header-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.badge-connect {
  font-size: 0.72rem;
  font-weight: 800;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.15);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 4px;
}

.account-iban {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.stripe-badge-verified {
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.payout-metric-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 800px) {
  .payout-metric-cards { grid-template-columns: 1fr; }
}

.p-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.p-card.gold { border-color: rgba(251, 191, 36, 0.3); background: rgba(251, 191, 36, 0.04); }
.p-card.green { border-color: rgba(16, 185, 129, 0.3); background: rgba(16, 185, 129, 0.04); }

.p-lbl { font-size: 0.75rem; color: var(--text-dim); }
.p-val { font-size: 1.8rem; font-weight: 900; margin: 4px 0; color: #fff; }
.p-val.gold { color: var(--accent-gold); }
.p-val.green { color: var(--accent-emerald); }
.p-sub { font-size: 0.7rem; color: var(--text-dim); }

.payout-transactions-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.payouts-table-wrap {
  overflow-x: auto;
  margin-top: 14px;
}

.payout-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: start;
}

.payout-table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-size: 0.75rem;
}

.payout-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* 5. WhatsApp Modal Styles */
.modal-wa {
  max-width: 440px;
  background: #0b141a;
  border-color: rgba(37, 211, 102, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(37, 211, 102, 0.2);
}

.wa-header {
  background: #1f2c34;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wa-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-icon {
  font-size: 1.6rem;
  color: #25d366;
}

.wa-verified {
  font-size: 0.72rem;
  color: #25d366;
  display: block;
}

.wa-chat-body {
  padding: 24px 16px;
  background: #0b141a;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.wa-bubble {
  background: #005c4b;
  color: #e9edef;
  border-radius: 12px;
  border-top-right-radius: 2px;
  padding: 12px 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.wa-bubble-sender {
  font-size: 0.75rem;
  color: #25d366;
  font-weight: 700;
  margin-bottom: 6px;
}

.wa-link-btn {
  margin-top: 12px;
  background: #00a884;
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.wa-link-btn:hover {
  transform: scale(1.02);
  background: #029071;
}

.wa-time-meta {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: end;
  margin-top: 6px;
}

.wa-footer-actions {
  padding: 14px 18px;
  background: #1f2c34;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-wa-direct {
  display: block;
  width: 100%;
  padding: 12px;
  background: #25d366;
  color: #0b141a;
  text-align: center;
  font-weight: 800;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.btn-wa-direct:hover {
  background: #20ba5a;
  transform: translateY(-1px);
}

/* Language Switcher */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-pure);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  display: none;
  flex-direction: column;
  min-width: 130px;
  z-index: 101;
}

.lang-menu.show {
  display: flex;
}

.lang-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: none;
  border: none;
  color: var(--text-pure);
  font-family: inherit;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: inherit;
  width: 100%;
}

.lang-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
}

.user-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.btn-logout {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 2px;
}

.btn-logout:hover {
  color: var(--text-pure);
}

/* Panic Banner */
.panic-banner {
  background: linear-gradient(90deg, #991b1b, #ef4444);
  color: #fff;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

.panic-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.btn-panic-dismiss {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.8rem;
}

/* ==========================================================================
   Main Viewport & Page Views
   ========================================================================== */
.app-viewport {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 20px 80px;
  flex: 1;
}

.page-view {
  display: none;
  animation: fadeInView 0.35s ease;
}

.page-view.active {
  display: block;
}

@keyframes fadeInView {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero-banner {
  text-align: center;
  max-width: 760px;
  margin: 20px auto 40px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-brand);
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.glow-word {
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Events Showcase (Sexy, Dark Nightlife Cards with Clear Pricing)
   ========================================================================== */
.events-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.section-title {
  font-family: var(--font-brand);
  font-size: 1.6rem;
  font-weight: 800;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--accent-emerald);
  font-weight: 500;
}

.pulse-emerald {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.events-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), var(--shadow-glow-cyan);
}

.event-cover-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.event-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-card:hover .event-cover-img {
  transform: scale(1.05);
}

.event-cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 15, 25, 0.95) 0%, transparent 60%);
}

.event-date-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
}

[dir="ltr"] .event-date-pill {
  right: auto;
  left: 14px;
}

.event-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-name {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #fff;
}

.event-location {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Pricing Grid */
.event-pricing-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.price-item {
  display: flex;
  flex-direction: column;
}

.price-tier-name {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.price-val.vip {
  color: var(--accent-gold);
}

.btn-apply-guestlist {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-apply-guestlist:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.5);
}

/* ==========================================================================
   Patron Hub & Verification Gate
   ========================================================================== */
.hub-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-back {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-back:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.view-heading {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  font-weight: 800;
}

.patron-state-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.status-badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-approved {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.spinner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.event-target-title {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.state-subtext {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Concierge Chat */
.concierge-chat-wrap {
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  height: 380px;
  text-align: start;
  overflow: hidden;
}

.chat-bar-header {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-agent-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agent-avatar {
  font-size: 1.4rem;
}

.chat-online-pill {
  font-size: 0.72rem;
  color: var(--accent-emerald);
}

.chat-secure-tag {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-messages.mini {
  max-height: 180px;
}

.chat-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.4;
}

.chat-bubble.patron {
  align-self: flex-start;
  background: #2563eb;
  color: #fff;
  border-bottom-left-radius: 2px;
}

.chat-bubble.selector {
  align-self: flex-end;
  background: #1f293d;
  color: var(--text-pure);
  border-bottom-right-radius: 2px;
  border: 1px solid var(--border-subtle);
}

.chat-time {
  font-size: 0.65rem;
  opacity: 0.7;
  margin-top: 4px;
  text-align: end;
}

.chat-footer-input {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.chat-footer-input input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
}

.chat-footer-input input:focus {
  outline: none;
  border-color: var(--border-focus);
}

.btn-chat-attach, .btn-chat-send {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.btn-chat-send {
  background: #2563eb;
  border: none;
}

/* Checkout Summary Card */
.ticket-checkout-summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 24px;
  text-align: start;
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.checkout-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 12px 0;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
}

.total-price-tag {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.btn-checkout-glow {
  box-shadow: var(--shadow-glow-gold);
}

/* Active Dynamic Digital Pass (Clean, Luxury, NO strategy preaching!) */
.digital-pass-card {
  background: linear-gradient(145deg, #111827, #070a12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow-cyan);
  margin-bottom: 20px;
}

.pass-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.pass-brand {
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: 1.5px;
  font-size: 0.95rem;
}

.pass-tier-badge {
  padding: 4px 12px;
  background: var(--accent-gold);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
}

.pass-event-details h3 {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.pass-location, .pass-time {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.qr-luxury-frame {
  margin: 24px auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.qr-pulse-indicator {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #0f172a;
  font-weight: 700;
}

.indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.pass-attendee-info {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 14px;
}

.attendee-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.pass-instructions {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==========================================================================
   STAFF FIELD CONSOLE (סלקטור בשטח ומנהל)
   ========================================================================== */
.staff-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.staff-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.badge-event-scoped {
  padding: 4px 10px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: var(--accent-purple);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
}

.staff-quick-actions {
  display: flex;
  gap: 10px;
}

.btn-staff-pill {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: var(--transition-smooth);
}

.btn-panic-trigger {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
  border: none;
}

.staff-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.staff-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.staff-tab.active {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
}

.tab-badge {
  padding: 2px 7px;
  background: #ef4444;
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
}

.staff-tab-view {
  display: none;
}

.staff-tab-view.active {
  display: block;
}

.staff-two-col {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .staff-two-col { grid-template-columns: 1fr; }
}

.queue-panel, .review-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.queue-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.queue-card-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.queue-card-item:hover, .queue-card-item.selected {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
}

.queue-card-top {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 4px;
}

.queue-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.id-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.id-card-view img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.decision-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.decision-buttons-grid button:first-child {
  grid-column: span 2;
}

.btn-action {
  padding: 12px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
}

.btn-approve { background: #10b981; color: #fff; }
.btn-request-doc { background: #f59e0b; color: #000; }
.btn-reject { background: #ef4444; color: #fff; }

/* 2FA Scanner */
.scanner-wrapper {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.scanner-camera-viewport {
  width: 100%;
  height: 280px;
  background: #030712;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.scan-laser-glow,
.scan-target-box {
  display: none !important;
}

.scan-caption {
  position: absolute;
  bottom: 12px;
  font-size: 0.78rem;
  color: #fff;
  background: rgba(3, 7, 18, 0.75);
  padding: 5px 14px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  z-index: 5;
}

.scanner-token-input-bar {
  display: flex;
  gap: 8px;
}

.scan-alert {
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
}

/* Cash & Ledger */
.cash-ledger-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 800px) {
  .cash-ledger-grid { grid-template-columns: 1fr; }
}

.cash-issue-card, .debt-status-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.debt-counter-box {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}

.debt-val {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent-gold);
}

.cash-issued-tickets-card {
  margin-top: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.cash-issued-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.cash-ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cash-ticket-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.3);
}

.cash-row-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cash-row-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cash-tier-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.cash-tier-tag.vip {
  background: rgba(212, 175, 55, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.cash-tier-tag.standard {
  background: rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.cash-row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-ticket-issued {
  max-width: 440px;
}

.issued-qr-wrap {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}

.issued-meta-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.issued-meta-box .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.issued-actions-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Manager Map & Gate Gauge */
.manager-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

@media (max-width: 900px) {
  .manager-layout-grid { grid-template-columns: 1fr; }
}

.map-box-wrap, .manager-gate-counter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.map-canvas {
  width: 100%;
  height: 440px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Patrons Database & Live Roster Section (מסד נתוני בליינים וזיהוי שטח)
   ========================================================================== */
.patrons-roster-section {
  margin-top: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.roster-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.roster-badge-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.roster-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px 0;
}

.roster-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.roster-stats-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.roster-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  text-align: center;
  min-width: 85px;
}

.roster-stat-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.roster-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.roster-controls-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.roster-search-box {
  position: relative;
  width: 100%;
}

.roster-search-box .search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  opacity: 0.6;
  pointer-events: none;
}

.roster-search-box input {
  padding-right: 40px;
}

.roster-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.roster-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.roster-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.roster-pill-btn.active {
  background: var(--gold-primary, #d4af37);
  color: #030712;
  border-color: var(--gold-primary, #d4af37);
  font-weight: 700;
}

.patrons-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.patron-roster-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.patron-roster-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.patron-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-avatar-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.6), rgba(255, 255, 255, 0.1));
  cursor: pointer;
}

.roster-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.status-indicator-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #0f172a;
}

.status-indicator-dot.green { background: #10b981; box-shadow: 0 0 8px #10b981; }
.status-indicator-dot.amber { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }
.status-indicator-dot.blue { background: #3b82f6; box-shadow: 0 0 8px #3b82f6; }
.status-indicator-dot.red { background: #ef4444; box-shadow: 0 0 8px #ef4444; }

.card-details-wrap {
  flex: 1;
  min-width: 0;
}

.card-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.patron-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-roster-tier {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
}

.badge-roster-tier.vip {
  background: rgba(212, 175, 55, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.badge-roster-tier.standard {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.card-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.meta-chip {
  font-size: 0.74rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.meta-chip code {
  color: var(--accent-gold);
  font-family: monospace;
}

.card-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.roster-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.roster-status-badge.green { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.roster-status-badge.amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.roster-status-badge.blue { background: rgba(59, 130, 246, 0.15); color: #38bdf8; }
.roster-status-badge.red { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.card-actions-toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-roster-action {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-roster-action:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-roster-action.primary {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
  border-color: rgba(212, 175, 55, 0.4);
}

.btn-roster-action.primary:hover {
  background: var(--gold-primary, #d4af37);
  color: #030712;
}

.gate-gauge-number {
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  margin: 20px 0 10px;
}

.gauge-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.gauge-fill {
  height: 100%;
  width: 15%;
  background: linear-gradient(90deg, #10b981, #38bdf8);
}

/* ==========================================================================
   100% REAL STRIPE CREDIT CARD TERMINAL & CHECKOUT MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFade 0.25s ease;
}

@keyframes modalFade {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-window {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
}

.modal-checkout {
  max-width: 480px;
}

.modal-sm {
  max-width: 380px;
}

.modal-top {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.4rem;
  cursor: pointer;
}

.btn-modal-close:hover {
  color: #fff;
}

.modal-body-scroll {
  padding: 22px;
}

/* Credit Card Visual */
.credit-card-preview {
  background: linear-gradient(135deg, #1e1b4b, #312e81, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-chip {
  width: 38px;
  height: 28px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 4px;
}

.card-brand-logo {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

[dir="ltr"] .card-brand-logo {
  right: auto;
  left: 20px;
}

.card-number-display {
  font-family: monospace;
  font-size: 1.25rem;
  letter-spacing: 2px;
  color: #fff;
  margin: 10px 0;
}

.card-meta-bottom {
  display: flex;
  justify-content: space-between;
}

.card-lbl {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.card-val {
  font-size: 0.85rem;
  font-weight: 700;
}

.btn-apple-pay {
  width: 100%;
  padding: 14px;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  transition: var(--transition-smooth);
}

.btn-apple-pay:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.pay-divider {
  text-align: center;
  position: relative;
  margin: 18px 0;
  color: var(--text-dim);
  font-size: 0.78rem;
}

.pay-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-subtle);
  z-index: 0;
}

.pay-divider span {
  position: relative;
  background: var(--bg-surface);
  padding: 0 10px;
  z-index: 1;
}

/* Form Styles */
.form-group-modern {
  margin-bottom: 14px;
  text-align: start;
}

.form-group-modern label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-row-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.input-modern {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.input-modern:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.tier-pick-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tier-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition-smooth);
}

.tier-card.active {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
}

.id-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.upload-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.upload-dropzone:hover {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.04);
}

.drop-icon {
  font-size: 1.8rem;
}

.security-badge-footer {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin: 14px 0;
}

.btn-primary {
  padding: 14px 20px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Discreet Back-of-House Footer
   ========================================================================== */
.app-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 20px;
  margin-top: auto;
  background: rgba(3, 7, 18, 0.9);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.btn-discreet-lock {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.75rem;
  transition: var(--transition-smooth);
  opacity: 0.5;
}

.btn-discreet-lock:hover {
  opacity: 1;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
}

/* Toasts */
.toast-stack {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

[dir="ltr"] .toast-stack {
  right: auto;
  left: 20px;
}

.toast-msg {
  pointer-events: auto;
  background: #111827;
  border: 1px solid var(--border-subtle);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7);
  animation: slideToast 0.3s ease;
  max-width: 360px;
}

@keyframes slideToast {
  from { transform: translateY(15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.toast-success { border-color: var(--accent-emerald); }
.toast-danger { border-color: var(--accent-danger); }
.toast-warning { border-color: var(--accent-gold); }

/* ==========================================================================
   V5.0 ENHANCEMENTS: Real ID Previews, Lightbox, Real Camera Scanner & Map
   ========================================================================== */

/* ID Upload Previews */
.upload-thumb-preview {
  max-width: 100%;
  max-height: 85px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  object-fit: cover;
  margin-bottom: 6px;
}

.clickable-id-thumb {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: var(--radius-sm);
}

.clickable-id-thumb:hover {
  transform: scale(1.04);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.4);
}

/* Chat Image & Document Attachments */
.chat-file-bubble {
  margin-top: 6px;
}

.chat-img-thumb {
  max-width: 220px;
  max-height: 160px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.chat-img-thumb:hover {
  transform: scale(1.03);
}

.chat-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #38bdf8;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
}

.chat-doc-link:hover {
  background: rgba(56, 189, 248, 0.15);
}

/* Lightbox Modal */
.lightbox-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#lightboxImage {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 12px;
  color: var(--text-pure);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.btn-lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.btn-lightbox-close:hover {
  background: #ef4444;
}

/* Map Markers */
.leaflet-staff-marker {
  background: transparent;
  border: none;
}

.staff-pin-bubble {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  border: 1.5px solid;
}

.pin-selector {
  background: #0f172a;
  border-color: #f59e0b;
  color: #f59e0b;
}

.pin-manager {
  background: #0f172a;
  border-color: #38bdf8;
  color: #38bdf8;
}

.patron-pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.full-width-map {
  width: 100%;
}

.full-width-map .map-canvas {
  height: 480px;
}

/* Quick Test Scanner Chips */
.scanner-quick-test-box {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

.quick-test-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-pure);
}

.quick-test-tokens-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-test-scan-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #1e293b;
  border: 1px solid var(--border-gold);
  color: var(--text-pure);
  cursor: pointer;
  font-size: 0.82rem;
  font-family: inherit;
  transition: var(--transition-fast);
}

.btn-test-scan-chip:hover {
  background: #334155;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.btn-test-scan-chip.scanned {
  border-color: #ef4444;
  opacity: 0.75;
}

.btn-scanner-camera-toggle {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-scanner-camera-toggle:hover {
  background: var(--accent-gold);
  color: #030712;
}

/* Scanner Rich Alert Cards */
.scan-alert-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  animation: fadeIn 0.3s ease;
}

.scan-alert-card.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10b981;
  color: #10b981;
}

.scan-alert-card.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #ef4444;
}

.scan-alert-card.warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid #f59e0b;
  color: #f59e0b;
}

.scan-alert-card.fraud {
  background: rgba(239, 68, 68, 0.2);
  border: 2px solid #ef4444;
  color: #fff;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.4);
}

.alert-icon-large {
  font-size: 2.2rem;
  line-height: 1;
}

.alert-text-group h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.approved-patron-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 14px;
  border-radius: 8px;
}

.approved-thumb-pic {
  width: 55px;
  height: 55px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #10b981;
  cursor: pointer;
}

.scanned-meta-row {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-top: 4px;
}

.badge-tier-scanned {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  background: #3b82f6;
  color: #fff;
}

.badge-tier-scanned.vip {
  background: linear-gradient(135deg, #d4af37, #f59e0b);
  color: #030712;
}

.fraud-warning-red {
  display: block;
  margin-top: 8px;
  color: #fca5a5;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ==========================================================================
   ENHANCED MANAGER OPERATIONS HQ & INTER-STAFF COMMS
   ========================================================================== */

/* Next in Queue button */
.btn-next-patron {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.08));
  border: 1px solid var(--gold-primary);
  color: var(--accent-gold);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-next-patron:hover {
  background: var(--gold-primary);
  color: #030712;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Luxury Handover Module in Cash Tab */
.card-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.badge-secure-register {
  font-size: 0.72rem;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.handover-action-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.handover-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.handover-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.handover-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.btn-handover-gold {
  background: linear-gradient(135deg, #d4af37, #f59e0b);
  color: #030712;
  border: none;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  transition: all 0.2s ease;
}
.btn-handover-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   KESHET MASTER FLEET CONTROL HUB (הבית של קשת - פיקוד עליון)
   ========================================================================== */
.keshet-master-hub-card {
  background: radial-gradient(ellipse at top right, rgba(30, 41, 65, 0.95), rgba(12, 16, 28, 0.98));
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.keshet-hub-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.keshet-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #fbbf24;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.keshet-hub-title-box h3 {
  margin: 0 0 6px 0;
  color: #fff;
  font-size: 1.35rem;
}

.keshet-event-switcher-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 280px;
}

.keshet-event-switcher-wrap label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.keshet-fleet-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.fleet-kpi {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fleet-kpi .f-lbl {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.fleet-kpi .f-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.fleet-kpi .f-val.gold { color: var(--accent-gold); }
.fleet-kpi .f-val.green { color: #10b981; }

.keshet-global-actions {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
}

.global-actions-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.global-actions-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-keshet-action {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-keshet-action.danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}
.btn-keshet-action.danger:hover {
  background: #ef4444;
  color: #fff;
}

.btn-keshet-action.success {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}
.btn-keshet-action.success:hover {
  background: #10b981;
  color: #030712;
}

.btn-keshet-action.warning {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}
.btn-keshet-action.warning:hover {
  background: #f59e0b;
  color: #030712;
}

.btn-keshet-action.gold {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--accent-gold);
}
.btn-keshet-action.gold:hover {
  background: var(--accent-gold);
  color: #030712;
}

.keshet-fleet-table-wrap {
  overflow-x: auto;
}

.fleet-table-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.keshet-fleet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.keshet-fleet-table th {
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
  text-align: right;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.keshet-fleet-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.keshet-fleet-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Manager Mission Control KPI Ribbon */
.manager-kpi-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.kpi-card.gold-border {
  border-color: rgba(212, 175, 55, 0.4);
}
.kpi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.kpi-big-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}
.kpi-big-num.gold {
  color: var(--accent-gold);
}
.kpi-sub-breakdown {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 6px;
}
.kpi-status-tag {
  font-size: 1.05rem;
  font-weight: 800;
  color: #10b981;
}
.kpi-footer-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.badge-kpi-tag {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--text-muted);
}
.kpi-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.kpi-live-dot.green { background: #10b981; box-shadow: 0 0 8px #10b981; }
.kpi-live-dot.red { background: #ef4444; box-shadow: 0 0 8px #ef4444; }
.kpi-live-dot.amber { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }

/* Manager Command Bar */
.manager-command-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
}
.command-title-wrap {
  margin-bottom: 16px;
}
.command-title-wrap h4 {
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 4px 0;
}
.command-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.btn-command-action {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: right;
  transition: all 0.2s ease;
}
.btn-command-action .cmd-icon {
  font-size: 1.6rem;
}
.btn-command-action strong {
  display: block;
  font-size: 0.92rem;
  color: #fff;
}
.btn-command-action small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.btn-command-action.danger:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
}
.btn-command-action.warning:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
}
.btn-command-action.outline-gold:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
}
.command-policy-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.command-policy-box label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Staff Deployment Table */
.manager-staff-deployment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.manager-staff-table-wrap {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.staff-deploy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  gap: 12px;
}
.deploy-staff-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.deploy-avatar-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.deploy-name-box strong {
  display: block;
  font-size: 0.92rem;
  color: #fff;
}
.deploy-name-box span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.deploy-stats-box {
  display: flex;
  align-items: center;
  gap: 16px;
}
.deploy-metric {
  text-align: center;
}
.deploy-metric .m-val {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.deploy-metric .m-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Staff Intercom & Operational Radio */
.staff-comms-layout {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 680px;
}
.comms-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.comms-channel-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.comms-header-bar h3 {
  margin: 0 0 4px 0;
  color: #fff;
}
.comms-active-operators {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.ops-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}
.comms-quick-broadcasts {
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}
.quick-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.quick-chips-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-radio-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-radio-chip:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn-radio-chip.warning { border-color: rgba(245, 158, 11, 0.4); color: #fbbf24; }
.btn-radio-chip.gold { border-color: rgba(212, 175, 55, 0.4); color: var(--accent-gold); }
.btn-radio-chip.danger { border-color: rgba(239, 68, 68, 0.4); color: #f87171; }
.btn-radio-chip.info { border-color: rgba(56, 189, 248, 0.4); color: #38bdf8; }

.comms-messages-viewport {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.comms-msg-item {
  display: flex;
  flex-direction: column;
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 12px;
}
.comms-msg-item.from-me {
  align-self: flex-start;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.35);
}
.comms-msg-item.from-other {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}
.comms-msg-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.comms-sender-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}
.comms-sender-badge.manager { background: rgba(212, 175, 55, 0.25); color: #fbbf24; }
.comms-sender-badge.selector { background: rgba(56, 189, 248, 0.2); color: #38bdf8; }

.comms-input-bar {
  display: flex;
  gap: 10px;
}
.btn-comms-send {
  white-space: nowrap;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   TACTICAL WALKIE-TALKIE (PTT) SYSTEM STYLES
   ========================================================================== */
.comms-mode-segmented {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 20px;
  gap: 4px;
}

.comms-mode-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 24px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.comms-mode-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.comms-mode-btn.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.08));
  border-color: rgba(212, 175, 55, 0.5);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.comms-sub-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.ptt-station-wrap {
  background: radial-gradient(ellipse at 50% 20%, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.ptt-volume-key-hint {
  display: inline-block;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.ptt-volume-key-hint strong {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: monospace;
}

.ptt-freq-selector-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.freq-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
}

.ptt-button-outer {
  margin: 15px auto 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-ptt-tactical {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #2d3748, #182030 65%, #0b0f19 100%);
  border: 5px solid #334155;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65),
              inset 0 3px 6px rgba(255, 255, 255, 0.25),
              inset 0 -5px 10px rgba(0, 0, 0, 0.9),
              0 0 0 6px rgba(212, 175, 55, 0.18);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: manipulation;
  outline: none;
}

.btn-ptt-tactical:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75),
              inset 0 3px 8px rgba(255, 255, 255, 0.3),
              0 0 28px rgba(212, 175, 55, 0.4);
}

.btn-ptt-tactical:active,
.btn-ptt-tactical.transmitting {
  transform: scale(0.94);
  background: radial-gradient(circle at 45% 45%, #991b1b, #450a0a 70%, #200303 100%);
  border-color: #ef4444;
  box-shadow: 0 0 40px rgba(239, 68, 68, 0.8),
              0 0 80px rgba(239, 68, 68, 0.4),
              inset 0 0 20px rgba(255, 255, 255, 0.35);
  animation: pttPulse 1.2s infinite ease-in-out;
}

@keyframes pttPulse {
  0%, 100% {
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.6), 0 0 60px rgba(239, 68, 68, 0.3);
  }
  50% {
    box-shadow: 0 0 50px rgba(239, 68, 68, 0.9), 0 0 90px rgba(239, 68, 68, 0.6);
  }
}

.ptt-led-indicator {
  position: absolute;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981, inset 0 1px 2px #fff;
  transition: all 0.2s ease;
}

.btn-ptt-tactical.transmitting .ptt-led-indicator {
  background: #ef4444;
  box-shadow: 0 0 14px #ef4444, inset 0 1px 2px #fff;
  animation: pttLedBlink 0.4s infinite alternate;
}

@keyframes pttLedBlink {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.ptt-mic-icon {
  font-size: 2.3rem;
  margin-top: 14px;
  margin-bottom: 2px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.ptt-btn-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  margin-bottom: 2px;
}

.ptt-btn-sub {
  font-size: 0.64rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.14em;
}

.ptt-audio-wave {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 10px auto;
}

.wave-bar {
  width: 4px;
  height: 8px;
  background: #ef4444;
  border-radius: 3px;
  animation: waveBarBounce 0.8s infinite ease-in-out;
}

.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; }
.wave-bar:nth-child(7) { animation-delay: 0.6s; }
.wave-bar:nth-child(8) { animation-delay: 0.7s; }
.wave-bar:nth-child(9) { animation-delay: 0.8s; }

@keyframes waveBarBounce {
  0%, 100% { height: 6px; opacity: 0.4; }
  50% { height: 26px; opacity: 1; }
}

.ptt-status-bar {
  font-size: 0.86rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 14px;
  min-height: 22px;
}

.ptt-settings-bar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ptt-setting-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.ptt-setting-toggle input[type="checkbox"] {
  accent-color: var(--accent-gold);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.ptt-voice-logs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.ptt-voice-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
  margin-top: 12px;
}

.voice-log-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  transition: background 0.2s ease;
}

.voice-log-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.voice-log-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.voice-log-channel {
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

.voice-log-duration {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.btn-voice-play {
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--accent-gold);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-voice-play:hover {
  background: var(--accent-gold);
  color: #000;
}

/* ==========================================================================
   LIVE DEVICE BATTERY GAUGES & STAFF TELEMETRY
   ========================================================================== */
.battery-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  cursor: default;
  transition: all 0.2s ease;
  user-select: none;
}

.battery-live-pill:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.bat-icon-wrap {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.bat-shell {
  width: 22px;
  height: 11px;
  border: 1.5px solid #94a3b8;
  border-radius: 3px;
  position: relative;
  padding: 1px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.bat-shell::after {
  content: '';
  position: absolute;
  right: -3.5px;
  top: 2px;
  width: 2px;
  height: 4px;
  background: #94a3b8;
  border-radius: 0 1px 1px 0;
}

.bat-liquid {
  height: 100%;
  border-radius: 1px;
  background: #10b981;
  transition: width 0.4s ease, background 0.4s ease;
}

.bat-lightning {
  color: #fbbf24;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  margin-right: 2px;
  filter: drop-shadow(0 0 4px #fbbf24);
}

.deploy-battery-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 3px 8px;
  font-size: 0.76rem;
  font-weight: 700;
}

.deploy-battery-pill.good .bat-liquid { background: #10b981; }
.deploy-battery-pill.med .bat-liquid { background: #f59e0b; }
.deploy-battery-pill.low {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.12);
  animation: pulseLowBat 1.2s infinite alternate;
}
.deploy-battery-pill.low .bat-liquid { background: #ef4444; }

@keyframes pulseLowBat {
  from { box-shadow: 0 0 4px rgba(239, 68, 68, 0.3); }
  to { box-shadow: 0 0 12px rgba(239, 68, 68, 0.7); }
}

.bat-alert-badge {
  color: #ef4444;
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(239, 68, 68, 0.2);
  padding: 1px 5px;
  border-radius: 4px;
}

/* ==========================================================================
   EXECUTIVE UX DE-CLUTTERING & CLEAR GUIDANCE BANNERS
   ========================================================================== */
.section-guide-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
}

.guide-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: -2px;
}

.guide-content strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 3px;
  font-weight: 700;
}

.guide-content p {
  margin: 0;
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.45;
}

/* ==========================================================================
   EVENT-SCOPED RADIO ARCHIVE (ארכיון הקלטות קשר סובייקטיבי לאירוע)
   ========================================================================== */
.archive-header-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.archive-title-box h4 {
  margin: 4px 0;
  color: #fff;
  font-size: 1.15rem;
}

.archive-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
}

.archive-filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.archive-filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
}

.archive-list-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  flex: 1;
}

.archive-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.archive-list-header h5 {
  margin: 0;
  font-size: 0.95rem;
  color: #fff;
}

.archive-recordings-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 480px;
  overflow-y: auto;
}

.archive-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  transition: all 0.2s ease;
}

.archive-item-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.35);
}

.archive-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.badge-event-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
}

.archive-time-stamp {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.archive-note-text {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.35;
}

.archive-actions-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.archive-empty-box {
  text-align: center;
  padding: 35px 20px;
  color: var(--text-muted);
}



/* Mobile & Touch Responsiveness Polish */
@media (max-width: 768px) {
  .brand-group-wrap {
    gap: 8px;
  }
  .noctis-svg-logo {
    max-width: 135px;
    height: 32px;
  }
  .keshet-kennel-badge {
    padding: 3px 8px 3px 4px;
    gap: 6px;
  }
  .kennel-img-wrap {
    width: 26px;
    height: 26px;
  }
  .kennel-sub {
    display: none;
  }
  .kennel-title {
    font-size: 0.72rem;
  }
  .brand-co-divider {
    height: 22px;
  }
  .btn-ptt-tactical {
    width: 160px;
    height: 160px;
  }
  .staff-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .staff-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .manager-kpi-ribbon {
    grid-template-columns: 1fr;
  }
  .manager-layout-grid {
    grid-template-columns: 1fr;
  }
  .command-actions-grid {
    grid-template-columns: 1fr;
  }
  .patrons-roster-grid {
    grid-template-columns: 1fr;
  }
  .staff-two-col {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   AJNA EVENT BUILDER SUITE & KESHET MASTER CONTROLS
   ========================================================================== */
.modal-builder-window {
  max-width: 820px;
  width: 95%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, #151d30 0%, #060a14 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 55, 0.15);
}

.builder-modal-title-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.builder-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
}

.builder-body-scroll {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.builder-section-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.2s ease;
}

.builder-section-card:hover {
  border-color: rgba(212, 175, 55, 0.2);
}

.builder-sec-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.builder-sec-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #92400e);
  color: #030712;
  font-weight: 800;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.builder-sec-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.builder-sec-header p {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 2px 0 0 0;
}

.builder-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.builder-form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.builder-form-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.builder-cover-ctrl-box {
  margin-top: 10px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cover-uploader-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}

.cover-preview-box {
  width: 140px;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.4);
  position: relative;
  flex-shrink: 0;
  background: #000;
}

.cover-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-preview-tag {
  position: absolute;
  bottom: 4px;
  right: 4px;
  font-size: 0.65rem;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  color: #fef08a;
}

.cover-upload-inputs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 220px;
}

.upload-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
}

.upload-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  margin-top: 3px;
}

.builder-presets-wrap {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.presets-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.presets-gallery-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.preset-chip {
  padding: 4px 10px;
  font-size: 0.76rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-chip:hover {
  border-color: var(--accent-gold);
  color: #fff;
  background: rgba(212, 175, 55, 0.12);
}

.builder-map-picker-box {
  margin-top: 10px;
}

.map-picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.coord-pill {
  font-family: monospace;
  font-size: 0.74rem;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--accent-gold);
}

.builder-leaflet-map {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1;
  background: #0b1120;
}

.builder-selectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.builder-staff-chip-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.builder-staff-chip-label:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.3);
}

.builder-staff-chip-label input[type="checkbox"] {
  accent-color: #d4af37;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.staff-chip-info {
  display: flex;
  flex-direction: column;
}

.staff-chip-name {
  font-size: 0.82rem;
  color: #fff;
}

.staff-chip-role {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Header & Fleet Table Toolbar */
.keshet-hub-ctrl-actions {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-create-event-primary {
  background: linear-gradient(135deg, #d4af37 0%, #b45309 100%);
  color: #030712;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 15px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-create-event-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.fleet-table-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-create-event-sm {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-create-event-sm:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--accent-gold);
}

.btn-save-builder {
  padding: 8px 20px;
  font-size: 0.86rem;
  font-weight: 700;
}

/* Compact Polish: No enormous oversized text constraint */
.section-guide-banner {
  padding: 8px 14px;
}

.section-guide-banner strong {
  font-size: 0.85rem;
}

.section-guide-banner p {
  font-size: 0.76rem;
}

@media (max-width: 768px) {
  .builder-form-grid-2,
  .builder-form-grid-3,
  .builder-form-grid-4 {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .modal-builder-window {
    width: 98%;
    max-height: 95vh;
  }
  .builder-body-scroll {
    padding: 12px;
  }
}

/* ==========================================================================
   PWA VISUAL INSTALLATION GUIDE & FLOATING PROMPT STYLES
   ========================================================================== */

/* Top Navigation Install Button */
.btn-pwa-install-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(168, 85, 247, 0.18));
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #e0f2fe;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.btn-pwa-install-nav:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(168, 85, 247, 0.32));
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.4), 0 0 28px rgba(168, 85, 247, 0.3);
}

.pwa-nav-icon {
  font-size: 1rem;
}

/* Modal Window for PWA Guide */
.modal-pwa-window {
  max-width: 620px;
  width: 94%;
  background: radial-gradient(circle at 50% 0%, rgba(30, 41, 70, 0.95), rgba(7, 10, 19, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  overflow: hidden;
}

.pwa-header-title-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 6px 0 2px 0;
  background: linear-gradient(135deg, #ffffff 0%, #7dd3fc 40%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pwa-badge-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 10px;
  border-radius: 9999px;
  margin-bottom: 2px;
}

.pwa-modal-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 70vh;
  overflow-y: auto;
}

/* 1-Click Direct Install Box */
.pwa-direct-install-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.45);
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.direct-install-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.direct-icon {
  font-size: 1.5rem;
  color: #38bdf8;
}

.direct-install-info strong {
  font-size: 0.88rem;
  color: #ffffff;
  display: block;
}

.direct-install-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.btn-pwa-primary {
  background: linear-gradient(135deg, #0284c7, #7c3aed);
  border: none;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
  transition: all 0.2s ease;
}

.btn-pwa-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

/* Device Tabs Bar */
.pwa-device-tabs {
  display: flex;
  gap: 8px;
  background: rgba(15, 23, 42, 0.6);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pwa-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pwa-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.pwa-tab-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(168, 85, 247, 0.25));
  border-color: rgba(56, 189, 248, 0.45);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.15);
}

.tab-device-icon {
  font-size: 1rem;
}

/* Steps Cards List */
.pwa-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pwa-step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 14px 16px;
  border-radius: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pwa-step-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.7);
  transform: translateX(-2px);
}

.step-num-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #8b5cf6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.step-icon-visual {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.share-icon-box {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
}

.add-icon-box {
  background: rgba(192, 132, 252, 0.1);
  border-color: rgba(192, 132, 252, 0.3);
}

.done-icon-box {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.dots-icon-box,
.install-icon-box,
.desktop-icon-box {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
}

.step-details {
  flex: 1;
}

.step-details strong {
  font-size: 0.94rem;
  color: #ffffff;
  display: block;
  margin-bottom: 3px;
}

.step-details p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Modal Footer Actions */
.pwa-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(7, 10, 19, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-pwa-dismiss-forever {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-pwa-dismiss-forever:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #fca5a5;
}

.pwa-footer-right-actions {
  display: flex;
  gap: 8px;
}

/* Floating Install Banner (Discreet bottom-corner card) */
.pwa-floating-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  max-width: 420px;
  background: rgba(11, 16, 32, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: slideInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pwa-float-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pwa-float-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.pwa-float-text strong {
  font-size: 0.88rem;
  color: #ffffff;
  display: block;
}

.pwa-float-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pwa-float-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-pwa-float-open {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(168, 85, 247, 0.3));
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-pwa-float-open:hover {
  background: linear-gradient(135deg, #0284c7, #8b5cf6);
  border-color: #38bdf8;
}

.btn-pwa-float-dismiss {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-pwa-float-dismiss:hover {
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

.btn-pwa-float-close {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.9rem;
  cursor: pointer;
  margin-right: auto;
  padding: 4px;
}

.btn-pwa-float-close:hover {
  color: #ffffff;
}

.auth-security-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #94a3b8;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  margin: 12px 0 16px 0;
  line-height: 1.4;
}

.auth-security-notice .sec-lock-icon {
  font-size: 1rem;
  color: #38bdf8;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .pwa-floating-banner {
    bottom: 12px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
  .btn-pwa-install-nav .pwa-nav-label {
    display: none;
  }
  .btn-pwa-install-nav {
    padding: 6px 10px;
  }
}


/* Auto-Hide PWA Install triggers when running as installed standalone app */
@media all and (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
  .btn-pwa-install-nav,
  #btnPwaInstallNav,
  #pwaFloatingBanner,
  .pwa-standalone-hide {
    display: none !important;
  }
}


/* --- AJNA COMMAND MOBILE & RESPONSIVE POLISH (<= 600px & <= 480px) --- */
@media (max-width: 600px) {
  .nav-container {
    padding: 0 4px;
    gap: 8px;
  }
  .noctis-svg-logo {
    max-width: 110px !important;
    height: 26px !important;
  }
  .keshet-kennel-badge {
    padding: 2px 7px !important;
    gap: 4px !important;
  }
  .kennel-img-wrap {
    width: 20px !important;
    height: 20px !important;
  }
  .kennel-title {
    font-size: 0.68rem !important;
  }
  .brand-co-divider {
    height: 18px !important;
  }
  .nav-links {
    gap: 4px !important;
  }
  .nav-link {
    padding: 5px 8px !important;
    font-size: 0.78rem !important;
  }
  .btn-backstage, .btn-pwa-install-nav {
    padding: 5px 8px !important;
    font-size: 0.76rem !important;
  }
  .events-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .event-card {
    border-radius: 16px !important;
  }
  .modal-window {
    max-width: min(94vw, 520px) !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    border-radius: 18px !important;
  }
  .hero-section {
    padding: 28px 12px !important;
  }
  .hero-title {
    font-size: 1.6rem !important;
    letter-spacing: -0.5px !important;
  }
  .hero-subtitle {
    font-size: 0.88rem !important;
  }
}

@media (max-width: 380px) {
  .nav-link {
    font-size: 0.74rem !important;
    padding: 4px 6px !important;
  }
  .noctis-svg-logo {
    max-width: 95px !important;
  }
  .hero-title {
    font-size: 1.4rem !important;
  }
}
