/* Tabs Component */
.tabs {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.tabs-header::-webkit-scrollbar {
    display: none;
}

.tab-item {
    display: flex;
    gap: 10px;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-item:hover {
    color: var(--primary);
}

.tab-item.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tabs-content {
    
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Vertical Tabs */
.tabs.tabs-vertical {
    flex-direction: row;
}

.tabs.tabs-vertical .tabs-header {
    flex-direction: column;
    border-bottom: none;
    border-right: 1px solid var(--border-color);
    margin-bottom: 0;
    margin-right: 1rem;
    min-width: 150px;
}

.tabs.tabs-vertical .tab-item {
    border-bottom: none;
    border-right: 2px solid transparent;
    text-align: left;
}

.tabs.tabs-vertical .tab-item.active {
    border-right-color: var(--primary);
    border-bottom-color: transparent;
}

.tabs.tabs-vertical .tabs-content {
    flex: 1;
}

/* Tabs with Icons */
.tab-item .tab-icon {
    margin-right: 0.5rem;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}