/* BlueSpruce Healthcare Quote — Self-contained front-end styles */
/* Scoped to #bshq-form-wrap to avoid theme conflicts. Mirrors the look of the
   Condo/Mobile Home/Tiny Home rater forms for visual consistency. */

#bshq-form-wrap {
  --bshq-green:     var(--pine);
  --bshq-green-dk:  var(--spruce-navy);
  --bshq-copper:    var(--alpine-copper);
  --bshq-bg:        var(--ivory);
  --bshq-white:     var(--white);
  --bshq-border:    var(--line);
  --bshq-text:      var(--charcoal);
  --bshq-muted:     var(--pine);
  --bshq-radius:    8px;
  --bshq-shadow:    0 2px 12px rgba(0,0,0,0.08);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  color: var(--bshq-text);
  line-height: 1.5;
  max-width: 720px;
}

#bshq-form-wrap .bshq-section {
  background: var(--bshq-white);
  border: 1px solid var(--bshq-border);
  border-radius: var(--bshq-radius);
  overflow: hidden;
  box-shadow: var(--bshq-shadow);
  margin-bottom: 16px;
}

#bshq-form-wrap .bshq-section-header {
  padding: 14px 20px;
  font-weight: 600;
  font-size: 14px;
  background: var(--bshq-green);
  color: #fff;
  letter-spacing: 0.02em;
}

#bshq-form-wrap .bshq-section-content {
  padding: 20px;
}

#bshq-form-wrap .bshq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  #bshq-form-wrap .bshq-grid {
    grid-template-columns: 1fr;
  }
}
#bshq-form-wrap .bshq-full-width {
  grid-column: 1 / -1;
}

#bshq-form-wrap .bshq-input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
#bshq-form-wrap .bshq-input-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--bshq-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
#bshq-form-wrap .bshq-required {
  color: #c0392b;
}

#bshq-form-wrap input[type="text"],
#bshq-form-wrap input[type="number"],
#bshq-form-wrap input[type="email"],
#bshq-form-wrap input[type="tel"],
#bshq-form-wrap select,
#bshq-form-wrap textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--bshq-border);
  border-radius: 5px;
  font-size: 14px;
  font-family: inherit;
  color: var(--bshq-text);
  background: var(--bshq-bg);
  box-sizing: border-box;
  transition: border-color 0.15s;
}
#bshq-form-wrap input:focus,
#bshq-form-wrap select:focus,
#bshq-form-wrap textarea:focus {
  outline: none;
  border-color: var(--bshq-green);
  background: var(--bshq-white);
}
#bshq-form-wrap textarea {
  resize: vertical;
  min-height: 72px;
}

#bshq-form-wrap .bshq-submit-btn {
  display: block;
  width: 100%;
  padding: 13px;
  background: var(--bshq-copper);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, transform 0.1s;
  font-family: inherit;
}
#bshq-form-wrap .bshq-submit-btn:hover {
  background: #9d5e2e;
  transform: translateY(-1px);
}
#bshq-form-wrap .bshq-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

#bshq-form-wrap .bshq-msg {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}
#bshq-form-wrap .bshq-msg-error {
  background: #fdf5f5;
  border-left: 3px solid #c0392b;
  color: #c0392b;
}

#bshq-form-wrap .bshq-has-error {
  border-color: #c0392b !important;
  background: #fdf5f5 !important;
}
#bshq-form-wrap .bshq-field-error {
  display: block;
  font-size: 12px;
  color: #c0392b;
  font-weight: 500;
  margin-top: 3px;
}

/* Thank you screen */
#bshq-form-wrap #bshq-thankyou {
  padding: 48px 24px;
  text-align: center;
}
#bshq-form-wrap .bshq-thankyou-inner {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bshq-white);
  border: 1px solid var(--bshq-border);
  border-radius: var(--bshq-radius);
  padding: 48px 40px;
  box-shadow: var(--bshq-shadow);
}
#bshq-form-wrap .bshq-thankyou-icon {
  width: 56px;
  height: 56px;
  line-height: 56px;
  border-radius: 50%;
  background: var(--bshq-green);
  color: #fff;
  font-size: 28px;
  margin: 0 auto 24px;
}
#bshq-form-wrap #bshq-thankyou-msg h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bshq-green-dk);
  margin: 0 0 12px;
}
#bshq-form-wrap #bshq-thankyou-msg p {
  font-size: 1rem;
  color: var(--bshq-muted);
  line-height: 1.7;
  margin: 0;
}
