/* Sydney Line Marking / Premier Workplace Solutions
   Quote Form Section — full lead-gen form, rendered by mod_jcforms. */

.quote-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  position: relative;
}

/* JCForms wraps this form in its own split card. Flatten that chrome so the
   heading and quote card sit in the page the same way as the reference. */
.quote-section .mod-jcforms,
.quote-section .jcforms-split,
.quote-section .jcforms-split-form,
.quote-section .jcforms-form {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  flex: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.quote-section .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: rgba(245, 184, 0, 0.18);
  color: var(--slm-navy);
  font-family: var(--slm-font-heading);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--slm-radius-sm);
  border-left: 3px solid var(--slm-yellow);
  margin-bottom: 12px;
}

.quote-section .section-tag i {
  font-size: 13px;
  color: var(--slm-navy);
}

.quote-section h2 {
  font-family: var(--slm-font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--slm-navy);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}

.quote-section .lead {
  font-family: var(--slm-font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: #64748B;
  margin: 0;
}

.quote-wrapper-card {
  background-color: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-top: 6px solid var(--slm-yellow);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

/* Quick-select project-type buttons — real Bootstrap 5 .btn-outline-dark, toggled
   active by quote-form.js (which also syncs the actual "Primary Project Type" select). */
.quote-section .project-type-quick-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 12px;
  font-family: var(--slm-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-shadow: none;
  color: #212529;
  background-color: #FFFFFF;
  background-image: none;
  border: 1px solid #212529;
  border-radius: 6px;
  box-shadow: none;
}

.quote-section .project-type-quick-btn:hover,
.quote-section .project-type-quick-btn:focus {
  color: #FFFFFF;
  background-color: #212529;
  background-image: none;
  border-color: #212529;
  background-position: 0 0;
}

.quote-section .project-type-quick-btn i {
  color: var(--slm-yellow);
  margin-right: 4px;
}

.quote-section .project-type-quick-btn.active,
.quote-section .project-type-quick-btn.active:hover {
  background-color: var(--slm-navy);
  background-image: none;
  border-color: var(--slm-navy);
  color: #FFFFFF;
  box-shadow: none;
}

.quote-section .project-type-quick-btn.active i,
.quote-section .project-type-quick-btn:hover i {
  color: var(--slm-yellow) !important;
}

/* Reused across hero + quote forms: label/input/select look. */
.form-label-custom {
  font-family: var(--slm-font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--slm-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.quote-wrapper-card .jcforms-field {
  margin-bottom: 0;
}

.quote-wrapper-card .form-control,
.quote-wrapper-card .form-select,
.quote-wrapper-card textarea {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 12px 14px;
  font-family: var(--slm-font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--slm-navy);
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--slm-radius-sm);
  outline: none;
  transition: border-color var(--slm-transition);
}

.quote-wrapper-card .form-control:focus,
.quote-wrapper-card .form-select:focus {
  border-color: var(--slm-yellow);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.25);
}

/* File upload — the reference site's dropzone is really just this styled box with an
   invisible file input stretched over the whole thing, so a click anywhere opens the
   file picker. No native "Choose file" button is ever shown. */
.dropzone-upload-box {
  border: 2px dashed #E2E8F0;
  border-radius: var(--slm-radius-sm);
  background-color: #F8FAFC;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--slm-transition);
  position: relative;
  overflow: hidden;
}

.dropzone-upload-box:hover,
.dropzone-upload-box.dragover {
  border-color: var(--slm-yellow);
  background-color: #FFF8E1;
}

.dropzone-icon {
  font-size: 28px;
  color: #C99000;
  margin-bottom: 8px;
}

.quote-section .dropzone-upload-box .fw-bold {
  font-weight: 700;
  color: #212529;
}

.quote-section .text-muted {
  color: #64748B !important;
}

.quote-section .text-success {
  color: #16A34A !important;
}

.quote-section .text-warning {
  color: var(--slm-yellow) !important;
}

.dropzone-upload-box .form-control[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

/* JCForms auto-appends a "Maximum file size" helper line after the input — the
   reference design doesn't show it (the size limit is already stated above), so hide it. */
.dropzone-upload-box .form-text {
  display: none;
}

.uploaded-files-preview {
  position: relative;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slm-navy);
}

.uploaded-files-preview:empty {
  margin-top: 0;
}

/* Submit button — plain markup in the form's Layout HTML, styled by .btn-slm-primary. */
.quote-wrapper-card button.btn-slm-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  font-size: 16px;
  line-height: 1.25;
  text-shadow: none;
  background-image: none;
}

.quote-trust-row {
  color: #64748B;
  font-size: 13px;
}

.quote-trust-row i {
  margin-right: 4px;
}

/* JCForms thank-you (inline message mode) — visible inside the quote card, not a tiny top toast */
.quote-section .jcforms-thankyou-inline {
  position: static;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  max-width: none;
  margin: 0 0 24px;
  padding: 22px 26px;
  font-family: var(--slm-font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
  color: #14532d;
  background-color: #ecfdf3;
  border: 2px solid #16a34a;
  border-radius: var(--slm-radius-sm);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.12);
  text-shadow: none;
}

.quote-section .jcforms-thankyou-inline p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.quote-section .quote-wrapper-card .jcforms-thankyou-inline {
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .quote-section h2 {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .quote-wrapper-card {
    padding: 24px 16px;
  }
}
