.tanzih-month-filter {
	--tzmf-accent: #d19b43;
	--tzmf-accent-soft: #fbf3e5;
	--tzmf-border: #e3e3e8;
	--tzmf-text: #1f2430;
}

.tanzih-month-filter .tzmf-dropdown {
	position: relative;
}

.tanzih-month-filter .tzmf-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 10px 14px;
	font: inherit;
	font-size: 14px;
	color: var(--tzmf-text);
	background: #fff;
	border: 1px solid var(--tzmf-border);
	border-radius: 10px;
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
}

.tanzih-month-filter .tzmf-toggle:hover,
.tanzih-month-filter .tzmf-toggle:focus-visible,
.tanzih-month-filter.is-open .tzmf-toggle {
	border-color: var(--tzmf-accent);
	box-shadow: 0 0 0 3px rgba(209, 155, 67, .15);
	outline: none;
}

.tanzih-month-filter.has-value .tzmf-toggle {
	border-color: var(--tzmf-accent);
	background: var(--tzmf-accent-soft);
	font-weight: 600;
}

.tanzih-month-filter .tzmf-chevron {
	flex: none;
	margin-left: 8px;
	transition: transform .2s;
}

.tanzih-month-filter.is-open .tzmf-chevron {
	transform: rotate(180deg);
}

.tanzih-month-filter .tzmf-menu {
	position: absolute;
	z-index: 20;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	margin: 0;
	padding: 6px;
	max-height: 280px;
	overflow-y: auto;
	list-style: none;
	background: #fff;
	border: 1px solid var(--tzmf-border);
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(20, 24, 40, .14);
	animation: tzmf-in .16s ease-out;
}

.tanzih-month-filter .tzmf-menu[hidden] {
	display: none;
}

.tanzih-month-filter .tzmf-menu li {
	margin: 0;
	padding: 0;
}

.tanzih-month-filter .tzmf-all,
.tanzih-month-filter .tzmf-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	box-sizing: border-box;
	padding: 9px 10px;
	font: inherit;
	font-size: 14px;
	color: var(--tzmf-text);
	text-align: left;
	background: none;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: background .15s;
}

.tanzih-month-filter .tzmf-all:hover,
.tanzih-month-filter .tzmf-option:hover {
	background: var(--tzmf-accent-soft);
}

/* Radio disembunyikan tapi tetap bisa diakses keyboard dan dibaca oleh JS WTE. */
.tanzih-month-filter .tzmf-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.tanzih-month-filter .tzmf-option:has(input:checked) {
	background: var(--tzmf-accent);
	color: #fff;
	font-weight: 600;
}

.tanzih-month-filter .tzmf-option:has(input:focus-visible) {
	outline: 2px solid var(--tzmf-accent);
	outline-offset: -2px;
}

.tanzih-month-filter .tzmf-count {
	min-width: 22px;
	padding: 1px 7px;
	font-size: 12px;
	text-align: center;
	color: #7a7f8c;
	background: #f2f2f5;
	border-radius: 999px;
}

.tanzih-month-filter .tzmf-option:has(input:checked) .tzmf-count {
	color: var(--tzmf-accent);
	background: #fff;
}

@keyframes tzmf-in {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: translateY(0); }
}
