.cms-select-hidden {
	position: absolute;
	visibility: hidden;
	display: none;
}

.cms-container {
	position: relative;
	width: 75%;
}

.cms-button {
	padding: 0px 4px 0px 8px;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 2px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Novo estilo para o texto selecionado */
.cms-selected-text {
	flex: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-right: 8px;
}

/* Estilo para o ícone de seta */
.cms-arrow-icon {
	width: 12px;
	height: 12px;
	position: relative;
	transition: transform 0.2s ease;
}

.cms-arrow-icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #666;
}

.cms-active .cms-arrow-icon {
	transform: rotate(180deg);
}

.cms-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-top: 4px;
	max-height: 200px;
	overflow-y: auto;
	display: none;
	z-index: 999999999999 !important;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cms-option-item.cms-focused {
	background: #f0f0f0;
	outline: none;
}

.cms-dropdown.cms-active {
	display: block;
}

.cms-search-box {
	padding: 4px;
	border-bottom: 1px solid #eee;
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 999999999999 !important
}

.cms-search-input {
	width: 100%;
	padding: 4px;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-sizing: border-box;
}

.cms-option-list {
	list-style: none;
	margin: 0px 2px;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.cms-option-item {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 6px;
	height: 20px !important;
	margin: 2px !important;
}

.cms-option-item:hover {
	background: #f5f5f5;
}

.cms-option-item.cms-selected {
	background: #e3f2fd;
}

.cms-checkbox {
	width: 10px;
	height: 10px;
	border: 1.5px solid #4F81BD;
	border-radius: 3px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 5px !important;
}

.cms-checkbox.cms-checked {
	background: #424291;
	border-color: #2196f3;
}

.cms-checkbox.cms-checked::after {
	content: '\2713';
	color: white;
	font-size: 10px;
	font-weight: bold;
}

.cms-dropdown::-webkit-scrollbar-thumb:hover {
	background: #666;
}

.cms-dropdown::-webkit-scrollbar {
	width: 8px;
}

.cms-dropdown::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.cms-dropdown::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 4px;
}

/* Estilo para o campo desabilitado */
.cms-disabled {
	opacity: 0.6;
	pointer-events: none;
}