.btn-primary {
  background: #2563eb;
  color: #fff;
  border-radius: 14px;
  padding: 12px 22px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #3b82f6;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.status {
  font-weight: 600;
  font-size: 0.95rem;
}

.status.ok {
  color: #22c55e;
}

.status.err {
  color: #f87171;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.95rem;
  color: #cbd5f5;
}

.input-hint {
  font-size: 0.85rem;
  color: #84f1b0;
}

.profile-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
}

.bot-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.bot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bot-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.95));
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.2);
  color: #cbd5f5;
  min-width: 200px;
}

.bot-indicator__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #6b7280;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.bot-indicator__label {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.bot-indicator--on {
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.3), 0 12px 24px rgba(34, 197, 94, 0.08);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.24), rgba(5, 46, 22, 0.7));
  color: #dcfce7;
}

.bot-indicator--on .bot-indicator__dot {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
}

.bot-indicator--off {
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2);
}

.bot-indicator--off .bot-indicator__dot {
  background: #64748b;
}

@media (max-width: 768px) {
  .bot-indicator {
    min-width: 0;
    width: 100%;
    justify-content: center;
  }

  .bot-actions {
    width: 100%;
    justify-content: center;
  }
}
