.radio-widget {
  background: #05070b;
  border-radius: 12px;
  padding: 16px 18px;
  color: #f5f7fb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.radio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.radio-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ea7c7;
}

.radio-status {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.radio-status--connected {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(22, 163, 74, 0.12);
}

.radio-status--disconnected {
  color: #f97373;
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(127, 29, 29, 0.18);
}

.radio-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-row--ptt {
  margin-top: 6px;
}

.radio-label {
  font-size: 13px;
  color: #9ea7c7;
  min-width: 60px;
}

.radio-select {
  flex: 1;
  background: #0b0f18;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e5e7eb;
  padding: 6px 10px;
  font-size: 13px;
}

.radio-select:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
}

.radio-btn {
  font-size: 13px;
  border-radius: 999px;
  padding: 6px 14px;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: #e5e7eb;
}

.radio-btn--primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: rgba(34, 197, 94, 0.7);
  color: #020617;
  font-weight: 600;
}

.radio-btn--primary:disabled {
  opacity: 0.4;
  cursor: default;
}

.radio-btn--ghost {
  border-color: rgba(148, 163, 184, 0.5);
  color: #9ca3af;
}

.radio-btn--ghost:disabled {
  opacity: 0.3;
  cursor: default;
}

.radio-ptt-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at 20% 0%, #0f172a, #020617);
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.05s ease, box-shadow 0.05s ease,
    background 0.1s ease;
}

.radio-ptt-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.radio-ptt-btn--active {
  transform: translateY(1px);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5),
    0 0 18px rgba(56, 189, 248, 0.45);
  background: radial-gradient(circle at 20% 0%, #0f172a, #0369a1);
  border-color: rgba(56, 189, 248, 0.9);
}

.radio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  font-size: 11px;
  color: #9ca3af;
}

.radio-log {
  opacity: 0.85;
}
