/* Rent collection feature page (feature_rent_collection_page.html). Builds on the shared feature kit in
   public-feature-page.css; only what the kit does not cover lives here, prefixed rc2-. */

/* Hero: the plan note under the actions and the payment processor mark. */
.rc2-page .rc2-hero-fine { margin: 16px 0 0; }
body.public-design #main-content .rc2-page .rc2-provider-label { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 24px 0 0; font-size: 14px; line-height: 20px; font-weight: 600; color: #5B6472; }
.rc2-page .rc2-provider-label img { display: block; width: auto; height: 40px; }

/* Status pills, from the tag palette. */
.rc2-page .rc2-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 18px; color: #1B1C1A; white-space: nowrap; }
.rc2-page .rc2-pill::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rc2-page .rc2-pill[data-tone="info"] { background: #2B7FFF; }
.rc2-page .rc2-pill[data-tone="processing"] { background: #FFCD00; }
.rc2-page .rc2-pill[data-tone="paid"] { background: #14B85A; }
.rc2-page .rc2-pill[data-tone="active"] { background: #74C600; }
.rc2-page .rc2-pill[data-tone="danger"] { background: #D40C1A; color: #fff; }

/* One payment, four stages: cards joined by a line that fills as each stage lights up. */
.rc2-page .rc2-journey { padding: 64px 0 56px; background: #F3F8FF; }
.rc2-page .rc2-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.rc2-page .rc2-phase { position: relative; display: grid; justify-items: start; align-content: start; gap: 6px; padding: 20px; background: #fff; border: 2px solid var(--fp-line); border-radius: 4px; box-shadow: var(--fp-card); transition: opacity .5s ease, border-color .5s ease, transform .5s ease; }
.rc2-page .rc2-phase > img { display: block; width: 56px; height: 56px; margin-bottom: 6px; }
.rc2-page .rc2-phase-step { font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--link-ink, #006CB4); }
body.public-design #main-content .rc2-page .rc2-phase h3 { margin: 0 0 6px; font: 600 20px/28px Poppins, "Open Sans", sans-serif; color: var(--fp-navy); }
.rc2-page .rc2-phase .rc2-pill { transition: opacity .5s ease .2s, transform .5s ease .2s; }
.rc2-page .rc2-phase:not(:last-child)::after { content: ""; position: absolute; top: 48px; left: calc(100% + 2px); width: 28px; height: 2px; background: var(--fp-purple); transition: background-color .5s ease; }
.rc2-page .rc2-track.is-waiting .rc2-phase:not(.is-on) { opacity: .45; transform: translateY(8px); }
.rc2-page .rc2-track.is-waiting .rc2-phase:not(.is-on) .rc2-pill { opacity: 0; transform: translateY(6px); }
.rc2-page .rc2-track.is-waiting .rc2-phase:not(.is-on)::after,
.rc2-page .rc2-track.is-waiting .rc2-phase.is-on:has(+ .rc2-phase:not(.is-on))::after { background: #C9D2DE; }
.rc2-page .rc2-phase.is-current { border-color: var(--fp-purple); }
body.public-design #main-content .rc2-page .rc2-journey-note { max-width: 70ch; margin: 32px auto 0; text-align: center; font-size: 16px; line-height: 24px; }

/* How it works: the step panels hold a captured card, a recording or a phone clip. */
.rc2-page .rc2-media { display: grid; place-items: center; min-height: 560px; padding: 28px; background: #F6F4FD; }
.rc2-page .rc2-media[hidden] { display: none; }
.rc2-page .rc2-media-phone { background: #fff; }
.rc2-page .rc2-media .rc2-shot { display: block; width: auto; max-width: 100%; height: auto; max-height: 504px; object-fit: contain; padding: 12px; background: #fff; border-radius: 4px; box-shadow: var(--fp-card); }
.rc2-page .rc2-media video { display: block; width: auto; max-width: 100%; height: 504px; }
body.public-design #main-content .rc2-page .rc2-steps-note { max-width: 70ch; margin: 24px 0 0; font-size: 16px; line-height: 24px; }

/* Plans and fees. */
.rc2-page .rc2-price { margin: -8px 0 0; color: var(--fp-grey); }
.rc2-page .rc2-price b { font-size: 24px; line-height: 32px; font-weight: 700; color: var(--fp-navy); }
.rc2-page .rc2-fees { display: grid; margin: 0; }
.rc2-page .rc2-fees > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--fp-line); }
.rc2-page .rc2-fees > div:first-child { padding-top: 0; }
.rc2-page .rc2-fees dt { font-size: 16px; line-height: 24px; font-weight: 600; }
.rc2-page .rc2-fees dt small { display: block; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--fp-grey); }
.rc2-page .rc2-fees dd { margin: 0; font-size: 16px; line-height: 24px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.rc2-page .fp-plan .fp-small { margin: 0; }

/* For your tenants: the tenant illustration sits on a white frame inside the purple band. */
.rc2-page .rc2-tenants .fp-small + .fp-small { margin-top: 12px; }
.rc2-page .rc2-dark-link { color: #5CC8FF; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.rc2-page .rc2-dark-link:is(:hover, :focus-visible) { color: #fff; }
.rc2-page .rc2-dark-link:focus-visible { outline: 3px solid #D1F48C; outline-offset: 2px; }
.rc2-page .rc2-tenant-art { justify-self: center; width: min(100%, 460px); margin: 0; padding: 12px; background: #fff; border-radius: 4px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45); }
.rc2-page .rc2-tenant-art img { display: block; width: 100%; height: auto; }

/* Case by case. */
.rc2-page .rc2-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rc2-page .rc2-case { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 2px solid var(--fp-line); border-radius: 4px; box-shadow: var(--fp-card); }
body.public-design #main-content .rc2-page .rc2-case-label { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 4px; padding: 10px 12px; background: #F6F4FD; border-radius: 4px; font-size: 14px; line-height: 20px; font-weight: 600; }
body.public-design #main-content .rc2-page .rc2-case h3 { margin: 0; font: 600 20px/28px Poppins, "Open Sans", sans-serif; color: var(--fp-navy); }
.rc2-page .rc2-case > p:not(.rc2-case-label) { margin: 0; }
.rc2-page .rc2-case .fp-link { margin-top: auto; padding-top: 4px; font-size: 16px; line-height: 24px; }

/* Questions, in two labelled groups. */
body.public-design #main-content .rc2-page .rc2-faq-group { margin: 0 0 8px; font: 600 20px/28px Poppins, "Open Sans", sans-serif; color: var(--fp-navy); }
body.public-design #main-content .rc2-page .fp-questions + .rc2-faq-group { margin-top: 40px; }

@media (max-width: 1023.98px) {
  .rc2-page .rc2-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc2-page .rc2-phase:nth-child(2)::after { display: none; }
  .rc2-page .rc2-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .rc2-page .rc2-journey { padding: 48px 0 44px; }
  .rc2-page .rc2-track { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rc2-page .rc2-phase { grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 16px; }
  .rc2-page .rc2-phase > img { grid-row: 1 / span 3; width: 48px; height: 48px; margin: 0; }
  .rc2-page .rc2-phase > :not(img) { grid-column: 2; justify-self: start; }
  .rc2-page .rc2-phase:not(:last-child)::after,
  .rc2-page .rc2-phase:nth-child(2)::after { display: block; top: 100%; left: 39px; width: 2px; height: 16px; }
  body.public-design #main-content .rc2-page .rc2-journey-note { margin-top: 24px; text-align: left; }
  .rc2-page .rc2-media { min-height: 0; padding: 16px; }
  .rc2-page .rc2-media .rc2-shot { max-height: none; padding: 8px; }
  .rc2-page .rc2-media video { height: 440px; }
  .rc2-page .rc2-fees dd { text-align: left; }
  .rc2-page .rc2-tenant-art { width: min(100%, 360px); }
  .rc2-page .rc2-cases { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rc2-page .rc2-case { padding: 16px; }
  .rc2-page :is(.rc2-case, .fp-plan) > .fp-link { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rc2-page .rc2-phase, .rc2-page .rc2-phase .rc2-pill { transition: none; }
}

/* Hero: the HTML Payments overview and Rent received cards over a home-office photo (payments-photo-v1, GPT).
   The cards are laid out on a 900px stage that scales to the column and hang below the photo. */
.fp-page .ps-stage { container-type: inline-size; }
.fp-page .ps-inner { position: relative; padding-bottom: 39cqw; }
.fp-page .ps-stage-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; background: #E9E4F7; box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 24px 48px -20px rgba(15, 23, 42, .45); }
.fp-page .ps-layer { position: absolute; left: 0; right: 0; top: 30cqw; }
.fp-page .ps-cards { position: relative; width: 100%; aspect-ratio: 900 / 630; }
.fp-page .ps-scale { position: absolute; left: 0; top: 0; width: 900px; height: 630px; transform-origin: 0 0; transform: scale(calc(100cqw / 900px)); color: #18263A; font-family: "Open Sans", Arial, sans-serif; font-size: 16px; line-height: 1.5; }
.fp-page .ps-scale * { box-sizing: border-box; margin: 0; }
.fp-page .ps-card { position: absolute; background: #fff; border: 1px solid #DEDDE8; border-radius: 8px; box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 22px 40px -14px rgba(15, 23, 42, .35); }

/* Payments overview card. */
.fp-page .ps-overview { left: 10px; top: 0; width: 650px; padding: 0 18px 30px; }
.fp-page .ps-top { display: flex; align-items: center; gap: 10px; margin: 0 -18px; padding: 10px 18px; border-bottom: 1px solid #E3E6EB; color: #45546B; font-size: 14px; }
.fp-page .ps-top img { width: 36px; height: 36px; object-fit: contain; }
.fp-page .ps-top b { color: #042238; font-weight: 700; }
.fp-page .ps-top span.sp { flex: 1; }
.fp-page .ps-pill { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.fp-page .ps-pill.sec { border: 1.5px solid #6B48E0; color: #6B48E0; }
.fp-page .ps-pill.pri { background: linear-gradient(90deg, #00B330, #2FD458 55%, #6BE36A); color: #1B1C1A; }
.fp-page .ps-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.fp-page .ps-tile { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr auto; column-gap: 6px; padding: 10px 12px; border-radius: 6px; background: radial-gradient(120% 90% at 0 0, rgba(255, 255, 255, .1), transparent 60%), var(--bg); color: #fff; box-shadow: 0 10px 18px -12px var(--glow); }
.fp-page .ps-tile::before { content: ""; position: absolute; z-index: -1; right: -24px; bottom: -1px; width: 150px; height: 70px; background: #fff; opacity: .08; clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.fp-page .ps-tile small { grid-column: 1; font-size: 13px; font-weight: 700; }
.fp-page .ps-tile strong { grid-column: 1; font-size: 21px; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; }
.fp-page .ps-tile em { grid-column: 1 / -1; margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .28); font-size: 12px; font-style: normal; }
.fp-page .ps-ring { grid-column: 2; grid-row: 1 / span 2; position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(15, 23, 42, .2); }
.fp-page .ps-ring svg { position: absolute; inset: 5px; width: 36px; height: 36px; }
.fp-page .ps-ring circle { fill: none; stroke-width: 5; stroke: rgba(255, 255, 255, .28); }
.fp-page .ps-ring circle + circle { stroke: #fff; stroke-linecap: round; }
.fp-page .ps-ring b { position: relative; font-size: 11px; font-weight: 700; }
.fp-page .ps-month { margin-top: 12px; padding: 10px 12px; border: 1px solid #E3E6EB; border-radius: 6px; }
.fp-page .ps-month-h { display: flex; align-items: center; justify-content: space-between; }
.fp-page .ps-month-h > b { font-size: 16px; font-weight: 600; color: #042238; }
.fp-page .ps-seg { display: flex; gap: 2px; padding: 3px; border: 1px solid #E3E6EB; border-radius: 4px; font-size: 12px; font-weight: 600; }
.fp-page .ps-seg span { padding: 3px 10px; }
.fp-page .ps-seg span.on { border-radius: 3px; background: #D1F48C; color: #1B1C1A; }
.fp-page .ps-bar { display: flex; height: 6px; margin: 10px 0 8px; overflow: hidden; border-radius: 3px; background: #E1E5EC; }
.fp-page .ps-bar i { display: block; height: 100%; }
.fp-page .ps-legend { display: flex; gap: 14px; font-size: 12px; color: #45546B; }
.fp-page .ps-legend span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--c); }

/* Rent received card. */
.fp-page .ps-received { left: 520px; top: 384px; width: 370px; padding: 14px 18px 16px; }
.fp-page .ps-rec-head { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: center; margin: -14px -18px 0; padding: 12px 18px; background: #F1ECFF; border-top: 5px solid #6B48E0; border-bottom: 1px solid #DED6F7; border-radius: 7px 7px 0 0; }
.fp-page .ps-rec-head img { width: 44px; height: 44px; object-fit: contain; }
.fp-page .ps-rec-head b { display: block; font: 600 22px/1.3 Poppins, "Open Sans", sans-serif; color: #042238; }
.fp-page .ps-rec-head span { display: block; color: #45546B; font-size: 13px; }
.fp-page .ps-rec-amt { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.fp-page .ps-rec-amt strong { font-size: 28px; font-weight: 700; color: #042238; font-variant-numeric: tabular-nums; }
.fp-page .ps-tag { display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 9px; border-radius: 999px; background: #14B85A; color: #1B1C1A; font-size: 12px; font-weight: 600; }
.fp-page .ps-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.fp-page .ps-rec-who { color: #45546B; font-size: 13px; }
.fp-page .ps-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; padding: 0; list-style: none; }
.fp-page .ps-steps li { position: relative; padding-top: 22px; font-size: 12px; color: #45546B; }
.fp-page .ps-steps li b { display: block; color: #042238; font-size: 13px; font-weight: 700; }
.fp-page .ps-steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #6B48E0; box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px #6B48E0; }
.fp-page .ps-steps li::after { content: ""; position: absolute; left: 18px; right: 4px; top: 6px; border-top: 2px solid #6B48E0; }
.fp-page .ps-steps li:last-child::after { content: none; }
#main-content .fp-page .ps-scale, #main-content .fp-page .ps-scale *:not(.ps-rec-head b) { font-family: "Open Sans", Arial, sans-serif !important; }
#main-content .fp-page .ps-scale .ps-rec-head b { font-family: Poppins, "Open Sans", sans-serif !important; }
@media (max-width: 767px) { .fp-page .ps-stage-photo { border-radius: 14px; } }
@media (min-width: 1024px) { .fp-page .fp-hero-grid:has(.ps-stage) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 3.2vw, 40px); } }
