.oect-tabs {
    width: 100%;
}

.oect-tabs__nav {
    display: flex;
    width: 100%;
    align-items: stretch;
    border-bottom: 1px solid #e4e4e4;
    overflow-x: auto;
    scrollbar-width: thin;
}

.oect-tabs__tab {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 0;
    margin: 0;
    background: #fff;
    color: #333;
    font: inherit;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease;
    outline: none;
}

.oect-equal-width-yes .oect-tabs__tab {
    flex: 1 1 0;
}

.oect-tabs__tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: transparent;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease, background-color .2s ease;
}

.oect-tabs__tab[aria-selected="true"] {
    color: #e1261c;
}

.oect-tabs__tab[aria-selected="true"]::after {
    background: #e1261c;
    transform: scaleX(1);
}

.oect-tabs__tab:focus-visible {
    box-shadow: inset 0 0 0 2px currentColor;
}

.oect-tabs__panel[hidden] {
    display: none !important;
}

.oect-tabs__panel {
    width: 100%;
}

.oect-tabs__panel.is-active {
    animation: oectFadeIn .18s ease both;
}

.oect-tabs__empty {
    padding: 18px;
    border: 1px dashed #cfd3d8;
    border-radius: 8px;
    color: #666;
    background: #fafafa;
    text-align: center;
}

@keyframes oectFadeIn {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
    .oect-mobile-stack-yes .oect-tabs__nav {
        flex-direction: column;
        overflow: visible;
    }

    .oect-mobile-stack-yes .oect-tabs__tab {
        width: 100%;
    }
}
