/* selectric-cosmic.css — selectric widget'ini kozmik cam temaya uyarlar.
   selectric2.css'ten SONRA yuklenir (burc-uyumu.php $extra_head). Native .slctbx select ile ayni gorunum. */

/* Kapali kutu: cam yuzey + altin cerceve + koyu metin */
.selectric {
  background: var(--glass-surface-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  color: var(--text-primary);
  text-align: left;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.selectric .label {
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
}
/* Ok: altin chevron (native select ile ayni SVG) */
.selectric .button { color: transparent; }
.selectric .button:after {
  border: 0;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E8C77E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  transition: transform 0.25s;
}
/* Hover / acik durum: altin vurgu */
.selectric-hover .selectric { border-color: var(--glass-border-hover); }
.selectric-hover .selectric .button:after { opacity: 0.9; }
.selectric-open .selectric {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(232,199,126,0.18);
}
.selectric-open .selectric .button:after { transform: rotate(180deg); }

/* Acilir liste: koyu kozmik yuzey */
.selectric-items {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  font-family: var(--font-body);
  padding-bottom: 6px;
}
.selectric-items .selectric-scroll {
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(232,199,126,0.45) transparent;
}
.selectric-items .selectric-scroll::-webkit-scrollbar { width: 8px; }
.selectric-items .selectric-scroll::-webkit-scrollbar-thumb {
  background: rgba(232,199,126,0.4); border-radius: 8px;
}
.selectric-items li {
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s, color 0.15s;
}
.selectric-items li.selected,
.selectric-items li.highlighted {
  background: rgba(232,199,126,0.12);
  color: var(--accent-gold);
}
.selectric-items li:hover {
  background: var(--glass-surface-2);
  color: var(--accent-gold);
}

/* RTL: ok sola */
[dir="rtl"] .selectric .label { margin: 0 15px 0 40px; }
