/*
 * public-site.css — Phase 0 lightweight responsive redesign
 *
 * Shared design system for the PUBLIC marketing shells only:
 *   - src/views/layout_web.php       (body.public-site-layout--marketing)
 *   - src/views/personal/layout_personal.php (body.public-site-layout--personal)
 *
 * Everything is scoped under body.public-site-layout so the legacy screen.css
 * rules used by the portal/admin/login surfaces are left untouched. This file
 * loads AFTER screen.css and intentionally overrides its dated BODY/heading/
 * bullet/table rules for these two shells.
 */

/* ----------------------------------------------------------------------------
 * Design tokens
 * ------------------------------------------------------------------------- */
body.public-site-layout {
    --ps-bg: #eef1f6;
    --ps-surface: #ffffff;
    --ps-sidebar-bg: #f4f6fa;
    --ps-ink: #1f2937;
    --ps-ink-soft: #4b5563;
    --ps-heading: #b3301f;
    --ps-brand: #455489;
    --ps-brand-strong: #364270;
    --ps-accent: #b3711e;
    --ps-line: #e2e7ef;
    --ps-link: #2f5aa8;
    --ps-link-hover: #1d3c78;
    --ps-focus: #0b57d0;
    --ps-radius: 12px;
    --ps-radius-sm: 8px;
    --ps-shadow: 0 10px 30px rgba(20, 32, 61, 0.10);
    --ps-shadow-sm: 0 2px 8px rgba(20, 32, 61, 0.08);
    --ps-maxw: 1100px;
    --ps-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Reset the legacy screen.css BODY rules (Tahoma/11px/#335580) */
    background: var(--ps-bg) !important;
    color: var(--ps-ink);
    font-family: var(--ps-font);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    text-align: left;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

body.public-site-layout * {
    box-sizing: border-box;
}

.ps-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 5000;
    padding: 10px 14px;
    border-radius: var(--ps-radius-sm);
    background: #fff;
    color: var(--ps-link-hover);
    font-weight: 700;
    box-shadow: var(--ps-shadow-sm);
    transform: translateY(-150%);
    transition: transform 0.12s ease;
}

.ps-skip-link:focus {
    transform: translateY(0);
    outline: 3px solid var(--ps-focus);
    outline-offset: 2px;
}

body.public-site-layout :where(
    a,
    button,
    [tabindex]:not([tabindex="-1"])
):focus-visible {
    outline: 3px solid var(--ps-focus);
    outline-offset: 3px;
}

/* AJAX navigation focuses the new heading for screen-reader context. Because
   this target is programmatic-only (tabindex="-1"), it does not need visual
   control chrome intended for keyboard-tab stops. */
.public-site-layout .ps-main h1[tabindex="-1"]:focus {
    outline: none;
}

/* The layouts emit a couple of leading <br/> tags before the shell; neutralize. */
body.public-site-layout > br {
    display: none;
}

/* ----------------------------------------------------------------------------
 * Shell
 * ------------------------------------------------------------------------- */
.ps-shell {
    width: 100%;
    max-width: var(--ps-maxw);
    margin: 24px auto;
    background: var(--ps-surface);
    border-radius: var(--ps-radius);
    box-shadow: var(--ps-shadow);
    overflow: hidden;
}

/* ----------------------------------------------------------------------------
 * Header — hamburger (narrow) left; logo right
 * ------------------------------------------------------------------------- */
.ps-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--ps-line);
    background: var(--ps-surface);
}

.ps-header-end {
    display: flex;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}

.ps-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.ps-logo img {
    display: block;
    width: 150px;
    height: auto;
}

.ps-header-tagline {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    font-style: italic;
    color: var(--ps-ink-soft);
    line-height: 1.25;
}

.ps-hero-crosslink {
    text-align: right;
    margin: -16px 0 26px;
}

.ps-hero-crosslink a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ps-link);
    text-decoration: none;
}

.ps-hero-crosslink a:hover {
    color: var(--ps-link-hover);
    text-decoration: underline;
}

