/* ==========================================================================
   Developer Panel (floating debug/testing tool — not part of the "real" POS
   UI, styled distinctly so it always reads as a dev affordance).
   ========================================================================== */

.dev-fab {
  position: fixed;
  right: max(var(--space-5), calc((100vw - var(--app-max-width)) / 2 + var(--space-5)));
  bottom: calc(var(--space-6) + var(--safe-bottom));
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--text-primary);
  color: var(--bg-app);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-fast) var(--ease-standard);
}

.dev-fab:active {
  transform: scale(0.94);
}

.dev-fab svg {
  width: 22px;
  height: 22px;
}

.dev-panel .sheet__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.dev-panel__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.dev-panel__group-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
}

.dev-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.dev-panel__row label {
  font-size: var(--text-sm);
  font-weight: 500;
}

.dev-panel__actions {
  display: flex;
  gap: var(--space-3);
}

.dev-panel__actions > * {
  flex: 1;
}

.log-console {
  background: #0d0e14;
  color: #d7dae2;
  border-radius: var(--radius-md);
  padding: var(--space-3);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  max-height: 260px;
  overflow-y: auto;
}

.log-line {
  white-space: pre-wrap;
  word-break: break-word;
  padding: 2px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.log-line[data-level="success"] {
  color: #5ce0a0;
}
.log-line[data-level="error"] {
  color: #ff8a9b;
}
.log-line[data-level="warn"] {
  color: #ffcf7d;
}
.log-line[data-level="info"] {
  color: #7fb3ff;
}

.log-line__time {
  color: #6b7080;
  margin-right: var(--space-2);
}
