/* Nice Select Styles */
.nice-select {
  -webkit-tap-highlight-color: transparent;
  background-color: color-mix(in oklab, var(--color-slate-900) 50%, transparent);
  border: 1px solid var(--color-slate-700);
  border-radius: var(--radius-xl);
  box-sizing: border-box;
  clear: both;
  cursor: pointer;
  display: block;
  float: left;
  font-family: inherit;
  font-size: 14px;
  font-weight: normal;
  height: 42px;
  line-height: 40px;
  outline: none;
  padding-left: 18px;
  padding-right: 30px;
  position: relative;
  text-align: left !important;
  transition: all 0.2s ease-in-out;
  user-select: none;
  white-space: nowrap;
  width: auto;
  color: var(--color-white);
}

.nice-select:hover {
  border-color: #06b6d4;
}

.nice-select:active, .nice-select.open, .nice-select:focus {
  border-color: #06b6d4;
  outline: none;
}

.nice-select:after {
  border-bottom: 2px solid #999;
  border-right: 2px solid #999;
  content: '';
  display: block;
  height: 5px;
  margin-top: -4px;
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform-origin: 66% 66%;
  transform: rotate(45deg);
  transition: all 0.15s ease-in-out;
  width: 5px;
}

.nice-select.open:after {
  transform: rotate(-135deg);
}

.nice-select.open .list {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.nice-select.disabled {
  border-color: #ededed;
  color: #999;
  pointer-events: none;
}

.nice-select.disabled:after {
  border-color: #cccccc;
}

.nice-select .current {
  display: block;
  overflow: hidden;
  padding: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nice-select .list {
  background-color: color-mix(in oklab, var(--color-slate-900) 95%, transparent);
  border: 1px solid var(--color-slate-700);
  border-radius: var(--radius-xl);
  box-sizing: border-box;
  margin-top: 4px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  transform-origin: 50% 0;
  transform: scale(0.75) translateY(-21px);
  transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  z-index: 9;
  min-width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.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: 18px;
  padding-right: 29px;
  text-align: left;
  transition: all 0.2s;
  color: var(--color-white);
}

.nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus {
  background-color: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}

.nice-select .option.selected {
  font-weight: bold;
  color: #06b6d4;
}

.nice-select .option.disabled {
  background-color: transparent;
  color: #999;
  cursor: default;
}

.no-csspointerevents .nice-select .list {
  display: none;
}

.no-csspointerevents .nice-select .list.open {
  display: block;
}

/* Custom styling for Contact Form 7 selects */
.wpcf7 .nice-select {
  width: 100%;
  background-color: color-mix(in oklab, var(--color-slate-900) 50%, transparent);
  border: 1px solid var(--color-slate-700);
  border-radius: var(--radius-xl);
  padding-inline: 1rem;
  padding-block: 0.75rem;
  color: var(--color-white);
  height: auto;
  min-height: 42px;
  line-height: 1.5;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.wpcf7 .nice-select:focus {
  outline: none;
  border-color: #06b6d4;
}

.wpcf7 .nice-select .current {
  line-height: 1.5;
  padding: 0;
}

.wpcf7 .nice-select .list {
  width: 100%;
  background-color: color-mix(in oklab, var(--color-slate-900) 95%, transparent);
  border: 1px solid var(--color-slate-700);
  border-radius: var(--radius-xl);
}

.wpcf7 .nice-select .option {
  padding-left: 1rem;
  padding-right: 1rem;
}
