.it-contact-select .nice-select {
  background: #fff; /* fallback if --it-common-white is undefined */
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: none;
  cursor: pointer;
  display: block;
  font-size: 14px;
  padding: 0 20px;
  width: 100%;
  height: 58px;
  line-height: 58px;
  text-transform: capitalize;
  position: relative;
  transition: all 0.2s ease-in-out;
  user-select: none;
  white-space: nowrap;
}

.it-contact-select .nice-select span {
  font-size: 14px;
  color: #222; /* fallback for --it-common-black */
}

.nice-select:hover {
  border-color: #124BD1;
}

.nice-select:focus,
.nice-select.open {
  border-color: #124BD1;
  outline: none;
}

.nice-select:after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  border: solid #999;
  border-width: 0 2px 2px 0;
  padding: 5px;
  transition: all 0.2s ease;
}

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

.nice-select .list {
  position: absolute;
  top: auto;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #124BD1;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: scaleY(0.95);
  transform-origin: top;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

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

.nice-select .option {
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background 0.2s;
}

.nice-select .option:hover,
.nice-select .option.focus {
  background-color: #f1f1f1;
}

.nice-select .option.selected {
  font-weight: bold;
  background-color: #e6f0ff;
}

.nice-select .option.disabled {
  color: #ccc;
  cursor: not-allowed;
}

/* Mobile Fix */
@media (max-width: 576px) {
  .it-contact-select .nice-select {
    height: 48px;
    line-height: 48px;
    font-size: 13px;
  }

  .nice-select .option {
    padding: 8px 15px;
    font-size: 13px;
  }

  .nice-select:after {
    right: 15px;
  }
}
