.erp-theme-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 42px;
  height: 24px;
  padding: 2px;
  border: 1px solid var(--app-border, #cbd5e1);
  border-radius: 999px;
  background: #dbe7f4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.erp-theme-switch::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
  transform: translateX(0);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.erp-theme-switch.is-dark {
  background: linear-gradient(180deg, #1d4ed8, #2563eb);
  border-color: rgba(37, 99, 235, 0.55);
}

.erp-theme-switch.is-dark::before {
  transform: translateX(18px);
  background: #eef2ff;
}

.erp-theme-switch:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.22rem rgba(37, 99, 235, 0.22);
}

.erp-theme-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.erp-theme-menu-copy {
  min-width: 0;
}

.erp-theme-menu-title {
  display: block;
  font-weight: 800;
  line-height: 1.05;
}

.erp-theme-menu-subtitle {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.72rem;
  color: inherit;
  opacity: 0.7;
}

.erp-theme-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
