/* Main Container */
/* .wp-block-group {
    margin-top: var(--wp--preset--spacing--60);
    padding: 40px;
    background-color: #f4f4f4;
} */

/* Title Styling */
.wp-block-post-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

/* Quote List Section */
#quote-products-list {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Quote List Header */
#quote-products-list h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Quote List Items */
#quote-products-list ul {
    list-style: none;
    padding: 0;
}

#quote-products-list li {
    background-color: #f9f9f9;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#quote-products-list li button {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
}

#quote-products-list li button:hover {
    background-color: #c0392b;
}

/* Quote Buttons */
#clear-quote,
#make-quote-request {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    margin-top: 20px;
}

#clear-quote:hover,
#make-quote-request:hover {
    background-color: #2980b9;
}

#clear-quote {
    background-color: #f39c12;
}

#clear-quote:hover {
    background-color: #e67e22;
}

/* Quote Form Section */
#quote-form {
    display: none;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Form Title */
#quote-form h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Form Elements */
#quote-request-form label {
    font-size: 16px;
    font-weight: bold;
    margin-top: 15px;
    display: block;
}

#quote-request-form input,
#quote-request-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}

#quote-request-form button {
    background-color: #3498db;
    ;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    margin-top: 20px;
}

#quote-request-form button:hover {
    background-color: #3498db;
    ;
}

/* Message Box */
#quote-request-form textarea {
    height: 150px;
    resize: vertical;
}

/* Placeholder for empty list */
#quote-products-list ul.empty {
    color: #888;
    font-style: italic;
    text-align: center;
}

/* Form Error/Success Messages */
form .error-message,
form .success-message {
    text-align: center;
    font-size: 16px;
    margin-top: 20px;
    font-weight: bold;
    color: #e74c3c;
}

form .success-message {
    color: #2ecc71;
}

/*spinner*/
/* Spinner hidden by default */
#spinner {
    display: none;
    border: 4px solid #f3f3f3;
    /* Light gray border */
    border-top: 4px solid #3498db;
    /* Blue border for spinner */
    border-radius: 50%;
    width: 10px;
    height: 10px;
    margin-left: 10px;
    animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Button styling */
#submit-button {
    position: relative;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#submit-button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

/* toast css */
/* Toast message styling */
.toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #3498db;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 78%;
    bottom: 19px;
    font-size: 17px;
    transition: visibility 0.5s, opacity 0.5s ease-in-out;
}

/* Toast show */
.toast.show {
    visibility: visible;
    opacity: 1;
}