/* Registration components own their appearance, independent of page/course wrappers.
 * Do not apply the legacy hcm-status-badge/hcm-button-primary classes here. */
.hcm-registration-status,
a.hcm-registration-apply {
	box-sizing: border-box;
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.4;
	max-width: 100%;
	text-align: center;
	text-shadow: none;
	text-transform: none;
	vertical-align: middle;
	width: fit-content;
}

.hcm-registration-status {
	background: #fff;
	border: 2px solid #9a9a9a;
	border-radius: 5px;
	box-shadow: none;
	color: #303b42;
	display: inline-block;
	flex: 0 0 auto;
	font-size: 16px;
	margin: 0;
	padding: 5px 12px;
}

.hcm-registration-status--open {
	background: #ffd84d;
	border-color: #9c7900;
	color: #4e3b00;
}

.hcm-registration-status--upcoming {
	border-color: #075f91;
	color: #075f91;
}

.hcm-registration-status--full {
	background: #fff0ec;
	border-color: #a73d24;
	color: #8b301d;
}

a.hcm-registration-apply,
a.hcm-registration-apply:visited {
	align-items: center;
	align-self: center;
	background: #e66a00;
	border: 2px solid #e66a00;
	border-radius: 5px;
	box-shadow: none;
	color: #fff !important;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 19px;
	justify-content: center;
	justify-self: center;
	margin: 0;
	min-height: 48px;
	min-width: 112px;
	padding: 10px 18px;
	text-decoration: none;
	transform: none;
	transition: background-color .15s, border-color .15s;
}

a.hcm-registration-apply:hover,
a.hcm-registration-apply:focus {
	background: #bd5500;
	border-color: #bd5500;
	color: #fff !important;
	text-decoration: none;
}

a.hcm-registration-apply:focus-visible {
	outline: 3px solid #075f91;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	a.hcm-registration-apply { transition: none; }
}
