/* «Usuń» by an invoice (supply-withdraw.js): a red box right above the button — question, then the list of what
   leaves the warehouse */
.supply-wd {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1090;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: min(560px, calc(100vw - 16px));
    padding: 8px 10px 8px 8px;
    border: 2px solid #dc3545;
    border-radius: 8px;
    background: #fff1f2;
    color: #842029;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, .22), 0 6px 18px rgba(0, 0, 0, .28);
    font-size: .85rem;
    text-align: left;
    white-space: normal;
}

.supply-wd__icon {
    flex-shrink: 0;
    font-size: 1.6rem;
    line-height: 1;
    color: #dc3545;
}

.supply-wd__body {
    min-width: 0;
}

.supply-wd__title {
    font-weight: 700;
}

.supply-wd__list {
    margin: 6px 0 0;
    padding: 6px 8px 6px 24px;
    border-left: 4px solid #dc3545;
    border-radius: 4px;
    background: rgba(220, 53, 69, .12);
    font-weight: 700;
}

.supply-wd__after {
    margin-top: 6px;
}

.supply-wd__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 8px;
}

.supply-wd__buttons .btn {
    padding: 2px 10px;
    font-size: .8rem;
}

.supply-wd__plain {
    border-color: currentColor;
    color: inherit;
}

html[data-theme="dark"] .supply-wd {
    border-color: #f05252;
    background: #3b151b;
    color: #fecaca;
    box-shadow: 0 0 0 3px rgba(240, 82, 82, .28), 0 6px 18px rgba(0, 0, 0, .45);
}

html[data-theme="dark"] .supply-wd__icon { color: #ff6b6b; }

html[data-theme="dark"] .supply-wd__list {
    border-left-color: #ff6b6b;
    background: rgba(255, 107, 107, .14);
}
