.gcm-member-card {
	background: #fff;
	border: 1px solid #d9e2e7;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(20, 35, 45, 0.08);
	color: #1f2933;
	margin: 20px 0;
	max-width: 720px;
	padding: 22px;
}

.gcm-member-card__header {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.gcm-member-card h2 {
	font-size: 22px;
	line-height: 1.4;
	margin: 0;
}

.gcm-member-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	margin: 0;
}

.gcm-member-grid div {
	background: #f7f9fb;
	border: 1px solid #e7edf1;
	border-radius: 6px;
	padding: 12px;
}

.gcm-member-grid dt {
	color: #52616b;
	font-size: 13px;
	margin-bottom: 6px;
}

.gcm-member-grid dd {
	font-size: 16px;
	font-weight: 700;
	margin: 0;
}

.gcm-class-list {
	display: grid;
	gap: 14px;
}

.gcm-class-item {
	border-top: 1px solid #e7edf1;
	padding-top: 14px;
}

.gcm-class-item:first-child {
	border-top: 0;
	padding-top: 0;
}

.gcm-class-item h3 {
	font-size: 18px;
	margin: 0 0 12px;
}

.gcm-class-filter {
	align-items: end;
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin-bottom: 18px;
}

.gcm-class-filter label {
	color: #52616b;
	font-size: 13px;
	font-weight: 700;
	grid-column: 1 / -1;
}

.gcm-class-filter select {
	background: #fff;
	border: 1px solid #d9e2e7;
	border-radius: 6px;
	color: #1f2933;
	min-height: 40px;
	padding: 6px 10px;
	width: 100%;
}

.gcm-filter-submit {
	background: #1f2933;
	border: 0;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	min-height: 40px;
	padding: 8px 14px;
}

.gcm-session-list {
	margin-top: 18px;
}

.gcm-session-list h3 {
	font-size: 18px;
	margin: 0 0 12px;
}

.gcm-session-table {
	border-collapse: collapse;
	font-size: 14px;
	width: 100%;
}

.gcm-session-table th,
.gcm-session-table td {
	border-bottom: 1px solid #e7edf1;
	padding: 10px 8px;
	text-align: right;
	vertical-align: middle;
}

.gcm-session-table th {
	color: #52616b;
	font-size: 13px;
	font-weight: 700;
}

.gcm-badge {
	border-radius: 999px;
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 7px 10px;
	white-space: nowrap;
}

.gcm-status-active {
	background: #d1e7dd;
	color: #0f5132;
}

.gcm-status-ending {
	background: #fff3cd;
	color: #664d03;
}

.gcm-status-expired,
.gcm-status-invalid {
	background: #f8d7da;
	color: #842029;
}

.gcm-status-missing {
	background: #e2e3e5;
	color: #41464b;
}

.gcm-status-present {
	background: #d1e7dd;
	color: #0f5132;
}

.gcm-status-absent {
	background: #f8d7da;
	color: #842029;
}

.gcm-status-scheduled,
.gcm-status-cancelled {
	background: #e2e3e5;
	color: #41464b;
}

.gcm-registration-form {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 18px;
}

.gcm-registration-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.gcm-registration-form__field label {
	color: #36454f;
	font-size: 14px;
	font-weight: 700;
}

.gcm-registration-form__field input {
	background: #fff;
	border: 1px solid #c8d3da;
	border-radius: 6px;
	box-sizing: border-box;
	color: #1f2933;
	font: inherit;
	min-height: 44px;
	padding: 8px 10px;
	width: 100%;
}

.gcm-registration-form__field input:focus {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
	outline: 0;
}

.gcm-optional-label {
	color: #687780;
	font-size: 12px;
	font-weight: 400;
}

.gcm-registration-submit {
	background: #2271b1;
	border: 0;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	grid-column: 1 / -1;
	justify-self: start;
	min-height: 44px;
	padding: 9px 22px;
}

.gcm-registration-submit:hover,
.gcm-registration-submit:focus {
	background: #135e96;
}

.gcm-form-notice {
	border-radius: 6px;
	margin: 14px 0;
	padding: 11px 13px;
}

.gcm-form-notice--success {
	background: #d1e7dd;
	color: #0f5132;
}

.gcm-form-notice--error {
	background: #f8d7da;
	color: #842029;
}

.gcm-registration-form__honeypot {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

@media (max-width: 560px) {
	.gcm-class-filter {
		grid-template-columns: 1fr;
	}

	.gcm-registration-form {
		grid-template-columns: 1fr;
	}

	.gcm-session-table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
}
