/*
 * National Waste Removals booking theme (TenantBookingTheme): colours and fonts from
 * https://nationalwasteremovals.co.uk/ and the NWR header/footer (LegacyForm/Tenant/Nwr).
 * Shared components live in css/tenant-booking.css.
 */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap");

body.tb-theme.site--nwr {
    --tb-brand: #5d3f9e;
    --tb-brand-hover: #4b337f;
    --tb-brand-dark: #4b337f;
    --tb-brand-ink: #ffffff;
    --tb-brand-soft: #efecf6;
    --tb-accent: #6cc738;
    --tb-accent-ink: #1f3a10;
    --tb-ink: #363636;
    --tb-muted: #63607a;
    --tb-line: #e4e0ee;
    --tb-surface: #f6f4fb;
    --tb-page: #f5f5f5;
    --tb-hero-from: #4b337f;
    --tb-hero-to: #5d3f9e;
    --tb-footer-bg: #5d3f9e;
    --tb-footer-ink: #efecf6;
    --tb-radius: 14px;
    --tb-font: Outfit, "Segoe UI", Arial, sans-serif;
}

.site--nwr .tb-picker__hero h1,
.site--nwr .tb-start__hero h1,
.site--nwr .tb-confirmed h1,
.site--nwr .tb-steps h2 {
    font-family: Outfit, "Segoe UI", Arial, sans-serif;
    font-weight: 700;
}

/* NWR buttons are rounded uppercase pills; the main booking action is orange like "Book now". */
.site--nwr .tb-btn,
.site--nwr .tb-start__journey .journey-submit {
    border-radius: 99px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.site--nwr .tb-start__journey .journey-submit {
    border-color: #ff6d00;
    background: #ff6d00;
    color: #fff;
}

.site--nwr .tb-start__journey .journey-submit:hover,
.site--nwr .tb-start__journey .journey-submit:focus-visible {
    border-color: #e06000;
    background: #e06000;
}

/* ---------- Shared pills (header and footer) ---------- */
.tb-theme .nwr-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    color: #fff;
    font-family: Outfit, "Segoe UI", Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

/* Footer pills: no underline from the shared .tb-footer a:hover rule. */
.tb-theme .nwr-footer a.nwr-pill:hover,
.tb-theme .nwr-footer a.nwr-pill:focus-visible {
    color: #fff;
    text-decoration: none;
}

.tb-theme .nwr-pill--lg {
    min-height: 3rem;
    padding: 0.65rem 1.9rem;
    font-size: 15px;
}

.tb-theme .nwr-pill--green { background: #6cc738; }
.tb-theme .nwr-pill--green:hover,
.tb-theme .nwr-pill--green:focus-visible { background: #59ad2b; color: #fff; }
.tb-theme .nwr-pill--orange { background: #ff6d00; }
.tb-theme .nwr-pill--orange:hover,
.tb-theme .nwr-pill--orange:focus-visible { background: #e06000; color: #fff; }

/* ---------- Header ---------- */
.tb-theme .nwr-header {
    border-bottom: 1px solid #eee;
    background: #fff;
    font-family: Outfit, "Segoe UI", Arial, sans-serif;
}

.tb-theme .nwr-header__main {
    padding: 0;
    background: #fff;
}

.tb-theme .nwr-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    min-height: 6.25rem;
    padding: 0.6rem 0;
}

.tb-theme .nwr-header__logo img {
    display: block;
    width: auto;
    height: 64px;
    max-width: 60vw;
    object-fit: contain;
}

.tb-theme .nwr-header__collapse {
    flex-basis: 100%;
}

.tb-theme .nwr-nav {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0.25rem 0 0.5rem;
    list-style: none;
}

.tb-theme .nwr-nav a {
    display: block;
    padding: 0.65rem 0.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #363636;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
}

.tb-theme .nwr-nav a:hover,
.tb-theme .nwr-nav a:focus-visible,
.tb-theme .nwr-nav a[aria-current="page"] {
    color: #5d3f9e;
}

.tb-theme .nwr-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.5rem 0 0.9rem;
}

@media (min-width: 992px) {
    .tb-theme .nwr-header__inner {
        flex-wrap: nowrap;
    }

    .tb-theme .nwr-header__logo {
        flex-shrink: 0;
    }

    .tb-theme .nwr-header__collapse {
        flex-basis: auto;
        min-width: 0;
        justify-content: flex-end;
        gap: 2rem;
    }

    .tb-theme .nwr-nav {
        flex-direction: row;
        align-items: center;
        gap: 1.9rem;
        padding: 0;
    }

    .tb-theme .nwr-nav a {
        padding: 0.4rem 0;
        border-bottom: 2px solid transparent;
        white-space: nowrap;
    }

    .tb-theme .nwr-nav a[aria-current="page"] {
        border-bottom-color: #6cc738;
    }

    .tb-theme .nwr-header__actions {
        flex-wrap: nowrap;
        padding: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .tb-theme .nwr-header__logo img {
        height: 52px;
    }

    .tb-theme .nwr-header__collapse {
        gap: 1.25rem;
    }

    .tb-theme .nwr-nav {
        gap: 1.1rem;
    }

    .tb-theme .nwr-pill {
        padding-inline: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .tb-theme .nwr-header__inner {
        min-height: 4.75rem;
    }

    .tb-theme .nwr-header__logo img {
        height: 50px;
    }
}

/* ---------- Footer ---------- */
.tb-theme .nwr-footer {
    margin-top: 3rem;
    background: #5d3f9e;
    color: #efecf6;
    font-family: Outfit, "Segoe UI", Arial, sans-serif;
}

.tb-theme .nwr-footer__cta {
    background: linear-gradient(#f5f5f5, #fff);
    color: #000;
}

.tb-theme .nwr-footer__cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    padding: 3.25rem 0;
}

.tb-theme .nwr-footer__cta p {
    margin: 0;
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    font-weight: 600;
    line-height: 1.25;
}

.tb-theme .nwr-footer__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tb-theme .nwr-footer__main {
    background: #5d3f9e;
}

.tb-theme .nwr-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 2rem;
    padding: 3.5rem 0 4rem;
}

.tb-theme .nwr-footer__logo {
    align-self: start;
}

.tb-theme .nwr-footer__logo img {
    display: block;
    width: 160px;
    max-width: 100%;
    height: auto;
}

.tb-theme .nwr-footer h2 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tb-theme .nwr-footer ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tb-theme .nwr-footer li:empty {
    display: none;
}

.tb-theme .nwr-footer__main a {
    color: #efecf6;
    font-size: 14px;
    font-weight: 300;
    text-decoration: none;
}

.tb-theme .nwr-footer__main a:hover,
.tb-theme .nwr-footer__main a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.tb-theme .nwr-footer__bottom {
    background: #4b337f;
    color: rgba(240, 238, 247, 0.81);
    font-size: 13.75px;
}

.tb-theme .nwr-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding: 0.9rem 0;
}

.tb-theme .nwr-footer__legal {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tb-theme .nwr-footer__legal a {
    color: #efecf6;
    font-weight: 300;
    text-decoration: none;
}

.tb-theme .nwr-footer__legal a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .tb-theme .nwr-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tb-theme .nwr-footer__logo {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .tb-theme .nwr-footer__grid {
        grid-template-columns: 1fr;
        padding-top: 2.5rem;
    }

    .tb-theme .nwr-footer__cta-inner {
        padding: 2.25rem 0;
    }
}
