.cfg-input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: #0b141a;
  border: 1px solid #2a3942;
  border-radius: 0.75rem;
  color: #e9edef;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}
.cfg-input:focus {
  border-color: #25D366;
}

.cfg-toggle {
  appearance: none;
  width: 2.5rem;
  height: 1.35rem;
  background: #2a3942;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.cfg-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1rem;
  height: 1rem;
  background: #8696a0;
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}
.cfg-toggle:checked {
  background: #25D366;
}
.cfg-toggle:checked::after {
  transform: translateX(1.1rem);
  background: #fff;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #0b141a;
  border: 1px solid #2a3942;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-stopped     { background: #2a3942; color: #8696a0; }
.status-starting    { background: #fbbf2433; color: #fbbf24; }
.status-qr_waiting  { background: #3b82f633; color: #60a5fa; }
.status-authenticated { background: #a78bfa33; color: #a78bfa; }
.status-ready       { background: #25D36633; color: #25D366; }
.status-disconnected { background: #ef444433; color: #ef4444; }

.card-glow:hover {
  box-shadow: 0 0 0 1px #25D36644;
}
