
@st-namespace 'Tab-deprecated-st-css';
:import {
    -st-from: "../../../common/formatters.st";
    -st-named: color, fallback;
}

:import {
   -st-from: "../../../common/palette.st.css";
   -st-named: insetFocusRing;
}

:vars {
    activeIndicatorColor: color-8;
}

:vars {
  SelectedIndicatorColor: --overridable;
}

/*
 * Selected indicator color
 * @type color
 */
@property st-global(--wix-ui-tpa-tab-selected-indicator-color);

.root {
    -st-states: isActive, indicateActive, hasAnchor;
    cursor: pointer;
    height: 100%;
    text-align: center;
    white-space: nowrap;
    padding: 14px 3%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    border: inherit;
    color: inherit;
    background: inherit;
    font: inherit;
}

.root:isActive:indicateActive {
  border-bottom: 3px solid fallback(color(value(SelectedIndicatorColor)), color(value(activeIndicatorColor))) !important;
}

.root a {
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}

.tabContentWrapper{
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.prefix {
    display: flex;
    margin-inline-end: 4px;
}

:global(#SITE_CONTAINER.focus-ring-active) .root:focus,
:global(#SITE_CONTAINER.focus-ring-active) .root:hasAnchor:focus-within {
    -st-mixin: insetFocusRing();
    background-color: transparent;
    outline: none;
}

/* st-namespace-reference="../../../../../src/components/Tabs/Tab/Tab.deprecated.st.css" */
    