.ct-option-select {
	display: flex;
	position: relative;
	width: 210px;
}

// Select input
.ct-select-input {
	position: relative;
	width: 100%;

	input {
		display: flex;
		align-items: center;
		cursor: pointer;
		font-size: 13px;
		color: #555d66;
		width: inherit;
		height: var(--height, 30px);
		margin: 0;
		padding: var(--padding, 0 20px 0 8px);
		border: 1px solid #ddd;
		border-radius: 3px;
		user-select: none;
		text-overflow: ellipsis;
		transition: box-shadow 0.1s linear,
					border-color 0.1s linear;

		&:focus {
			outline: none;
			border-color: var(--accentColor);
			box-shadow: 0 0 0 1px #007cba;
		}

		&::-moz-placeholder {
			line-height: 26px;
		}

		&[readonly] {
			background-color: #fff;
		}

		&:hover {
			border-color: #5b9dd9;
		}
	}

	&[aria-expanded="true"] {
		input {
			border-color: #5b9dd9;
		}

		&:after {
			transform: rotate(90deg);
		}
	}

	&:after {
		position: absolute;
		content: '';
		pointer-events: none;
	}

	&:after {
		font: 400 10px/10px dashicons;
		content: "\f341";
		width: 10px;
		height: 10px;
		top: calc(50% - 5px);
		right: 8px;
		transform: rotate(-90deg);
	}
}

// Select dropdown
.ct-select-dropdown {
	position: absolute;
	z-index: 10;
	width: 100%;
	max-height: 228px;
	top: 100%;
	margin-top: 7px;
	margin-bottom: 20px;
	overflow-y: scroll;
	font-size: 12px;
	line-height: 1.5;
	color: #555d66;
	background: #fff;
	border-radius: 3px;
	box-sizing: border-box;
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.08), 
				0px 0px 1px 1px rgba(0,0,0,0.02);

	.ct-select-no-results,
	.ct-select-dropdown-item,
	.ct-select-dropdown-group {
		display: flex;
		align-items: center;
		text-align: left;
		min-height: 38px;
		margin: -1px 0 0 0;
		user-select: none;
		padding: 5px 8px !important;
		border-top: 1px dashed #eee;
		box-sizing: border-box;
	}

	.ct-select-dropdown-item {
		cursor: pointer;
		position: relative;
		overflow: hidden;

		&.active {
			color: #272727;
			background: rgba(0, 0, 0, 0.02);
		}

		&.selected {
			color: #0073aa;
			font-weight: 500;

			&:after {
				position: absolute;
				content: '\f147';
				font-family: dashicons;
				font-size: 13px;
				top: 10px;
				right: 6px;
			}
		}
	}

	.ct-select-dropdown-group {
		font-size: 12px;
		font-weight: 600;
		background: #f7f7f7;

		~ .ct-select-dropdown-item {
			padding-left: 20px !important;
		}
	}

	.ct-select-no-results {
		border-bottom: none;
	}
}