/* Purchase confirmation (payment/start): same look as the Forgot-password card.
   Used both as the full page and as the popup on the Visit page. All rules are scoped to .pc-* */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

.pc-page { display: flex; justify-content: center; align-items: flex-start; padding: 40px 16px; width: 100%; box-sizing: border-box; }
.pc-card, .pc-card * { box-sizing: border-box; }
.pc-card {
  position: relative; width: 100%; max-width: 440px; margin: 0 auto; padding: 40px 40px 32px;
  background: #fff; border: 1px solid #e3ebe5; border-radius: 20px;
  box-shadow: 0 1px 2px rgba(31,58,45,.04), 0 12px 40px rgba(31,58,45,.08);
  text-align: center; color: #1f3a2d; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.pc-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f1f5f2; color: #2d4a3b; font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.pc-close:hover { background: #e3ebe5; }
.pc-mark { display: flex; justify-content: center; margin: 0 auto 16px; }
.pc-mark img { height: 52px; width: auto; max-width: 100%; object-fit: contain; display: block; }
.pc-h1 { margin: 0 0 10px; font-size: 22px; font-weight: 500; color: #1f3a2d; letter-spacing: -.02em; line-height: 1.3; }
.pc-sub { margin: 0 auto 26px; max-width: 320px; color: #8a9a90; font-size: 13px; line-height: 1.9; }
.pc-alert { margin: 0 0 18px; padding: 10px 14px; border-radius: 8px; font-size: 13px; line-height: 1.5; text-align: left; background: #fdecea; color: #a12622; border: 1px solid #f5c6c2; }
.pc-rows { text-align: left; border: 1px solid #e3ebe5; border-radius: 12px; padding: 4px 16px; margin: 0 0 24px; background: #fafcf7; }
.pc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; font-size: 13px; border-bottom: 1px solid #e9efea; }
.pc-row:last-child { border-bottom: 0; }
.pc-row span:first-child { color: #8a9a90; flex: none; }
.pc-row span:last-child { color: #1f3a2d; font-weight: 600; text-align: right; word-break: break-word; }
.pc-label { display: block; text-align: left; font-size: 12px; font-weight: 600; color: #2d4a3b; margin: 0 0 10px; }
.pc-input { width: 100%; height: 44px; border: 1px solid #dfe8e2; border-radius: 8px; padding: 0 14px; font-size: 13px; font-family: inherit; color: #1f3a2d; background: #fff; margin: 0 0 14px; }
.pc-input:focus { outline: none; border-color: #2d5a3d; box-shadow: 0 0 0 3px rgba(45,90,61,.12); }
.pc-note { margin: 0 0 18px; color: #8a9a90; font-size: 12px; line-height: 1.7; text-align: left; }
.pc-btn { width: 100%; height: 48px; border: 0; border-radius: 8px; background: #2d5a3d; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-family: inherit; }
.pc-btn:hover { background: #244a32; color: #fff; text-decoration: none; }
.pc-foot { text-align: center; margin: 22px 0 0; font-size: 13px; color: #7d8f84; }

/* popup on the Visit page */
.pc-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.55); display: none; align-items: center; justify-content: center; z-index: 1100; padding: 16px; overflow-y: auto; }
.pc-overlay.open { display: flex; }
.pc-overlay .pc-card { margin: auto; max-height: calc(100vh - 32px); overflow-y: auto; scrollbar-width: thin; }
.pc-loading { padding: 56px 0; color: #8a9a90; font-size: 13px; }
@media (max-width: 520px) { .pc-card { padding: 32px 20px 24px; } .pc-page { padding: 24px 12px; } }
