/* =========================================================
   Empty-state: shared base
   ========================================================= */

.vv-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--s-6, 24px);
	margin: 0 auto;
	max-width: var(--shell-narrow, 960px);
	padding: 72px var(--s-10, 40px);
	background: var(--vv-black, #0e0e0e);
	border: 1px solid rgba(82, 184, 74, 0.18);
	border-radius: var(--r-md, 10px);
	box-shadow: 0 0 0 1px transparent, 0 8px 40px rgba(14, 14, 14, 0.6);
	position: relative;
	overflow: hidden;
}

/* Subtle radial glow behind the icon */
.vv-empty-state::before {
	content: '';
	position: absolute;
	top: -60px;
	left: 50%;
	transform: translateX(-50%);
	width: 320px;
	height: 320px;
	background: radial-gradient(
		circle,
		rgba(82, 184, 74, 0.10) 0%,
		transparent 70%
	);
	pointer-events: none;
}

/* =========================================================
   Icon
   ========================================================= */

.vv-empty-state__icon {
	position: relative;
	z-index: 1;
	width: 72px;
	height: 72px;
	color: var(--vv-green-500, #52b84a);
	flex-shrink: 0;
}

.vv-empty-state__icon svg {
	width: 100%;
	height: 100%;
}

/* =========================================================
   Heading
   ========================================================= */

.vv-empty-state__heading {
	position: relative;
	z-index: 1;
	font-family: 'Inter Tight', system-ui, sans-serif;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 700;
	line-height: 1.1;
	color: var(--vv-white, #fff);
	margin: 0;
}

/* =========================================================
   Body text
   ========================================================= */

.vv-empty-state__body {
	position: relative;
	z-index: 1;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--vv-grey-600, #595959);
	max-width: 46ch;
	margin: 0;
}

/* =========================================================
   CTAs
   ========================================================= */

.vv-empty-state__cta {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 13px 28px;
	background: var(--vv-green-700, #2f7a2c);
	color: var(--vv-white, #fff);
	font-family: 'Inter Tight', system-ui, sans-serif;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	border: 1.5px solid transparent;
	border-radius: var(--r-md, 10px);
	transition: background 0.18s ease, box-shadow 0.18s ease;
}

.vv-empty-state__cta:hover,
.vv-empty-state__cta:focus-visible {
	background: var(--vv-green-600, #3f9a3a);
	box-shadow: var(--focus-ring, 0 0 0 3px rgba(82, 184, 74, 0.35));
	color: var(--vv-white, #fff);
	text-decoration: none;
}

/* Ghost variant (secondary CTA) */
.vv-empty-state__cta--ghost {
	background: transparent;
	border-color: rgba(82, 184, 74, 0.35);
	color: var(--vv-green-500, #52b84a);
}

.vv-empty-state__cta--ghost:hover,
.vv-empty-state__cta--ghost:focus-visible {
	background: rgba(82, 184, 74, 0.08);
	border-color: var(--vv-green-500, #52b84a);
	color: var(--vv-green-500, #52b84a);
	box-shadow: none;
}

/* =========================================================
   Search form wrapper (search no-results only)
   ========================================================= */

.vv-empty-state__search-wrap {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 480px;
}

.vv-empty-state__search-wrap .search-form {
	display: flex;
	gap: 0;
}

.vv-empty-state__search-wrap .search-field {
	flex: 1;
	padding: 13px 16px;
	background: rgba(255, 255, 255, 0.06);
	border: 1.5px solid rgba(82, 184, 74, 0.25);
	border-right: none;
	border-radius: var(--r-md, 10px) 0 0 var(--r-md, 10px);
	color: var(--vv-white, #fff);
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 0.9375rem;
	outline: none;
	transition: border-color 0.18s;
}

.vv-empty-state__search-wrap .search-field::placeholder {
	color: var(--vv-grey-600, #595959);
}

.vv-empty-state__search-wrap .search-field:focus {
	border-color: var(--vv-green-500, #52b84a);
}

.vv-empty-state__search-wrap .search-submit {
	padding: 13px 20px;
	background: var(--vv-green-700, #2f7a2c);
	border: 1.5px solid transparent;
	border-radius: 0 var(--r-md, 10px) var(--r-md, 10px) 0;
	color: var(--vv-white, #fff);
	font-family: 'Inter Tight', system-ui, sans-serif;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.18s;
}

.vv-empty-state__search-wrap .search-submit:hover {
	background: var(--vv-green-600, #3f9a3a);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 600px) {
	.vv-empty-state {
		padding: 48px var(--s-4, 16px);
	}

	.vv-empty-state__search-wrap .search-form {
		flex-direction: column;
		gap: 8px;
	}

	.vv-empty-state__search-wrap .search-field,
	.vv-empty-state__search-wrap .search-submit {
		border-radius: var(--r-md, 10px);
		border-right: 1.5px solid rgba(82, 184, 74, 0.25);
		width: 100%;
	}

	.vv-empty-state__search-wrap .search-submit {
		border: 1.5px solid transparent;
	}
}
