/* Glayru Spot v22 — settings alignment and native Mini App-style toggles */
#tab-settings .spot-v21-grid {
  align-items: stretch !important;
  grid-auto-flow: row;
}
#tab-settings .spot-v21-grid > .panel,
#tab-settings .spot-v21-grid > .owner-push-setup {
  box-sizing: border-box;
  align-self: stretch !important;
  height: 100%;
  min-width: 0;
}
#tab-settings .spot-v21-grid > .spot-v19-options {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
}
#tab-settings .spot-v19-options > .spot-settings-icon {
  margin: 0 0 2px;
}
#tab-settings .spot-v19-options > h2 {
  color: var(--text, #f2f5fd);
  margin: 0 0 1px;
  line-height: 1.3;
  font-size: 17px;
  letter-spacing: -.25px;
}
#tab-settings .spot-v19-options > p:not(.spot-v19-result) {
  color: var(--muted, #9aabc1);
  line-height: 1.55;
  font-size: 12px;
  margin: 0 0 5px;
}
#tab-settings .spot-v19-options .spot-fulfillment-row {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between;
  gap: 16px !important;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 66px;
  padding: 13px 14px;
  border: 1px solid var(--border, #2e405e);
  border-radius: 14px;
  background: rgba(79, 116, 167, .08);
  color: var(--text, #f0f4fc);
  transition: border-color .18s ease, background-color .18s ease;
}
#tab-settings .spot-v19-options .spot-fulfillment-toggle {
  cursor: pointer;
}
#tab-settings .spot-v19-options .spot-fulfillment-toggle:hover {
  border-color: rgba(127, 169, 234, .5);
  background: rgba(81, 126, 190, .12);
}
#tab-settings .spot-v19-options .spot-fulfillment-row > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
}
#tab-settings .spot-v19-options .spot-fulfillment-row strong {
  display: block;
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 650;
  color: var(--text, #f0f4fc);
  line-height: 1.35;
}
#tab-settings .spot-v19-options .spot-fulfillment-row small {
  display: block;
  margin: 0;
  color: var(--muted, #96a9c4);
  font-size: 11px;
  line-height: 1.5;
}
#tab-settings .spot-v19-options .spot-fulfillment-toggle > input[type="checkbox"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  box-shadow: none !important;
  clip-path: inset(50%) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}
#tab-settings .spot-v19-options .spot-fulfillment-toggle > input[type="checkbox"]::before,
#tab-settings .spot-v19-options .spot-fulfillment-toggle > input[type="checkbox"]::after {
  content: none !important;
  display: none !important;
}
#tab-settings .spot-v19-options .spot-fulfillment-toggle > .spot-switch {
  position: relative !important;
  display: block !important;
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 26px !important;
  min-width: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #4b6280 !important;
  border-radius: 999px !important;
  background: #293a51 !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.13) !important;
  transform: none !important;
  opacity: 1 !important;
  transition: background-color .22s ease, border-color .22s ease !important;
  pointer-events: none;
}
#tab-settings .spot-v19-options .spot-fulfillment-toggle > .spot-switch::after {
  content: "" !important;
  position: absolute !important;
  top: 3px !important;
  left: 3px !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #bccbde !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.18) !important;
  transform: translateX(0) !important;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), background-color .2s !important;
}
#tab-settings .spot-v19-options .spot-fulfillment-toggle > input[type="checkbox"]:checked + .spot-switch {
  background: var(--accent, #4385e9) !important;
  border-color: #78aaf5 !important;
}
#tab-settings .spot-v19-options .spot-fulfillment-toggle > input[type="checkbox"]:checked + .spot-switch::after {
  transform: translateX(18px) !important;
  background: #fff !important;
}
#tab-settings .spot-v19-options .spot-fulfillment-toggle > input[type="checkbox"]:focus-visible + .spot-switch {
  outline: 2px solid #a8cfff !important;
  outline-offset: 3px !important;
}
#tab-settings .spot-v19-options .spot-fulfillment-toggle > input[type="checkbox"]:disabled + .spot-switch {
  opacity: .5 !important;
}
#tab-settings .spot-v19-options .spot-active-chip {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  border-radius: 999px;
  color: #8bdab6;
  background: rgba(25, 132, 96, .15);
}
#tab-settings .spot-v19-options .spot-v19-result {
  min-height: 14px;
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted, #98adc9);
  overflow-wrap: anywhere;
}
#tab-settings .spot-v19-options .spot-v19-error {
  color: #ff9daf;
}
@media (max-width: 810px) {
  #tab-settings .spot-v21-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (prefers-reduced-motion: reduce) {
  #tab-settings .spot-v19-options .spot-switch,
  #tab-settings .spot-v19-options .spot-switch::after {
    transition: none !important;
  }
}
