/* ==========================================================================
   List your services (list-your-services.html)
   Pricing embed + two-step signup/post-service flow. This page's CSS grew
   from many separately hand-authored blocks; some class names (.how-title,
   .how-step, .progress-bar, etc.) are intentionally redefined more than
   once by different sections further down this file with different
   values -- that duplication is preserved in its original source order
   here so the final cascade result stays byte-identical to before this
   extraction. Only genuinely dead rules (verified against the markup) were
   removed.

   Design system: structural/generic values (typography, borders, shadows,
   form inputs) use the shared tokens from /css/tokens.css, matching the
   redesign pass done elsewhere. The pricing grid's per-tier colors
   (free=green, basic=blue, standard=purple, premium=gold) are deliberate
   brand differentiators for the plan cards and are left as their own
   hand-picked colors rather than flattened to the single-brand token
   palette -- that's the whole point of a pricing table.
   ========================================================================== */

body {
  font-family: "Inter", sans-serif;
  background: var(--surface);
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  width: 100%;
}

h1 {
  font-size: var(--font-size-2xl);
  text-align: center;
}

h2 {
  font-size: var(--font-size-base);
  text-align: center;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.form-section {
  margin-bottom: var(--space-6);
}

/* ==========================================================================
   Home button (mobile navbar)
   ========================================================================== */
.home-btn {
  width: 56px;
  height: 56px;
  background: #dedfe0;
  border-radius: 50%;
  color: #000;
  text-decoration: none;
  margin-left: -5px;
  transition: all 0.2s ease;
}

.home-btn:hover {
  background-color: #e9ecef;
  color: #000;
  transform: scale(1.05);
}

.home-btn:active {
  transform: scale(0.95);
}

.home-btn i {
  font-size: 1.5rem;
  line-height: 1;
}

.home-text {
  font-size: 10px;
  line-height: 1;
  margin-top: 2px;
  color: #1f2937;
}

/* ==========================================================================
   Form inputs
   ========================================================================== */
.input-group {
  position: relative;
  margin-bottom: var(--space-4);
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  font-size: var(--font-size-base);
  border-radius: var(--radius-sm);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.input-group select:focus,
.input-group textarea:focus,
.input-group input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.main-container {
  flex: 1;
  align-items: center;
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, var(--light) 0%, var(--surface) 100%);
  box-sizing: border-box;
}

@media (min-width: 1400px) {
  .main-container {
    padding: var(--space-9) var(--space-4) var(--space-9) var(--space-4);
  }
}

.register-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.register-card h1 {
  text-align: center;
  margin-bottom: var(--space-5);
  color: var(--dark);
  font-weight: var(--font-weight-bold);
}

/* Error messages */
.error-message {
  color: var(--danger);
  font-size: var(--font-size-sm);
  margin-top: 4px;
  display: block;
  min-height: 18px;
  opacity: 0;
  transition: opacity 0.3s;
}

.error-message.active {
  opacity: 1;
}

.login-link {
  text-align: center;
  margin-top: var(--space-4);
  font-size: var(--font-size-sm);
}

.login-link a {
  color: var(--primary);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

.mb-3 {
  margin-bottom: 0.2rem !important;
}

.category-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  max-height: 200px;
  overflow-y: auto;
  background-color: var(--surface-alt);
}

.category-checkboxes .form-check {
  flex: 1 1 45%;
  min-width: 140px;
}

@media (max-width: 768px) {
  #categoryCheckboxes {
    margin: 10px 70px 10px 10px;
  }

  .main-container {
    padding: 0;
  }

  .register-card {
    padding: var(--space-5) var(--space-4);
  }

  #addressDiv {
    margin-top: 10px;
  }
}

/* ==========================================================================
   Google sign-in button
   ========================================================================== */
.btn-google {
  background-color: var(--surface);
  color: #000;
  border: 2px solid #000;
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
  width: 70%;
  margin: 0 auto var(--space-5) auto;
  transition:
    background-color 0.2s,
    transform 0.1s;
}

.btn-google:hover {
  background-color: var(--surface-alt);
  transform: translateY(-1px);
}

.btn-google img,
.google-logo {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.or-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-4) 0;
  gap: var(--space-3);
}

.or-container .line {
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
}

.or-container .or-text {
  white-space: nowrap;
  font-weight: var(--font-weight-medium);
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  text-align: center;
}

