/* Shared components used by mobile and desktop settings and connections. */
.apply-advanced { border: 1px solid rgba(192,203,229,.09); border-radius: 11px; background: #171d27; overflow: hidden; }
.apply-advanced > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px; min-height: 40px; font-size: 11px; color: #bdb3eb; cursor: pointer; }
.apply-advanced > summary svg { width: 13px; height: 13px; }
.apply-advanced > div { border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.apply-search-rhythm { padding: 14px; border-radius: 12px; border: 1px solid rgba(192,203,229,.09); background: #191e28; }
.apply-settings-intro { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.apply-settings-symbol { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #302b46; color: #bfb4ec; }
.apply-settings-symbol svg { width: 17px; height: 17px; }
.apply-settings-intro h4 { font-size: 12px; font-weight: 600; }
.apply-settings-intro p { color: #8c98ac; font-size: 10px !important; margin-top: 2px; }
.apply-setting-fact { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #ffffff08; font-size: 10px; }
.apply-setting-fact span { color: #929eb3; }
.apply-setting-fact strong { font-weight: 500; color: #d0d5e3; }
.apply-setting-toggle { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 10px; min-height: 32px; padding: 0 10px; font-size: 11px; color: #cec4ff; background: #302b46; border: 1px solid #a79eff20; border-radius: 8px; }
.apply-setting-toggle svg { width: 13px; height: 13px; }
.apply-more-connections { border: 1px solid rgba(192,203,229,.09); border-radius: 11px; background: #151a23; margin-top: 10px; }
.apply-more-connections summary { display: flex; align-items: center; gap: 7px; padding: 12px; min-height: 38px; font-size: 11px; color: #a7b0c3; list-style: none; cursor: pointer; }
.apply-more-connections summary::-webkit-details-marker { display: none; }
.apply-more-connections summary span { margin-left: auto; color: #cf939b; font-size: 9px; }
.apply-more-connections summary svg { width: 12px; height: 12px; color: #8985aa; }
.apply-more-connections > div { padding: 0 10px 10px; }

@media (min-width: 769px) {
  #app-sidebar { background: #11141b !important; border-color: rgba(192,203,229,.07); }
  #app-sidebar .nav-item { border-radius: 8px; }
  #app-sidebar .nav-item.active { background: #2b273e; color: #d3caff; box-shadow: none; }
  #app-sidebar .nav-item.active svg { color: #c0b4ed; }
  #command-header { background: #10131a !important; border-color: rgba(192,203,229,.07); }
  #command-header button { box-shadow: none; border-radius: 8px; }
  #modal-settings > div, #modal-portal-credentials > div { border-radius: 16px; background: #11151d; border-color: rgba(192,203,229,.10); }
  #modal-portal-credentials .portal-wizard-card { border-radius: 11px; background: #1b202b; border-color: rgba(192,203,229,.10); }
  #modal-portal-credentials .portal-wizard-card.is-active { background: #2b273e; border-color: #9e8de455; }
  #portal-wizard-icon-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
