/* ==============================================================
   ArmCalc Custom Select — componente compartido para Lies of P.
   Copia del componente DS1 (catalog_equipo.css .ds1-custom-select /
   .ds1-select-trigger / .ds1-select-panel / .ds1-select-option)
   re-namespaceada a .armcalc-cs-* y con paleta cian (#4ec5d6) en
   lugar del naranja DS1 (#ff8a15). Sin dependencias del CSS de DS1.

   Usado por:
     - pages/liesofp/armas/index.php (inspector de armas)
     - pages/liesofp/builds/index.php (planificador de build)
   ============================================================== */
.armcalc-cs {
  position: relative;
  width: 100%;
}
.armcalc-cs-trigger {
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  padding: 12px 40px 12px 16px;
  font-family: 'Cinzel', serif;
  border-radius: 10px;
  border: 1px solid rgba(78, 197, 214, .25);
  background: linear-gradient(145deg, #0c1722, #07121c);
  color: #efe8d8;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s ease, background .2s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 3px 10px rgba(0,0,0,.4);
  position: relative;
  letter-spacing: .02em;
}
.armcalc-cs-trigger::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%234ec5d6' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 14px;
  transition: transform .2s ease;
}
.armcalc-cs-trigger.open::after { transform: translateY(-50%) rotate(180deg); }
.armcalc-cs-trigger:hover {
  border-color: rgba(126, 220, 232, .5);
  background: linear-gradient(145deg, #0f1f2c, #0a1622);
}
.armcalc-cs-trigger:focus {
  outline: none;
  border-color: rgba(126, 220, 232, .7);
  box-shadow: 0 0 0 2px rgba(78, 197, 214, .15), inset 0 1px 0 rgba(255,255,255,.04);
}
.armcalc-cs-panel {
  position: fixed;
  z-index: 100010;
  font-family: 'Cinzel', serif;
  background: linear-gradient(180deg, #0d1a26 0%, #050d16 100%);
  border: 1px solid rgba(78, 197, 214, .3);
  border-radius: 10px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,.6), 0 0 20px rgba(78, 197, 214, .1);
  padding: 4px;
}
.armcalc-cs-option {
  padding: 6px 12px;
  font-size: 13px;
  color: #c8d4dc;
  cursor: pointer;
  border-radius: 6px;
  transition: all .12s ease;
  line-height: 1.4;
}
.armcalc-cs-option:hover {
  background: rgba(78, 197, 214, .12);
  color: #efe8d8;
}
.armcalc-cs-option.selected {
  background: rgba(78, 197, 214, .25);
  color: #aee6ee;
  font-weight: 600;
}
