/* Nice Select — Zahab Glass brand (clean white dropdowns) */
.nice-select {
  -webkit-tap-highlight-color: transparent;
  background-color: #ffffff;
  background-image: none !important;
  color: #1e293b;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  box-sizing: border-box;
  clear: both;
  cursor: pointer;
  display: block;
  float: left;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  height: 42px;
  line-height: 40px;
  outline: none;
  padding-left: 14px;
  padding-right: 36px;
  position: relative;
  text-align: left !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
  white-space: nowrap;
  width: auto;
}

.nice-select:hover {
  border-color: #94a3b8;
}

.nice-select:focus,
.nice-select.open {
  border-color: #2f6d93;
  box-shadow: 0 0 0 3px rgba(47, 109, 147, 0.18);
}

.nice-select:after {
  border-bottom: 2px solid #2f6d93;
  border-right: 2px solid #2f6d93;
  content: '';
  display: block;
  height: 7px;
  margin-top: -4px;
  pointer-events: none;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: rotate(45deg);
  width: 7px;
  transition: transform 0.15s ease;
}

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

.nice-select.disabled {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #94a3b8;
  pointer-events: none;
}

.nice-select.disabled:after {
  border-color: #cbd5e1;
}

.nice-select.wide {
  width: 100%;
}

.nice-select.small {
  font-size: 0.8125rem;
  height: 36px;
  line-height: 34px;
}

.nice-select .list {
  background-color: #ffffff;
  color: #1e293b;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  margin-top: 6px;
  opacity: 0;
  overflow: hidden;
  padding: 6px 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  transform: scale(0.98) translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 9999;
  min-width: 100%;
  max-height: 280px;
  overflow-y: auto;
}

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

.nice-select .option {
  cursor: pointer;
  font-weight: 500;
  line-height: 1.35;
  list-style: none;
  min-height: 38px;
  outline: none;
  padding: 9px 16px;
  text-align: left;
  transition: background 0.12s ease, color 0.12s ease;
  color: #334155;
  background: transparent;
}

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

.nice-select .option.selected {
  font-weight: 700;
  background: #e8f3f9;
  color: #1e4a62;
}

.nice-select .option.selected:hover {
  background: #2f6d93;
  color: #fff;
}

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

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

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