.bid4-unified__error-anchor:empty {
    display: none;
}

.bid4-unified__table-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
}

.bid4-unified__table {
    min-width: 1320px;
}

.bid4-unified__row .connection_points__col {
    min-width: 140px;
    white-space: normal;
    word-break: break-word;
}

.bid4-unified__row .connection_points__col:first-child,
.bid4-unified__row--header .connection_points__col:first-child {
    min-width: 56px;
}

.bid4-unified__bottom {
    flex-wrap: wrap;
    row-gap: 12px;
}

.attachment-entity__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.attachment-entity__grid .form-group {
    margin-bottom: 0;
}

.attachment-entity__grid .form-group--full {
    grid-column: 1 / -1;
}

.attachment-entity__reliability-select {
    font-size: 14px;
    padding-right: 34px;
}

.attachment-entity__actions {
    margin-top: 24px;
}

.label-with-tooltip {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tooltip-question {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: #e5e5e5;
    color: #333;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.reliability-info-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.45);
    padding: 24px;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.reliability-info-modal.is-open {
    display: flex;
    pointer-events: auto;
}

.reliability-info-modal__content {
    position: relative;
    width: 760px;
    max-width: 100%;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    color: #222;
}

.reliability-info-modal__close {
    position: absolute;
    right: 14px;
    top: 10px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #555;
}

.reliability-info-modal__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-right: 30px;
}

.reliability-info-modal__item {
    margin-bottom: 18px;
}

.reliability-info-modal__item:last-child {
    margin-bottom: 0;
}

.reliability-info-modal__item-title {
    font-weight: 700;
    margin-bottom: 6px;
}

.reliability-info-modal__item-text {
    font-size: 14px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .attachment-entity__grid {
        grid-template-columns: 1fr;
    }

    .bid4-unified__table {
        min-width: 1080px;
    }
}

@media (max-width: 600px) {
    .reliability-info-modal {
        align-items: flex-end;
        padding: 0;
    }

    .reliability-info-modal__content {
        width: 100%;
        max-height: 82vh;
        border-radius: 16px 16px 0 0;
        padding: 20px 16px 24px;
    }

    .reliability-info-modal__title {
        font-size: 16px;
    }

    .reliability-info-modal__item-text {
        font-size: 13px;
        line-height: 1.4;
    }
}
