.wew-tabs-pro-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.wew-tabs-orientation-vertical .wew-tabs-pro-wrapper {
    flex-direction: row;
    align-items: flex-start;
}

.wew-tabs-orientation-vertical .wew-tabs-nav {
    flex-direction: column;
    min-width: 200px;
    max-width: 300px;
    flex-shrink: 0;
}

.wew-tabs-orientation-vertical .wew-tabs-content-wrapper {
    flex-grow: 1;
    min-width: 0; /* Prevents flex items from overflowing */
}

.wew-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.wew-tab-button {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.wew-tab-icon {
    display: flex;
    align-items: center;
}

.wew-tab-icon i,
.wew-tab-icon svg {
    width: 1em;
    height: 1em;
}

.wew-tabs-content-wrapper {
    position: relative;
}

.wew-tab-content {
    display: none;
}

.wew-tab-content.wew-tab-content-active {
    display: block;
    animation: wewFadeIn 0.3s ease forwards;
}

.wew-tab-content > .elementor-container,
.wew-tab-content > .elementor-column-wrap,
.wew-tab-content > .elementor-widget-wrap {
    width: 100%;
}

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

/* Placeholder for empty tabs */
.wew-tab-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 8px;
    color: #666;
}

.wew-tab-placeholder-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    border-radius: 50%;
    margin-bottom: 15px;
}

.wew-tab-placeholder-icon .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
}

.wew-tab-placeholder p {
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 1.5;
}

.wew-tab-placeholder-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #9b65de;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.wew-tab-placeholder-btn:hover {
    background: #8a52cc;
}

.wew-tab-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px;
    color: #666;
    background: #f9f9f9;
    border-radius: 8px;
}

.wew-tab-loading .dashicons {
    animation: wew-spin 1s linear infinite;
}

.wew-tab-content.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .wew-tabs-orientation-vertical > .wew-tabs-pro-wrapper {
        flex-direction: column;
    }
    
    .wew-tabs-orientation-vertical .wew-tabs-nav {
        max-width: 100%;
        min-width: auto;
        flex-direction: row;
    }
    
    .wew-tab-placeholder {
        padding: 30px 15px;
    }
    
    .wew-tab-placeholder-icon {
        width: 50px;
        height: 50px;
    }
    
    .wew-tab-placeholder-icon .dashicons {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
}
