.customer-demo-dialog {
  width: min(92vw, 520px);
  max-height: min(92vh, 680px);
  padding: 0;
  color: var(--ink, #142b66);
  background: transparent;
  border: 0;
  overflow: visible;
}

.customer-demo-dialog::backdrop {
  background: rgba(8, 20, 52, 0.72);
  backdrop-filter: blur(5px);
}

.customer-demo-embed-shell,
.customer-demo-embed-shell iframe {
  width: 100%;
  height: 100%;
}

.customer-demo-embed-shell iframe {
  display: block;
  border: 0;
}

.customer-demo-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(28px, 6vw, 44px);
  background: linear-gradient(150deg, #ffffff 0%, #f3f7ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(8, 20, 52, 0.36);
}

.customer-demo-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  color: #5d6880;
  background: #fff;
  border: 1px solid #dce6f5;
  border-radius: 50%;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.customer-demo-close:hover,
.customer-demo-close:focus-visible {
  color: #142b66;
  border-color: #90a9df;
}

.customer-demo-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: #2854c5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

.customer-demo-lock {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #142b66;
  background: #f8d895;
  border-radius: 9px;
  font-size: 10px;
}

.customer-demo-card h2 {
  margin: 2px 0 0;
  color: #142b66;
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.08;
}

.customer-demo-intro,
.customer-demo-help {
  margin: 0;
  color: #5d6880;
  line-height: 1.58;
}

.customer-demo-card label {
  margin-top: 3px;
  color: #142b66;
  font-size: 13px;
  font-weight: 760;
}

.customer-demo-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ccd8ed;
  border-radius: 12px;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.customer-demo-input-row:focus-within {
  border-color: #2854c5;
  box-shadow: 0 0 0 4px rgba(40, 84, 197, 0.12);
}

.customer-demo-input-row input {
  min-width: 0;
  height: 54px;
  padding: 0 16px;
  color: #142b66;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 16px;
}

.customer-demo-toggle {
  padding: 0 16px;
  color: #2854c5;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 760;
}

.customer-demo-message {
  min-height: 22px;
  margin: -4px 0 0;
  color: #5d6880;
  font-size: 13px;
  line-height: 1.45;
}

.customer-demo-message.is-error { color: #b23b35; }
.customer-demo-message.is-success { color: #26734d; }
.customer-demo-message.is-loading { color: #2854c5; }

.customer-demo-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 20px;
  color: #142b66;
  background: #df9a13;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(224, 163, 35, 0.25);
  font-weight: 780;
  transition: transform 0.18s, background 0.18s, box-shadow 0.18s;
}

.customer-demo-submit:hover:not(:disabled) {
  background: #efb53c;
  box-shadow: 0 14px 34px rgba(224, 163, 35, 0.32);
  transform: translateY(-1px);
}

.customer-demo-submit:disabled,
.customer-demo-toggle:disabled {
  cursor: wait;
  opacity: 0.62;
}

.customer-demo-help {
  text-align: center;
  font-size: 12px;
}

@media (max-width: 560px) {
  .customer-demo-card { border-radius: 18px; }
  .customer-demo-dialog { width: min(94vw, 520px); }
}

@media (prefers-reduced-motion: reduce) {
  .customer-demo-submit,
  .customer-demo-input-row { transition: none; }
}

