.hs-sample-center {
	--hs-bg: #f6f7f8;
	--hs-panel: #ffffff;
	--hs-text: #171b22;
	--hs-muted: #667085;
	--hs-line: #e3e7ee;
	--hs-accent: #2F9F90;
	--hs-accent-dark: #258679;
	--hs-warm: #f4b942;
	max-width: 1180px;
	margin: 32px auto;
	padding: 0 16px;
	color: var(--hs-text);
	font-family: inherit;
}

.hs-sample-toolbar {
	background: var(--hs-panel);
	border: 1px solid var(--hs-line);
	border-radius: 8px;
	padding: 16px;
	box-shadow: 0 12px 32px rgba(17, 24, 39, .06);
}

.hs-filter-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(130px, 1fr)) minmax(180px, 1.4fr);
	gap: 10px;
}

.hs-filter-grid select,
.hs-filter-grid input {
	width: 100%;
	min-height: 46px;
	border: 1px solid var(--hs-line);
	border-radius: 8px;
	background: #fbfcfd;
	color: var(--hs-text);
	padding: 0 12px;
	font-size: 14px;
	outline: none;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.hs-filter-grid select:focus,
.hs-filter-grid input:focus {
	background: #fff;
	border-color: var(--hs-accent);
	box-shadow: 0 0 0 3px rgba(17, 135, 111, .14);
}

.hs-results-count {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	margin: 18px 0 12px;
	padding: 0 12px;
	background: #eef8f5;
	border: 1px solid #cbe7df;
	border-radius: 8px;
	color: var(--hs-accent-dark);
	font-size: 13px;
	font-weight: 700;
}

.hs-loader {
	display: none;
	padding: 24px 0;
	text-align: center;
}

.hs-sample-center.is-loading .hs-loader {
	display: block;
}

.hs-sample-center.is-loading .hs-sample-list {
	opacity: .45;
	pointer-events: none;
}

.hs-loader span {
	display: inline-block;
	width: 34px;
	height: 34px;
	border: 3px solid #dbe2ea;
	border-top-color: var(--hs-accent);
	border-radius: 50%;
	animation: hsSampleSpin .75s linear infinite;
}

.hs-sample-list {
	display: grid;
	gap: 12px;
	transition: opacity .18s ease;
}

.hs-sample-card {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	direction: ltr;
	background: var(--hs-panel);
	border: 1px solid var(--hs-line);
	border-radius: 8px;
	padding: 14px;
	box-shadow: 0 8px 22px rgba(17, 24, 39, .045);
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hs-sample-card:hover {
	transform: translateY(-1px);
	border-color: #bdd9d2;
	box-shadow: 0 14px 30px rgba(17, 24, 39, .075);
}

.hs-play-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	background: var(--hs-accent);
	color: #fff;
	cursor: pointer;
	font-size: 17px;
	line-height: 1;
	box-shadow: 0 10px 20px rgba(17, 135, 111, .22);
	transition: background .18s ease, transform .18s ease;
}

.hs-play-btn:hover,
.hs-play-btn.is-playing {
	background: var(--hs-accent-dark);
	transform: scale(1.04);
}

.hs-card-main {
	min-width: 0;
	text-align: left;
}

.hs-card-title {
	margin: 0 0 9px;
	color: var(--hs-text);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.hs-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-start;
}

.hs-tag {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 10px;
	background: #f5f7fa;
	border: 1px solid #e7ebf0;
	border-radius: 999px;
	color: #485161;
	font-size: 12px;
	font-weight: 650;
	font-family: inherit;
}

.hs-filter-tag {
	cursor: pointer;
	transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.hs-filter-tag:hover,
.hs-filter-tag:focus {
	background: var(--hs-accent);
	border-color: var(--hs-accent);
	color: #fff;
	outline: none;
}

.hs-tag-muted {
	background: #fff8e4;
	border-color: #f1dda6;
	color: #805d06;
}

.hs-progress {
	height: 16px;
	margin-top: 12px;
	background: #e7ebef;
	border-radius: 999px;
	overflow: hidden;
	position: relative;
}

.hs-progress-bar {
	display: block;
	width: 0;
	height: 100%;
	background: var(--hs-accent);
	border-radius: inherit;
	overflow: hidden;
	position: relative;
	transition: width .12s linear;
}

.hs-progress-bar:after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(12px 8px at 12px 50%, rgba(255, 255, 255, .72) 0 35%, transparent 38%),
		radial-gradient(12px 8px at 36px 50%, rgba(255, 255, 255, .34) 0 35%, transparent 38%);
	background-size: 48px 16px;
	animation: hsSampleWave 1.1s linear infinite;
	opacity: .9;
}

.hs-card-action {
	display: flex;
	align-items: center;
	gap: 10px;
	direction: rtl;
}

.hs-download-btn,
.hs-login-btn,
.hs-login-shortcode a,
.hs-login-shortcode button,
.hs-login-shortcode input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 112px;
	min-height: 42px;
	border: 0;
	border-radius: 8px;
	padding: 0 16px;
	background: var(--hs-accent);
	color: #fff !important;
	text-decoration: none;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
	transition: background .18s ease, transform .18s ease, opacity .18s ease;
}

.hs-download-btn:hover,
.hs-login-btn:hover,
.hs-login-shortcode a:hover,
.hs-login-shortcode button:hover,
.hs-login-shortcode input[type="submit"]:hover {
	background: var(--hs-accent-dark);
	transform: translateY(-1px);
}

.hs-login-shortcode {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.hs-download-btn.is-busy {
	opacity: .65;
	cursor: wait;
}

.hs-lock-label {
	color: var(--hs-muted);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.hs-empty-state {
	background: var(--hs-panel);
	border: 1px dashed #cdd5df;
	border-radius: 8px;
	padding: 32px 16px;
	text-align: center;
	color: var(--hs-muted);
	font-weight: 700;
}

.hs-pagination {
	margin-top: 18px;
	text-align: center;
}

.hs-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	margin: 0 3px;
	border: 1px solid var(--hs-line);
	border-radius: 8px;
	background: #fff;
	color: var(--hs-text);
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
}

.hs-pagination .current {
	background: var(--hs-accent);
	border-color: var(--hs-accent);
	color: #fff;
}

@keyframes hsSampleSpin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes hsSampleWave {
	to {
		background-position: 48px 0;
	}
}

@media (max-width: 920px) {
	.hs-filter-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hs-filter-grid input {
		grid-column: 1 / -1;
	}
}

@media (max-width: 680px) {
	.hs-sample-center {
		margin: 20px auto;
		padding: 0 12px;
	}

	.hs-filter-grid,
	.hs-sample-card {
		grid-template-columns: 1fr;
	}

	.hs-sample-card {
		gap: 12px;
	}

	.hs-card-action {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}

	.hs-download-btn,
	.hs-login-btn,
	.hs-login-shortcode,
	.hs-login-shortcode a,
	.hs-login-shortcode button,
	.hs-login-shortcode input[type="submit"] {
		width: 100%;
	}

	.hs-lock-label {
		text-align: center;
	}
}
