.dark .choices {
	color: #f9fafb; /* gray-50 */
}

/* Input/control */
.dark .choices__inner {
	background-color: #111827; /* gray-900 */
	border: 1px solid #374151; /* gray-700 */
	border-radius: .375rem; /* rounded-md */
	min-height: 2.5rem; /* h-10 */
	padding: .375rem .75rem;
	box-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* Texto dentro */
.dark .choices__input {
	background-color: transparent;
	color: #f9fafb; /* gray-50 */
}

.dark .choices__input::placeholder {
	color: #9ca3af; /* gray-400 */
}

/* Focus ring tipo Tailwind */
.dark .is-focused .choices__inner,
.dark .is-open .choices__inner {
	border-color: #60a5fa; /* blue-400 */
	box-shadow: 0 0 0 3px rgba(59,130,246,.35); /* ring-blue-500/35 */
}

/* Dropdown */
.dark .choices__list--dropdown,
.dark .choices__list[aria-expanded] {
	background-color: #111827; /* gray-900 */
	border: 1px solid #374151; /* gray-700 */
	border-radius: .375rem;
	box-shadow: 0 10px 15px rgba(0,0,0,.35), 0 4px 6px rgba(0,0,0,.25);
}

/* Items del dropdown */
.dark .choices__list--dropdown .choices__item--selectable,
.dark .choices__list[aria-expanded] .choices__item--selectable {
	color: #e5e7eb; /* gray-200 */
}

/* Hover / highlighted */
.dark .choices__list--dropdown .choices__item--selectable.is-highlighted,
.dark .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
	background-color: rgba(59,130,246,.25); /* blue-500/25 */
	color: #ffffff;
}

/* Item seleccionado (single) */
.dark .choices__item--selectable {
	color: #f9fafb;
}

/* Multi select “chips” */
.dark .choices__list--multiple .choices__item {
	background-color: rgba(99,102,241,.20); /* indigo-500/20 */
	border: 1px solid rgba(99,102,241,.45);
	color: #e0e7ff; /* indigo-100 */
	border-radius: .375rem;
	padding: .15rem .5rem;
}

/* Botoncito de remover en chips */
.dark .choices__list--multiple .choices__item .choices__button {
	filter: brightness(1.2);
	opacity: .9;
}

/* Separador / “no results” */
.dark .choices__item--disabled,
.dark .choices__heading,
.dark .choices__notice {
	color: #9ca3af; /* gray-400 */
}

/* Flechita del select */
.dark .choices[data-type*="select-one"]::after {
	border-color: #9ca3af transparent transparent transparent; /* gray-400 */
}

/* Cuando está abierto, invierte flechita */
.dark .choices[data-type*="select-one"].is-open::after {
	border-color: transparent transparent #9ca3af transparent;
}

/* Opcional: scrollbars más prolijas en dropdown (WebKit) */
.dark .choices__list--dropdown::-webkit-scrollbar {
	width: 10px;
}
.dark .choices__list--dropdown::-webkit-scrollbar-thumb {
	background: #374151; /* gray-700 */
	border-radius: 9999px;
}
.dark .choices__list--dropdown::-webkit-scrollbar-track {
	background: #111827; /* gray-900 */
}
/* ===== Search input dentro del dropdown (lo que te falta) ===== */
.dark .choices__list--dropdown .choices__input,
.dark .choices__list[aria-expanded] .choices__input {
	background-color: #0b1220; /* un pelín más oscuro que gray-900 */
	color: #f9fafb;           /* gray-50 */
	border: 1px solid #374151;/* gray-700 */
	border-radius: .375rem;
	padding: .5rem .75rem;
	margin: .5rem;            /* separa del borde del dropdown */
}

/* Placeholder del search */
.dark .choices__list--dropdown .choices__input::placeholder,
.dark .choices__list[aria-expanded] .choices__input::placeholder {
	color: #9ca3af; /* gray-400 */
}

/* Si tu versión clona el input, cubrimos ese caso también */
.dark .choices__list--dropdown .choices__input--cloned,
.dark .choices__list[aria-expanded] .choices__input--cloned {
	background-color: #0b1220;
	color: #f9fafb;
}

