/* "Book a demo" popup page (book-demo.php). Uses the tokens and picker styles from style.css. */
html.bd-html, body.bd-body { height: auto; overflow: auto; }
body.bd-body { margin: 0; min-height: 100vh; background: var(--surface-alt); color: var(--text); font-family: var(--font-body); }

.bd { position: relative; max-width: 680px; margin: 0 auto; padding: 22px 28px 30px; background: var(--surface); min-height: 100vh; }
body.bd-body:not(.is-embed) .bd { margin: 32px auto; min-height: 0; border-radius: 20px; box-shadow: var(--shadow-card); }

.bd-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.bd-head .brand-logo-img { height: 40px; width: auto; max-width: 60%; }
.bd-x {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  color: var(--navy-900); font-size: 24px; line-height: 1; cursor: pointer; padding: 0 0 3px;
}
.bd-x:hover { background: var(--surface-alt); border-color: var(--grey-100); }
.bd :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.bd h1 { margin: 0 0 6px; font-family: var(--font-head); font-size: 32px; letter-spacing: .02em; text-transform: uppercase; color: var(--navy-900); outline: none; }
.bd-sub { margin: 0 0 18px; font-size: 14px; color: var(--text-muted); }
.bd-fine { margin: 12px 0 0; text-align: center; font-size: 12px; color: var(--grey-200); }

.bd-pane { display: none; }
.bd-pane.is-active { display: block; animation: fade .3s var(--ease) both; }
.bd .btn { text-decoration: none; }
.bd .btn-primary[data-next], .bd .bd-wide { margin-top: 4px; }

.bd-steps { list-style: none; display: flex; gap: 8px; margin: 0 0 20px; padding: 0; flex-wrap: wrap; }
.bd-steps li { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--grey-200); padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); }
.bd-steps b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 11.5px; border: 1.5px solid var(--line); }
.bd-steps li.is-on { color: var(--navy-900); font-weight: 600; border-color: color-mix(in srgb, var(--navy-600) 40%, #fff); }
.bd-steps li.is-on b { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.bd-steps li.is-done b { background: var(--baby-blue); border-color: var(--baby-blue); color: var(--navy-900); }

.bd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bd-alert { margin: 0 0 14px; padding: 11px 14px; border-radius: var(--radius); font-size: 13.5px; background: #fdf1f0; border: 1px solid #f2c7c2; color: #8e2b20; }
.bd-alert[hidden] { display: none; }
.bd [hidden] { display: none !important; }

.bd textarea.control { min-height: 84px; resize: vertical; font-family: inherit; line-height: 1.5; }
.bd .btn-row { margin-top: 14px; }
.bd .btn-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.bd-done { text-align: center; }
.bd-done .thanks-icon { margin: 8px auto 16px; }
.bd-done h1 { margin-bottom: 6px; }
.bd-manage { margin: 0 0 14px; text-align: left; }
.bd-copy { display: flex; gap: 8px; }
.bd-copy .control { font-size: 12.5px; padding: 10px 12px; }
.bd-copy .btn { width: auto; padding: 10px 18px; }
.bd-done .demo-actions { justify-content: center; }

@media (max-width: 560px) {
  .bd { padding: 16px 18px 26px; }
  .bd h1 { font-size: 27px; }
}
