/* Shubh Ventures v1.05 — themed dropdowns (see sv-select.js) */
select.svs-native { position: absolute !important; width: 1px !important; height: 1px !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; opacity: 0 !important; pointer-events: none !important; clip-path: inset(50%) !important; }
.svs-trigger { display: inline-flex !important; align-items: center; justify-content: space-between; gap: 8px; text-align: left; cursor: pointer; min-width: 0; font: inherit; line-height: 1.25; user-select: none; -webkit-tap-highlight-color: transparent; }
.svs-trigger.input { display: flex !important; }
.svs-trigger.w-auto, .svs-trigger[class*="w-auto"] { display: inline-flex !important; }
.svs-trigger:not(.input) { height: 38px; padding: 0 12px; border-radius: var(--radius-ctl, 10px); border: 1px solid var(--border, #e2e8f0); background: var(--surface, #fff); color: var(--text, #0f172a); font-size: 13.5px; }
.svs-trigger .svs-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svs-trigger.svs-ph .svs-txt { color: var(--muted, #64748b); }
.svs-trigger .svs-chev { flex: none; color: var(--muted, #64748b); transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.svs-trigger.open .svs-chev { transform: rotate(180deg); color: var(--accent, #2563eb); }
.svs-trigger.open { border-color: var(--accent, #2563eb) !important; box-shadow: 0 0 0 3px var(--accent-soft, rgba(37, 99, 235, .15)) !important; }
.svs-trigger:disabled { opacity: .55; cursor: not-allowed; }
.svs-trigger:focus-visible { outline: none; border-color: var(--accent, #2563eb) !important; box-shadow: 0 0 0 3px var(--accent-soft, rgba(37, 99, 235, .18)) !important; }

.svs-pop { position: fixed; z-index: 2147483100; display: flex; flex-direction: column; overflow: hidden; padding: 5px; border-radius: calc(var(--radius-ctl, 10px) + 4px);
  background: var(--surface-elevated, #fff); border: 1px solid var(--border, #e2e8f0); box-shadow: 0 18px 44px -12px rgba(15, 23, 42, .28), 0 2px 6px rgba(15, 23, 42, .08);
  opacity: 0; transform: translateY(-4px) scale(.98); transform-origin: top center; transition: opacity .14s ease, transform .18s cubic-bezier(.2, .8, .2, 1); font-family: var(--sv-font, system-ui); outline: none; }
.svs-pop.up { transform-origin: bottom center; transform: translateY(4px) scale(.98); }
.svs-pop.in { opacity: 1; transform: none; }
html.theme-dark .svs-pop { box-shadow: 0 18px 44px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .04); }
.svs-list { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.svs-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: calc(var(--radius-ctl, 10px) - 2px); font-size: 13.5px; color: var(--text, #0f172a); cursor: pointer; }
.svs-opt span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svs-opt.act { background: var(--surface-2, rgba(127, 127, 127, .08)); }
.svs-opt.on { color: var(--accent, #2563eb); font-weight: 600; background: var(--accent-soft, rgba(37, 99, 235, .1)); }
.svs-opt.on svg { flex: none; }
.svs-opt.dis { opacity: .4; cursor: not-allowed; }
.svs-grp { padding: 8px 10px 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #64748b); }
.svs-empty { padding: 12px; font-size: 13px; color: var(--muted, #64748b); text-align: center; }
.svs-search { padding: 3px 3px 6px; }
.svs-search input { width: 100%; height: 34px; padding: 0 10px; border-radius: calc(var(--radius-ctl, 10px) - 2px); border: 1px solid var(--border, #e2e8f0); background: var(--surface, #fff); color: var(--text, #0f172a); font: inherit; font-size: 13px; outline: none; }
.svs-search input:focus { border-color: var(--accent, #2563eb); }

/* phones: bottom sheet */
.svs-back { position: fixed; inset: 0; z-index: 2147483099; background: rgba(2, 6, 23, .38); opacity: 0; transition: opacity .18s ease; }
.svs-back.in { opacity: 1; }
.svs-pop.sheet { left: 0 !important; right: 0; bottom: 0; top: auto !important; max-width: none !important; min-width: 0 !important; max-height: 72vh; border-radius: 20px 20px 0 0; padding: 6px 10px calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%); opacity: 1; transition: transform .26s cubic-bezier(.2, .8, .2, 1); border-bottom: 0; }
.svs-pop.sheet.in { transform: none; }
.svs-handle { width: 40px; height: 5px; border-radius: 3px; background: var(--border-strong, #cbd5e1); margin: 4px auto 8px; flex: none; }
.svs-title { font: 700 15px var(--sv-font, system-ui); color: var(--text, #0f172a); padding: 2px 8px 10px; }
.svs-pop.sheet .svs-opt { padding: 13px 12px; font-size: 15px; }
.svs-pop.sheet .svs-search input { height: 42px; font-size: 16px; }