.ps-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--ps-line);
    background: var(--ps-surface);
    color: var(--ps-ink);
    border-radius: var(--ps-radius-sm);
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.ps-nav-toggle:focus-visible {
    outline: 2px solid var(--ps-brand);
    outline-offset: 2px;
}

.ps-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
}

.ps-hamburger span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}

/* ----------------------------------------------------------------------------
 * Hero / cover image
 * ------------------------------------------------------------------------- */
.ps-hero {
    width: 100%;
    aspect-ratio: 770 / 218;
    overflow: hidden;
    background: #d8dee8;
}

.ps-hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ----------------------------------------------------------------------------
 * Body: sidebar + main
 * ------------------------------------------------------------------------- */
.ps-body {
    display: grid;
    grid-template-columns: 232px 1fr;
    align-items: stretch;
}

.ps-sidebar {
    background: var(--ps-sidebar-bg);
    border-right: 1px solid var(--ps-line);
    padding: 22px 16px;
}

.ps-cta-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.ps-sidenav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ps-sidenav li + li {
    margin-top: 2px;
}

.ps-sidenav a {
    display: block;
    padding: 9px 12px;
    border-radius: var(--ps-radius-sm);
    color: var(--ps-ink);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.ps-sidenav a:hover,
.ps-sidenav a:focus-visible,
.ps-sidenav a[aria-current="page"] {
    background: #e7ecf5;
    color: var(--ps-link-hover);
    outline: none;
}

/* Collapsible groups in the side / drawer nav. Native
 * <details>/<summary> so it works without JavaScript and stays accessible. */
.ps-nav-group {
    margin-top: 2px;
}

.ps-expando > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    border-radius: var(--ps-radius-sm);
    color: var(--ps-ink);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.ps-expando > summary::-webkit-details-marker {
    display: none;
}

.ps-expando > summary::after {
    content: "\25be"; /* down-pointing triangle */
    font-size: 1.05rem;
    line-height: 1;
    color: var(--ps-ink-soft);
    transition: transform 0.12s ease;
}

.ps-expando[open] > summary::after {
    transform: rotate(180deg);
}

.ps-expando > summary:hover,
.ps-expando > summary:focus-visible {
    background: #e7ecf5;
    color: var(--ps-link-hover);
    outline: none;
}

.ps-subnav {
    list-style: none;
    margin: 2px 0 4px 10px;
    padding-left: 8px;
    border-left: 2px solid var(--ps-line);
}

.ps-subnav a {
    display: block;
    padding: 7px 12px;
    border-radius: var(--ps-radius-sm);
    color: var(--ps-ink);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.ps-subnav a:hover,
.ps-subnav a:focus-visible,
.ps-subnav a[aria-current="page"] {
    background: #e7ecf5;
    color: var(--ps-link-hover);
    outline: none;
}

.ps-main {
    padding: 28px 32px 44px;
    min-width: 0; /* allow inner tables/pre to shrink instead of overflowing the grid */
}

/* Row of CTAs shown under the hero on mobile only */
.ps-mobile-cta {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    background: var(--ps-sidebar-bg);
    border-bottom: 1px solid var(--ps-line);
}

/* ----------------------------------------------------------------------------
 * CTA buttons (carried over class names, restyled)
 * ------------------------------------------------------------------------- */
.public-site-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-family: var(--ps-font);
    font-size: 0.9rem;
    line-height: 1.2;
    padding: 10px 14px;
    min-height: 42px;
    border-radius: var(--ps-radius-sm);
    cursor: pointer;
    box-shadow: var(--ps-shadow-sm);
    transition: filter 0.12s ease, transform 0.02s ease;
    -webkit-tap-highlight-color: transparent;
}

.public-site-cta-btn:hover {
    filter: brightness(1.05);
}

.public-site-cta-btn:active {
    filter: brightness(0.94);
}

.public-site-cta-btn:focus-visible {
    outline: 2px solid var(--ps-brand-strong);
    outline-offset: 2px;
}

.public-site-cta-btn--login {
    background: linear-gradient(to bottom, #5b7668 0%, #496858 45%, #3f5a4d 100%);
    border: 1px solid #354d42;
}

.public-site-cta-btn--business {
    background: linear-gradient(to bottom, #6b77ad 0%, #5262a0 45%, #455489 100%);
    border: 1px solid #3d4a78;
}

.public-site-cta-btn--personal {
    background: linear-gradient(to bottom, #c48a3d 0%, #b3711e 45%, #9a6218 100%);
    border: 1px solid #7a4f14;
}

.public-site-cta-btn--order {
    background: linear-gradient(to bottom, #e23b2e 0%, #cc1f12 45%, #b8180e 100%);
    border: 1px solid #a8170c;
}

.ps-cta-block .public-site-cta-btn {
    width: 100%;
}

.ps-mobile-cta .public-site-cta-btn {
    flex: 1 1 96px;
    min-width: 0;
    font-size: 0.85rem;
}

.ps-mobile-cta .public-site-cta-btn:only-child {
    flex: 1 1 100%;
    width: 100%;
}

/* ----------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------- */
.ps-footer {
    padding: 18px 24px;
    background: var(--ps-brand-strong);
    color: #c8d2e8;
    text-align: center;
    font-size: 0.85rem;
}

.ps-footer a {
    color: #fff;
    text-decoration: none;
}

.ps-footer a:hover {
    text-decoration: underline;
}

.ps-footer-legal {
    margin: 0;
}

/* ----------------------------------------------------------------------------
 * Content typography (overrides legacy screen.css inside the marketing shell)
 * ------------------------------------------------------------------------- */
.public-site-layout .ps-main h1,
.public-site-layout .ps-main h2,
.public-site-layout .ps-main h3 {
    font-family: var(--ps-font);
    font-style: normal;
    line-height: 1.25;
    margin: 0 0 0.5em;
}

.public-site-layout .ps-main h1 {
    font-size: 1.7rem;
    color: var(--ps-brand-strong);
}

/* Personal microsite section title — moved out of the header into the content
 * area; identifies the section above each page's own heading. */
.public-site-layout .ps-main .ps-section-title {
    font-size: 1.7rem;
    color: var(--ps-brand-strong);
    margin: 0 0 0.6em;
    padding-bottom: 0.4em;
    border-bottom: 2px solid var(--ps-line);
}

.public-site-layout .ps-main h2 {
    font-size: 1.35rem;
    color: var(--ps-heading);
    padding: 0.2em 0 0.4em;
}

.public-site-layout .ps-main h3 {
    font-size: 1.1rem;
    color: var(--ps-ink);
}

.public-site-layout .ps-main .personal-faq-question {
    margin-top: 2rem;
}

.public-site-layout .ps-main p {
    line-height: 1.65;
    margin: 0 0 1em;
}

.public-site-layout .ps-main a {
    color: var(--ps-link);
    text-decoration: none;
}

.public-site-layout .ps-main a:hover {
    color: var(--ps-link-hover);
    text-decoration: underline;
}

.public-site-layout .ps-main img {
    max-width: 100%;
    height: auto;
}

/* Promo blocks (home + product pages) — modern bullets, drop the 80% shrink */
.public-site-layout .promo {
    font-size: 1rem;
}

.public-site-layout .promo p {
    color: var(--ps-ink-soft);
    line-height: 1.65;
}

.public-site-layout .promo ul {
    margin: 0.5em 0 1em;
    padding-left: 1.35rem;
    font-weight: 600;
    color: var(--ps-ink-soft);
    line-height: 1.6;
    list-style: none;
}

.public-site-layout .promo li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 0.45em;
    background: none !important; /* kill the legacy triangle-gif bullet */
}

.public-site-layout .promo li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ps-accent);
}

.public-site-layout .promo ul.normal li::before {
    display: none;
}

.public-site-layout .promo ul.normal li {
    padding-left: 0;
}

/* Float promo callout image (personal-records GIF) responsively */
.public-site-layout .promo-personal-record-callout {
    float: right;
    max-width: 220px;
    margin: 0 0 12px 18px;
}

.public-site-layout .promo-personal-record-callout img {
    width: 100%;
    height: auto;
    border-radius: var(--ps-radius-sm);
}

/* MVR price table — modern + horizontally scrollable on small screens */
.public-site-layout .mvr-prices {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: 0.95rem;
}

.public-site-layout .mvr-prices td,
.public-site-layout .mvr-prices th {
    padding: 9px 12px;
    border: 0;
    border-bottom: 1px solid var(--ps-line);
    text-align: left;
}

.public-site-layout .mvr-prices th {
    background: #eef1f6;
    font-weight: 700;
}

.public-site-layout .mvr-prices td {
    background: #fff;
}

/* Generic safety net for any legacy fixed-width tables inside content */
.public-site-layout .ps-main table {
    max-width: 100%;
}

.public-site-layout .ps-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Legacy forms (personal order flow, contact) used fixed `size=`/pixel widths.
 * The old screen.css mobile guard keyed on #layout-container, which the new
 * shell removed — re-establish it here so controls never overflow .ps-main. */
.public-site-layout .ps-main input,
.public-site-layout .ps-main select,
.public-site-layout .ps-main textarea {
    max-width: 100%;
    box-sizing: border-box;
}

/* Sample report monospace block */
.public-site-layout .sample-report {
    border: 1px solid var(--ps-line);
    border-radius: var(--ps-radius-sm);
    padding: 18px;
    margin: 0 auto;
    background: #fff;
    max-width: 100%;
    overflow-x: auto;
}

.public-site-layout .sample-report pre {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.78rem;
    line-height: 1.2;
    white-space: pre;
    margin: 0;
}

/* Account page legacy buttons */
.public-site-layout .ps-main input[type="button"],
.public-site-layout .ps-main input[type="submit"] {
    background: var(--ps-brand);
    border: 1px solid var(--ps-brand-strong);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--ps-radius-sm);
    margin: 4px 2px;
    cursor: pointer;
    font-weight: 600;
}

.public-site-layout .ps-main input[type="button"]:hover,
.public-site-layout .ps-main input[type="submit"]:hover {
    filter: brightness(1.05);
}

/* Legacy personal helper classes (formerly inline in layout_personal.php) */
.public-site-layout .style5 { color: #0000ff; font-weight: bold; font-size: 1rem; }
.public-site-layout .style7 { color: #0000ff; font-size: 1rem; }
.public-site-layout .style9 { font-size: 0.85rem; }
.public-site-layout .style1 { color: #666666; font-weight: bold; }
.public-site-layout .style2 { color: #333333; }

/* ----------------------------------------------------------------------------
 * Off-canvas drawer (mobile nav) — shared by both shells
 * ------------------------------------------------------------------------- */
.ps-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 4000;
    pointer-events: none;
    visibility: hidden;
}

.ps-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}

.ps-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ps-drawer.is-open .ps-drawer-backdrop {
    opacity: 1;
}

.ps-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 92vw);
    max-width: 100%;
    background: var(--ps-surface);
    box-shadow: -4px 0 24px rgba(15, 23, 42, 0.18);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    outline: none;
}

.ps-drawer.is-open .ps-drawer-panel {
    transform: translateX(0);
}

.ps-drawer-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 8px 10px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--ps-line);
}

