/**
 * Glossary terms module styles.
 *
 * Scoped to .glossary-terms-module; matches dependencies module chrome.
 */

.glossary-terms-module {
	width: 100%;
	margin: 0;
	box-sizing: border-box;
}

.glossary-terms-module *,
.glossary-terms-module *::before,
.glossary-terms-module *::after {
	box-sizing: border-box;
}

.glossary-terms-module .webapp-inner {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.glossary-terms-module .glossary-terms-content {
	padding: 0.85rem 1rem 1rem;
}

.glossary-terms-module .glossary-terms-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.glossary-terms-module .glossary-terms-list li {
	margin: 0;
}

.glossary-terms-module .glossary-terms-button {
	display: inline-block;
	padding: 0.5rem 0.85rem;
	font-family: var(--cogito-font);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--cogito-module-header-text);
	text-decoration: none;
	background: rgba(255, 255, 255, 0.06);
	border: var(--app-border-width) solid var(--cogito-module-border-subtle);
	border-radius: 999px;
	cursor: pointer;
	transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.glossary-terms-module a.glossary-terms-button:hover {
	color: var(--cogito-yellow-bg);
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--app-border);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	transform: translateY(-1px);
}

.glossary-terms-module a.glossary-terms-button:focus {
	outline: 2px solid var(--cogito-yellow-soft);
	outline-offset: 2px;
}

.glossary-terms-module .glossary-terms-button--static {
	cursor: default;
	color: var(--app-text);
	opacity: 0.85;
}
