/* SEOANALIZIN — modern select (acilir liste) v1
   - Kapali durum: eski ok yerine ince, tema uyumlu ok
   - Acik liste: select-modern.js ile cizilen kart (tema degiskenleri kullanir)
   app.css'e dokunmaz; sadece select gorunumunu ustten duzeltir. */

select:not([multiple]):not([size]){
  -webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 14px center!important;
  background-size:16px 16px!important;
  padding-right:42px!important;
  cursor:pointer;
  text-overflow:ellipsis;
  transition:border-color .16s,box-shadow .16s,background-color .16s;
}
html[data-theme="dark"] select:not([multiple]):not([size]){
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%239ca3af' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E")!important;
}
select:not([multiple]):not([size]):hover:not(:disabled){border-color:color-mix(in srgb,var(--gold,#f5b927) 55%,var(--border,#dfe3e8))}
select:not([multiple]):not([size]):focus-visible{outline:0;border-color:var(--gold,#f5b927);box-shadow:0 0 0 3px color-mix(in srgb,var(--gold,#f5b927) 18%,transparent)}
select.sm-open{border-color:var(--gold,#f5b927)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--gold,#f5b927) 18%,transparent)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23b7791f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10l4-4 4 4'/%3E%3C/svg%3E")!important}
select:disabled{cursor:not-allowed;opacity:.65}

/* Acilir liste */
.sm-pop{position:fixed;z-index:100000;box-sizing:border-box;max-height:320px;overflow-y:auto;overscroll-behavior:contain;
  padding:6px;margin:0;list-style:none;border:1px solid var(--border,#dfe3e8);border-radius:14px;
  background:var(--card,#fff);color:var(--text,#111827);
  box-shadow:0 18px 44px rgba(15,23,42,.16),0 2px 8px rgba(15,23,42,.08);
  animation:sm-in .12s ease-out;scrollbar-width:thin}
html[data-theme="dark"] .sm-pop{box-shadow:0 18px 44px rgba(0,0,0,.55),0 2px 8px rgba(0,0,0,.35)}
.sm-pop.sm-up{transform-origin:bottom}
@keyframes sm-in{from{opacity:0;transform:translateY(-4px) scale(.985)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.sm-pop{animation:none}}
.sm-opt{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:10px;cursor:pointer;
  line-height:1.3;user-select:none;-webkit-user-select:none}
.sm-opt+.sm-opt{margin-top:1px}
.sm-opt.sm-hi{background:var(--soft,#f3f4f6)}
.sm-opt.sm-sel{font-weight:750;color:var(--text,#111827);background:color-mix(in srgb,var(--gold,#f5b927) 14%,transparent)}
.sm-opt.sm-sel.sm-hi{background:color-mix(in srgb,var(--gold,#f5b927) 22%,transparent)}
.sm-opt.sm-dis{opacity:.45;cursor:not-allowed}
.sm-opt .sm-chk{flex:0 0 auto;width:16px;height:16px;color:var(--gold,#c98a07);opacity:0}
.sm-opt.sm-sel .sm-chk{opacity:1}
.sm-opt .sm-txt{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sm-grp{padding:10px 12px 4px;font-size:.72em;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#6b7280);cursor:default}
.sm-grp:first-child{padding-top:6px}
.sm-opt.sm-ing{padding-left:22px}
