/* Instant Pricing Modal Styles */
#instantPricingModal {
position: fixed !important;
left: 0 !important;
top: 0 !important;
z-index: 9999 !important;

/* Modal content */
.modal-content {
border-radius: 16px;
box-shadow: 0 8px 32px rgba(0,0,0,0.18);
max-width: 570px;
margin: auto;
max-height: none;
overflow-y: visible;
}

/* Header */
.modal-header {
background: #f8f9fa;
border-bottom: 1px solid #e9ecef;
border-radius: 16px 16px 0 0;
}

.modal-title {
font-weight: 700;
color: #2d572c;
}

/* Form labels */
.form-label {
font-weight: 600;
color: #333;
margin-bottom: 0.2rem;
font-size: 0.97rem;
}

/* Form controls */
.form-control,
.form-select {
border-radius: 8px;
border: 1px solid #cfd8dc;
box-shadow: none;
font-size: 0.97rem;
padding: 0.35rem 0.6rem;
min-height: 32px;
}

.form-control:focus,
.form-select:focus {
border-color: #069494;
box-shadow: 0 0 0 2px #e6f7e6;
}

/* Buttons */
.btn-primary {
background: #069494;
border: none;
font-weight: 700;
font-size: 1rem;
border-radius: 8px;
padding: 0.45rem 0;
transition: background 0.2s;
}

.btn-primary:hover {
background: #069494;
}

/* Modal body and spacing */
.modal-body {
padding: 0.7rem;
}

.mb-3 {
margin-bottom: 0.6rem !important;
}

/* Validation */
.is-invalid {
border-color: #dc3545;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
border-color: #dc3545;
}
}

/* Fix modal positioning on mobile to prevent movement with carousel */
@media (max-width: 768px) {
    #instantPricingModal .modal-dialog {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        width: calc(100% - 20px) !important;
        max-width: 400px !important;
    }

    #instantPricingModal.show .modal-dialog {
        transform: translate(-50%, -50%) !important;
    }

    #instantPricingModal .modal-content {
        position: relative !important;
    }

    /* Ensure modal backdrop stays fixed */
    .modal-backdrop {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 9998 !important;
    }

    /* Prevent body scroll when modal is open */
    body.modal-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }
}


p,li{
font-weight: 500 !important;
}

.footeremail-input{
height: 45px !important;
}