/* Polaris web components (loaded by App Bridge) style the embedded page; this file only covers
   the stand-alone pages (install form, error page) and small layout helpers. */
:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  margin: 0;
  background: #f1f1f1;
  color: #303030;
}

.standalone {
  max-width: 480px;
  margin: 64px auto;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
}

.standalone h1 {
  font-size: 20px;
  margin: 0 0 12px;
}

.standalone label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.standalone input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid #8a8a8a;
  border-radius: 8px;
  margin-bottom: 12px;
}

.standalone button {
  background: #303030;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.invoice-table th,
.invoice-table td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid #e3e3e3;
}

.invoice-table td.num,
.invoice-table th.num {
  text-align: right;
}

/* Public legal pages (/privacy, /terms) */
.legal {
  max-width: 760px;
  margin: 40px auto;
  padding: 32px;
  background: #fff;
  border-radius: 12px;
  line-height: 1.55;
}

.legal h1 {
  font-size: 22px;
  margin: 0 0 8px;
}

.legal h2 {
  font-size: 16px;
  margin: 24px 0 8px;
}

.legal .muted {
  color: #616161;
  font-size: 13px;
}

.legal-footer {
  margin-top: 40px;
  font-size: 13px;
  color: #616161;
}
