/**
 * Paragon Quote Builder — Lead capture modal.
 *
 * Field styling is scoped under .pqb-identity rather than reusing the
 * shared .pqb-field rules from waitlist.css: that sheet only loads on
 * product pages, while this modal can open anywhere an "Add to Quote"
 * button exists.
 */

.pqb-identity__header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(175, 152, 123, 0.2);
}

.pqb-identity__overline {
  font-family: var(--font-subheading, 'Cabin', sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-bronze, #af987b);
  margin: 0 0 0.5rem;
}

.pqb-identity__title {
  font-family: var(--font-heading, 'Optima', serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: var(--heading-transform, uppercase);
  color: var(--color-charcoal, #1a1a1a);
  margin: 0;
  line-height: 1.2;
}

.pqb-identity__intro {
  margin: 0.9rem 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-grey-700, #555);
}

.pqb-identity__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pqb-identity .pqb-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pqb-identity .pqb-field__label {
  font-family: var(--font-subheading, 'Cabin', sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-charcoal, #333);
}

.pqb-identity .pqb-field__optional {
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--color-grey-600, #777);
  font-weight: 400;
}

.pqb-identity .pqb-field__input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-charcoal, #1a1a1a);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.pqb-identity .pqb-field__input:focus {
  outline: none;
  border-color: var(--color-bronze, #af987b);
  box-shadow: 0 0 0 3px rgba(175, 152, 123, 0.15);
}

/* Honeypot — off-canvas rather than display:none, which some bots skip. */
.pqb-identity__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pqb-identity__error {
  padding: 0.75rem 1rem;
  background: #fdf0f0;
  border-left: 3px solid #c44;
  color: #8a3030;
  font-size: 14px;
  border-radius: 2px;
}

.pqb-identity__actions {
  margin-top: 0.5rem;
}

.pqb-identity__submit {
  width: 100%;
}

.pqb-identity__submit[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.pqb-identity__consent {
  margin: 0.25rem 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--color-grey-600, #777);
  text-align: center;
}

.pqb-identity__consent a {
  color: var(--color-bronze, #af987b);
  text-decoration: underline;
}
