/* Demo request form (demo-form.js). Uses the site's CSS variables and .btn. */
.demo-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  padding: 32px;
}
.demo-form .df-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.demo-form .df-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.demo-form label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted, #a9b4c3);
}
.demo-form input[type='text'],
.demo-form input[type='email'],
.demo-form input[type='tel'],
.demo-form input[type='number'],
.demo-form select {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text, #e6edf6);
  background: var(--black, #0b0f14);
  border: 1px solid var(--border, #1e2a3a);
  border-radius: 10px;
  transition: border-color 0.2s;
}
.demo-form input::placeholder {
  color: var(--dim, #6b7a8d);
}
.demo-form input:focus,
.demo-form select:focus {
  outline: none;
  border-color: var(--turquoise, #2ee6d6);
}
.demo-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #a9b4c3 50%),
    linear-gradient(135deg, #a9b4c3 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.demo-form .df-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.5;
  color: var(--dim, #6b7a8d);
  cursor: pointer;
}
.demo-form .df-consent input {
  margin-top: 3px;
  accent-color: var(--turquoise, #2ee6d6);
  flex-shrink: 0;
}
.demo-form .df-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.demo-form .df-error {
  font-size: 14px;
  color: #f87171;
}
.demo-form .df-submit {
  width: 100%;
  justify-content: center;
}
.demo-form .df-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.demo-form .df-alt {
  font-size: 13px;
  color: var(--dim, #6b7a8d);
  text-align: center;
}
.demo-form .df-alt a {
  color: var(--turquoise, #2ee6d6);
}
.df-success {
  padding: 48px 32px;
  text-align: center;
}
.df-success h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.df-success p {
  color: var(--muted, #a9b4c3);
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .demo-form {
    padding: 20px;
  }
  .demo-form .df-row {
    grid-template-columns: 1fr;
  }
}
