@charset "utf-8";

.nice-select {
  -webkit-tap-highlight-color: transparent;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  height: 42px;
  position: relative;
  box-sizing: border-box;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
}
.nice-select .current{
	padding-right: 11px;
	color: var(--light-font) !important;
	font-weight: 400px;
	-webkit-text-fill-color: var(--light-font) !important; /* iOS 파란색 제거 핵심 */
 	min-width: 130px;
 	text-align: left;
 	width: 100%;
}

.nice-select, .nice-select * {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: var(--light-font) !important;
  font-weight: 400px;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
}


/* .nice-select:hover {
  border-color: #dbdbdb; }
.nice-select:active, .nice-select.open, .nice-select:focus {
  border-color: #999; } */
.nice-select:after {
  border-bottom: 2px solid #525252;
  border-right: 2px solid #525252;
  content: '';
  display: block;
  width: 5px;  height: 5px;
  margin-top: -4px;
  pointer-events: none;
  position: absolute;
  right: 11px;
  top: 50%;
  -webkit-transform-origin: 66% 66%;
  -ms-transform-origin: 66% 66%;
  transform-origin: 66% 66%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}
.nice-select.open:after {
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg); 
}

.nice-select.open .list {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: scale(1) translateY(0);
  -ms-transform: scale(1) translateY(0);
  transform: scale(1) translateY(0);
  text-align: left;
}
.nice-select.disabled {
  border: var(--base-border);
  color: var(--light-font);
  pointer-events: none; 
}
.nice-select.disabled:after {border: var(--base-border);}

.nice-select.wide {width: 100%;}
.nice-select.wide .list {
  left: 0 !important;
  right: 0 !important; 
}
.nice-select.right {float: right;}
.nice-select.right .list {
  left: auto;
  right: 0; 
}
.nice-select.small {
  font-size: 12px;
  height: 36px;
  line-height: 34px; 
}
.nice-select.small:after {
  height: 4px;
  width: 4px; 
}
.nice-select.small .option {
  line-height: 34px;
  min-height: 34px; 
}

.nice-select .list {
  z-index: 9999;
  background-color: #fff;
  border-radius: 7px;
  border: var(--base-border);
  box-shadow: var(--box-shadow);
  box-sizing: border-box;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  min-width: 100%;
  margin-bottom: 4px;
  white-space: nowrap;
  

  -webkit-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transform: scale(0.75) translateY(-21px);
  -ms-transform: scale(0.75) translateY(-21px);
  transform: scale(0.75) translateY(-21px);
  -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  z-index: 9; 
}

.nice-select .list:hover .option:not(:hover) {background-color: transparent !important; }
  
.nice-select .option {
  cursor: pointer;
  padding: 15px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s; 
  background: #fff;
  /* border: var(--base-border);
  border-radius: 11px; */
  z-index: 10;
  transition: .5s;
  /* text-align: center; */
}
.nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus {background-color: #F8F9FB; }
.nice-select .option.selected {font-weight: 600;}
.nice-select .option.disabled {
  color: var(--light-font);
  cursor: default; 
}

.no-csspointerevents .nice-select .list {
  display: none; }

.no-csspointerevents .nice-select.open .list {
  display: block; }

  
  
  
  /* 플러그인 CSS보다 '뒤'에 넣기 */
select + .nice-select,
select + .nice-select .current,
select + .nice-select .list,
select + .nice-select .option {
  text-align: left !important;
}

select + .nice-select .list {
  left: 0 !important;   /* 드롭다운 패널도 왼쪽 기준 */
  right: auto !important;
}










  