.custom-select
{
    position:relative;
    float:left;
    min-width:150px;
	height:40px;
	min-height:40px;
	max-height:40px;
	color:#333333;
    font-size:13px;
	line-height:40px;
    cursor:pointer;
    user-select:none;
	box-sizing:border-box;
}

.custom-select .display
{
	position:relative;
	height:40px;
	line-height:38px;
    padding:0 30px 0 15px;
    background-color:#ffffff;
    border:1px solid #e4e5e6;
	box-sizing:border-box;
}

.custom-select .display:hover{background-color:#e4e5e6;}

.custom-select .display:after
{
    content: "";
    position:absolute;
	width:10px;
    height:10px;
    border-right:2.5px solid #333333;
    border-top:2.5px solid #333333;
	top:50%;
    right:10px;
    transform:translateY(-50%) rotate(45deg);
    transition:transform .25s ease;
}

.custom-select.open .display:after{transform: translateY(-50%) rotate(135deg);}

.custom-select .dropdown
{
	position:absolute;
	visibility:hidden;
	display:flex;
    flex-direction:column;
    max-height:250px;
	background:#ffffff;
	border:1px solid #e4e5e6;
    left:0;
    opacity:0;
    z-index:999;
	overflow:hidden;
	top:calc(100% + 7.5px);
	transform:translateY(-7.5px);
    transition:opacity .18s ease, transform .18s ease;
}

.custom-select.open .dropdown
{
    visibility:visible;
	opacity:1;
    transform:translateY(0);
}

.custom-select.open
{
	z-index:1001;
}

.custom-select .searchbox
{
    padding:10px 0 10px 6px;
    background-color:#e4e5e6;
}

.custom-select .searchbox input
{
    width:100%;
    height:30px;
	font-size:12px;
    padding:0 10px;
}

.custom-select .searchbox input:hover{background-color:#f5f5f5;}

.custom-select .items
{
    flex:1 1 auto;
	margin:0;
    padding:0;
    overflow-y:auto;
}

.custom-select .items li
{
	height:30px;
	font-size:12px;
	line-height:30px;
	padding:0 15px;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
	box-sizing:border-box;
	border-bottom:1px dashed #bbbbbb;
	transition:.12s;
}

.custom-select .items li:last-child{border-bottom:none;}
.custom-select .items li:hover{background-color:#e4e5e6;}
.custom-select .items li.is-selected,
.custom-select .items li[aria-selected="true"]{background-color:#f2f2f2;}
.custom-select .items li.is-selected:hover,
.custom-select .items li[aria-selected="true"]:hover{background-color:#f2f2f2;}

.custom-select .dropdown,
.custom-select .items
{
    max-width:none;
    overflow-x:hidden;
}

.custom-select.thin-select
{
	min-width:50px;
	height:25px;
	font-size:11px;
	line-height:25px;
}

.custom-select.thin-select .display{
	height:25px;
	line-height:23px;
	padding:0 25px 0 15px;
	box-sizing:border-box;
}

.custom-select.thin-select .items li
{
	height:25px;
	font-size:10px;
	line-height:25px;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
	box-sizing:border-box;
}

.custom-select.thin-select .display::after
{
	width:7.5px;
	height:7.5px;
}

.custom-select .dropdown.has-preview
{
	/* Preview absolute sağda; overflow clip etmesin (kayma fix korunur) */
	overflow:visible;
	max-height:none;
}

.custom-select .dropdown.has-preview .items
{
	min-width:150px;
	max-height:250px;
	overflow:hidden auto;
}

.custom-select .select-preview
{
	display:none;
	position:absolute;
	left:calc(100% + 8px);
	top:0;
	width:240px;
	padding:14px;
	border:1px solid #e4e5e6;
	background:#f7f7f7;
	box-sizing:border-box;
	line-height:1.35;
	cursor:default;
	z-index:1000;
	box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.custom-select .dropdown.has-preview .select-preview:not([hidden])
{
	display:block;
}

.custom-select .select-preview img
{
	display:block;
	width:100%;
	height:auto;
	aspect-ratio:16 / 10;
	object-fit:cover;
	border:1px solid #d8d8d8;
	background:#fff;
	margin:0 0 10px;
}

.custom-select .select-preview img[hidden]
{
	display:none;
}

.custom-select .select-preview strong
{
	display:block;
	margin:0 0 4px;
	color:#333;
	font-size:12px;
	line-height:1.3;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
}

.custom-select .select-preview span
{
	display:-webkit-box;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:3;
	line-clamp:3;
	color:#777;
	font-size:11px;
	line-height:1.35;
	overflow:hidden;
	white-space:normal;
	overflow-wrap:anywhere;
	word-break:normal;
}
