/* ReUnion Member Portal - Tabs only */

.rmp-knowledge-tabs-nav,
.rmp-provider-tabs-nav {
    list-style: none;
    margin: 0 0 34px 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid rgba(7, 58, 100, 0.18);
}

.rmp-knowledge-tabs-nav li,
.rmp-provider-tabs-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rmp-knowledge-tab button,
.rmp-provider-tab button {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(7, 58, 100, 0.22);
    border-bottom: none;
    border-radius: 3px 3px 0 0;
    background: #f5f7fa;
    color: #073a64;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: none;
    text-decoration: none;
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}

.rmp-knowledge-tab button:hover,
.rmp-provider-tab button:hover {
    background: #073a64;
    color: #ffffff;
    border-color: #073a64;
}

.rmp-knowledge-tab.active button,
.rmp-provider-tab.active button {
    background: #073a64;
    color: #ffffff;
    border-color: #073a64;
}

.rmp-knowledge-tab button:focus,
.rmp-provider-tab button:focus {
    outline: none;
}

.rmp-knowledge-tab button:focus-visible,
.rmp-provider-tab button:focus-visible {
    outline: 2px solid rgba(7, 58, 100, 0.35);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .rmp-knowledge-tabs-nav,
    .rmp-provider-tabs-nav {
        display: block;
        border-bottom: none;
        margin-bottom: 28px;
    }

    .rmp-knowledge-tabs-nav li,
    .rmp-provider-tabs-nav li {
        margin-bottom: 8px;
    }

    .rmp-knowledge-tab button,
    .rmp-provider-tab button {
        width: 100%;
        border: 1px solid rgba(7, 58, 100, 0.22);
        border-radius: 3px;
        text-align: left;
        padding: 13px 16px;
    }

    .rmp-knowledge-tab button:hover,
    .rmp-provider-tab button:hover,
    .rmp-knowledge-tab.active button,
    .rmp-provider-tab.active button {
        background: #073a64;
        color: #ffffff;
        border-color: #073a64;
    }
}