/* ==========================================================================
   AJ WEBNOVA - Shared Demo Toolbar
   Keeps AJ Webnova branding outside the fictional client design
   ========================================================================== */

.aj-demo-toolbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background: #080d1a;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.aj-demo-toolbar-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.aj-demo-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.aj-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #67e8f9;
  font-weight: 700;
  text-decoration: none;
  padding: 0.3rem 0.65rem;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 6px;
  transition: all 0.15s ease;
}

.aj-back-link:hover {
  background: rgba(6, 182, 212, 0.25);
  color: #ffffff;
  transform: translateX(-2px);
}

.aj-concept-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.aj-demo-switch-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #94a3b8;
}

.aj-demo-select {
  background: #0f172a;
  border: 1px solid #334155;
  color: #e2e8f0;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.78rem;
  outline: none;
  cursor: pointer;
}

.aj-demo-select:focus {
  border-color: #8b5cf6;
}

/* Modal disclaimer styling for demo actions */
.aj-demo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.aj-demo-modal-overlay.active {
  display: flex;
}

.aj-demo-modal-box {
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  color: #f8fafc;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.aj-modal-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #67e8f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.aj-modal-icon-badge.warning {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.aj-demo-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.aj-demo-modal-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.aj-modal-details-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.85rem;
  font-size: 0.84rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.aj-demo-modal-close-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.aj-demo-modal-close-btn:hover {
  opacity: 0.92;
}
