/* EPC Near Me: public CPD certificate page (/cpd/certificate/<ref>/<code>/, functions/cpd/certificate/[[path]].js) */
* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: #022a18; }
body {
  font-family: "PT Sans", Arial, Helvetica, sans-serif; color: #16241d; line-height: 1.55;
  background: #022a18 radial-gradient(circle at 20% 0%, #0a5233 0, #043D24 900px, #022a18 1600px) no-repeat; min-height: 100vh;
}
.c-wrap { max-width: 820px; margin: 0 auto; padding: 28px 18px 48px; text-align: center; }
.c-logo img { display: block; margin: 0 auto 18px; height: auto; }
.c-verified {
  display: inline-block; background: #FFD21F; color: #0b1c12; font-weight: 700; font-size: 14px; letter-spacing: 1.5px;
  text-transform: uppercase; border-radius: 999px; padding: 7px 18px; margin-bottom: 18px;
}
.c-paper { background: #fff; border-radius: 10px; padding: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); border: 4px solid #043D24; }
.c-inner { border: 2px solid #FFD21F; background: #fffdf5; border-radius: 4px; padding: 30px 26px 26px; }
.c-badge { display: block; margin: 0 auto 6px; width: 150px; height: auto; }
.c-kicker { margin: 6px 0 0; font-weight: 700; font-size: 13px; letter-spacing: 5px; text-transform: uppercase; color: #157A33; }
.c-rule { display: block; width: 64px; height: 3px; background: #FFD21F; margin: 12px auto 18px; border-radius: 2px; }
.c-script { margin: 0; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 17px; color: #4b5f55; }
.c-name { margin: 6px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 40px; line-height: 1.2; color: #043D24; }
.c-course { margin: 10px 0 8px; font-size: 26px; line-height: 1.25; font-weight: 700; }
.c-meta { margin: 0; color: #3d4f46; font-size: 15.5px; }
.c-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; margin-left: auto !important; margin-right: auto !important; gap: 10px; margin: 22px 0 0; padding-top: 14px; border-top: 1px solid #e6efe9; }
.c-facts dt { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: #6b7f75; }
.c-facts dd { margin: 3px 0 0; font-weight: 700; font-size: 15px; word-break: break-word; }
.c-sign { margin-top: 20px; }
.c-sign span { display: inline-block; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 22px; color: #043D24; padding: 0 24px 4px; border-bottom: 1px solid #9fb5aa; }
.c-sign small { display: block; margin-top: 5px; font-size: 12px; color: #6b7f75; }

.c-actions, .c-cta { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 22px 20px; margin-top: 22px; color: #fff; }
.c-actions h3 { margin: 0 0 4px; font-size: 20px; color: #fff; }
.c-actions p, .c-cta p { margin: 0 0 14px; color: #d6e6dc; }
.c-btn {
  display: inline-block; margin: 5px; padding: 13px 22px; border-radius: 10px; font: 700 15.5px/1.2 "PT Sans", Arial, sans-serif;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
}
.c-li { background: #0A66C2; color: #fff; }
.c-li:hover { background: #0b74dc; }
.c-li-ghost { background: #fff; color: #0A66C2; border-color: #fff; }
.c-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.c-ghost:hover { background: rgba(255, 255, 255, .08); }
.c-green { background: #25C146; color: #fff; }
.c-green:hover { background: #31D957; }
.c-small { margin-top: 18px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.c-missing { padding: 34px 24px; }
.c-missing h1 { color: #043D24; margin-top: 0; }
.c-missing a:not(.c-btn) { color: #157A33; }

/* verification result (top of a certificate page) */
.c-check { display: flex; gap: 16px; align-items: flex-start; text-align: left; background: #f2faf5; border: 2px solid #25C146; border-radius: 14px; padding: 16px 18px; margin: 0 0 20px; color: #16241d; }
.c-check-tick { flex: 0 0 44px; height: 44px; border-radius: 50%; background: #25C146; color: #fff; font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.c-check p { margin: 0 0 4px; font-size: 15.5px; }
.c-check .c-check-h { font-size: 18px; font-weight: 700; color: #043D24; }
.c-check-ids { font-size: 14px !important; color: #3d4f46; }
.c-check-profile { margin-top: 10px !important; font-size: 15px; }
.c-check-profile .c-btn { margin: 6px 0 0; }
.c-sm { padding: 9px 16px !important; font-size: 14.5px !important; }
.c-badge-link { display: inline-block; border-radius: 50%; }
.c-badge-link:hover .c-badge { transform: scale(1.04); }
.c-badge { transition: transform .2s ease; }
.c-plink { color: inherit; text-decoration: none; border-bottom: 2px solid rgba(255, 210, 31, .9); }
.c-plink:hover { border-bottom-color: #25C146; }
.c-verify-line { margin: 14px 0 0; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #6b7f75; }

/* the verify form (/cpd/verify/) */
.c-verify { text-align: left; }
.c-verify .c-kicker, .c-verify .c-vh { text-align: center; }
.c-verify .c-rule { margin-left: auto; margin-right: auto; }
.c-vh { margin: 0 0 12px; font-size: 30px; color: #043D24; }
.c-verify p { color: #3d4f46; }
.c-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin: 16px 0 6px; }
.c-form label span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 5px; color: #16241d; }
.c-form input { width: 100%; height: 48px; border: 1.5px solid #c9dccf; border-radius: 10px; padding: 0 13px; font: 16px "PT Sans", Arial, sans-serif; color: #16241d; background: #fff; }
.c-form input:focus { outline: 2px solid #25C146; border-color: #25C146; }
.c-form .c-btn { margin: 0; height: 48px; }
.c-form-one { grid-template-columns: 1fr auto; }
.c-or { margin: 14px 0 0; font-weight: 700; font-size: 14px; color: #6b7f75 !important; text-transform: uppercase; letter-spacing: 1px; }
.c-note { font-size: 13.5px; margin-top: 18px; }
.c-verify a:not(.c-btn) { color: #157A33; }
.c-verify-msg { background: #fff4c2; border: 1px solid #f0d36b; border-radius: 10px; padding: 11px 14px; color: #5c4400 !important; font-weight: 700; }
.c-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* "Your post is ready" (/cpd/share/) */
.c-post { width: 100%; border: 1.5px solid #c9dccf; border-radius: 12px; padding: 14px 15px; font: 15px/1.55 "PT Sans", Arial, sans-serif; color: #16241d; background: #fff; resize: vertical; margin-top: 6px; }
.c-post:focus { outline: 2px solid #0A66C2; border-color: #0A66C2; }
.c-share-go { text-align: center; margin: 16px 0 4px !important; }
.c-share-go .c-btn { font-size: 17px; padding: 15px 26px; }
.c-share-msg { display: none; text-align: center; font-weight: 700; color: #157A33 !important; }
.c-steps { margin: 14px 0 0 20px; padding: 0; color: #3d4f46; font-size: 14.5px; }
.c-steps li { margin: 0 0 4px; }

@media (max-width: 760px) {
  .c-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-form, .c-form-one { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .c-name { font-size: 31px; }
  .c-course { font-size: 21px; }
  .c-inner { padding: 24px 14px 20px; }
}
@media print {
  body { background: #fff; }
  .c-logo, .c-verified, .c-check, .c-actions, .c-cta, .c-small { display: none; }
  .c-plink { border-bottom: 0; }
  .c-wrap { padding: 0; max-width: none; }
  .c-paper { box-shadow: none; }
}
