.sw-status {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
  font-family: monospace;
  font-size: 12px;
}

.sw-status--offline {
  background: #ffc91a9d;
  border-color: #e6b616cc;
}

.sw-status--online {
  background: #12e24360;
  border-color: #2bc950bc;
}

.sw-status--unsupported {
  background: #e62f3e60;
  border-color: #e52336c8;
}

.sw-status__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.sw-status__header h3 {
  margin: 0;
  font-size: 14px;
}

.sw-status__indicators {
  display: flex;
  gap: 8px;
}

.indicator {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: bold;
}

.indicator--success {
  background: #d4edda;
  color: #155724;
}

.indicator--warning {
  background: #fff3cd;
  color: #856404;
}

.indicator--info {
  background: #d1ecf1;
  color: #0c5460;
}

.sw-status__error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  padding: 8px;
  margin-bottom: 12px;
}

.sw-status__error p {
  margin: 0;
  color: #721c24;
}

.sw-status__info {
  margin-bottom: 12px;
}

.sw-status__info p {
  margin: 4px 0;
}

.sw-status__offline-notice {
  color: #856404;
  font-weight: bold;
}

.sw-status__controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sw-button {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.sw-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sw-button--primary {
  background: #007bff;
  color: white;
}

.sw-button--primary:hover:not(:disabled) {
  background: #0056b3;
}

.sw-button--secondary {
  background: #6c757d;
  color: white;
}

.sw-button--secondary:hover:not(:disabled) {
  background: #545b62;
}

.sw-button--danger {
  background: #dc3545;
  color: white;
}

.sw-button--danger:hover:not(:disabled) {
  background: #c82333;
}
