/* Custom dropdowns (select.js), shared by the website and the dashboard. Style A: clean white menu, orange tick. */
.sjsel{position:relative;width:100%}
.sjsel-native{position:absolute!important;inset:auto auto 0 0;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;padding:0!important;border:0!important}
.sjsel-btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.6rem;min-height:2.9rem;padding:.75rem 1rem;font:inherit;font-size:1rem;color:var(--ink,#0A0A0A);text-align:left;background:var(--paper,#fff);border:1px solid var(--line,#E5E5E5);border-radius:12px;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.sjsel-btn:hover{border-color:color-mix(in srgb,var(--ink,#0A0A0A) 30%,var(--line,#E5E5E5))}
.sjsel-btn:focus-visible,.sjsel.is-open .sjsel-btn{outline:none;border-color:var(--ink,#0A0A0A);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent,#E8701A) 20%,transparent)}
.sjsel-btn:disabled{opacity:.55;cursor:not-allowed}
.sjsel-btn.is-placeholder .sjsel-val{color:var(--muted,#666)}
.sjsel-val{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sjsel-chev{flex:none;width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;color:var(--muted,#666);transition:transform .25s}
.sjsel.is-open .sjsel-chev{transform:rotate(180deg)}
.sjsel-list{position:absolute;z-index:90;left:0;right:0;top:calc(100% + 6px);max-height:300px;overflow:auto;padding:6px;background:#fff;border:1px solid var(--line,#E5E5E5);border-radius:12px;box-shadow:0 22px 44px -18px rgba(10,10,10,.28),0 2px 6px rgba(10,10,10,.05);outline:none;animation:sjselIn .16s ease-out}
.sjsel.up .sjsel-list{top:auto;bottom:calc(100% + 6px);animation-name:sjselUp}
.sjsel-opt{display:flex;align-items:center;gap:.6rem;min-height:2.6rem;padding:.55rem .75rem;border-radius:8px;font-size:.97rem;color:var(--ink,#0A0A0A);cursor:pointer;user-select:none}
.sjsel-opt.is-active{background:var(--surface,#F4F4F2)}
.sjsel-opt[aria-selected="true"]{font-weight:500}
.sjsel-opt[aria-disabled="true"]{color:var(--muted,#666);cursor:not-allowed}
.sjsel-check{margin-left:auto;flex:none;width:1.05rem;height:1.05rem;fill:none;stroke:var(--accent,#E8701A);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;visibility:hidden}
.sjsel-opt[aria-selected="true"] .sjsel-check{visibility:visible}
@keyframes sjselIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@keyframes sjselUp{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.sjsel-list{animation:none}.sjsel-chev{transition:none}}
/* underline forms on the website (contact/callback, quote pop-up headings) */
.form-line .sjsel-btn{border:0;border-bottom:1px solid #C8C8C8;border-radius:0;background:transparent;padding:.85rem 0;box-shadow:none}
.form-line .sjsel.is-open .sjsel-btn,.form-line .sjsel-btn:focus-visible{border-bottom-color:var(--ink,#0A0A0A);box-shadow:0 1px 0 var(--ink,#0A0A0A)}
/* validation from the existing form code */
.sjsel:has(select[aria-invalid="true"]) .sjsel-btn{border-color:#B3261E}
/* ---------- date picker (themed calendar) ---------- */
.sjdate-ico{transform:none!important}
.sjdate-pop{position:absolute;z-index:90;left:0;top:calc(100% + 6px);width:304px;padding:12px;background:#fff;border:1px solid var(--line,#E5E5E5);border-radius:14px;box-shadow:0 22px 44px -18px rgba(10,10,10,.28),0 2px 6px rgba(10,10,10,.05);animation:sjselIn .16s ease-out;font-family:inherit}
.sjdate.up .sjdate-pop{top:auto;bottom:calc(100% + 6px);animation-name:sjselUp}
.sjdate.right .sjdate-pop{left:auto;right:0}
.sjdate-head{display:flex;align-items:center;gap:4px;margin:0 0 8px}
.sjdate-title{flex:1;font-weight:600;font-size:.95rem;letter-spacing:-.01em;padding-left:4px}
.sjdate-nav{width:34px;height:34px;display:grid;place-items:center;border:1px solid transparent;border-radius:50%;background:transparent;color:var(--ink,#0A0A0A);cursor:pointer}
.sjdate-nav:hover{background:var(--surface,#F4F4F2);border-color:var(--line,#E5E5E5)}
.sjdate-navico{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sjdate-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.sjdate-dow{text-align:center;font-size:.72rem;font-weight:600;color:var(--muted,#666);padding:4px 0 6px}
.sjdate-day{height:36px;border:0;border-radius:10px;background:transparent;font:inherit;font-size:.9rem;color:var(--ink,#0A0A0A);cursor:pointer;transition:background .15s,color .15s}
.sjdate-day:hover{background:var(--surface,#F4F4F2)}
.sjdate-day.is-out{color:#B0B0AC}
.sjdate-day.is-today{box-shadow:inset 0 0 0 1.5px var(--accent,#E8701A);font-weight:600}
.sjdate-day.is-sel{background:var(--ink,#0A0A0A);color:#fff;font-weight:600;box-shadow:none}
.sjdate-day:disabled{opacity:.3;cursor:not-allowed;background:transparent}
.sjdate-day:focus-visible,.sjdate-nav:focus-visible,.sjdate-link:focus-visible{outline:2px solid var(--accent,#E8701A);outline-offset:1px}
.sjdate-foot{display:flex;justify-content:space-between;margin-top:8px;padding-top:8px;border-top:1px solid var(--line,#E5E5E5)}
.sjdate-link{border:0;background:transparent;font:inherit;font-size:.86rem;color:var(--muted,#666);padding:6px 8px;border-radius:8px;cursor:pointer}
.sjdate-link:hover{background:var(--surface,#F4F4F2);color:var(--ink,#0A0A0A)}
.sjdate-link.is-strong{color:var(--ink,#0A0A0A);font-weight:600}
@media (prefers-reduced-motion:reduce){.sjdate-pop{animation:none}}
