/* 1. Global Container & Layout */
#bb_form_pro {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.02);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 900px;
    margin: 40px auto;
    border: 1px solid #f0f4f8;
    color: #1a202c;
}

#bb_form_pro .left {
    flex: 1.2;
    min-width: 300px;
}

#bb_form_pro .right {
    flex: 0.8;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #edf2f7;
}

/* 2. Form Elements (Left Side) */
#bb_form_pro label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#bb_form_pro input[type="number"],
#bb_form_pro input[type="file"] {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 25px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

#bb_form_pro input:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.15);
    outline: none;
}

/* Custom Checkbox Styling */
#bb_form_pro label:has(input[type="checkbox"]) {
    background: #ebf8ff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #bee3f8;
    cursor: pointer;
    text-transform: none;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}

#bb_form_pro label:has(input[type="checkbox"]):hover {
    background: #e2f4ff;
}

#bb_form_pro input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: #3182ce;
}

/* 3. Price Display (Right Side) */
.price-box {
    text-align: center;
    margin-bottom: 25px;
}

.price-box span#bb_totalPricePro {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #2b6cb0;
    margin-top: 5px;
    letter-spacing: -1px;
}

/* 4. Main Buttons */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#bb_buyNow, #bb_requestQuote {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

#bb_buyNow {
    background: #2b6cb0;
    color: white;
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.3);
}

#bb_buyNow:hover {
    background: #2c5282;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(43, 108, 176, 0.4);
}

#bb_requestQuote {
    background: white;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

#bb_requestQuote:hover {
    border-color: #cbd5e0;
    background: #fdfdfd;
}

/* 5. Request a Quote Modal */
#bb_quote_modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 550px;
    position: relative;
    animation: modalFadeUp 0.4s ease-out;
}

@keyframes modalFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 32px;
    color: #a0aec0;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover { color: #4a5568; }

.modal-content h2 {
    font-size: 28px;
    color: #1a202c;
    margin-bottom: 10px;
    font-weight: 800;
}

.modal-content p { color: #718096; margin-bottom: 25px; }

/* 6. Modal Form Styling */
#bb_quote_form input, 
#bb_quote_form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f7fafc;
    font-size: 15px;
}

#bb_quote_form textarea {
    height: 100px;
    resize: none;
}

#bb_quote_form button[type="submit"] {
    width: 100%;
    padding: 16px;
    background: #38a169 !important; /* Elegant Green */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

#bb_quote_form button[type="submit"]:hover {
    background: #2f855a !important;
}

/* Success Message */
#bb_quote_status {
    text-align: center;
    padding: 10px;
    border-radius: 6px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #bb_form_pro {
        flex-direction: column;
        padding: 20px;
    }
    #bb_form_pro .left, #bb_form_pro .right {
        min-width: 100%;
    }
}