.ps-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: var(--ps-ink);
    cursor: pointer;
    border-radius: var(--ps-radius-sm);
}

.ps-drawer-close:focus-visible {
    outline: 2px solid var(--ps-brand);
    outline-offset: 2px;
}

.ps-drawer-nav ul {
    list-style: none;
    margin: 0;
    padding: 4px 0 24px;
}

.ps-drawer-nav li a {
    display: block;
    padding: 14px 20px;
    color: var(--ps-ink);
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 1px solid var(--ps-line);
}

.ps-drawer-nav li a:active {
    background: var(--ps-sidebar-bg);
}

.ps-drawer-nav li a[aria-current="page"] {
    background: #e7ecf5;
    color: var(--ps-link-hover);
}

/* "Who We Serve" expando inside the mobile drawer: match the drawer's larger
 * touch targets and indent the industry submenu. */
.ps-drawer-nav .ps-expando > summary {
    padding: 14px 20px;
    font-size: 1rem;
    border-bottom: 1px solid var(--ps-line);
    border-radius: 0;
}

.ps-drawer-nav .ps-subnav {
    margin: 0;
    padding: 0;
    border-left: 0;
}

.ps-drawer-nav .ps-subnav a {
    padding: 12px 20px 12px 36px;
    font-size: 0.95rem;
    border-radius: 0;
    border-bottom: 1px solid var(--ps-line);
}