/* Opcional: el “Press to select” (hint) para que no parezca deshabilitado */
.dark .choices__list--dropdown .choices__item--selectable .choices__item__select-text {
	color: #9ca3af; /* gray-400 */
}

.custom-scrollbar::-webkit-scrollbar {
	width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
	margin: 4px 0;
	border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.3);
}
#jslock {
	background: rgba(255, 255, 255, 0.35);
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9999999999;
}
#jslock > div {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 50px;
	transform: translate(-50%, -50%);
}
#jslock .loader {
	display: block;
	width: 50px;
	aspect-ratio: 1;
	border-radius: 50%;
	padding: 6px;
	background:
			conic-gradient(from 135deg at top,currentColor 90deg, #0000 0) 0 calc(50% - 4px)/17px 8.5px,
			radial-gradient(farthest-side at bottom left,#0000 calc(100% - 6px),currentColor calc(100% - 5px) 99%,#0000) top right/50%  50% content-box content-box,
			radial-gradient(farthest-side at top        ,#0000 calc(100% - 6px),currentColor calc(100% - 5px) 99%,#0000) bottom   /100% 50% content-box content-box;
	background-repeat: no-repeat;
	animation: l11 1s infinite linear;
}
@keyframes l11{
	100%{transform: rotate(1turn)}
}
body {
	min-height: max(884px, 100dvh);
}
@media (min-width: 768px) {
	nav:hover {
		width: 18rem;
	}
	nav:hover .logo-text,
	nav:hover .menu-text,
	nav:hover .user-text {
		opacity: 1;
		transition-delay: 75ms;
	}
	nav:hover .toggle-icon {
		transform: rotate(180deg);
	}
}#sidebar-toggle:checked ~ nav {
	 width: 18rem;
 }
#sidebar-toggle:checked ~ nav .logo-text,
#sidebar-toggle:checked ~ nav .menu-text,
#sidebar-toggle:checked ~ nav .user-text {
	opacity: 1;
	transition-delay: 75ms;
}
#sidebar-toggle:checked ~ .main-overlay {
	display: block;
}
#sidebar-toggle:checked ~ nav .toggle-icon {
	transform: rotate(180deg);
}.profile-menu {
	 opacity: 0;
	 visibility: hidden;
	 transform: translateY(10px) scale(0.95);
	 transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	 transform-origin: bottom left;
 }
.group:hover .profile-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}
.sidebar-toggle-tab {
	position: absolute;
	top: 28px;
	right: -12px;
	background-color: #1c2a35;
	border: 1px solid rgba(51, 65, 85, 0.3);
	border-left: none;
	border-radius: 0 50% 50% 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 60;
	box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}
.sidebar-toggle-tab:hover {
	background-color: #253440;
}
body {
	min-height: max(884px, 100dvh);
}

@media (min-width: 768px) {
	nav:hover {
		width: 18rem;
	}
	nav:hover .logo-text,
	nav:hover .menu-text,
	nav:hover .user-text {
		opacity: 1;
		transition-delay: 75ms;
	}
	nav:hover .toggle-icon {
		transform: rotate(180deg);
	}
}#sidebar-toggle:checked ~ nav {
	 width: 18rem;
 }
#sidebar-toggle:checked ~ nav .logo-text,
#sidebar-toggle:checked ~ nav .menu-text,
#sidebar-toggle:checked ~ nav .user-text {
	opacity: 1;
	transition-delay: 75ms;
}
#sidebar-toggle:checked ~ .main-overlay {
	display: block;
}
#sidebar-toggle:checked ~ nav .toggle-icon {
	transform: rotate(180deg);
}.profile-menu {
	 opacity: 0;
	 visibility: hidden;
	 transform: translateY(10px) scale(0.95);
	 transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	 transform-origin: bottom left;
 }
.group:hover .profile-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}
.sidebar-toggle-tab {
	position: absolute;
	top: 28px;
	right: -12px;
	background-color: #1c2a35;
	border: 1px solid rgba(51, 65, 85, 0.3);
	border-left: none;
	border-radius: 0 50% 50% 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 60;
	box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}
.sidebar-toggle-tab:hover {
	background-color: #253440;
}
.custom-scrollbar::-webkit-scrollbar {
	width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
	margin: 4px 0;
	border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.3);
}