/* File: start-here.css
   Description: Start Here panel layout. Button visuals live in buttons.css.
*/

#start-here-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

#start-here-content .start-here-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0 10px;
}

#start-here-content .start-here-heading {
  color: #cc0000;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  text-align: center;
}

/* =========================================
   Full-page onboarding wizard on /start/
   ========================================= */

body.ll-full-page-onboarding {
  background: #f4f7fb;
}

body.ll-full-page-onboarding .entry-header,
body.ll-full-page-onboarding .page-header,
body.ll-full-page-onboarding .page-header-title {
  display: none;
}

body.ll-full-page-onboarding .content-area,
body.ll-full-page-onboarding .site-main,
body.ll-full-page-onboarding article,
body.ll-full-page-onboarding .entry-content {
  width: 100%;
  max-width: none;
}

.ll-onboarding-wizard-page {
  width: min(1440px, calc(100% - 32px));
  margin: 32px auto 64px;
}

.ll-onboarding-wizard-header {
  max-width: 860px;
  margin: 0 auto 24px;
  text-align: center;
}

.ll-onboarding-eyebrow,
.ll-onboard-listing-preview__kicker {
  margin: 0 0 8px;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ll-onboarding-wizard-header h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
}

.ll-onboarding-progress {
  max-width: 620px;
  margin: 18px auto 0;
}

.ll-onboarding-progress-track {
  height: 8px;
  overflow: hidden;
  background: #dbe4f0;
  border-radius: 999px;
}

.ll-onboarding-progress-fill {
  display: block;
  height: 100%;
  background: #2563eb;
  border-radius: inherit;
  transition: width 220ms ease;
}

.ll-onboarding-progress-label {
  margin: 8px 0 0;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 700;
}

/*
 * The /start/ wizard keeps legacy DOM IDs for existing form controllers, but
 * its own DOM marker—not a late body class—owns the non-modal page layout.
 */
#ll-onboarding-wizard-page #dashboard-modal.ll-onboarding-wizard[data-ll-full-page-wizard="1"] {
  display: block;
  position: static;
  width: 100%;
  margin: 0;
}

#ll-onboarding-wizard-page #dashboard-modal.ll-onboarding-wizard[data-ll-full-page-wizard="1"] .dashboard-modal-overlay,
#ll-onboarding-wizard-page #dashboard-modal.ll-onboarding-wizard[data-ll-full-page-wizard="1"].is-open .dashboard-modal-overlay {
  display: block;
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  padding: 0;
  overflow: visible;
  background: transparent;
}

#ll-onboarding-wizard-page #dashboard-modal.ll-onboarding-wizard[data-ll-full-page-wizard="1"] .dashboard-modal-content {
  width: 100%;
  max-width: none;
  max-height: none;
  padding: clamp(20px, 4vw, 44px);
  overflow: visible;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.09);
}

#ll-onboarding-wizard-page #dashboard-modal.ll-onboarding-wizard[data-ll-full-page-wizard="1"] .modal-close-wrapper,
#ll-onboarding-wizard-page #dashboard-modal.ll-onboarding-wizard[data-ll-full-page-wizard="1"] .close-popup {
  display: none;
}

body.ll-full-page-onboarding.ll-modal-open {
  overflow: auto;
}

.ll-start-wizard-copy {
  max-width: 760px;
  margin: 0 auto;
}

.ll-start-wizard-welcome {
  margin: 0 0 10px;
  color: #111827;
  font-size: 1.35rem;
  text-align: center;
}

.ll-start-wizard-instruction {
  margin: 0 0 24px;
  color: #4b5563;
  text-align: center;
}

.ll-new-user-onboarding-overview {
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 20px 22px;
  color: #374151;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  line-height: 1.55;
}

.ll-new-user-onboarding-overview h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 1.3rem;
}

.ll-new-user-onboarding-overview p {
  margin: 0 0 12px;
}

.ll-new-user-onboarding-overview p:last-child {
  margin-bottom: 0;
}

.ll-new-user-onboarding-overview ol {
  margin: 0 0 12px 1.25rem;
  padding: 0;
}

.ll-new-user-onboarding-overview li + li {
  margin-top: 5px;
}

.ll-onboarding-loading,
.ll-onboarding-error {
  max-width: 620px;
  margin: 0 auto;
  padding: 48px 20px;
  text-align: center;
}

.ll-onboarding-loading-spinner {
  display: inline-block;
  width: 34px;
  height: 34px;
  border: 4px solid #dbeafe;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: ll-onboarding-spin 0.8s linear infinite;
}