.ps-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ----------------------------------------------------------------------------
 * Responsive: collapse to single column at/below 820px
 * ------------------------------------------------------------------------- */
@media screen and (max-width: 820px) {
    html {
        overflow-x: hidden;
    }

    .ps-shell {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .ps-header {
        position: sticky;
        top: 0;
        z-index: 300;
        padding: 10px 16px;
    }

    .ps-logo img {
        width: 120px;
    }

    .ps-header-tagline {
        display: none;
    }

    .ps-nav-toggle {
        display: inline-flex;
    }

    .ps-mobile-cta {
        display: flex;
        position: sticky;
        top: 76px;
        z-index: 290;
    }

    .ps-body {
        display: block;
    }

    .ps-sidebar {
        display: none;
    }

    .ps-main {
        padding: 20px 16px 40px;
    }

    .public-site-layout .promo-personal-record-callout {
        float: none;
        display: block;
        max-width: 240px;
        margin: 0 auto 16px;
    }

    .ps-drawer {
        display: block;
    }
}

@media screen and (max-width: 380px) {
    .ps-mobile-cta .public-site-cta-btn {
        flex-basis: 100%;
    }
}

/* ----------------------------------------------------------------------------
 * Modern form styling for the personal order flow (/personal/order, /approve,
 * /confirm). Mirrors the authenticated /signup shell
 * (library/includes/signup_layout.php) so the public order form matches the
 * inside-the-site experience. Bootstrap is already self-hosted via
 * vendor_css('bootstrap'); these are scoped opt-in classes only.
 * ------------------------------------------------------------------------- */
.public-site-layout .step-header {
    margin-bottom: 28px;
}

.public-site-layout .step-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px;
    font-style: normal;
}

