/**
 * Slim header and footer used across the registration flow.
 */

.gpn-reg-header {
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}

/* 1200/10px mirrors the site content container so the logo lines up with the form. */
.gpn-reg-header__inner,
.gpn-reg-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 10px;
}

.gpn-reg-header__logo {
    display: inline-block;
    line-height: 0;
}

.gpn-reg-header__logo-image {
    display: block;
    width: auto;
    max-height: 54px;
}

.gpn-reg-header__logo-text {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

.gpn-reg-header__aside {
    display: flex;
    align-items: center;
    gap: 22px;
}

.gpn-reg-header__secure {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #15803d;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.gpn-reg-header__secure .ph {
    font-size: 18px;
}

.gpn-reg-header__phone {
    display: block;
    text-align: right;
    text-decoration: none;
    white-space: nowrap;
}

.gpn-reg-header__phone-label {
    display: block;
    color: #475569;
    font-size: 12px;
    line-height: 1.3;
}

.gpn-reg-header__phone-number {
    display: block;
    color: #1d4ed8;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}

.gpn-reg-header__phone:hover .gpn-reg-header__phone-number,
.gpn-reg-header__phone:focus-visible .gpn-reg-header__phone-number {
    text-decoration: underline;
}

.gpn-reg-header__translate .gtranslate_wrapper {
    display: flex;
    align-items: center;
}

/* GTranslate ships an unstyled native select; tone it down to match the bar. */
.gpn-reg-header__translate .gt_selector {
    max-width: 150px;
    padding: 7px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background-color: #fff;
    color: #334155;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
}

.gpn-reg-header__translate .gt_selector:hover,
.gpn-reg-header__translate .gt_selector:focus-visible {
    border-color: #94a3b8;
}

/* Sits in the breadcrumb slot: the only deliberate way back out of the flow,
   findable without competing with the form for attention. */
.gpn-reg-backbar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 10px 0;
}

.gpn-reg-backbar__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    color: #475569;
    font-size: 14px;
    text-decoration: none;
}

.gpn-reg-backbar__link:hover,
.gpn-reg-backbar__link:focus-visible {
    color: #1d4ed8;
    text-decoration: underline;
}

.gpn-reg-backbar__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The thank-you page is short, so on anything but a cramped window the footer
   stopped partway up the screen with white space beneath it. Fill the viewport and
   let the content column absorb the slack. */
.gpn-registration-chrome #page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@supports (min-height: 100dvh) {
    .gpn-registration-chrome #page {
        min-height: 100dvh;
    }
}

.gpn-registration-chrome #content {
    flex: 1 0 auto;
}

/* Astra's header and footer carried the page's vertical breathing room with them.
   Without it the heading sits ~10px under the bar and the submit button the same
   distance above whatever follows. */
.gpn-registration-chrome #content {
    padding-top: 44px;
    padding-bottom: 56px;
}

/* A breadcrumb belongs to the content below it, not the bar above, so close the
   gap when one is present. Same specificity as the rule above, so order matters. */
.gpn-reg-backbar + #content {
    padding-top: 26px;
}

/* --- Thank-you page next steps ------------------------------------------- */

/* The thank-you section carries 200px of bottom padding from when the page ended
   there. With next steps underneath, that reads as a hole. */
.gpn-registration-chrome .entry-content .elementor > .elementor-section:last-child {
    padding-bottom: 48px;
}

/* 1000px mirrors this page's Elementor container so the block lines up with the
   copy above rather than floating in the middle of the full-width wrapper. */
.gpn-next-steps {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* Flat tinted panel rather than a shadowed card: nothing else on this site uses
   elevation, and #f2f5f7 is the same tint as the pre-footer block. */
.gpn-next-steps__reference {
    margin: 0 0 30px;
    padding: 20px 24px;
    border-radius: 3px;
    background: #f2f5f7;
}

.gpn-next-steps__reference-label {
    display: block;
    color: #555;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gpn-next-steps__reference-code {
    display: block;
    margin: 6px 0 8px;
    color: #000;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.08em;
}

.gpn-next-steps__reference-note {
    display: block;
    color: #555;
    font-size: 16px;
}

.gpn-next-steps__contact {
    margin: 0 0 24px;
    color: #000;
    font-size: 18px;
}

/* The site's link colour, unadorned until hover, as everywhere else. */
.gpn-next-steps__contact a {
    color: #f33031;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.gpn-next-steps__contact a:hover,
.gpn-next-steps__contact a:focus-visible {
    text-decoration: underline;
}

/* Matches the site's button language: brand purple, 3px radius, no border or
   shadow, the same weight and padding as "Other Locations Near Me". */
.gpn-next-steps__home {
    display: inline-block;
    padding: 11px 26px;
    border-radius: 3px;
    background: #4f2d7f;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: background 150ms ease;
}

.gpn-next-steps__home:hover,
.gpn-next-steps__home:focus-visible {
    background: #3d2263;
    color: #fff;
    text-decoration: none;
}

/* Sits flush under the global pre-footer block and shares its background so the
   two read as one footer, the way they do elsewhere on the site. The dashed
   divider ending that block is the separator. */
.gpn-reg-footer {
    background: #f2f5f7;
}

.gpn-reg-footer .gpn-reg-footer__inner {
    padding-top: 6px;
    padding-bottom: 22px;
}

.gpn-reg-footer__copyright {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.gpn-reg-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gpn-reg-footer__links a {
    color: #475569;
    font-size: 13px;
    text-decoration: none;
}

.gpn-reg-footer__links a:hover,
.gpn-reg-footer__links a:focus-visible {
    color: #0f172a;
    text-decoration: underline;
}

@media (max-width: 782px) {
    .gpn-next-steps__reference-code {
        font-size: 28px;
    }

    /* Vertical space is scarcer here, and the header bar is already taller. */
    .gpn-registration-chrome #content {
        padding-top: 28px;
    }

    .gpn-reg-backbar__inner {
        padding-top: 14px;
    }

    .gpn-reg-backbar + #content {
        padding-top: 18px;
    }

    .gpn-reg-header__inner {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 10px;
    }

    .gpn-reg-header__logo-image {
        max-height: 40px;
    }

    .gpn-reg-header__aside {
        gap: 14px;
    }

    /* The security cue is reassurance, not information; the phone number is not. */
    .gpn-reg-header__secure span:last-child {
        display: none;
    }

    .gpn-reg-header__phone-number {
        font-size: 17px;
    }

    .gpn-reg-footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 16px 10px;
    }
}