.or-subtext {
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.signup-next-btn {
  display: block;
  margin: 0 auto;
  font-size: var(--font-size-base);
  height: 42px;
  width: 250px;
}

.back-home-link {
  font-size: var(--font-size-sm);
  display: block;
  text-align: center;
  margin-top: var(--space-2);
  text-decoration: underline;
}

/* Was hardcoded to Facebook's brand blue (#1877f2) -- unrelated to
   Facebook, an accidental copy-paste from the nearby .fb-icon rule (same
   issue found and fixed on post-a-request.css). Uses the site's actual
   brand color now. */
.get-listed-btn {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* ==========================================================================
   Post-service form
   ========================================================================== */
#postServiceForm select,
#postServiceForm textarea {
  font-size: 0.95rem;
  width: 100%;
  padding: var(--space-3);
  box-sizing: border-box;
}

#postServiceForm input:not(.form-control):not([type="checkbox"]) {
  font-size: var(--font-size-base);
  padding: var(--space-2) var(--space-3);
  box-sizing: border-box;
}

#postServiceForm .form-floating > .form-control {
  height: 3rem;
  line-height: 1.6;
  font-size: var(--font-size-base);
  box-sizing: border-box;
}

#postServiceForm .form-floating > label {
  font-size: var(--font-size-sm);
}

#categoryCheckboxes {
  max-height: 350px;
  overflow-y: auto;
  font-size: 0.9em;
}

#categoryCheckboxes .form-check-label {
  font-size: var(--font-size-sm);
}

@media (min-width: 992px) {
  #categoryCheckboxes .form-check-label {
    font-size: var(--font-size-base);
  }

  #categorySearchContainer {
    margin-bottom: var(--space-4);
    width: 50%;
  }
}

#enterDescription.hide-placeholder::placeholder {
  color: transparent;
}

#enterDescription.hide-placeholder + label {
  opacity: 0;
  transition: opacity 0.2s;
}

#categoryCheckboxes .form-check-input,
#postServiceForm .form-check-input {
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  transform: scale(0.85);
  opacity: 0.85;
}

.form-floating > label {
  padding: 0 var(--space-3);
}

.helper-note,
.address-note {
  font-size: var(--font-size-xs) !important;
  font-weight: var(--font-weight-semibold);
  color: var(--text-muted);
  margin-bottom: 0 !important;
}

/* Instagram / Facebook social icon buttons (official brand colors -- not
   tokenized, deliberately kept as-is for brand recognizability) */
.ig-icon {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  border-color: var(--border-color);
}

.ig-icon img {
  filter: brightness(0) invert(1);
}

.fb-icon {
  background-color: #1877f2;
  border-color: var(--border-color);
}

.fb-icon img {
  filter: brightness(0) invert(1);
}

.input-group-text {
  padding: 0.25rem 0.4rem !important;
}

.input-group .form-control,
.input-group .input-group-text {
  padding: 0.25rem 0.5rem;
  height: 40px;
  font-size: var(--font-size-sm);
}

.input-group-text img {
  width: 16px;
  height: 16px;
}

.selected-categories-wrap {
  margin-bottom: 2px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.category-search-wrap {
  margin-top: var(--space-3);
  position: relative;
  width: 100%;
}

#categorySearch {
  width: 100%;
  padding: var(--space-2) 2.5rem var(--space-2) var(--space-2);
  font-size: var(--font-size-base);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  height: 40px;
  box-sizing: border-box;
}

#categorySearch:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
}

.category-search-clear {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  display: none;
  padding: 10px;
  touch-action: manipulation;
}

.category-search-clear img {
  width: 28px;
  height: 28px;
  display: block;
}

.whatsapp-check {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.whatsapp-check .form-check-input {
  margin: 0;
  flex-shrink: 0;
}

.whatsapp-check .form-check-label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.whatsapp-check img {
  width: 24px;
  height: 24px;
}

/* Selected-category pills -- same Facebook-blue mixup as .get-listed-btn
   above. */
#selectedCategories span {
  background-color: var(--primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: default;
}

#selectedCategories span button {
  border: none;
  background: transparent;
  color: #fff;
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  padding: 0 2px;
  font-size: var(--font-size-base);
}

.address-note {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 5px;
  margin-left: -6px;
  line-height: 1.3;
  word-break: normal;
  white-space: nowrap;
}

/* ==========================================================================
   "How it works" panel (top-level defaults -- redefined again further down
   for the signup-box variant of this same class name, see that section)
   ========================================================================== */
.how-it-works {
  display: flex;
  flex-direction: column;
  color: var(--text-body);
  background-color: var(--surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  width: min(92%, 420px);
  margin: var(--space-4) auto;
}

.how-title {
  font-size: var(--font-size-lg);
  color: var(--text-body);
  text-align: center;
  margin: 0 0 10px 0;
}

.how-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 15px;
  font-weight: var(--font-weight-normal);
  margin: 0 0 10px 0;
}

