/* RP Cost Calculator. Scoped under .rp-cost-shell. */

/* Dark utility bar at the top — only on cost pages, scoped via the
   body.rp-cost-page class added by class-rp-cost-calculator.php. Same
   element IDs as the quiz pages (c78a132 for non-home, 0932c47 for home). */
body.rp-cost-page .elementor-element.elementor-element-c78a132,
body.rp-cost-page .elementor-element.elementor-element-0932c47 {
    background-color: #222222 !important;
}
body.rp-cost-page .elementor-element.elementor-element-c78a132,
body.rp-cost-page .elementor-element.elementor-element-c78a132 a,
body.rp-cost-page .elementor-element.elementor-element-c78a132 .elementor-icon-list-text,
body.rp-cost-page .elementor-element.elementor-element-c78a132 .elementor-icon-list-icon i,
body.rp-cost-page .elementor-element.elementor-element-c78a132 .elementor-icon-list-icon svg,
body.rp-cost-page .elementor-element.elementor-element-0932c47,
body.rp-cost-page .elementor-element.elementor-element-0932c47 a,
body.rp-cost-page .elementor-element.elementor-element-0932c47 .elementor-icon-list-text,
body.rp-cost-page .elementor-element.elementor-element-0932c47 .elementor-icon-list-icon i,
body.rp-cost-page .elementor-element.elementor-element-0932c47 .elementor-icon-list-icon svg {
    color: #f0f0f0 !important;
    fill: #f0f0f0 !important;
}
body.rp-cost-page .elementor-element.elementor-element-c78a132 a:hover,
body.rp-cost-page .elementor-element.elementor-element-c78a132 a:hover .elementor-icon-list-text,
body.rp-cost-page .elementor-element.elementor-element-0932c47 a:hover,
body.rp-cost-page .elementor-element.elementor-element-0932c47 a:hover .elementor-icon-list-text {
    color: #ffffff !important;
}


.rp-cost-shell { max-width: 880px; margin: 40px auto; padding: 0 20px; line-height: 1.55; }
.rp-cost-hero { margin-bottom: 28px; }
.rp-cost-hero h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 12px; color: #222; }
.rp-cost-eyebrow { font-size: 0.9rem; margin: 0 0 12px; }
.rp-cost-eyebrow a { color: #666; text-decoration: none; }
.rp-cost-eyebrow a:hover { color: #e53935; }
.rp-cost-lede { font-size: 1.1rem; color: #555; margin: 0; }

.rp-cost-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 28px 0; }
.rp-cost-card {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px; min-height: 92px;
  background: #fff; border: 1px solid #e5e5e5; border-radius: 10px;
  text-decoration: none; color: #222; transition: all 0.15s;
}
.rp-cost-card:hover { border-color: #e53935; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-2px); }
.rp-cost-card__title { font-weight: 600; font-size: 1rem; }
.rp-cost-card__cta   { font-size: 0.85rem; color: #e53935; margin-top: 8px; }

.rp-cost-table { background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; padding: 24px; margin: 24px 0; }
.rp-cost-table h2 { margin: 0 0 16px; font-size: 1.3rem; color: #222; }
.rp-cost-table table { width: 100%; border-collapse: collapse; }
.rp-cost-table th, .rp-cost-table td { padding: 10px 6px; text-align: left; border-bottom: 1px solid #f0f0f0; }
.rp-cost-table th { font-size: 0.85rem; text-transform: uppercase; color: #999; letter-spacing: 0.04em; }
.rp-cost-table td.num, .rp-cost-table th.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.rp-cost-note { font-size: 0.85rem; color: #888; margin: 12px 0 0; }

.rp-cost-estimator { background: #fff8f0; border: 1px solid #f5a623; border-radius: 10px; padding: 24px; margin: 24px 0; }
.rp-cost-estimator h2 { margin: 0 0 16px; font-size: 1.3rem; color: #222; }
.rp-cost-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.rp-cost-row label { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; color: #555; }
.rp-cost-row select { padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 1rem; background: #fff; }
.rp-cost-result { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid #f5a623; }
.rp-cost-result__label { font-size: 0.85rem; color: #999; text-transform: uppercase; letter-spacing: 0.04em; }
.rp-cost-result__value { font-size: 2rem; font-weight: 700; color: #e53935; font-variant-numeric: tabular-nums; }

.rp-cost-cta { text-align: center; margin: 28px 0; }
.rp-btn { display: inline-block; padding: 12px 22px; border-radius: 8px;
  background: #fff; border: 2px solid #e53935; color: #e53935;
  font-weight: 600; text-decoration: none; transition: all 0.12s; }
.rp-btn:hover { background: #e53935; color: #fff; }
.rp-btn--primary { background: #e53935; color: #fff; }
.rp-btn--primary:hover { background: #c62828; border-color: #c62828; }

.rp-cost-faq { background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; padding: 24px; margin: 24px 0; }
.rp-cost-faq h2 { margin: 0 0 12px; font-size: 1.3rem; color: #222; }
.rp-cost-faq details { padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
.rp-cost-faq details:last-child { border-bottom: 0; }
.rp-cost-faq summary { cursor: pointer; font-weight: 600; color: #222; }
.rp-cost-faq summary::-webkit-details-marker { color: #e53935; }
.rp-cost-faq p { margin: 10px 0 0; color: #555; }

@media (max-width: 600px) {
  .rp-cost-hero h1 { font-size: 1.5rem; }
  .rp-cost-result__value { font-size: 1.5rem; }
}
