/* File path: /plugins/afed-events/assets/css/portal.css */

/* Mobile-first, matching the conventions established in the Membership and
   Payments plugins' own portal.css (flex-wrap everywhere, cards stack
   cleanly on narrow screens, tap targets stay comfortably large). */

.afed-event-card {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 16px;
}

.afed-event-card h2 {
	margin-top: 0;
	margin-bottom: 4px;
}

.afed-event-card .afed-btn {
	margin-top: 8px;
	margin-right: 8px;
	display: inline-block;
}

.afed-access-code {
	display: inline-block;
	background: var(--afed-primary, #1d4ed8);
	color: #fff;
	padding: 4px 10px;
	border-radius: 4px;
	font-family: monospace;
	font-size: 1.05em;
	letter-spacing: 0.04em;
}

.afed-portal-notice-pending {
	background: #fff3cd;
	color: #664d03;
	border: 1px solid #ffe69c;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 16px;
}

.afed-portal-table-nested {
	margin-top: 8px;
	width: 100%;
}

details > summary {
	cursor: pointer;
	color: var(--afed-primary, #1d4ed8);
	font-size: 0.9em;
}

@media (max-width: 600px) {
	.afed-event-card .afed-btn {
		display: block;
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}
}
