/* ==============================
   Instant Quote Form – Base
   ============================== */
.instant-quote-form {
    max-width: 520px;
    margin: 0 auto !important;
    padding: 24px !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    font-family: inherit !important;
}

/* Labels */
.instant-quote-form label {
    display: block !important;
    margin-bottom: 6px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #222 !important;
}

/* Inputs & Select */
.instant-quote-form input[type="text"],
.instant-quote-form input[type="email"],
.instant-quote-form input[type="tel"],
.instant-quote-form select {
    width: 100% !important;
    padding: 12px 14px !important;
    margin-bottom: 16px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    background: #fff !important;
    color: #111 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus State */
.instant-quote-form input:focus,
.instant-quote-form select:focus {
    outline: none !important;
    /* border-color: #F97316 !important;
        box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2) !important; */
    border-color: #80EDFF !important;
    box-shadow: 0 0 0 3px rgb(125 214 229 / 23%) !important;
}

/* Submit Button */
.instant-quote-form input[type="submit"] {
    width: 100% !important;
    padding: 14px !important;
    background-color: #F97316 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Button Hover */
.instant-quote-form input[type="submit"]:hover {
    background-color: #ea580c !important;
    transform: translateY(-1px);
}

/* ==============================
   Quote Results Styling
   ============================== */
.instant-quote-form .quote-result {
    margin-top: 24px !important;
    padding: 20px !important;
    border-radius: 8px !important;
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
}

/* Success vs Error */
.instant-quote-form .quote-result.quote-success {
    border-left: 5px solid #80EDFF !important;
}

.instant-quote-form .quote-result.quote-error {
    border-left: 5px solid #dc2626 !important;
    color: #7f1d1d !important;
}

/* Quote Text */
.instant-quote-form .quote-result p {
    margin: 6px 0 !important;
    font-size: 14px !important;
    color: #111 !important;
}

/* Address */
.instant-quote-form .quote-address {
    font-weight: 600 !important;
}

/* Price */
.instant-quote-form .quote-price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #16a34a !important;
    margin-top: 10px !important;
}

/* Fine Print */
.instant-quote-form .quote-fine-print {
    font-size: 12px !important;
    color: #6b7280 !important;
    margin-top: 10px !important;
}

/* CTA Button inside result */
.instant-quote-form .quote-cta {
    display: inline-block !important;
    margin-top: 16px !important;
    padding: 12px 20px !important;
    background-color: #F97316 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-size: 16px !important;
}

/* CTA Hover */
.instant-quote-form .quote-cta:hover {
    background-color: #ea580c !important;
}




/* Mobile tweaks */
@media (max-width: 480px) {
    .instant-quote-form .quote-result {
        padding: 18px !important;
    }

    .instant-quote-form .quote-price {
        font-size: 1rem !important;
    }
}



.quote-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}