body {
  background: #f5f5f5;
  font-family: 'Roboto', sans-serif;
}

.monospace {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  word-break: break-all;
}

.serial-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  word-break: break-all;
}

.qr-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
}

.qr-overlay-header {
  color: #fff;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qr-reader-host {
  flex: 1;
  min-height: 0;
}

/* Materialize Overrides */
.container {
  max-width: 1200px;
}

.modal {
  max-width: 500px;
}

.modal-close {
  cursor: pointer;
}

@media (max-width: 600px) {
  .container {
    width: 90%;
  }
}