/* App-specific styles on top of Pico.css. */

nav form {
  margin: 0;
}

nav button {
  margin: 0;
  padding: 0.25rem 0.75rem;
}

.form-error {
  color: #d93526;
  font-weight: 600;
}

/* FD pairing page */
#qr {
  display: flex;
  justify-content: center;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  max-width: 24rem;
}

#qr svg {
  width: min(70vw, 20rem);
  height: auto;
}

#link-url {
  word-break: break-all;
}

/* Received secrets (FD) */
.secret-card {
  padding: 1rem;
  margin-bottom: 1rem;
}

.secret-card header {
  font-weight: 700;
  padding: 0 0 0.5rem 0;
  margin-bottom: 0.5rem;
}

.secret-card p {
  margin: 0.75rem 0 0 0;
}

.secret-value {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
  user-select: all;
}

#sent-list li {
  list-style: none;
}
