/* Property Price Estimator – enhanced form styles */

/* ---- Container ---- */
.ppe-estimate-form-wrapper{
    padding: 1rem 1.25rem;
    background: var(--e-global-color-40f7207);
    border-radius: 0.5rem;
}
.ppe-estimate-form-wrapper h2{
    font-size: 1.25rem; /* 20px */
    margin: 0.5rem 0 1rem;
   text-align: center;
    color: #fff !important;
}
.ppe-estimate-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center; /* vertical alignment */

}

/* ---- Field groups ---- */
.ppe-estimate-form .elementor-field-group {
    display: flex;
    flex-direction: column;
    flex: 1 1 220px;
    position: relative;
}

/* Button group (3rd) should not stretch */
.ppe-estimate-form .elementor-field-group:nth-child(3) {
    flex: 0 0 auto;
}

/* Result container spans full line */
#ppe-estimate-result {
    flex: 1 1 100%;
}

/* Visually hidden labels */
.ppe-estimate-form .elementor-field-group label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
}

/* Inputs/select */
.ppe-estimate-form .elementor-field,
.ppe-estimate-form select {
    height: 44px;
    padding: 0 1rem;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
}

/* Placeholder colour */
.ppe-estimate-form ::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* ---- Button ---- */
#ppe-get-estimate {
    height: 44px;
    padding: 0 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    margin:0px;
    background-color: #2c3a42;
    color: #fff;
}

/* ---- Result block ---- */
.ppe-result {
    text-align: center;
    margin-top: 0.5rem;
    background-color: white;
    padding: 0.75em 2.5em;
    border-radius: 20px;
    border: 1px solid #3e5451;
 
}

.ppe-result h2 {
    font-size: 1.25rem; /* 20px */
    margin: 0.25rem 0 0.5rem;
    font-weight: 700 !important;
    color: #2c3a42 !important;
}
.ppe-result p{
    margin-bottom: 5px;
}

.ppe-range {
    font-size: 1.375rem; /* 22px */
    margin: 0.25rem 0;
    font-weight: 700 !important;
    color: #2c3a42 !important;
}

.ppe-sub {
    font-size: 0.875rem;
    color: #777;
}

/* ---- Disclaimer ---- */
.ppe-estimate-form .ppe-disclaimer {
    flex: 1 1 100%;
    font-size: 0.75rem;
    color: #eaeaea;
    text-align: center;
    margin-top: 0.75rem;
}

/* Error */
.ppe-error {
    color: #d63638;
}

/* Responsive */
@media (max-width: 768px) {
  .ppe-estimate-form {
    flex-direction: column;
  }
  #ppe-get-estimate {
    width: 100%;
  }
.ppe-estimate-form{
		align-content: stretch !important;
  }
.ppe-estimate-form .elementor-field-group{
		flex: 1 1 50px;
}
}
