.tfs-tabs {
    width: 100%;
}

.tfs-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tfs-tabs__nav-button {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background-color: #ffffff;
    color: #1b1f3b;
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    font-size: 0.95rem;
    line-height: 1.4;
    border-radius: 0.25rem;
}

.tfs-tabs__nav-button:hover,
.tfs-tabs__nav-button:focus-visible {
    border-color: rgba(58, 122, 254, 0.6);
    background-color: #eff4ff;
    color: #1b1f3b;
    box-shadow: 0 0 0 2px rgba(58, 122, 254, 0.12);
}

.tfs-tabs__nav-button:focus {
    outline: none;
}

.tfs-tabs__nav-button.is-active {
    background-color: #3a7afe;
    color: #ffffff;
    border-color: #3a7afe;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.tfs-tabs__content {
    margin-top: 1.25rem;
    width: 100%;
}

.tfs-tabs__panel {
    display: none;
}

.tfs-tabs__panel.is-active {
    display: block;
}

.tfs-tabs__dropdown {
    display: block;
    margin-bottom: 0.75rem;
}

.tfs-tabs__nav-select {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.25rem;
    background-color: #ffffff;
    font-size: 1rem;
    line-height: 1.4;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.tfs-tabs__nav-select:focus {
    outline: none;
    border-color: #3a7afe;
    box-shadow: 0 0 0 2px rgba(58, 122, 254, 0.15);
}

#tfs-tabs-2babf3a-select {
    display: none;
}

@media (min-width: 768px) {
    .tfs-tabs__dropdown {
        display: none;
    }
    #tfs-tabs-2babf3a-select {
        display: inline-block;
    }
    .tfs-tabs__nav {
        display: flex;
    }
    .tfs-tabs__nav-button {
        background-color: #ffffff;
        color: #1b1f3b;
    }
    .tfs-tabs__nav-button:hover,
    .tfs-tabs__nav-button:focus-visible {
        border-color: rgba(58, 122, 254, 0.6) !important;
        background-color: #eff4ff !important;
        color: #1b1f3b !important;
        box-shadow: 0 0 0 2px rgba(58, 122, 254, 0.12);
    }
    .tfs-tabs__nav-button:focus {
        outline: none;
    }
    .tfs-tabs__nav-button.is-active {
        background-color: #3a7afe !important;
        color: #ffffff !important;
        border-color: #3a7afe !important;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
    }
}

@media (max-width: 767px) {
    .tfs-tabs__nav {
        display: none;
    }
    #tfs-tabs-2babf3a-select {
        display: inline-block;
    }
}
