/*Latex*/
.latex-output {
	border: 1px solid #ccc;
	padding: 10px;
	min-height: 100px;
	margin-top: 10px;
	text-align: left !important;
	display: block !important;
}
mjx-container[jax="CHTML"][display="true"] {
    text-align: left !important;
}

.table-responsive-custom {
  overflow-x: auto;
  width: 100%;
}

.login-environment-alert {
	align-items: flex-start;
	border-left: 6px solid transparent;
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
	display: flex;
	gap: 0.85rem;
	margin-bottom: 1rem;
	padding: 1rem 1rem 0.95rem;
	width: 100%;
}

.login-environment-alert__icon {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 1rem;
	height: 2.4rem;
	justify-content: center;
	width: 2.4rem;
}

.login-environment-alert__content {
	min-width: 0;
}

.login-environment-alert__title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 0.2rem;
}

.login-environment-alert__message {
	font-size: 0.87rem;
	line-height: 1.5;
}

.login-environment-alert.is-local {
	background-color: #eef7ff;
	border-color: #0f4c81;
	color: #0f4c81;
}

.login-environment-alert.is-local .login-environment-alert__icon {
	background-color: rgba(15, 76, 129, 0.12);
}

.login-environment-alert.is-testing {
	background-color: #fff5e8;
	border-color: #c26b11;
	color: #8a4b08;
}

.login-environment-alert.is-testing .login-environment-alert__icon {
	background-color: rgba(138, 75, 8, 0.12);
}

.environment-indicator {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	font-size: 0.75rem;
	font-weight: 600;
	gap: 0.4rem;
	letter-spacing: 0.02em;
	line-height: 1.2;
	padding: 0.35rem 0.75rem;
}

.environment-indicator-label {
	text-transform: uppercase;
}

.environment-indicator-dot {
	border-radius: 999px;
	display: inline-block;
	height: 0.45rem;
	width: 0.45rem;
}

.environment-indicator.is-local {
	background-color: #f4f8ff;
	border: 1px solid #bfd7f3;
	color: #0f4c81;
}

.environment-indicator.is-testing {
	background-color: #fff6ea;
	border: 1px solid #efcfaa;
	color: #8a4b08;
}

.environment-indicator.is-local .environment-indicator-dot {
	background-color: #0f4c81;
	box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.12);
}

.environment-indicator.is-testing .environment-indicator-dot {
	background-color: #c26b11;
	box-shadow: 0 0 0 4px rgba(194, 107, 17, 0.12);
}

.environment-indicator-footer {
	margin-left: 0;
	padding: 0.4rem 0.7rem;
	vertical-align: middle;
}

.app-footer {
	align-items: center;
	background: #f3f5f7;
	border-top: 4px solid #d5dbe3;
	border-bottom: 1px solid #dfe5ec;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin: 0;
	padding: 0.95rem 1.25rem 0.8rem;
}

.app-footer__left,
.app-footer__right {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.app-footer__left strong {
	align-items: center;
	color: #314254;
	display: inline-flex;
	font-size: 0.84rem;
	font-weight: 700;
	gap: 0.35rem;
	line-height: 1;
}

.app-footer__left a {
	color: #145a96;
	font-weight: 800;
	text-decoration: none;
}

.app-footer__left a:hover {
	text-decoration: underline;
}

.app-footer__right {
	border-left: 1px solid #d7dde5;
	padding-left: 1rem;
	justify-content: flex-end;
}

.app-footer__build {
	align-items: center;
	background: transparent;
	border: 0;
	display: inline-flex;
	gap: 0.45rem;
	box-shadow: none;
	padding: 0;
}

.app-footer__version-label {
	color: #64748b;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	padding: 0 0.2rem 0 0.1rem;
	text-transform: uppercase;
}

.app-footer__version-value,
.app-footer__branch,
.app-footer__deployed {
	align-items: center;
	border-radius: 0;
	display: inline-flex;
	font-size: 0.73rem;
	font-weight: 700;
	line-height: 1;
	min-height: 2rem;
	padding: 0.4rem 0.62rem;
}

.app-footer__version-value {
	background: #ffffff;
	border: 1px solid #d7dde5;
	color: #243447;
}

.app-footer__branch {
	background: #e9edf2;
	border: 1px solid #d7dde5;
	color: #5b6777;
	text-transform: lowercase;
}

.app-footer__deployed {
	background: transparent;
	border: 1px dashed #cfd6df;
	color: #6b7280;
	font-size: 0.7rem;
	font-weight: 600;
}

.environment-indicator-footer {
	box-shadow: none;
}

.environment-indicator-footer .environment-indicator-label {
	font-size: 0.69rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.environment-indicator.is-local,
.environment-indicator.is-testing {
	border-radius: 0;
}

@media (max-width: 767.98px) {
	.login-environment-alert {
		align-items: center;
		flex-direction: column;
		text-align: center;
	}

	.login-environment-alert__icon {
		height: 2.6rem;
		width: 2.6rem;
	}

	.login-environment-alert__content {
		width: 100%;
		text-align: center;
	}

	.environment-indicator-footer {
		display: inline-flex;
		margin-bottom: 0.5rem;
		margin-left: 0;
	}

	.app-footer {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.65rem;
		padding: 0.8rem 0.85rem;
	}

	.app-footer__left,
	.app-footer__right {
		width: 100%;
	}

	.app-footer__right {
		border-left: 0;
		justify-content: flex-start;
		padding-left: 0;
		padding-top: 0.2rem;
	}

	.app-footer__build {
		flex-wrap: wrap;
	}

	.app-footer__right,
	.app-footer__build {
		width: 100%;
	}
}
