/* =========================================
   OPTION PICKER
   ========================================= */
.css-option-picker {
	position: relative;
	width: 100%;
}

/* ESTADOS DE BLOQUEO */
.css-option-picker.is-disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.css-option-picker.is-disabled * {
	pointer-events: none !important;
}

.css-option-picker.is-readonly .css-option-picker-display {
	background-color: #eee !important;
	cursor: default;
}

/* DISPLAY CON BADGES */
.css-option-picker .css-option-picker-display {
	cursor: pointer;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
    height: auto;
	min-height: 34px;
	padding: 2px 35px 2px 5px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	align-items: center;
	position: relative;
    overflow: scroll;
}

.css-option-picker .css-option-picker-toggle {
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	border: none;
	background: transparent;
	padding: 0 10px;
	cursor: pointer;
}

.css-option-picker-badge {
	background-color: #337ab7;
	color: white;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: bold;
}

.css-option-picker-placeholder {
	color: #999;
	padding-left: 5px;
}

/* MENÚ Y BUSCADOR */
.css-option-picker .css-option-picker-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 9999;
	width: 100%;
	margin-top: 2px;
	background: #fff;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
	border: 1px solid #ddd;
}

.css-option-picker-search {
	width: 100%;
	border: none;
	padding: 10px;
	outline: none;
	border-bottom: 1px solid #eee;
}

/* SELECCIONAR TODO */
.css-option-picker-all-container {
	padding: 8px 15px;
	border-bottom: 1px solid #eee;
	background: #f9f9f9;
	font-size: 13px;
	font-weight: bold;
	cursor: pointer;
}

.css-option-picker-list {
	max-height: 220px;
	overflow-y: auto;
	padding: 5px;
}

.css-option-picker-item {
	padding: 8px 12px;
	cursor: pointer;
	border-radius: 4px;
	transition: 0.2s;
}

.css-option-picker-item:hover {
	background-color: #f5f5f5;
}

.css-option-picker-item.selected {
	background-color: #e9f2f9;
	color: #337ab7;
	font-weight: bold;
}