.public-site-layout .step-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

.public-site-layout .order-section-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ps-brand-strong);
    margin: 26px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ps-line);
}

/* Reset the legacy global "LABEL { float:left; width:12em }" rule from
 * screen.css so Bootstrap form labels stack above their inputs. */
.public-site-layout .order-form label,
.public-site-layout .ps-main .form-label,
.public-site-layout .ps-main .form-check-label {
    float: none;
    clear: none;
    width: auto;
    border-left: 0;
    padding-left: 0;
    padding-right: 0;
}

.public-site-layout .order-form .form-label {
    display: block;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 6px;
}

.public-site-layout .form-control,
.public-site-layout .form-select {
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 10px 12px;
    font-size: 0.95rem;
}

.public-site-layout .form-control:focus,
.public-site-layout .form-select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.public-site-layout .form-control::placeholder {
    color: #5f6872;
    opacity: 1;
}

.public-site-layout .info-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 20px;
}

.public-site-layout .info-card h5,
.public-site-layout .info-card h6 {
    color: #495057;
    margin-bottom: 12px;
}

/* Review rows (Step 3 verification) */
.public-site-layout .review-list {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 4px;
}

.public-site-layout .review-list th,
.public-site-layout .review-list td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--ps-line);
    text-align: left;
    vertical-align: top;
    font-size: 0.95rem;
}

.public-site-layout .review-list th {
    width: 45%;
    font-weight: 500;
    color: #6c757d;
}

.public-site-layout .step-navigation {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--ps-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.public-site-layout .nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.public-site-layout .nav-btn-primary {
    background: #335580;
    color: #fff;
}

.public-site-layout .nav-btn-primary:hover {
    background: #446690;
    color: #fff;
}

.public-site-layout .nav-btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #adb5bd;
}

.public-site-layout .nav-btn-secondary:hover {
    background: #e9ecef;
    color: #495057;
}

.public-site-layout .nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media screen and (max-width: 576px) {
    .public-site-layout .step-navigation {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .public-site-layout .step-navigation .nav-btn {
        width: 100%;
    }
}