@keyframes ll-onboarding-spin {
  to { transform: rotate(360deg); }
}

.ll-onboard-plan-choice {
  width: 100%;
}

.ll-onboard-listing-previews {
  display: block;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.ll-onboard-listing-option {
  min-width: 0;
}

.ll-onboard-listing-option[hidden] {
  display: none !important;
}

.ll-onboard-listing-option__heading {
  min-height: 92px;
  margin: 0 0 12px;
  text-align: center;
}

.ll-onboard-listing-option__heading h3 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 1.35rem;
  font-weight: 800;
}

.ll-onboard-listing-option__heading p {
  max-width: 620px;
  margin: 0 auto;
  color: #374151;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.ll-onboard-listing-preview {
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 2px solid #d1d5db;
  border-radius: 16px;
}

.ll-onboard-listing-preview--premium {
  border-color: #2563eb;
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.12);
}

.ll-onboard-listing-preview__viewport {
  max-width: 100%;
  overflow-x: clip;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.ll-onboard-listing-preview__content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.ll-onboard-listing-preview__content img,
.ll-onboard-listing-preview__content iframe,
.ll-onboard-listing-preview__content video {
  max-width: 100%;
}

.ll-onboard-listing-preview .ll-btn--full {
  width: 100%;
  margin-top: 16px;
}

.ll-onboard-listing-preview__price-note {
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 0.9rem;
  text-align: center;
}

.ll-premium-preview-related__card {
  padding: 18px;
  background: #f8fafc;
  border: 1px dashed #93c5fd;
  border-radius: 12px;
}

.ll-premium-preview-related__card p {
  margin: 6px 0 0;
}

#ll-listing-plan-choice-status {
  min-height: 24px;
  margin-top: 16px;
  color: #b91c1c;
  font-weight: 700;
  text-align: center;
}


body.ll-full-page-onboarding #wrap {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

body.ll-full-page-onboarding #main {
  flex: 1 0 auto;
}

body.ll-full-page-onboarding #site-header,
body.ll-full-page-onboarding #site-navigation-wrap,
body.ll-full-page-onboarding .oceanwp-mobile-menu-icon,
body.ll-full-page-onboarding #top-bar-wrap {
  display: none !important;
}

body.ll-full-page-onboarding #ll-business-form .ll-step-labels,
body.ll-full-page-onboarding #ll-business-form #ll-business-progress {
  display: none !important;
}

body.ll-full-page-onboarding .ll-field-note {
  margin: -8px 0 16px;
  color: #6b7280;
  font-size: 0.88rem;
}

body.ll-full-page-onboarding .ll-input--readonly {
  background: #f3f4f6;
  color: #374151;
}

@media (max-width: 980px) {
  .ll-onboard-listing-previews {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ll-onboarding-wizard-page {
    width: min(100% - 16px, 1440px);
    margin-top: 16px;
  }

  #ll-onboarding-wizard-page #dashboard-modal.ll-onboarding-wizard[data-ll-full-page-wizard="1"] .dashboard-modal-content {
    padding: 18px 12px;
    border-radius: 12px;
  }

  .ll-onboard-listing-preview {
    padding: 12px;
  }

  .ll-onboard-listing-option__heading {
    min-height: 0;
  }
}


/* 2026.07.20.3: widen only the listing-comparison step. */
body.ll-full-page-onboarding:has(.ll-onboard-plan-choice) .ll-onboarding-wizard-page {
  width: min(96vw, 1800px);
  max-width: 1800px;
}

#ll-onboarding-wizard-page #dashboard-modal.ll-onboarding-wizard[data-ll-full-page-wizard="1"] .dashboard-modal-content {
  padding: clamp(18px, 2vw, 32px);
}

.ll-onboard-listing-previews {
  width: 100%;
  max-width: 1280px;
}

.ll-onboard-listing-option--basic {
  position: static;
}

.ll-onboard-listing-option__heading {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  margin-bottom: 14px;
}

.ll-onboard-listing-option__heading .ll-btn {
  width: min(100%, 360px);
  min-height: 48px;
  margin: 8px auto 0;
}

.ll-onboard-listing-option__trial-title {
  margin: 0;
  color: #111827;
  font-size: 1.15rem;
  font-weight: 800;
}

.ll-onboard-listing-option__trial-note {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
  font-weight: 600;
}

.ll-onboard-plan-choice {
  --ll-listing-cta-green: #15803d;
  --ll-listing-cta-green-hover: #166534;
  --ll-listing-cta-green-active: #14532d;
}

