/* Единые цвета статусов договоров и платежей */

.contract-status-text {
    font-weight: normal;
}

.contract-status-text.contract-status--in-progress {
    color: #4f46e5 !important;
}

.contract-status-text.contract-status--security-review {
    color: #ca8a04 !important;
}

.contract-status-text.contract-status--approved {
    color: #5b21b6 !important;
}

.contract-status-text.contract-status--extinguished {
    color: #28a745 !important;
}

.contract-status-text.contract-status--expired,
.contract-status-text.contract-status--rejected {
    color: #dc3545 !important;
}

.contract-status-text.contract-status--written-off {
    color: #f06c00 !important;
}

.contract-status-text.contract-status--application {
    color: #0d6efd !important;
}

.contract-status-text.contract-status--canceled,
.contract-status-text.contract-status--neutral {
    color: #6c757d !important;
}

.contract-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: normal;
    line-height: 1.2;
    white-space: nowrap;
}

.contract-status-pill.contract-status--in-progress {
    background: #eef2ff;
    color: #4f46e5;
}

.contract-status-pill.contract-status--security-review {
    background: #fef3c7;
    color: #ca8a04;
}

.contract-status-pill.contract-status--approved {
    background: #ede9fe;
    color: #5b21b6;
}

.contract-status-pill.contract-status--extinguished {
    background: #e8f7ef;
    color: #1f9d57;
}

.contract-status-pill.contract-status--expired,
.contract-status-pill.contract-status--rejected {
    background: #fce8eb;
    color: #dc3545;
}

.contract-status-pill.contract-status--written-off {
    background: #fff3e6;
    color: #f06c00;
}

.contract-status-pill.contract-status--application {
    background: #e7f1ff;
    color: #0d6efd;
}

.contract-status-pill.contract-status--canceled,
.contract-status-pill.contract-status--neutral {
    background: #f1f3f5;
    color: #5c6f7f;
}

.payment-status-text {
    font-weight: normal;
}

.payment-status-text.payment-status--paid,
.payment-status-text.payment-status--extinguished {
    color: #28a745 !important;
}

.payment-status-text.payment-status--unpaid {
    color: #dc3545 !important;
}

.payment-status-text.payment-status--partially-paid {
    color: #ca8a04 !important;
}

.payment-status-text.payment-status--new {
    color: #4f46e5 !important;
}

.payment-status-text.payment-status--neutral {
    color: #6c757d !important;
}
