.demo-gate-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.demo-gate-overlay.show {
  display: flex;
}

.demo-gate-modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  color: #0f172a;
}

.demo-gate-modal h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.demo-gate-modal p {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.demo-gate-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.demo-gate-field input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font: inherit;
  font-size: 0.9rem;
}

.demo-gate-field input:focus {
  outline: 2px solid rgba(0, 108, 184, 0.35);
  border-color: #006cb8;
}

.demo-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.demo-gate-actions .btn {
  justify-content: center;
  text-align: center;
}

.demo-gate-actions .btn-primary {
  background: #006cb8;
  color: #fff;
  border: none;
}

.demo-gate-actions .btn-ghost {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.demo-gate-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.25rem;
}
