.nice-select {
  background-color: var(--bs-white);
  border: 1px solid var(--secondary_border);
  cursor: pointer;
  display: block;
  outline: none;
  padding: 8px;
  padding-left: 35px;
  position: relative;
  text-align: left !important;
  -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;
  min-width: 170px;
  width: fit-content;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.nice-select:hover {
  border-color: #d0dae5;
}

.nice-select:active,
.nice-select.open,
.nice-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px #D1F0EC;
}

.nice-select:after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: url('data:image/svg+xml,%3Csvg%20width%3D%2210%22%20height%3D%228%22%20viewBox%3D%220%200%2010%208%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.825%200.912476L5%204.72914L1.175%200.912476L0%202.08748L5%207.08748L10%202.08748L8.825%200.912476Z%22%20fill%3D%22%23686E7D%22%2F%3E%3C%2Fsvg%3E') no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translate(0, -50%);
}

.nice-select::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(-100%, -50%);
  background: url('data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2210%22%20viewBox%3D%220%200%2016%2010%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M6.333%2010h3.334V8.333H6.333zM.5%200v1.667h15V0zM3%205.833h10V4.167H3z%22%20fill%3D%22%23686E7D%22%2F%3E%3C%2Fsvg%3E') no-repeat;
  background-size: contain;
  background-poo: ce;
}

.nice-select.open:after {
  -webkit-transform: rotate(-180deg) translate(0, 50%);
  -ms-transform: rotate(-180deg) translate(0, 50%);
  transform: rotate(-180deg) translate(0, 65%);
}

.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);
}

.nice-select.disabled {
  border-color: #e7ecf2;
  color: #90a1b5;
  pointer-events: none;
}

.nice-select.disabled:after {
  border-color: #cdd5de;
}

.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;
}

.nice-select .list {
  width: 100%;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(68, 88, 112, 0.11);
  box-sizing: border-box;
  margin-top: 4px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  -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;
  font-weight: 400;
  line-height: 40px;
  list-style: none;
  min-height: 40px;
  outline: none;
  padding-left: 33px;
  padding-right: 45px;
  text-align: left;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  position: relative;
  text-align: start;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
  background-color: #f6f7f9;
}

.nice-select .option.selected:not([data-display])::before {
  content: "";
  width: 15px;
  height: 15px;
  background: url('../img/dropdown-check-icon.svg') no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

.nice-select .option[data-display] {
  min-height: 0;
}

.nice-select .option:not([data-display])::after {
  content: "";
  width: 15px;
  height: 15px;
  background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20448%20512%22%3E%3C!--!Font%20Awesome%20Free%206.7.2%20by%20%40fontawesome%20-%20https%3A%2F%2Ffontawesome.com%20License%20-%20https%3A%2F%2Ffontawesome.com%2Flicense%2Ffree%20Copyright%202025%20Fonticons%2C%20Inc.--%3E%3Cpath%20fill%3D%22%23686e7d%22%20d%3D%22M224%20256a128%20128%200%201%200%200-256%20128%20128%200%201%200%200%20256m-45.7%2048C79.8%20304%200%20383.8%200%20482.3%200%20498.7%2013.3%20512%2029.7%20512h388.6c16.4%200%2029.7-13.3%2029.7-29.7%200-98.5-79.8-178.3-178.3-178.3z%22%2F%3E%3C%2Fsvg%3E') no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(-100%, -50%);
  -webkit-transform: translate(-100%, -50%);
  -moz-transform: translate(-100%, -50%);
  -ms-transform: translate(-100%, -50%);
  -o-transform: translate(-100%, -50%);
}

.nice-select .option.disabled {
  background-color: transparent;
  color: #90a1b5;
  cursor: default;
}

.nice-select span.current {
  color: var(--secondary);
  display: block;
  padding-left: 10px;
  text-align: start;
  padding-right: 30px;
}