/* ===== cs-select.css — Universal custom dropdown ===== */
/* calculatorscore.com — works on iOS, Android, Desktop */

.cs-sel {
  position: relative;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
}

/* Current value display */
.cs-sel-cur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  color: #e8e8f0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  min-height: 28px;
  line-height: 1.2;
}

/* Arrow */
.cs-sel-arrow {
  font-size: 16px;
  color: #555566;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 8px;
}
.cs-sel.cs-sel-open .cs-sel-arrow {
  transform: rotate(180deg);
}

/* Dropdown list */
.cs-sel-list {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: -14px;
  right: -14px;
  background: #12121e;
  border: 1px solid #2a2a3a;
  border-radius: 12px;
  z-index: 9999;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.cs-sel.cs-sel-open .cs-sel-list {
  display: block;
}

/* Option */
.cs-sel-opt {
  padding: 12px 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #c8c8e0;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #1a1a2e;
  line-height: 1.4;
}
.cs-sel-opt:last-child {
  border-bottom: none;
}
.cs-sel-opt:hover {
  background: #1a1a2e;
  color: #f0f0f5;
}
.cs-sel-opt.cs-sel-active {
  background: rgba(108,99,255,0.12);
  color: #a89fff;
  font-weight: 600;
}

/* Accent color variants — add class to .cs-sel */
.cs-sel.accent-lime .cs-sel-opt.cs-sel-active  { background:rgba(163,230,53,0.1);  color:#a3e635; }
.cs-sel.accent-coral .cs-sel-opt.cs-sel-active { background:rgba(255,77,109,0.1);  color:#ff4d6d; }
.cs-sel.accent-amber .cs-sel-opt.cs-sel-active { background:rgba(245,158,11,0.1);  color:#f59e0b; }
.cs-sel.accent-purple .cs-sel-opt.cs-sel-active{ background:rgba(192,132,252,0.1); color:#c084fc; }
.cs-sel.accent-teal .cs-sel-opt.cs-sel-active  { background:rgba(0,212,170,0.1);   color:#00d4aa; }
.cs-sel.accent-violet .cs-sel-opt.cs-sel-active { background:rgba(108,99,255,0.12); color:#a89fff; }
