.lxua-tab {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
}

.lxua-tab-nav {
    display: flex;
    justify-content: flex-start;
    flex: 0 0 auto;
    width: 100%;
}

.lxua-tab-nav-inner {
    box-sizing: border-box;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
}

.lxua-tab-title {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 24px;
    border: 1px solid #d5d8dc;
    border-bottom: 0;
    border-radius: 0;
    background: #f5f5f5;
    color: #6d7882;
    cursor: pointer;
    line-height: 1;
    text-align: center;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lxua-tab-title:hover,
.lxua-tab-title:focus {
    color: #6d7882;
    background: #ffffff;
}

.lxua-tab-title:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.lxua-tab-title.is-active {
    position: relative;
    background: #ffffff;
    color: #6d7882;
}

.lxua-tab-content {
    min-width: 0;
}

.lxua-tab-panel {
    padding: 20px;
    border: 1px solid #d5d8dc;
}

.lxua-tab-panel[hidden] {
    display: none;
}

.lxua-tab-panel > :first-child {
    margin-top: 0;
}

.lxua-tab-panel > :last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .lxua-tab-nav-inner {
        flex-direction: column;
    }

    .lxua-tab-title {
        width: 100%;
        border-bottom: 1px solid #d5d8dc;
    }

    .lxua-tab-panel {
        border-top: 0;
    }
}
