/*
 * Site-specific styles layered on top of the Bootscore theme CSS (main.css).
 * Mostly the contact form, which replaces the old WPForms markup but keeps
 * the same visual treatment the child theme applied to it.
 */

.fs-form .fs-form-field {
  padding: 10px 0;
}

.fs-form .fs-form-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #17374a;
  font-weight: 700;
}

.fs-form .fs-form-required {
  color: #d63637;
}

.fs-form input[type="text"],
.fs-form input[type="email"],
.fs-form textarea {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(23, 55, 74, 0.22);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  color: #123146;
  font: inherit;
}

.fs-form input:focus,
.fs-form textarea:focus {
  outline: 0;
  border-color: rgba(15, 111, 159, 0.6);
  box-shadow: 0 0 0 0.25rem rgba(87, 184, 216, 0.25);
}

.fs-form input.fs-form-invalid,
.fs-form textarea.fs-form-invalid {
  border-color: #d63637;
}

.fs-form input.fs-form-medium {
  max-width: 60%;
}

/* WPForms sized textareas by height, not width */
.fs-form textarea {
  height: 120px;
  resize: vertical;
}

.fs-form .fs-form-name-row {
  display: flex;
  gap: 4%;
  max-width: 60%;
}

.fs-form .fs-form-name-block {
  flex: 1 1 48%;
}

.fs-form .fs-form-sublabel {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #5b7284;
}

@media (max-width: 600px) {
  .fs-form input.fs-form-medium,
  .fs-form .fs-form-name-row {
    max-width: 100%;
  }
}

/* Honeypot field: visually removed but present in the DOM for bots */
.fs-form .fs-form-hp {
  position: absolute !important;
  overflow: hidden !important;
  height: 1px !important;
  width: 1px !important;
  padding: 0 !important;
  z-index: -1000 !important;
}

.fs-form .fs-form-hp input {
  visibility: hidden;
}

.fs-form .fs-form-submit {
  padding-top: 10px;
}

.fs-form button[type="submit"] {
  border: 0;
  border-radius: 999px;
  background: var(--fs-warm);
  color: #182b39;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.82rem 1.5rem;
  cursor: pointer;
}

.fs-form button[type="submit"]:hover,
.fs-form button[type="submit"]:focus {
  background: var(--fs-warm-hover);
}

.fs-form button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: default;
}

.fs-form-alert {
  margin: 10px 0 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid #f1aeb5;
  border-radius: 12px;
  background: #f8d7da;
  color: #58151c;
}

.fs-form-confirmation {
  padding: 1rem 1.1rem;
  border: 1px solid #a3cfbb;
  border-radius: 12px;
  background: #d1e7dd;
  color: #0a3622;
}