.ll-onboard-listing-preview__action-bar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: -18px -18px 18px;
  padding: 16px 20px;
  border-bottom: 1px solid #dbe3ee;
  border-radius: 14px 14px 0 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(8px);
}

.ll-onboard-listing-preview__action-bar--basic {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.ll-onboard-listing-preview__action-bar--premium {
  border-bottom-color: #bbf7d0;
}

.ll-onboard-listing-preview__plan-copy {
  min-width: 0;
}

.ll-onboard-listing-preview__plan-copy h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
}

.ll-onboard-listing-preview__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.ll-onboard-listing-preview__actions--basic {
  justify-content: flex-start;
}

.ll-onboard-listing-preview__actions .ll-btn {
  min-width: 240px;
  min-height: 50px;
}

.ll-onboard-listing-preview__decision-actions {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ll-onboard-listing-preview__basic-choice {
  flex: 0 1 auto;
  min-height: 52px;
  padding-inline: 24px;
  font-size: 1rem;
  font-weight: 700;
}

.ll-onboard-listing-preview__premium-view-button,
.ll-onboard-listing-preview__upgrade-button {
  background: var(--ll-listing-cta-green);
  border-color: var(--ll-listing-cta-green);
  color: #fff;
}

.ll-onboard-listing-preview__premium-view-button:hover,
.ll-onboard-listing-preview__upgrade-button:hover {
  background: var(--ll-listing-cta-green-hover);
  border-color: var(--ll-listing-cta-green-hover);
  color: #fff;
}

.ll-onboard-listing-preview__premium-view-button:active,
.ll-onboard-listing-preview__upgrade-button:active {
  background: var(--ll-listing-cta-green-active);
  border-color: var(--ll-listing-cta-green-active);
  color: #fff;
}

.ll-onboard-listing-preview__upgrade-button {
  display: inline-flex;
  min-width: min(100%, 470px);
  min-height: 66px;
  flex: 0 1 470px;
  flex-direction: column;
  gap: 3px;
  padding: 10px 22px;
  white-space: normal;
}

.ll-onboard-listing-preview__button-title {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
}

.ll-onboard-listing-preview__button-detail {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.ll-onboard-listing-preview__content .ll-select-basic-listing,
.ll-onboard-listing-preview__content .ll-select-premium-trial,
.ll-onboard-listing-preview__content .ll-select-premium-upgrade,
.ll-onboard-listing-preview__content .ll-onboard-listing-preview__price-note {
  display: none !important;
}

body.ll-full-page-onboarding .ll-form-actions,
body.ll-full-page-onboarding .ll-step-buttons,
body.ll-full-page-onboarding .prompt-actions {
  gap: 16px;
}

body.ll-full-page-onboarding .ll-onboarding-action-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  flex-wrap: wrap;
}

body.ll-full-page-onboarding .ll-onboarding-action-row--single {
  justify-content: flex-end;
}

.ll-thank-you .ll-onboard-summary {
  width: min(100%, 780px);
  margin-inline: auto;
}

.ll-thank-you .ll-onboard-summary__confirmation {
  text-align: center;
}

.ll-thank-you .ll-onboard-summary__detail {
  text-align: left;
}

body.ll-full-page-onboarding .ll-onboarding-action-row .ll-btn,
body.ll-full-page-onboarding .ll-onboarding-action-row .button {
  width: auto;
}

body.ll-full-page-onboarding .ll-form-actions .ll-btn,
body.ll-full-page-onboarding .ll-step-buttons .ll-btn,
body.ll-full-page-onboarding .prompt-actions .ll-btn,
body.ll-full-page-onboarding .ll-onboard-buttons .ll-btn,
body.ll-full-page-onboarding .ll-onboard-buttons .button {
  min-width: 220px;
  min-height: 48px;
  padding-left: 28px;
  padding-right: 28px;
}

@media (max-width: 700px) {
  .ll-onboard-listing-preview__action-bar {
    position: sticky;
    top: 0;
    flex-direction: column;
    align-items: stretch;
    margin: -12px -12px 14px;
    padding: 14px;
  }

  .ll-onboard-listing-preview__decision-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ll-onboard-listing-preview__actions,
  .ll-onboard-listing-preview__actions .ll-btn,
  .ll-onboard-listing-preview__basic-choice,
  .ll-onboard-listing-preview__upgrade-button {
    width: 100%;
    min-width: 0;
    flex-basis: auto;
  }

  .ll-onboard-listing-preview__upgrade-button {
    order: 1;
  }

  .ll-onboard-listing-preview__basic-choice {
    order: 2;
  }

  body.ll-full-page-onboarding .ll-onboarding-action-row .ll-btn,
  body.ll-full-page-onboarding .ll-onboarding-action-row .button {
    width: 100%;
    min-width: 0;
  }
}

/* =========================================
   Dashboard recommended next steps
   ========================================= */

.start-here-content {
  margin-bottom: 20px;
}

#start-here-content.ll-next-steps-card {
  padding: 22px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.07);
}

