.nice-select {
  -webkit-tap-highlight-color: transparent;
  background-color: #f2faff;
  border-radius: 6px;
  border: 1px solid #ddd;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  width: 100%;

  font-family: inherit;
  font-size: 14px;
  height: 45px;
  line-height: 45px;

  outline: none;
  padding-left: 12px;
  padding-right: 35px;

  position: relative;
  z-index: 9999; /* IMPORTANT */

  text-align: left !important;
  transition: all 0.2s ease-in-out;

  user-select: none;
  white-space: nowrap;
}

/* Hover & Focus */
.nice-select:hover {
  border-color: #bbb;
}

.nice-select:active,
.nice-select.open,
.nice-select:focus {
  border-color: #2ea3b7;
  box-shadow: 0 0 0 2px rgba(46, 163, 183, 0.1);
}

/* Arrow */
.nice-select:after {
  border-bottom: 2px solid #666;
  border-right: 2px solid #666;
  content: '';
  display: block;
  height: 6px;
  width: 6px;
  position: absolute;
  right: 15px;
  top: 50%;
  margin-top: -4px;
  transform: rotate(45deg);
  transition: all 0.2s ease-in-out;
}

.nice-select.open:after {
  transform: rotate(-135deg);
}

/* Dropdown List */
.nice-select .list {
  background-color: #fff;
  border-radius: 6px;
  width: 100%;
  margin-top: 5px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);

  opacity: 0;
  pointer-events: none;

  position: absolute;
  top: 100%;
  left: 0;

  /* FIXES */
  z-index: 999999; 
  transform: none;   /* REMOVE stacking issue */
  max-height: 250px;
  overflow-y: auto;

  transition: opacity 0.2s ease;
}

/* Open State */
.nice-select.open .list {
  opacity: 1;
  pointer-events: auto;
}

/* Options */
.nice-select .option {
  padding: 0px 10px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}

/* Hover Option */
.nice-select .option:hover {
  background-color: #2ea3b7;
  color: #fff;
}

/* Selected Option */
.nice-select .option.selected {
  font-weight: 600;
  background-color: #f0fafa;
}

/* Disabled */
.nice-select.disabled {
  background-color: #eee;
  color: #999;
  cursor: not-allowed;
}