.gdr-qb-wrapper {
    width: 100%;
}

.gdr-qb-form {
    width: 100%;
}

/* Attributes */
.gdr-qb-attributes {
    margin-bottom: 20px;
}

.gdr-qb-attribute {
    margin-bottom: 10px;
    line-height: 1.6;
}

.gdr-qb-attribute-label {
    font-weight: 600;
    margin-right: 5px;
}

.gdr-qb-attribute-value {
    color: #666;
}

/* Variations table */
.gdr-qb-form .variations {
    width: 100%;
    margin-bottom: 20px;
    border: 0;
}

.gdr-qb-form .variations td {
    padding: 10px 0;
    vertical-align: middle;
    border: 0;
}

.gdr-qb-form .variations td.label {
    width: 30%;
    font-weight: 600;
}

.gdr-qb-form .variations select {
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Button wrapper */
.gdr-qb-button-wrapper {
    margin-top: 15px;
}

.gdr-qb-button-wrapper .gdr-qb-quantity {
    margin-bottom: 15px;
    display: inline-block;
}

.gdr-qb-button-wrapper .gdr-qb-quantity.hidden {
    display: none !important;
}

.gdr-qb-button-wrapper .gdr-qb-quantity input[type="number"] {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

/* Add to Quote Button */
.gdr-qb-add-to-quote {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0066b4;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.gdr-qb-add-to-quote:hover {
    background-color: #044a80;
    color: #ffffff;
}

.gdr-qb-add-to-quote.loading {
    opacity: 0.7;
    cursor: wait;
}

/* Responsive */
@media (max-width: 768px) {

    .gdr-qb-form .variations td.label,
    .gdr-qb-form .variations td.value {
        display: block;
        width: 100%;
        padding: 5px 0;
    }

    .gdr-qb-form .variations select {
        margin-top: 5px;
    }
}

/* Alignment classes */
.elementor-align-left .gdr-qb-button-wrapper {
    text-align: left;
}

.elementor-align-center .gdr-qb-button-wrapper {
    text-align: center;
}

.elementor-align-right .gdr-qb-button-wrapper {
    text-align: right;
}

.elementor-align-justify .gdr-qb-button-wrapper {
    text-align: left;
}

.elementor-align-justify .gdr-qb-add-to-quote {
    width: 100%;
    display: block;
}

/* Messages */
.gdr-qb-message,
.gdr-qb-form-message {
    margin-top: 10px;
    padding: 10px;
    font-size: 14px;
    display: none;
    border-radius: 4px;
}

.gdr-qb-message.success,
.gdr-qb-form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.gdr-qb-message.error,
.gdr-qb-form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Quote List Table */
.gdr-qb-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.gdr-qb-table th,
.gdr-qb-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.gdr-qb-table th {
    background-color: #f9f9f9;
    font-weight: 600;
}

.gdr-qb-table .product-remove {
    width: 30px;
    text-align: center;
}

.gdr-qb-table .product-thumbnail {
    width: 80px;
}

.gdr-qb-table .product-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.gdr-qb-remove-item {
    color: #ff0000;
    font-size: 20px;
    text-decoration: none;
}

.gdr-qb-remove-item:hover {
    color: #cc0000;
}

.gdr-qb-empty {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    color: #666;
}

/* Send Form */
.gdr-qb-send-form {
    /* Removed default styling to prevent white box */
}

.gdr-qb-send-form h3 {
    margin-bottom: 20px;
}

.gdr-qb-form-row {
    margin-bottom: 15px;
}

.gdr-qb-form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.gdr-qb-form-row input[type="text"],
.gdr-qb-form-row input[type="email"],
.gdr-qb-form-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.gdr-qb-send-btn {
    width: 100%;
    padding: 12px;
    background-color: #0066b4;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.gdr-qb-send-btn:hover {
    background-color: #044a80;
}

.gdr-qb-send-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}