/* default: all corners rounded */
#tabContentWrapper {
	border-radius: 0.25rem;
}

/* when tab 1 is active, square top-left */
#tabContentWrapper.tab1-active {
	border-top-left-radius: 0 !important;
}

#PhenotypeTreeWrapper {
	flex: 1;
	display: flex;
	flex-direction: row;
	overflow: hidden;
	width: 100%;
}

#PhenotypeTreeContainer::-webkit-scrollbar,
#PhenotypeCards::-webkit-scrollbar {
	width: 6px;
}
#PhenotypeTreeContainer::-webkit-scrollbar-thumb,
#PhenotypeCards::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 3px;
}

#PhenotypeTreeContainer {
	background-color: #f9f9f9;
	border-right: 1px solid #ccc;
	width: 33.33%;
	overflow-y: auto;
	padding-right: 10px;
	position: relative;
}

#PhenotypeTreeControls {
	display: none;
	position: sticky;
	top: 0;
	background: #f9f9f9;
	z-index: 10;
	padding-bottom: 10px;
}

#PhenotypeDetailsContainer {
	width: 66.66%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

#PhenotypeDetailsPlaceholder {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100px;
}

#PhenotypeTree .jstree-anchor {
	font-size: 0.95rem;
	padding: 2px 4px;
	position: relative;
	cursor: pointer;
}

#PhenotypeTree .jstree-anchor::after {
	content: attr(data-quantity);
	position: relative;
	top: 0px;
	left: 5px;;
}

#PhenotypeTree .jstree-clicked {
	font-weight: bold;
	background-color: #e3f2fd !important; /* light blue */
	color: #0d47a1 !important; /* dark blue text */
	border-radius: 4px;
}

#PhenotypeTree a[data-quantity] > .jstree-icon {
 	margin-right: 5px;
}

#PhenotypeStrains {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
}

#PhenotypeStrains .row {
	margin-left: 0;
	margin-right: 0;
}

#PhenotypeStrains .card {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* #region Associated genes download */

.badge.download-genes {
	background-color: #e9ecef;
	color: #495057;
	border: 1px solid #ced4da;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
}

.badge.download-genes:hover {
	background-color: #dee2e6;
	color: #0056b3;
	transform: translateY(-1px);
}

/* looks like a button press */
.badge.download-genes:active {
	background-color: #ced4da;
	color: #004085;
	transform: translateY(0);
}

.badge.download-genes i {
	font-size: 0.85rem;
}

/* #endregion */

/* #region Misc */
.tight-col {
	padding-left: 4px;
	padding-right: 4px;
}

/* #endregion */
