/* Dashboard > Sertifikat dari Jenggala — V21.51.

   The panel borrows .member-panel, .certificate-card-grid and .certificate-card
   from the achievement panel above it, so the two read as one section of the
   dashboard. Only what is particular to issued certificates lives here. */

/* One sentence for what the panel holds, and one quieter line for how it
   differs from the achievement panel above. Kept to a readable measure so it
   does not stretch the full width of a very wide dashboard column. */
.issued-certificates2151 .issued-intro2151 {
  margin: 12px 0 0;
  max-width: 62ch;
}

.issued-certificates2151 .issued-intro2151 p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #5f584d;
}

.issued-certificates2151 .issued-intro2151 small {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #8d8478;
}

.issued-certificates2151 .issued-intro2151 b {
  color: #6c5222;
  font-weight: 600;
}

/* ------------------------------------------------------------------ state */

/* The box is a message with an action, not a message and a stray button at the
   far edge: the copy takes the width it needs and the button sits directly
   after it, so the two read as one thing. */
.issued-certificates2151 .issued-state2151 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 16px;
  margin: 18px 0 0;
  padding: 14px 16px;
  max-width: 640px;
  border-radius: 14px;
  background: #fffaf1;
  border: 1px solid #ab85483b;
  color: #6f6558;
  font-size: 12.5px;
  line-height: 1.65;
}

.issued-certificates2151 .issued-state2151 p { margin: 0; }

.issued-certificates2151 .issued-state-copy2151 {
  flex: 1 1 240px;
  min-width: 0;
}

/* The technical instruction belongs to whoever can act on it. It stays
   readable, but it never competes with the sentence the rider needs. */
.issued-certificates2151 .issued-state-copy2151 small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.55;
  color: #9a9084;
  word-break: break-word;
}

/* A missing table is not a failure the rider can do anything about, so it is
   told in the calm colour, not the alarming one. */
.issued-certificates2151 .issued-state2151.is-waiting {
  border-left: 3px solid #a17b40;
  background: #fdf6e8;
}

.issued-certificates2151 .issued-state2151.is-error {
  border-left: 3px solid #a4553c;
  background: #fbf1ed;
}

.issued-certificates2151 .issued-state2151 .table-action {
  flex: none;
  padding: 8px 16px;
  border: 1px solid #ab8548;
  border-radius: 999px;
  background: transparent;
  color: #6c5222;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.issued-certificates2151 .issued-state2151 .table-action:hover {
  background: #a17b40;
  color: #fffaf1;
}

/* ------------------------------------------------------------------ cards */

.issued-certificates2151 .certificate-card {
  align-items: start;
}

.issued-certificates2151 .certificate-card-seal b {
  font-family: var(--font-display,Georgia,serif);
  font-size: 15px;
  letter-spacing: .04em;
}

.issued-certificates2151 .issued-code2151 {
  display: block;
  margin-top: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: .06em;
  color: #9c7138;
  overflow-wrap: anywhere;
}

.issued-certificates2151 .issued-physical2151 {
  margin-top: 6px;
  font-size: 9px;
  color: #6f6558;
}

.issued-certificates2151 .issued-action2151 {
  display: flex;
  align-items: center;
  align-self: center;
}

.issued-certificates2151 .issued-action2151 .community-alert2142 {
  font-size: 10px;
  line-height: 1.5;
  color: #a4553c;
  max-width: 14ch;
}

@media (max-width: 760px) {
  .issued-certificates2151 .certificate-card {
    grid-template-columns: 44px 1fr;
  }

  .issued-certificates2151 .issued-action2151 {
    grid-column: 1 / -1;
    margin-top: 10px;
  }

  .issued-certificates2151 .issued-action2151 .button {
    width: 100%;
  }
}
