/* Tabs Container */
.tabs-container {
    width: 100%;
    max-width: unset !important;
}

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 0;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0;
}

.tabs-align-left .tabs-nav {
    justify-content: flex-start;
}

.tabs-align-center .tabs-nav {
    justify-content: center;
}

.tabs-align-right .tabs-nav {
    justify-content: flex-end;
}

/* Tab Buttons */
.tab-button {
    padding: 12px 24px;
    font-family: var(--wp--preset--font-family--sweet-sans-pro);
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
    border-radius: 5px 5px 0 0;
}

.tab-button:hover {
    background: #e0e0e0;
}

.tab-button,
.tab-button:focus,
.tab-button:focus-visible,
.tab-button:focus-within,
.tab-button:active,
.tab-button.active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.tab-button.active:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.tab-button.active {
    background-color: var(--wp--preset--color--contrast) !important;
    color: #fff;
}

/* Style: Pills */
.tabs-style-pills .tabs-nav {
    border-bottom: none;
    gap: 10px;
}

.tabs-style-pills .tab-button {
    border-radius: 50px;
    bottom: 0;
    //border: 2px solid #333;
}

.tabs-style-pills .tab-button.active {
    background: #333;
    color: #fff;
}

/* Style: Underline */
.tabs-style-underline .tabs-nav {
    border-bottom: none;
    gap: 0;
}

.tabs-style-underline .tab-button {
    background: transparent;
    border-radius: 0;
    bottom: 0;
    //border-bottom: 3px solid transparent;
}

.tabs-style-underline .tab-button:hover {
    background: transparent;
    border-bottom-color: #ccc;
}

.tabs-style-underline .tab-button.active {
    background: transparent;
    color: #333;
    //border-bottom: 3px solid #333;
}

/* Tabs Content Area */
.tabs-content {
    width: 100%;
}

/* Editor Preview Styles */
.acf-block-preview .tabs-content {
    display: block;
}

.block-editor-inner-blocks {
    width: 100% !important;
}
