.bip-versions {
    margin-top: 12px;
    padding: 24px;
    border: 1px solid #c1cddb;
    border-radius: 12px;
    background: #f7fafc;
}

.bip-versions h2 {
    margin: 0 0 20px;
    color: #22272f;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

.bip-versions__notice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    padding: 16px;
    border: 1.5px solid #006bd5;
    border-radius: 12px;
    background: #eef5fc;
    color: #006bd5;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.bip-versions__notice p {
    margin: 0;
}

.bip-versions__notice .bip-icon-info-circle-filled {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.bip-versions form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.bip-table-wrap {
    max-width: 100%;
    overflow-x: auto;
}

.bip-table {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 0 2px;
    color: #37506e;
    font-size: 16px;
    line-height: 1.5;
}

.bip-table th {
    height: 55px;
    padding: 8px 20px;
    background: #1058a1;
    color: #fbfbfb;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    vertical-align: middle;
}

.bip-table th:first-child {
    border-top-left-radius: 8px;
    width: 1%;
    min-width: 120px;
    white-space: normal;
}

.bip-table th:last-child {
    border-top-right-radius: 8px;
    width: 196px;
}

.bip-table td {
    height: 65px;
    box-sizing: border-box;
    padding: 8px 20px;
    background: #fbfbfb;
    vertical-align: middle;
}

.bip-table tbody tr:nth-child(even) td {
    background: #eef5fc;
}

.bip-table td:first-child {
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
}

.bip-table td:last-child {
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}

.bip-version-choice {
    display: inline-flex;
    align-items: flex-start;
}

.bip-version-choice input {
    width: 24px;
    height: 24px;
    margin: 0;
    accent-color: #1058a1;
}

.bip-versions__view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 16px;
    border: 1px solid #1058a1;
    border-radius: 32px;
    background: transparent;
    color: #1058a1;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.bip-versions__view:hover {
    background: #1058a1;
    color: #fff;
}

.bip-versions__compare {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    gap: 10px;
    height: 36px;
    min-height: 36px;
    margin-top: 16px;
    padding: 0 24px;
    border: 0;
    border-radius: 32px;
    background: #004488;
    color: #fbfbfb;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.bip-versions__compare:disabled {
    background: #578bc0;
    color: #fbfbfb;
    cursor: not-allowed;
}

.bip-versions__view:focus-visible,
.bip-versions__compare:focus-visible,
.bip-version-choice input:focus-visible {
    outline: 3px solid rgba(255, 191, 71, 0.5);
    outline-offset: 2px;
}

@media (max-width: 980px) {
    .bip-versions {
        padding: 16px;
    }

    .bip-versions__notice {
        align-items: flex-start;
    }
}
