@import url("styles.css");

.native-select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.custom-select {
  position: relative;
  width: 110px;
  font-size: 13px;
  font-weight: 500;
}

.select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;

  padding: 0 10px;
  border-radius: 10px;

  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);

  cursor: pointer;
  transition: border 0.15s ease, box-shadow 0.15s ease;
}

.select-trigger:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.select-trigger.active {
  border-color: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.select-options {
  position: absolute;
  text-align: left; 

  bottom: calc(100% + 6px);
  left: 0;
  width: 100%;

  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);

  overflow: hidden;
  z-index: 1000;
}

.select-options-inner {
  max-height: 220px;
  overflow-y: auto;
}

.select-option {
  padding: 8px 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.select-option:hover {
  background: rgba(0, 0, 0, 0.05);
}

.select-option.selected {
  background: rgba(0, 0, 0, 0.08);
}

.hidden {
  display: none;
}