/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 12 2026 | 08:07:25 */
/* Main popup panel */

.cf7-business-quote-popup {
  width: 100%;
 
  margin: 0 auto;
  overflow: hidden;
  
  color: var(--quote-text);
  font-family: "DM Sans", Arial, sans-serif;
}

/* Green popup header */

.cf7-popup-header {
  padding: 5px 1px 40px 0;
  color: #ffffff;
}

.cf7-popup-eyebrow {
  margin: 0 0 8px;
  color: #c6dc87;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.cf7-popup-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.cf7-popup-intro {
  max-width: 520px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

/* Form area */

.cf7-popup-body {
  max-height: none;
  height: auto;
  overflow: visible;
}



.cf7-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}

.cf7-full-width {
  grid-column: 1 / -1;
}

.cf7-field label {
  display: block;
  margin-bottom: 8px;
  color: #425249;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
	margin-left: 8px;
  text-transform: uppercase;
}

.cf7-field label span {
  color: var(--quote-green);
}

.cf7-business-quote .wpcf7-form-control-wrap {
  display: block;
}

/* Inputs, dropdowns, and textarea */

.cf7-business-quote input[type="text"],
.cf7-business-quote input[type="email"],
.cf7-business-quote input[type="tel"],
.cf7-business-quote select,
.cf7-business-quote textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--quote-border);
  border-radius: 12px;
  outline: none;
  color: var(--quote-text);
  background: #ffffff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.cf7-business-quote input[type="text"],
.cf7-business-quote input[type="email"],
.cf7-business-quote input[type="tel"],
.cf7-business-quote select {
  min-height: 48px;
  padding: 13px 15px;
}

.cf7-business-quote textarea {
  min-height: 120px;
  padding: 14px 15px;
  resize: vertical;
	border: 1px solid gray;
}

.cf7-business-quote input::placeholder,
.cf7-business-quote textarea::placeholder {
  color: #89958b;
  opacity: 1;
}

/* Dropdown arrow */

.cf7-business-quote select {
	background-image: linear-gradient(45deg, transparent 50%, #718075 50%), linear-gradient(135deg, #718075 50%, transparent 50%);
    background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  appearance: none;
  padding-right: 42px;
  cursor: pointer;
 	border: 1px solid gray;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.cf7-business-quote input:focus,
.cf7-business-quote select:focus,
.cf7-business-quote textarea:focus {
  border-color: #80a630;
  box-shadow: 0 0 0 4px rgba(128, 166, 48, 0.15);
}

/* Show the Other field only when Other is selected */

.cf7-other-field {
  display: none;
}

.cf7-business-quote:has(
  select[name="delivery-type"] option[value="Other"]:checked
) .cf7-other-field {
  display: block;
}

/* Footer and submit button */

.cf7-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 24px;
  
}

.cf7-privacy-note {
  max-width: 310px;
  margin: 0;
  color: #7b897e;
  font-size: 11px;
  line-height: 1.6;
}

.cf7-business-quote .cf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: #80a630;
  box-shadow: 0 8px 18px rgba(128, 166, 48, 0.28);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  transition:
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.cf7-business-quote .cf7-submit:hover {
  background: #80a630;
  box-shadow: 0 10px 22px rgba(128, 166, 48, 0.34);
  transform: translateY(-2px);
}

.cf7-business-quote .cf7-submit:focus {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(128, 166, 48, 0.25),
    0 8px 18px rgba(128, 166, 48, 0.28);
}

/* Contact Form 7 validation */

.cf7-business-quote .wpcf7-not-valid {
  border-color: #c95555 !important;
}

.cf7-business-quote .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b33d3d;
  font-size: 12px;
}

.cf7-business-quote .wpcf7-response-output {
  margin: 22px 0 0 !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  font-size: 13px;
  line-height: 1.5;
}

/* Mobile responsive layout */

@media (max-width: 680px) {
  .cf7-business-quote-popup {
    border-radius: 20px;
  }

  .cf7-popup-header {
    padding: 28px 22px;
  }

  .cf7-popup-header h2 {
    max-width: 250px;
    font-size: 28px;
  }

  .cf7-popup-body {
    max-height: none;
    padding: 25px 22px;
  }

  .cf7-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cf7-full-width {
    grid-column: auto;
  }

  .cf7-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .cf7-privacy-note {
    max-width: none;
  }

  .cf7-business-quote .cf7-submit {
    width: 100%;
  }
}



/* =========================================
   Business Quote Popup Fixes
   ========================================= */

/* Force the popup and all form content left aligned */
.cf7-business-quote-popup,
.cf7-business-quote-popup *,
.cf7-popup-header,
.cf7-popup-body,
.cf7-business-quote {
  text-align: left !important;
}

/* Keep the popup header text left aligned */
.cf7-popup-header h2,
.cf7-popup-header p,
.cf7-popup-eyebrow,
.cf7-popup-intro {
  text-align: left !important;
}

/* Field labels */
.cf7-business-quote-popup .cf7-field label {
  display: block !important;
  width: 100% !important;
  margin-bottom: 8px !important;
  text-align: left !important;
}

/* Contact Form 7 wrappers */
.cf7-business-quote-popup .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  text-align: left !important;
}

/* Inputs, dropdowns, and textareas */
.cf7-business-quote-popup input[type="text"],
.cf7-business-quote-popup input[type="email"],
.cf7-business-quote-popup input[type="tel"],
.cf7-business-quote-popup select,
.cf7-business-quote-popup textarea {
  display: block !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

/* Force placeholder text left aligned */
.cf7-business-quote-popup input::placeholder,
.cf7-business-quote-popup textarea::placeholder {
  text-align: left !important;
}

/* Remove the inner scrollbar */
.cf7-popup-body {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  overflow-y: visible !important;
}

/* Remove scrollbar styling if the popup plugin still adds scrolling */
.cf7-popup-body::-webkit-scrollbar {
  display: none !important;
}

.cf7-popup-body {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

/* Prevent fields from being vertically centered */
.cf7-grid,
.cf7-field,
.cf7-form-footer {
  align-items: flex-start !important;
}

/* Keep the form footer left aligned */
.cf7-form-footer {
  text-align: left !important;
  justify-content: space-between !important;
}

.cf7-privacy-note {
  text-align: left !important;
}