/* Top Navbar Customization */
.navbar {
	width: 100%;
	min-height: 70px;
	z-index: 30;
}

.navbar .navbar-brand {
	height: 70px;
}

/* On desktop, keep navbar-menu at fixed height */
@media screen and (min-width: 1024px) {
	.navbar .navbar-menu {
		height: 70px;
	}
}

.navbar .navbar-item {
	display: flex;
	align-items: center;
}
.navbar-dropdown .navbar-item {
	white-space: normal !important;
	word-wrap: break-word;
	min-width: 200px;
	display: flex !important;
	align-items: center !important;
}
.navbar-dropdown .navbar-item .icon-text {
	white-space: normal;
	flex-wrap: nowrap;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.navbar-dropdown .navbar-item .icon-text .icon {
	flex-shrink: 0;
}
.navbar-dropdown .navbar-item .icon-text span:not(.icon) {
	white-space: normal;
	word-break: break-word;
	line-height: 1.5;
}
.navbar-dropdown .navbar-item:hover {
	text-decoration: none;
	font-weight: bold;
}

/* Logo's */
.huxamlogo {
	width: 100px;
}

.brandlogo {
	width: 200px;
}

/* Chatbot Input */
.chatbot-button {
	color: white;
	display: inline-block;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	border-radius: 5px;
	transition: background-color 0.3s;
	width: 100%;
	height: 35px;
}

.chatbot-button:hover {
	width: 100%;
}

/* Masked/unmasked are used to display or hide the API keys in the token manager */
.masked {
	display: inline;
	cursor: pointer;
}

.unmasked {
	display: none;
	cursor: pointer;
}

/** Toggle visibility button */
.fa-eye {
	color: gray;
	margin-left: 6px;
	cursor: pointer;
}

/** Button to remove access tokens */
.remove-button {
	cursor: pointer;
}

@keyframes blink {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

.blinking {
	animation: blink 1s infinite;
}

.timeline-container {
	position: relative;
	width: 100%;
	margin: 20px auto;
}

.scale {
	display: flex;
	justify-content: space-between;
	position: relative;
	width: 100%;
	padding: 0 10px;
	box-sizing: border-box;
	font-size: 12px;
	color: #333;
}

.timeline {
	display: flex;
	width: 100%;
	height: 50px;
	border: 1px solid #ccc;
	position: relative;
	border: 0px solid grey;
}

.segment {
	height: 100%;
	border: 1px solid grey;
}

.speech {
	background-color: #A5AAE0;

}

.speech-icon {
	color: #A5AAE0;

}

.silence {
	background-color: rgba(192, 192, 192, 0.6);
}

.silence-icon {
	color: rgba(192, 192, 192, 0.6);
}

.upload-container {
	border: 2px dashed #dbdbdb;
	border-radius: 6px;
	padding: 2rem;
	text-align: center;
	transition: all 0.3s;
	background-color: white;
}

.upload-container:hover {
	border-color: #b5b5b5;
}

.form-card {
	border-radius: 6px;
	box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1);
	margin-bottom: 1.5rem;
}

.section-header {
	border-bottom: 1px solid #f5f5f5;
	padding-bottom: 0.75rem;
	margin-bottom: 1rem;
}

.file-list-item {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem;
	border-bottom: 1px solid #f5f5f5;
}

.file-list-item:last-child {
	border-bottom: none;
}

.metadata-info {
	color: #7a7a7a;
	font-size: 0.85rem;
	margin-top: 0.5rem;
}

.pagetitle-header {
	display: flex;
	align-items: center;
	margin-bottom: 1.5rem;
}

.is-fullheight {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.quick-action-card {
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
	display: block;
	height: 100%;
}

.quick-action-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.quick-action-card .media-content {
	overflow: hidden;
}

/* Collapsible Menu Styles */
.menu-toggle {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.menu-toggle .icon {
	transition: transform 0.2s ease;
}

.menu-collapsible {
	overflow: hidden;
}

/* Sortable Table Headers */
.sortable-header {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	transition: color 0.2s ease;
	color: black;
}

.sortable-header:hover {
	font-weight: bold;
	color: black;
}

.sortable-header .icon {
	opacity: 0.5;
	transition: opacity 0.2s ease;
}

.sortable-header:hover .icon {
	opacity: 1;
}

/* Active sort column */
th .sortable-header .fa-sort-up,
th .sortable-header .fa-sort-down {
	opacity: 1;
	color: black;
}

/* Scroll to Top Button */
.scroll-to-top {
	position: fixed;
	bottom: 2rem;
	left: 2rem;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background-color: #A5AAE0;
	color: white;
	border: none;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	z-index: 1000;
}

.scroll-to-top:hover {
	background-color: #A5AAE0;
	transform: translateY(-4px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.show {
	display: flex;
}

.tabs a {
	font-weight: bold;
}
.queue-failed-actions {
	text-align: right;
}
@media screen and (max-width: 767px) {
	#queue-tabs.tabs {
		overflow-x: visible;
	}
	#queue-tabs.tabs ul {
		flex-direction: column;
		align-items: stretch;
		border-bottom: none;
	}
	#queue-tabs.tabs ul li {
		margin: 0 0 0.5rem 0;
	}
	#queue-tabs.tabs ul li:last-child {
		margin-bottom: 0;
	}
	#queue-tabs.tabs ul li + li {
		margin-left: 0;
	}
	#queue-tabs.tabs ul li a {
		white-space: normal;
		line-height: 1.2;
		padding: 0.75rem 1rem;
		border-radius: 6px;
	}
	.queue-failed-actions {
		display: flex;
		justify-content: flex-end;
		margin-bottom: 1rem;
	}
	.queue-failed-actions .button {
		float: none;
		width: 100%;
		justify-content: center;
	}
}