/* ================================
   NICE SELECT – FIXED & UNIFORM
   ================================ */

.nice-select {
  position: relative;
  display: block;
  float: none;
  width: 100%;
margin-bottom: 14px;

  height: 32px;
  line-height: 32px;

  padding: 0 44px 0 14px;

  background-color: #eef3ef;
  border: 1px solid #dcdcdc;
  border-radius: 6px;

  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #6b6b6b;

  cursor: pointer;
  user-select: none;
  box-sizing: border-box;

  transition: all 0.2s ease-in-out;
  z-index: 10;
}

/* Hover / focus */
.nice-select:hover,
.nice-select:focus,
.nice-select.open {
  border-color: #6a004b;
  background-color: #eef3ef;
}

/* Selected text */
.nice-select .current {
  line-height: 32px;
  display: block;
}

/* Arrow */
.nice-select:after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4px;

  border-right: 2px solid #777;
  border-bottom: 2px solid #777;

  transform: rotate(45deg);
  transition: all 0.15s ease-in-out;
  pointer-events: none;
}

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

/* Disabled */
.nice-select.disabled {
  background-color: #f5f5f5;
  color: #999;
  pointer-events: none;
  border-color: #e0e0e0;
}

/* ================================
   DROPDOWN LIST
   ================================ */

.nice-select .list {
  position: absolute;
  top: 100%;
  left: 0;

  width: 100%;
  max-height: 220px;
  overflow-y: auto;

  margin-top: 6px;
  padding: 0;

  background-color: #6a004b;
  border-radius: 6px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

  opacity: 0;
  pointer-events: none;

  transform: translateY(-10px) scale(0.98);
  transform-origin: top;

  transition: all 0.2s ease-in-out;
  z-index: 9999;
}

/* Open state */
.nice-select.open .list {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ================================
   OPTIONS
   ================================ */

.nice-select .option {
  list-style: none;
  padding: 12px 18px;

  font-size: 14px;
  line-height: 1.4;

  color: #ffffff;
  cursor: pointer;

  transition: background-color 0.2s ease-in-out;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected {
  background-color: #3f002c;
  color: #ffffff;
}

.nice-select .option.disabled {
  color: #aaa;
  cursor: default;
  background-color: transparent;
}

/* ================================
   SAFETY FIXES (MODAL / POPUP)
   ================================ */

.modal,
.modal-body {
  overflow: visible;
}
