.wcqb-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    direction: ltr; /* Default to LTR, overridden by theme if RTL */
}

.wcqb-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    border-radius: 5px;
}

body.rtl .wcqb-modal-content {
    direction: rtl;
}

.wcqb-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.wcqb-close:hover,
.wcqb-close:focus {
    color: #000;
    text-decoration: none;
}

#wcqb-quote-form p {
    margin-bottom: 15px;
}

#wcqb-quote-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#wcqb-quote-form input,
#wcqb-quote-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

#wcqb-quote-form textarea {
    height: 100px;
    resize: vertical;
}

#wcqb-quote-form .required {
    color: red;
}

#wcqb-quote-form button {
    background-color: #0071a1;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#wcqb-quote-form button:hover {
    background-color: #005f87;
}

#wcqb-quote-form button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#wcqb-message .success {
    color: green;
    margin-top: 10px;
}

#wcqb-message .error {
    color: red;
    margin-top: 10px;
}

.wcqb-quote-button {
    margin: 10px 0;
    color: white !important;
    text-align: center;
    display: inline-block;
}

.wcqb-single-product-button {
    width: 100%;
    max-width: 200px;
    font-weight: bold;
}

.wcqb-grid-button {
    margin: 5px 0;
    font-size: 14px;
}