#InvoiceBatchPrintProgressBar {
    transition: width 0.4s ease;
}

.InvoiceBatchPrintProgressToast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 20002;
    width: 320px;
    max-width: calc(100vw - 48px);
    pointer-events: none;
}

.InvoiceBatchPrintProgressToast.is-visible {
    pointer-events: auto;
}

.invoice-print-toast-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    padding: 14px 16px 16px;
    border-left: 4px solid var(--tc-primary);
    pointer-events: auto;
}

.invoice-print-toast-header {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.invoice-print-toast-title {
    font-size: 13px;
    font-weight: 700;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    flex: 1;
    min-width: 0;
}

.invoice-print-toast-abort {
    border: 1px solid #dc3545;
    background: #ffffff;
    color: #dc3545;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.invoice-print-toast-abort:hover {
    background: #dc3545;
    color: #ffffff;
}

.invoice-print-toast-dismiss {
    border: 0;
    background: transparent;
    color: #999999;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.invoice-print-toast-dismiss:hover {
    color: #333333;
}

.invoice-print-download-link-wrap {
    margin-top: 4px;
}

.invoice-print-download-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--tc-primary);
    text-decoration: underline;
    cursor: pointer;
}

.invoice-print-download-link:hover {
    color: #0056b3;
}

.invoice-print-toast-status {
    display: block;
    font-size: 13px;
    color: #555555;
    margin-bottom: 10px;
    line-height: 1.4;
}

.invoice-print-toast-progress {
    height: 10px;
    margin-bottom: 0;
    background-color: #e9ecef;
    border-radius: 30px;
    overflow: hidden;
}

.InvoiceBatchPrintProgressToast .progress-bar {
    height: 10px;
    line-height: 10px;
    font-size: 9px;
    border-radius: 30px;
    background-color: var(--tc-primary);
}

.InvoiceBatchPrintProgressToast.is-complete .invoice-print-toast-card {
    border-left-color: #4fca16;
}

.InvoiceBatchPrintProgressToast.is-failed .invoice-print-toast-card,
.InvoiceBatchPrintProgressToast.is-cancelled .invoice-print-toast-card {
    border-left-color: #ff0000;
}

#InvoiceBatchPrintCompleteModal .modal-dialog {
    max-width: 560px;
}

#InvoiceBatchPrintCompleteModal .modal-body {
    padding: 15px 21px;
}

.invoice-batch-skipped-title {
    margin-bottom: 8px;
}

.invoice-batch-skipped-table-wrap {
    max-height: 220px;
    overflow-y: auto;
}

#InvoiceBatchPrintCompleteSummary {
    margin-bottom: 12px;
}
