/* NSDF Participants public cards */
.nsdf-participants {
	--nsdf-gold: #174361;
	--nsdf-gold-dark: #0f2f47;
	--nsdf-text: #1a2a3a;
	--nsdf-muted: #6a7a8a;
	--nsdf-border: #e0d8ce;
	--nsdf-radius: 12px;
	font-family: 'Inter', system-ui, sans-serif;
	color: var(--nsdf-text);
	max-width: 1200px;
	margin: 0 auto;
}

.nsdf-participants-event-title {
	font-weight: 600;
	font-size: 1.1rem;
	margin: 0 0 16px;
	color: var(--nsdf-gold-dark);
	line-height: 1.4;
}

.nsdf-participants-toolbar {
	margin-bottom: 20px;
}

.nsdf-participants-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	padding: 16px;
	background: #f8f5f0;
	border: 1px solid var(--nsdf-border);
	border-radius: var(--nsdf-radius);
}

.nsdf-p-search {
	flex: 1 1 180px;
	min-width: 140px;
	height: 42px;
	padding: 0 14px;
	border: 1.5px solid var(--nsdf-border);
	border-radius: 8px;
	font-size: 14px;
	background: #fff;
}

.nsdf-p-select {
	height: 42px;
	padding: 0 12px;
	border: 1.5px solid var(--nsdf-border);
	border-radius: 8px;
	font-size: 14px;
	background: #fff;
	max-width: 220px;
}

.nsdf-p-event {
	max-width: 280px;
}

.nsdf-p-btn {
	height: 42px;
	padding: 0 18px;
	border: none;
	border-radius: 8px;
	background: var(--nsdf-gold);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}

.nsdf-p-btn:hover {
	background: var(--nsdf-gold-dark);
}

.nsdf-p-reset {
	font-size: 14px;
	color: var(--nsdf-gold);
	font-weight: 600;
	text-decoration: none;
	padding: 0 8px;
}

.nsdf-p-reset:hover {
	text-decoration: underline;
}

.nsdf-participants-count {
	font-size: 14px;
	color: var(--nsdf-muted);
	margin: 0 0 16px;
}

.nsdf-participants-empty {
	text-align: center;
	padding: 40px 16px;
	color: var(--nsdf-muted);
}

.nsdf-participants-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
}

.nsdf-card {
	background: #fff;
	border: 1px solid #f0ebe4;
	border-radius: var(--nsdf-radius);
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s, box-shadow 0.2s;
}

.nsdf-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	border-color: var(--nsdf-gold);
}

.nsdf-card-media {
	aspect-ratio: 1;
	background: #eef2f5;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.nsdf-card-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nsdf-card-avatar {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--nsdf-gold);
	color: #fff;
	font-size: 48px;
	font-weight: 700;
	font-family: 'Playfair Display', Georgia, serif;
}

.nsdf-card-body {
	padding: 14px 16px 16px;
	text-align: center;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nsdf-card-name {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.25;
	color: var(--nsdf-text);
}

.nsdf-card-company {
	margin: 0;
	font-size: 13px;
	color: var(--nsdf-muted);
	line-height: 1.35;
}

.nsdf-card-format {
	margin: 8px 0 0;
}

.nsdf-card-format span {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 20px;
	background: rgba(23, 67, 97, 0.1);
	color: var(--nsdf-gold);
}

.nsdf-participants-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 28px;
	padding-top: 16px;
	border-top: 1px solid var(--nsdf-border);
}

.nsdf-participants-pagination a {
	min-width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	border-radius: 6px;
	background: #f8f5f0;
	color: var(--nsdf-text);
	text-decoration: none;
	font-size: 14px;
}

.nsdf-participants-pagination a:hover,
.nsdf-participants-pagination a.is-active {
	background: var(--nsdf-gold);
	color: #fff;
}

@media (max-width: 600px) {
	.nsdf-participants-filters {
		flex-direction: column;
		align-items: stretch;
	}
	.nsdf-p-select,
	.nsdf-p-event {
		max-width: none;
		width: 100%;
	}
	.nsdf-participants-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 14px;
	}
}
