/*
 * LicenseRequest.html - the customer's License Request Form, and what they see once it is filed.
 * Everything shared (header, footer, banners, buttons, dialogs) is in common.css.
 */

main {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0.75rem 0.75rem 2rem;
}

/* the form, and the receipt that takes its place: a panel like the settings dialog's body */
.panel {
  margin: 1rem 0;
  padding: 1.25rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.9rem;
}
.panel h2 { margin: 0; font-size: 1.1rem; }
.panel .hint { margin: 0; }
.panel form { display: grid; gap: 0.9rem; }
.panel label { display: grid; gap: 0.3rem; font-size: 0.9rem; color: var(--muted); }
/* the license request is Base64 the customer pastes: monospace, so a wrapped line reads as one */
.panel textarea[name="license_request"] { font-family: ui-monospace, Consolas, "Courier New", monospace; font-size: 0.85rem; resize: vertical; }
.panel input[type="email"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  background: var(--input-bg);
  color: var(--text);
  min-height: 40px;
}
/* what the pasted request says, under it: a label and its value per row, the hint across both columns */
.panel .claims {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.25rem 0.75rem;
  align-items: baseline;
  margin-top: -0.4rem;
  padding: 0.6rem 0.75rem;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
}
.panel .claims > span { color: var(--muted); }
.panel .claims output { font-family: ui-monospace, Consolas, "Courier New", monospace; overflow-wrap: anywhere; }
.panel .claims .hint { grid-column: 1 / -1; margin: 0.2rem 0 0; }
.panel .actions { display: flex; justify-content: flex-end; gap: 0.5rem; }
/* the Order_ID the customer is told to quote */
.panel .order { margin: 0; font-size: 1.05rem; }
.panel .order strong { font-family: ui-monospace, Consolas, "Courier New", monospace; font-size: 1.15rem; letter-spacing: 0.04em; }