.how-step:last-child {
  margin-bottom: 0;
}

.how-icon {
  font-size: var(--font-size-lg);
  line-height: 1;
  flex: 0 0 auto;
  margin-top: 2px;
}

.how-text {
  margin: 0;
  line-height: 1.35;
  font-size: 17px;
}

@media (max-width: 768px) {
  .card {
    padding: 0.8rem;
    border-radius: 0;
  }

  .how-it-works {
    background-color: transparent;
    border: 0;
    box-shadow: none;
    width: 100%;
    padding: 6px 0;
    margin: var(--space-3) auto;
  }

  .how-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-2);
  }

  .how-step {
    font-size: 14.5px;
    margin-bottom: var(--space-2);
  }

  .how-icon {
    font-size: 15px;
  }

  .how-text {
    font-size: 15.5px;
  }
}

@media (min-width: 992px) {
  .card {
    max-width: 760px;
    margin: 0 auto;
  }

  .btn-google {
    max-width: 420px;
    margin: 0 auto var(--space-5) auto;
  }

  .how-it-works {
    width: min(60%, 460px);
    padding: var(--space-4) 25px;
    margin: var(--space-5) auto;
    border-radius: var(--radius-md);
  }

  .how-title {
    font-size: var(--font-size-lg);
  }

  .how-step {
    font-size: 15.5px;
  }

  .how-icon {
    font-size: 16px;
  }

  .how-text {
    font-size: 15.5px;
  }
}

/* ==========================================================================
   Pricing embed
   ========================================================================== */
.mh-features {
  text-align: left;
}

.mh-pricing-embed {
  margin-bottom: 18px;
}

.mh-pricing-hero {
  text-align: center;
  margin-bottom: var(--space-6);
}

.mh-eyebrow {
  display: inline-block;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-bottom: 6px;
}

.mh-pricing-hero h1 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-2);
}

.mh-sub {
  max-width: 90ch;
  margin: 0 auto;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

@media (max-width: 576px) {
  .mh-pricing-hero h1 {
    line-height: 1.25;
  }

  .mh-pricing-hero h1 span {
    display: block;
  }
}

@media (max-width: 768px) {
  #listFreeUpgradeVis {
    font-size: 1.3rem;
  }
}

@media (min-width: 769px) {
  #listFreeUpgradeVis {
    font-size: 2rem;
  }
}

.mh-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-3);
  align-items: start;
}

.mh-plan {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: auto;
}

.mh-plan-top h2 {
  margin: 10px 0 8px;
  text-align: left;
}

.mh-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.mh-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin: 8px 0 6px;
}

.mh-price-amt {
  font-size: var(--font-size-2xl);
  font-weight: 800;
}

.mh-price-suf {
  font-size: var(--font-size-base);
  color: var(--text-muted);
}

/* ---- Per-tier plan chips/badges/buttons -- deliberate brand colors,
   not tokenized (see file header note) ---- */
.mh-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  font-size: 20px;
  font-weight: 800;
  border: 1px solid #ddd;
  color: #444444;
}

.mh-chip--free {
  font-size: 1.4rem;
  background: rgb(34 197 94 / 51%);
  border-color: rgb(34 197 94);
  color: black;
  font-weight: var(--font-weight-bold);
}

.mh-chip--featured {
  border-radius: var(--radius-sm);
  font-size: 1.6rem;
  color: #fff;
  background: rgba(180, 40, 190, 0.85);
  border-color: rgba(160, 30, 170, 1);
}

.mh-chip--premium {
  border-radius: var(--radius-sm);
  font-size: 1.6rem;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.3);
}

.mh-premium-top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: center;
}

.mh-badge {
  color: #6b4e00;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    180deg,
    rgba(255, 215, 120, 0.95),
    rgba(255, 195, 70, 0.95)
  );
  border: 1px solid rgba(190, 140, 20, 0.9);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.mh-badge-free {
  color: #2f4f2f;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    180deg,
    rgba(240, 244, 240, 0.95),
    rgba(220, 228, 220, 0.95)
  );
  border: 1px solid rgba(160, 180, 160, 0.9);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.mh-badge-premium {
  color: #6b4e00;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    180deg,
    rgba(255, 215, 120, 0.95),
    rgba(255, 195, 70, 0.95)
  );
  border: 1px solid rgba(190, 140, 20, 0.9);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.mh-bullets {
  padding-left: 18px;
  font-size: var(--font-size-sm);
  color: var(--text-body);
  margin-top: var(--space-3);
  margin-bottom: 0;
}

.mh-bullets li {
  margin: 6px -10px;
}

