/* חלון החתימה המרוכזת (bulk-sign.js, bulk-sign-view.js).
   גובה קבוע: הרשימה גוללת בתוכו, והכפתורים בתחתית לא זזים (DESIGN.md,
   "יציבות פריסה"). צבעים מהפלטה הקיימת בלבד. */

#bulkSignModal .modal-content {
    max-width: 760px;
    height: min(760px, 90vh);
    display: flex;
    flex-direction: column;
    overflow: clip;
}

#bulkSignModal .bs-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-block: 4px;
}

#bulkSignModal .bs-foot {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding-block-start: 12px;
    border-block-start: 1px solid #e2e8f0;
}

.bs-progress {
    flex: 1;
    min-width: 180px;
    font-size: 13px;
    color: #475569;
}

.bs-note {
    margin-block-end: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.bs-note--warn {
    color: #92400e;
    background: #fffbeb;
    border-color: #fde68a;
}

.bs-note--bad {
    color: #b91c1c;
    background: #fef2f2;
    border-color: #fecaca;
}

.bs-all {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
}

.bs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bs-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.bs-row--held {
    background: #f8fafc;
}

.bs-check,
.bs-check-gap {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-block-start: 2px;
}

.bs-check {
    cursor: pointer;
}

.bs-main {
    flex: 1;
    min-width: 0;
}

.bs-title {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bs-meta {
    display: block;
    font-size: 12.5px;
    color: #5a6779;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bs-holds {
    margin: 6px 0 0;
    padding-inline-start: 18px;
    font-size: 12.5px;
    color: #92400e;
}

.bs-state {
    margin-block-start: 6px;
    font-size: 12.5px;
    font-weight: 600;
}

.bs-state--ok {
    color: #047857;
}

.bs-state--bad {
    color: #b91c1c;
}

.bs-side {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.bs-amount {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    white-space: nowrap;
}

.bs-acts {
    display: flex;
    gap: 6px;
}

@media (max-width: 560px) {
    .bs-row {
        flex-wrap: wrap;
    }

    .bs-side {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-inline-start: 28px;
    }
}
