/* Brighter Being test site: the client portal (portal.html, js/portal.js). Builds on book.css (the .bk box, titles,
   form fields and buttons) and the brand tokens from site.css. */

.pt-form { grid-template-columns: 1fr; max-width: 460px; }
.pt-code { font-size: 26px; letter-spacing: .3em; text-align: center; max-width: 240px; }

.pt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 26px; }
.pt-card { background: var(--beige); border-radius: 18px; padding: 20px 22px; }
.pt-head { font-family: var(--caps); font-weight: 400; font-size: 18px; letter-spacing: 1.8px; color: var(--gold-ink); margin-bottom: 10px; }
.pt-card p + p { margin-top: 6px; }
.pt-when { font-weight: 700; color: var(--brown); }
.pt-small { font-size: 15px; font-style: italic; margin-top: 10px; }
.pt-list { list-style: none; margin: 0; padding: 0; }
.pt-list > li + li { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(113, 113, 71, .25); }
.pt-links a, .pt-card a:not(.btn) { color: var(--olive-deep); font-weight: 700; text-underline-offset: 3px; }

/* The package's key dates: done ones quiet, the next one marked */
.pt-steps { list-style: none; margin: 12px 0 0; padding: 0; }
.pt-steps li { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; padding: 7px 0 7px 22px; position: relative; }
.pt-steps li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--olive); }
.pt-steps li.done { opacity: .6; }
.pt-steps li.done::before { background: var(--olive); }
.pt-steps li.next { font-weight: 700; color: var(--brown); }
.pt-steps li.next::before { background: var(--gold); border-color: var(--gold); }
.pt-step-date { font-size: 15px; }

.pt-pay li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.pt-pay-amt { font-weight: 700; text-align: right; }
.pt-pay-state { grid-column: 1 / -1; font-size: 15px; }
.pt-pay-state.paid { opacity: .75; }

/* Practice Better: records, forms and messages */
.pt-pb { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; padding: 18px 22px; border-radius: 18px; border: 1.5px solid rgba(113, 113, 71, .35); }
.pt-pb p { margin: 0; max-width: 46ch; }

@media (max-width: 520px) {
  .pt-steps li { grid-template-columns: 1fr; gap: 0; }
  .pt-card { padding: 18px; }
}
