/* Tabs styling */
.tabs-bar {
    background: #f0f0f0;
    border-bottom: 1px solid #ddd;
    display: flex;
    padding: 0 8px;
    height: 32px;
    align-items: flex-end;
}

/* Enhanced tab styles */
.tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #e0e0e0;
    border: 1px solid #ccc;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    margin-right: 4px;
    font-size: 0.9em;
    cursor: pointer;
    max-width: 160px;
    height: 28px;
    position: relative;
}

.tab-content {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab.active {
    background: #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
}

.tab-close {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 14px;
    color: #666;
}

.tab:hover .tab-close {
    opacity: 0.6;
}

.tab-close:hover {
    opacity: 1 !important;
    background: rgba(0,0,0,0.1);
}