.mh-small {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.mh-divider {
  margin: var(--space-5) 0;
  border: none;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   State control (pricing / register / post-service views)
   ========================================================================== */
body.plan-pricing #registerSection,
body.plan-pricing #postServiceSection {
  display: none !important;
}

body.plan-free #pricing,
body.plan-free #postServiceSection {
  display: none !important;
}

body.plan-free #registerSection {
  display: block !important;
}

body.plan-post #pricing,
body.plan-post #registerSection {
  display: none !important;
}

body.plan-post #postServiceSection {
  display: block !important;
}

.mh-spinner {
  width: 15px;
  height: 15px;
  margin-left: var(--space-3);
  display: inline-block;
  position: relative;
  top: -1px;
  vertical-align: middle;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: rgba(255, 255, 255, 1);
  border-radius: 50%;
  animation: mhSpin 0.7s linear infinite;
}

@keyframes mhSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Desktop / tablet pricing layout
   ========================================================================== */
@media (min-width: 992px) {
  #pricing.mh-pricing-embed {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: visible;
  }

  #pricing .mh-pricing-hero,
  #pricing .mh-pricing-grid {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  body.plan-free .card {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
  }
}

@media (min-width: 992px) and (max-width: 1399px) {
  body.plan-pricing .card {
    width: 100vw !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 auto !important;
  }

  #pricing .mh-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
  }
}

@media (min-width: 1400px) and (max-width: 1999px) {
  body.plan-pricing .card {
    width: 95vw !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 auto !important;
  }
}

@media (min-width: 2000px) {
  body.plan-pricing .card {
    width: 80vw !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 992px) {
  .mh-pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Password / username requirements checklist
   ========================================================================== */
.pw-requirements,
.un-requirements {
  display: none;
  margin-top: var(--space-3);
  padding: var(--space-3) 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  font-size: var(--font-size-sm);
}

.pw-requirements.show,
.un-requirements.show {
  display: block;
}

.pw-req,
.un-req {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 6px 0;
  font-weight: var(--font-weight-medium);
  line-height: 1.3;
}

.pw-req.not-met,
.un-req.not-met {
  color: var(--danger);
}

.pw-req.not-met i,
.un-req.not-met i {
  color: var(--danger);
}

.pw-req.met,
.un-req.met {
  color: var(--success);
}

.pw-req.met i,
.un-req.met i {
  color: var(--success);
}

.pw-req i,
.un-req i {
  font-size: var(--font-size-base);
  min-width: 18px;
}

/* ==========================================================================
   Plan card variants -- per-tier brand colors, not tokenized (see file
   header note)
   ========================================================================== */
.mh-plan--free,
.mh-plan--premium {
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.08);
}

.mh-plan--basic {
  transform: translateY(-20px);
  box-shadow:
    0 18px 40px rgb(0 0 0 / 26%),
    0 6px 16px rgba(98, 0, 255, 0.52);
}

.mh-pricing-grid .mh-plan--featured {
  transform: none;
  border-width: 2.5px;
}

@media (max-width: 768px) {
  .mh-pricing-grid .mh-plan--featured {
    transform: none;
  }
}

.mh-plan--featured {
  border: 2px solid #f03eff;
}

.mh-plan--premium {
  z-index: 9999;
  border: 2px solid gold;
}

.mh-plan-label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.mh-plan-icon0,
.mh-plan-icon1,
.mh-plan-icon2,
.mh-plan-icon3 {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.04);
  padding: 4px;
}

.mh-plan-icon1 {
  width: 55px;
  height: 55px;
}

.mh-plan-icon2 {
  width: 64px;
  height: 64px;
}

.mh-plan-icon3 {
  width: 72px;
  height: 72px;
}

@media (min-width: 769px) {
  .mh-pricing-grid .mh-plan--featured {
    transform: none;
    border-width: 2.5px;
  }
}

@media (max-width: 768px) {
  .mh-pricing-grid .mh-plan--basic {
    transform: none;
  }
}

.mh-chip--basic {
  border-radius: var(--radius-sm);
  font-size: 1.6rem;
  color: #fff;
  background: rgba(50, 40, 190, 0.85);
  border-color: rgb(44, 30, 170);
}

.mh-plan--basic {
  border: 2px solid #413eff;
}

.mh-break-mobile {
  display: inline;
}

.mh-no-break {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .mh-break-mobile {
    display: block;
    margin-top: 2px;
  }
}

@media (min-width: 769px) {
  .mh-break-pc {
    display: block;
    margin-top: 2px;
  }
}

