#HOOK_SHOPPING_CART_EXTRA .opartDevisCartToQuotationLink {
    float: right;
}

.opartDevisQuotationRequestLink {
    margin-top: 5px;
}

#opartDevisConteneurDisplayTop {
    clear: both;
    text-align: center;
}

#opartDevisConteneurDisplayTop .btn {
    margin: 0 10px;
    display: inline-block;
}

.button.button-small .opartDevisHide {
    display: none;
}

.button.button-small .opartDevisShow {
    display: block;
}

@media screen and (min-width: 500px) {
    .button.button-small .opartDevisHide {
        display: block;
    }

    .button.button-small .opartDevisShow {
        display: none;
    }
}

/* YJ Style du module modifié */
#block-history span[contenteditable="true"] {
    border-bottom: 1px dashed #aaa;
    outline: none;
    cursor: text;
}

#block-history .btn {
    padding: 4px 6px;
    line-height: 1;
    vertical-align: middle;
}

#block-history a.btn-check {
    display: none;
}

#block-history a.btn-check.visible {
    display: inline-block;
}

#order-list thead th {
    text-align: center;
}

#order-list td.history_method:nth-child(3) {
    width: 400px;
    max-width: 500px;
    overflow: hidden;
}

#block-history span[contenteditable] {
    display: inline-block;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

#block-history .btn-rename-wrapper {
    display: inline-flex;
    gap: 6px;
    vertical-align: middle;
    float: right;
}

@media screen and (max-width: 768px) {

    #order-list thead {
        display: none;
    }

    #order-list tbody tr {
        display: block;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-bottom: 15px;
        padding: 10px;
    }

    #order-list td.history_method::before {
        color: #1f318b !important;
        font-size: 110%;
    }

    #order-list td.history_method {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        padding: 4px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    #order-list td.history_method:last-child {
        border-bottom: none;
    }

    #order-list td.history_method::before {
        content: attr(data-label);
        font-weight: bold;
        color: #555;
        flex-shrink: 0;
        margin-right: 10px;
    }

    /* reset largeur fixe colonne nom */
    #order-list td.history_method:nth-child(3) {
        width: auto;
        max-width: 100%;
    }

    #block-history span[contenteditable] {
        max-width: 150px;
    }

    #block-history .btn-rename-wrapper {
        float: none;
    }
}

.icon-groupe {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-overlay {
    position: absolute;
    bottom: -6px;
    right: -6px;
}