/* Honeypot: visually hidden from real users, still reachable by simple bots */
.swq-hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.custom-quote-form legend {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #256eff;
}
.custom-quote-form label {
  font-size: 12px;
  font-weight: 600;
}
fieldset.quote-customer-fields .form-row {
  width: 100%;
  padding: 0px !important;
}
fieldset.quote-customer-fields .form-row input {
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.25rem;
}
.quote-name-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
fieldset.quote-customer-fields .form-row.name-field {
  max-width: calc(50% - 0.5rem);
  width: 100%;
}
fieldset.quote-product-fields .product-search-col {
  margin-bottom: 0.5rem;
}
fieldset.quote-product-fields select.variation-select {
  padding: 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}
fieldset.quote-product-fields input.product-qty {
  border: 1px solid #ccc;
  padding: 0.5rem;
  border-radius: 0.25rem;
  max-width: 50px;
  margin-bottom: 0.5rem;
}
.qty-remove-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom:1rem;
}
.custom-quote-form button {
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 2rem !important;
  padding: 0.5rem;
  border-style: solid;
  border-color: #256eff;
  transition: all 300ms ease-in-out;
}
.custom-quote-form button::after {
  font-size: 1.7rem !important;
}
fieldset.quote-product-fields button.remove-product-row.button {
  color: #ff3100 !important;
  background-color: transparent !important;
  font-size: 0.8rem !important;
  border-color:#ff3100 !important;
}
fieldset.quote-product-fields button.remove-product-row.button:hover{
  color: #fff !important;
  background-color: #ff3100 !important;
  border-color:#fff !important;
}
fieldset.quote-product-fields button.remove-product-row.button:after {
  font-size:1.3rem !important;
}
fieldset.quote-product-fields button#add-product-row {
  color: #fff !important;
  background-color: #256eff !important;
  margin-bottom:1rem;
}
fieldset.quote-product-fields button#add-product-row:hover {
  border-color:#fff !important;
}
button#submit-my-quote {
  color: #256eff !important;
}
button#submit-my-quote:hover{
  color:#fff !important;
  background-color:green !important;
  border-color:#fff !important;
}
.quote-info-card {
  border-radius: 1rem;
  padding: 1rem;
  margin: 1rem 0;
}
.quote-info-card.error {
  background-color: rgba(255, 0, 0, 0.1);
  border: 2px dotted #ff0000;
}
.quote-info-card.info {
  background-color: rgba(37, 110, 255, 0.1);
  border: 2px dotted #256eff;
}
/* Fallback styling if older JS sets classes directly on the container */
#quote-form-messages.quote-form-error {
  border-radius: 1rem;
  padding: 1rem;
  margin: 1rem 0;
  background-color: rgba(255, 0, 0, 0.1);
  border: 2px dotted #ff0000;
}
#quote-form-messages.quote-form-success {
  border-radius: 1rem;
  padding: 1rem;
  margin: 1rem 0;
  background-color: rgba(37, 110, 255, 0.1);
  border: 2px dotted #256eff;
}
@media (max-width: 640px) {
  fieldset.quote-customer-fields .form-row,
  fieldset.quote-customer-fields .form-row.name-field{
    max-width: 100%;
    width:100% !important;
  }
}

