/* HCIS Glossary Lite — term highlight + tooltip styles */

.hcis-term {
	cursor: pointer;
	color: #16a34a; /* green — signals an interactive vocabulary term (no underline) */
	font-weight: 600;
	transition: color 0.15s ease;
}

.hcis-term:hover,
.hcis-term:focus {
	color: #15803d; /* slightly deeper green on hover/focus for feedback */
	outline: none;
}

.hcis-tooltip {
	position: absolute;
	z-index: 9999;
	width: 260px;
	max-width: calc(100vw - 24px);
	background: #1c1c1e;
	color: #ffffff;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	padding: 14px 16px 16px;
	font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	line-height: 1.4;
}

.hcis-tooltip[hidden] {
	display: none;
}

.hcis-tooltip-close {
	position: absolute;
	top: 6px;
	right: 8px;
	background: none;
	border: none;
	color: #aaaaaa;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 4px;
}

.hcis-tooltip-close:hover {
	color: #ffffff;
}

.hcis-tooltip-image {
	width: 100%;
	height: 150px;
	background-size: contain;   /* show the whole image, never crop */
	background-repeat: no-repeat;
	background-position: center;
	background-color: #2c2c2e;
	border-radius: 6px;
	margin-bottom: 10px;
}

.hcis-tooltip-title {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 6px;
}

.hcis-tooltip-audio {
	margin-bottom: 8px;
}

.hcis-tooltip-play {
	background: #2f6fed;
	color: #ffffff;
	border: none;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	cursor: pointer;
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.hcis-tooltip-play:hover {
	background: #255bc4;
}

.hcis-tooltip-text {
	color: #e5e5e7;
}
