/* Bouton actif : rendu comme un vrai bouton (le template custom ne l'habille pas). */
.sailiz-da-button:not(.sailiz-da-button--done) {
    display: inline-block;
    background: #c65a26;
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.1;
    cursor: pointer;
    text-decoration: none;
}
.sailiz-da-button:not(.sailiz-da-button--done):hover {
    background: #ab4a1d;
}
.sailiz-da-button--done,
a.sailiz_da_done {
    opacity: 0.6;
    cursor: default;
    font-style: italic;
}
a.sailiz_da_done {
    pointer-events: none;
}
.sailiz-da-detail-wrap {
    margin-top: 1em;
}
/* Emplacement du bouton dans la carte de commande du template custom. */
.sailiz-da-order-action {
    margin-top: 14px;
}
.sailiz-da-overlay {
    position: fixed;
    inset: 0;
    background: rgba( 0, 0, 0, 0.5 );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
.sailiz-da-modal {
    background: #fff;
    padding: 1.5em;
    border-radius: 8px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 10px 40px rgba( 0, 0, 0, 0.25 );
}
.sailiz-da-modal__title {
    font-weight: 600;
    margin: 0 0 1em;
}
.sailiz-da-modal__label {
    display: block;
    margin-bottom: 1em;
    font-size: 0.9em;
}
.sailiz-da-reason {
    width: 100%;
    margin-top: 0.3em;
}
.sailiz-da-modal__actions {
    display: flex;
    gap: 0.75em;
    justify-content: flex-end;
}
.sailiz-da-modal__msg {
    margin: 0.75em 0 0;
    min-height: 1.2em;
}
.sailiz-da-modal__msg--ok { color: #1a7f37; }
.sailiz-da-modal__msg--err { color: #b32d2e; }
