.xpert-quote-form {

  max-width: 800px;

  margin: 0 auto;

  padding: 2rem 2.5rem;

  background: rgba(0, 0, 0, 0.75);

  border-radius: 18px;

  backdrop-filter: blur(4px);

  color: #fff;

  box-sizing: border-box;

}

@media only screen and (max-width: 1000px) {
   #quote-form{
    position: relative !important;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
  }
  #header_title h1{
    font-size: 1.8em !important;
  }
  .elementor-59 .elementor-element.elementor-element-24904cd > .elementor-widget-container{
    padding: 20px 0px 0px 20px !important;
  }
}




.xqf-title {

  margin: 0 0 0.25rem;

  font-size: 1.7rem;

  font-weight: 600;

}



.xqf-subtitle {

  margin: 0 0 1.2rem;

  font-size: 0.95rem;

  opacity: 0.8;

}



/* ICON TABS */

.xqf-type-selector {

  display: flex;

  flex-wrap: wrap;

  gap: 0.6rem;

  margin-bottom: 1.5rem;

}



.xqf-type-btn {

  flex: 1 1 120px;

  min-width: 120px;

  border-radius: 999px;

  border: 1px solid rgba(255, 255, 255, 0.25);

  background: rgba(0, 0, 0, 0.4);

  color: #fff;

  padding: 0.6rem 0.9rem;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 0.4rem;

  cursor: pointer;

  font-size: 0.9rem;

  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;

}



.xqf-type-btn .xqf-icon {

  font-size: 1.1rem;

}



.xqf-type-btn.active {

  background: #ffffff;

  color: #000;

  border-color: #ffffff;

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);

  transform: translateY(-1px);

}



.xqf-type-btn:hover:not(.active) {

  border-color: rgba(255, 255, 255, 0.6);

}



/* GRID & FIELDS */

.xqf-grid {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 0.2rem 1.5rem;

  margin-bottom: 1.4rem;

}



.xqf-field {

  display: flex;

  flex-direction: column;

  gap: 0.35rem;

}



.xqf-field label {

  font-size: 0.9rem;

  letter-spacing: 0.02em;

}



.xqf-field input,

.xqf-field select,

.xqf-field textarea {

  width: 100%;

  padding: 0.6rem 0.6rem;

  border-radius: 10px;

  border: 1px solid rgba(255, 255, 255, 0.25);

  background: rgba(0, 0, 0, 0.35);

  color: #fff;

  font-size: 0.95rem;

  outline: none;

  box-sizing: border-box;

}
.xpert-quote-form input[type="radio"],
.xpert-quote-form input[type="checkbox"] {
  background-color: white ;

  padding: 0;
}
.xpert-quote-form h2{
  color: white !important;
  font-size: 2em !important;
  text-align: center;
}


.xqf-field input::placeholder,

.xqf-field textarea::placeholder {

  color: rgba(255, 255, 255, 0.55);

}



.xqf-field input:focus,

.xqf-field select:focus,

.xqf-field textarea:focus {

  border-color: #ffffff;

  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);

}



.xqf-inline-options {

  display: flex;

  flex-wrap: wrap;

  gap: 0.75rem 1.2rem;

  font-size: 0.9rem;

}



.xqf-inline-options input {

  margin-right: 0.25rem;

}



.xqf-full {

  grid-column: 1 / -1;

}



/* PANELS */

.xqf-form-panel {

  display: none;

}



.xqf-form-panel.active {

  display: block;

}



.xqf-consent {

  margin: 0.4rem 0 1.6rem;

}



.xqf-consent label {

  font-size: 0.85rem;

}



/* BUTTON */

.xqf-submit {

  display: inline-block;

  padding: 0.85rem 2.4rem;

  border-radius: 999px;

  border: none;

  background: #ffffff;

  color: #000;

  font-size: 1rem;

  font-weight: 600;

  cursor: pointer;

  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;

}



.xqf-submit:hover {

  transform: translateY(-1px);

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);

  background: #f5f5f5;

}



.xqf-submit:active {

  transform: translateY(0);

  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);

}



/* RESPONSIVE */

@media (max-width: 768px) {

  .xpert-quote-form {

    padding: 1.5rem;

  }



  .xqf-grid {

    grid-template-columns: 1fr;

  }



  .xqf-type-selector {

    flex-wrap: nowrap;

    overflow-x: auto;

  }



  .xqf-type-btn {

    flex: 0 0 auto;

  }



  .xqf-submit {

    width: 100%;

    text-align: center;

    margin-top: 0.5rem;

  }

}


/* ZIP autocomplete container */
.location_list {
  list-style: none !important;
  margin: 0;
  padding: 0;

  position: absolute;
  top: 100%;
  width: 100%;
  z-index: 999999;

  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;

  max-height: 250px;
  overflow-y: auto;
  backdrop-filter: blur(6px);
}

/* Remove ALL list markers from ALL themes */
.location_list li,
.location_list li::before,
.location_list li::after,
.location_list li::marker {
  content: "" !important;
  list-style-type: none !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Each item */
.location_list li {
  padding: 12px 14px;
  cursor: pointer;
  color: #fff;
  font-size: 0.95rem;

  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Last item without border */
.location_list li:last-child {
  border-bottom: none;
}

/* Hover effect */
.location_list li:hover {
  background: rgba(255,255,255,0.12);
}

.xqf-success {
    background: #4CAF50;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    opacity: 1;
    transition: opacity 1s ease-out;
}
