/* GenD Society - styles for the nice-select dropdowns Youzify's scripts still build
   (every select inside .youzify, and plugins that call niceSelect()). Youzify's own
   stylesheet carried these; it no longer loads. Colours and fonts are the site's
   Global Styles tokens, so the dropdowns follow the brand. */
.nice-select {
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	min-height: 40px;
	padding: 0 38px 0 16px;
	font-family: inherit;
	font-size: .92rem;
	line-height: 38px;
	text-align: left !important;
	color: var(--wp--preset--color--contrast, #fff);
	background: color-mix(in srgb, var(--wp--preset--color--contrast, #fff) 5%, transparent);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast, #fff) 14%, transparent);
	border-radius: 10px;
	cursor: pointer;
	outline: 0;
	user-select: none;
	vertical-align: middle;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
	transition: border-color .2s, background-color .2s;
}
.nice-select:hover,
.nice-select:focus,
.nice-select.open {
	border-color: color-mix(in srgb, var(--wp--preset--color--brand-secondary, #6ec1e4) 60%, transparent);
}
.nice-select:focus-visible {
	outline: 2px solid var(--wp--preset--color--brand-secondary, #6ec1e4);
	outline-offset: 2px;
}
.nice-select::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 16px;
	width: 6px;
	height: 6px;
	margin-top: -5px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	opacity: .7;
	pointer-events: none;
	transform: rotate(45deg);
	transition: transform .15s ease-in-out;
}
.nice-select.open::after {
	margin-top: -2px;
	transform: rotate(-135deg);
}
.nice-select .current {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 500;
}
.nice-select .list {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 50;
	box-sizing: border-box;
	min-width: 100%;
	max-height: 320px;
	margin: 6px 0 0;
	padding: 6px;
	overflow: auto;
	list-style: none;
	background: var(--wp--preset--color--base, #0b0e14);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast, #fff) 14%, transparent);
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-6px) scale(.98);
	transform-origin: 50% 0;
	transition: opacity .15s ease-out, transform .15s ease-out;
}
.nice-select.open .list {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}
.nice-select .option {
	display: block;
	min-height: 36px;
	padding: 0 14px;
	line-height: 36px;
	font-weight: 400;
	color: var(--wp--preset--color--accent-1, #dfe6ee);
	border-radius: 8px;
	cursor: pointer;
	list-style: none;
	outline: 0;
	white-space: nowrap;
	transition: background-color .15s;
}
.nice-select .option:hover,
.nice-select .option.focus {
	background: color-mix(in srgb, var(--wp--preset--color--contrast, #fff) 8%, transparent);
	color: var(--wp--preset--color--contrast, #fff);
}
.nice-select .option.selected {
	font-weight: 600;
	color: var(--wp--preset--color--contrast, #fff);
	background: color-mix(in srgb, var(--wp--preset--color--brand-primary, #b608c9) 22%, transparent);
}
.nice-select .option.disabled {
	color: var(--wp--preset--color--accent-4, #8b949e);
	background: transparent;
	cursor: default;
}
.nice-select.disabled {
	opacity: .5;
	pointer-events: none;
}
.nice-select.wide {
	width: 100%;
}
.nice-select.right {
	float: right;
}
.nice-select.right .list {
	left: auto;
	right: 0;
}
.nice-select.small {
	min-height: 32px;
	line-height: 30px;
	font-size: .8rem;
}
.rtl .nice-select {
	padding: 0 16px 0 38px;
	text-align: right !important;
}
.rtl .nice-select::after {
	right: auto;
	left: 16px;
}
.no-csspointerevents .nice-select .list {
	display: none;
}
.no-csspointerevents .nice-select.open .list {
	display: block;
}
