.wpl-tabs {
    width: 100%;
}

.wpl-tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.wpl-tabs-layout-horizontal .wpl-tabs-nav {
    flex-direction: row;
}

.wpl-tabs-layout-vertical .wpl-tabs-nav {
    flex-direction: column;
}

.wpl-tabs-nav li {
    cursor: pointer;
    padding: 10px 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wpl-tabs-nav li.active {
    font-weight: bold;
}

.wpl-tabs-content {
    display: block; /* Ensure the content container is visible */
}

.wpl-tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease; /* Smooth fade transition */
}

.wpl-tab-pane.active {
    display: block;
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .wpl-tabs-layout-horizontal .wpl-tabs-nav {
        flex-direction: column;
    }

    .wpl-tabs-nav li {
        margin-right: 0;
        margin-bottom: 10px;
    }
}