body .addify-quote-form.template_one .af-quote-field-table {
    max-width: 100% !important;
}

.addify-quote-form.template_one table td,
table th {
    border-bottom: 1px solid #e9e9e9 !important;
}

/* Style général du formulaire de devis */
.woocommerce-cart-form.addify-quote-form.template_one {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50px 0px;
    overflow-x: auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Effet au survol */
.woocommerce-cart-form.addify-quote-form.template_one:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* Champ de formulaire */
.woocommerce-cart-form.addify-quote-form.template_one input[type="text"],
.woocommerce-cart-form.addify-quote-form.template_one input[type="email"],
.woocommerce-cart-form.addify-quote-form.template_one textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fafafa;
    transition: border-color 0.3s ease;
}

/* Focus champ */
.woocommerce-cart-form.addify-quote-form.template_one input:focus,
.woocommerce-cart-form.addify-quote-form.template_one textarea:focus {
    border-color: #0073aa;
    outline: none;
    background-color: #fff;
}

/* Bouton de soumission */
.woocommerce-cart-form.addify-quote-form.template_one button[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.woocommerce-cart-form.addify-quote-form.template_one button[type="submit"]:hover {
    background-color: #005d8f;
}

/* Table responsive à l'intérieur */
.woocommerce-cart-form.addify-quote-form.template_one .adf-quote-detail-wrap {
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
}

button#af_rfq_get_qoute_by_my_account_pdf {
    padding: 13px;
    font-size: 16px;
}

.khe-quote-expired-notice {
    border: 1px solid #f5c6cb;
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.khe-quote-valid-notice {
    border: 1px solid #34a853;
    background-color: #34a853;
    color: #fff;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.khe-quote-expired-badge {
    display: inline-block;
    background-color: #d9534f;
    color: white;
    padding: 5px 10px;
    font-size: 13px;
    border-radius: 4px;
    font-weight: bold;
    width: fit-content;
}

.khe-quote-expired-message {
    font-size: 14px;
    line-height: 1.5;
}