/* Modern, optimized transitions */
.pbt-language-tabs {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin: 15px 0 20px;
}

.pbt-tab {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
    border-radius: 4px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    color: #495057;
    will-change: transform; /* Performance optimization */
}

.pbt-tab:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.pbt-tab.active {
    background: #007cba;
    color: white;
    border-color: #007cba;
    box-shadow: 1px 1px 5px rgba(0,124,186,0.3);
}

/* Super smooth content wrapper */
#pbt-content-wrapper {
    position: relative;
    transition: all 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.pbt-content-item {
    display: none;
}

.pbt-content-item[style*="display: block"] {
    display: block !important;
}

/* Removed transitions from content items - handled by wrapper */

/* Loading state */
#pbt-content-wrapper.loading {
    opacity: 0.7;
    transform: translateY(3px);
    pointer-events: none;
}