/*
 * Tabs.
 */
/* Show the first data-tabbed-content element; Hide the close icon */
div[data-tabbed-content],
div[data-icon] {
	display: none;
}

/* Flex container for the menu items */
/* [data-tabs-menu] {
	display: flex;
	gap: 10px;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	white-space: nowrap;
} */ /* nay commented on 18/11/2024 this because conflict with new dashboard ui tabs */

/* Menu items (li elements) */
/* Commented out by Rehan on 3 Dec 2024, because it was causing problems with add tracking tabs */
/* [data-tabs-menu] li {
	padding: 0;
	margin: 0;
	display: inline;
} */

/* Tabs content */
[data-tabs-content] {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

[data-tabbed-content] {
	flex: 1;
}

/* Make the menu horizontally scrollable */
[data-tabs-menu] {
	flex-direction: row;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
}

[data-tabs-menu]::-webkit-scrollbar {
	width: 0;
	background: transparent;
}

/*
 * Accordian.
 */
[data-accordion-content] {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease-out;
}

[data-accordion-container] {
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