.ll-next-steps-card__header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.ll-next-steps-card__eyebrow {
  margin: 0 0 5px;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ll-next-steps-card h2,
.ll-next-steps-popup h2 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1.25;
}

.ll-next-steps-card__header p:last-child,
.ll-next-steps-popup__intro {
  margin: 0;
  color: #475569;
}

.ll-next-steps-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ll-next-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #94a3b8;
  border-radius: 10px;
}

.ll-next-step--primary {
  background: #eff6ff;
  border-left-color: #2563eb;
}

.ll-next-step--attention {
  background: #fffbea;
  border-left-color: #d97706;
}

.ll-next-step--urgent {
  background: #fff1f2;
  border-left-color: #dc2626;
}

.ll-next-step--info {
  background: #f0f9ff;
  border-left-color: #0284c7;
}

.ll-next-step__badge {
  display: inline-block;
  margin-bottom: 5px;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ll-next-step__subject-title {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1.35;
}

.ll-next-step p {
  margin: 0;
  color: #475569;
  line-height: 1.45;
}

.ll-next-step .ll-next-step__task-title {
  margin-bottom: 3px;
  color: #1e293b;
  font-weight: 700;
}

.ll-next-step__action {
  min-width: 135px;
  text-align: right;
}

.ll-next-step-action {
  white-space: nowrap;
}

.ll-next-steps-complete {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
}

.ll-next-steps-popup {
  max-width: 760px;
  margin: 0 auto;
}

.ll-next-steps-popup__intro {
  margin-bottom: 18px;
}

.ll-next-steps-popup .ll-next-steps-list {
  margin-top: 18px;
}

.ll-next-steps-card__footer {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.ll-next-steps-popup--all {
  max-width: 860px;
}

.ll-next-steps-popup__footer {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.ll-next-steps-popup__footer--centered {
  justify-content: center;
}

@media (max-width: 720px) {
  #start-here-content.ll-next-steps-card {
    padding: 16px;
  }

  .ll-next-step {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ll-next-step__action {
    min-width: 0;
    text-align: left;
  }

  .ll-next-step-action {
    width: 100%;
  }

  .ll-next-steps-card__footer .ll-btn,
  .ll-next-steps-popup__footer .ll-btn {
    width: 100%;
  }
}

/* GBP-first post-business action hub. */
.ll-post-business-hub {
    max-width: 860px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}

.ll-post-business-hub__success {
    margin: 0 0 0.5rem;
    color: #166534;
    font-weight: 700;
    text-align: center;
}

.ll-post-business-hub h2 {
    margin: 0 0 1.5rem;
    text-align: center;
}

.ll-post-business-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ll-post-business-action {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 132px;
    padding: 1.1rem;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.ll-post-business-action:hover:not([aria-disabled="true"]),
.ll-post-business-action:focus-visible:not([aria-disabled="true"]) {
    border-color: #2563eb;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.ll-post-business-action[aria-disabled="true"] {
    background: #f8fafc;
    color: #64748b;
    cursor: not-allowed;
}

.ll-post-business-action__label {
    font-size: 1.05rem;
    font-weight: 750;
}

.ll-post-business-action__description,
.ll-post-business-action__status {
    font-size: 0.9rem;
    line-height: 1.4;
}

.ll-post-business-action__status {
    margin-top: auto;
    color: #9a3412;
    font-weight: 650;
}

#ll-post-business-action-status,
#ll-record-recovery-status {
    min-height: 1.5rem;
    margin-top: 1rem;
    text-align: center;
}

.ll-onboard-premium-gbp-note {
    margin: 0 1rem 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    background: #fffbeb;
    color: #78350f;
    line-height: 1.45;
}

.ll-record-recovery {
    max-width: 680px;
    margin: 0 auto;
    padding: 1.5rem 0;
    text-align: center;
}

@media (max-width: 700px) {
    .ll-post-business-actions {
        grid-template-columns: 1fr;
    }
}

.ll-post-business-form-back {
    display: flex;
    justify-content: flex-start;
    margin: 0 0 1rem;
}
