/* Static demo polish — does not alter core product CSS */

.demo-lock-banner {
  position: sticky;
  top: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: linear-gradient(90deg, #1c0a0a, #7f1d1d 50%, #1c0a0a);
  color: #fecaca;
  font-size: 0.78rem;
  text-align: center;
  border-bottom: 1px solid rgba(254, 202, 202, 0.35);
  font-family: 'Vazirmatn', Tahoma, sans-serif;
}
.demo-lock-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

.demo-toast {
  position: fixed;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #7f1d1d;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 8px 28px rgba(127, 29, 29, 0.4);
  max-width: min(90vw, 360px);
  text-align: center;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
}
.demo-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.appt-preview-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 0.75rem;
}
.appt-preview-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: #B91C1C;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.appt-preview-label {
  font-size: 0.8rem;
  color: #57534E;
}
.appt-preview-value {
  font-weight: 700;
  color: #7F1D1D;
}

.queue-preview-list { padding: 0.5rem 0; }
.queue-preview-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border, #FECACA);
}
.queue-preview-item:last-child { border-bottom: none; }
.queue-preview-item.is-next { background: #FEF2F2; }
.qp-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #B91C1C;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.qp-name { flex: 1; font-weight: 600; }

.admin-sidebar a.disabled,
.sidebar-nav a.demo-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .demo-lock-banner {
    font-size: 0.72rem;
    padding-inline: 0.6rem;
  }
}
