/*
 * KOrder styles · public/css/10-point-claim.css
 * Tablet earn-points QR modal and the /points claim card.
 *
 * public/css/*.css used to be one public/styles.css. The files are cut from it in order
 * and index.html loads them in that same order, which is the CSS cascade order: do not
 * reorder the <link> tags, and add a rule to the file that owns its screen.
 * Map: public/css/README.md
 */
.claim-modal {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(440px, calc(100vw - 48px));
  padding: 26px 22px 22px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  text-align: center;
}

.claim-modal h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
}

.claim-modal p {
  margin: 0;
  color: var(--muted);
}

.claim-modal .qr-frame {
  width: min(240px, 60vw);
}

.claim-modal .claim-note {
  font-size: 13px;
}

.claim-modal .claim-preparing {
  line-height: 1.4;
}

.claim-modal .claim-preparing p {
  padding: 0 12px;
  font-weight: 600;
}

.claim-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: auto;
  min-height: 34px;
}

.claim-card {
  display: grid;
  gap: 10px;
}

.claim-card h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.claim-card form {
  display: grid;
  gap: 10px;
}

.claim-card.done h2 {
  color: var(--teal-dark);
}

.claim-error {
  margin: 0;
  color: var(--coral);
  font-weight: 800;
}