/* ==========================================================================
   Plan buttons (free/basic/standard/premium CTAs) -- per-tier brand
   colors, not tokenized (see file header note)
   ========================================================================== */
.mh-btn.mh-btn--free,
.mh-btn.mh-btn--basic,
.mh-btn.mh-btn--standard,
.mh-btn.mh-btn--premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #fff;
  border-radius: 0;
  padding: 12px 16px;
  font-size: 17px;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 0 #002d18;
  transform: none;
}

.mh-btn--free {
  border: 2px solid #00703c;
  background: #00703c;
}

.mh-btn.mh-btn--free:hover,
.mh-btn.mh-btn--basic:hover,
.mh-btn.mh-btn--standard:hover,
.mh-btn.mh-btn--premium:hover {
  background: #005a30;
  border-color: #005a30;
  color: #fff;
  box-shadow: 0 2px 0 #002d18;
  transform: none;
}

.mh-btn.mh-btn--free:active,
.mh-btn.mh-btn--basic:active,
.mh-btn.mh-btn--standard:active,
.mh-btn.mh-btn--premium:active {
  transform: translateY(2px);
  box-shadow: none;
}

.mh-btn.mh-btn--free:focus,
.mh-btn.mh-btn--basic:focus,
.mh-btn.mh-btn--standard:focus,
.mh-btn.mh-btn--premium:focus {
  outline: 3px solid #ffdd00;
  outline-offset: 2px;
}

.mh-btn__arrow {
  font-weight: var(--font-weight-bold);
}

.mh-btn--basic {
  border: 2px solid #060753;
  background: #0a0c86;
}

.mh-btn.mh-btn--basic:hover {
  background: #1456aa;
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 0 var(--primary);
  transform: none;
}

.mh-btn--standard {
  border: 2px solid rgb(174, 36, 220);
  background: #ae24dc;
}

.mh-btn.mh-btn--standard:hover {
  background: #87189b;
  border-color: #87189b;
  color: #fff;
  box-shadow: 0 2px 0 #7b17a6;
  transform: none;
}

.mh-btn--premium {
  border: 2px solid #a0931b;
  background: #a0931b;
}

.mh-btn.mh-btn--premium:hover {
  background: #8c7d17;
  border-color: #8c7d17;
  color: #fff;
  box-shadow: 0 2px 0 #eaea1f;
  transform: none;
}

/* ==========================================================================
   "Need help choosing" box
   ========================================================================== */
.plan-help-wrapper {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  justify-content: center;
  margin: var(--space-7) 0 var(--space-2);
}

.plan-help-box {
  width: 100%;
  max-width: 760px;
  padding: var(--space-6) var(--space-5);
  text-align: center;
  background: var(--surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.plan-help-box h3 {
  margin-bottom: var(--space-3);
}

.plan-help-box p {
  margin-bottom: var(--space-5);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Was hardcoded to Facebook's brand blue -- same fix as .get-listed-btn
   above. */
.plan-help-btn {
  display: inline-block;
  padding: var(--space-3) 22px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-bold);
}

.plan-help-btn:hover {
  background: var(--primary-dark);
  color: #fff;
}

.feature-note {
  font-size: var(--font-size-xs);
  opacity: 0.7;
}

/* ==========================================================================
   Signup box (redefines .how-title / .how-step / .how-icon / .progress-*
   / .login-link with this section's own values -- see the note at the top
   of this file about preserved cascade order)
   ========================================================================== */
.signup-container {
  max-width: 420px;
  margin: 0 auto;
  padding: var(--space-5);
  text-align: center;
}

.signup-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
}

.signup-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  text-align: center;
}

.signup-progress {
  margin: var(--space-4) 0;
}

.progress-text {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--text-body);
  margin-bottom: 6px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  width: 50%;
  height: 100%;
  background: var(--cta-green-dark);
}

.progress-fill2 {
  width: 90%;
  height: 100%;
  background: var(--cta-green-dark);
}

.how-title {
  font-size: var(--font-size-lg);
  margin: var(--space-4) 0 var(--space-3);
}

.how-it-works {
  text-align: left;
}

.how-step {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.how-icon {
  font-size: 1.2rem;
}

.how-strong {
  font-weight: var(--font-weight-semibold);
}

.signup-box {
  margin-top: var(--space-4);
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.primary-btn {
  width: 100%;
  padding: var(--space-3);
  background: var(--cta-green-dark);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
}

.primary-btn:hover {
  background: #15803d;
}

.divider {
  margin: 10px 0;
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.signup-note {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-top: 10px;
}

.login-link {
  margin-top: 10px;
  font-size: var(--font-size-sm);
}

.back-home {
  display: block;
  margin-top: 10px;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}
