@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap');
/* ---------- Global font family (Figma: SF Pro with sensible fallbacks) ---------- */
:root {
    --font-sans: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

:root {
    --layout-appbar-h: 56px; /* height of MainLayout top bar */
    --page-appbar-h: 56px; /* height of this page's MudAppBar */
    --nb-search-h: 42px; /* overall height */
    --nb-search-radius: 14px; /* corner roundness */
    --nb-h-font: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --nb-h-size: 20px; /* Figma mobile */
    --nb-h-line: 24px; /* 24px height */
    --nb-h-weight: 700; /* Bold */
    --nb-h-track: -0.1px; /* letter spacing */
    --nb-h-color: #111111; /* Content/Primary */
}
html, body {
    height: 100%;
    margin: 0;
    font-family: var(--font-sans);
}
/* Let the page body be the scroller */
body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* smooth on iOS */
    padding-bottom: env(safe-area-inset-bottom);
}

/*.home-scroll {
    outline: 2px dashed magenta;
}
*/
/* Card wraps image + text + button */
.promo-card {
    border: 1px solid #E6E6E6;
    border-radius: 16px;
    overflow: hidden; /* clips image corners so border wraps entire block */
    background: #fff;
    padding: 0;
}

/* Top image (≈80px tall like Figma, cropped to fill width) */
.promo-card__img {
    display: block;
    width: 100%;
    height: 80px;
    object-fit: cover;
}

/* Inner spacing */
.promo-card__content {
    padding: 12px 16px 16px;
}

/* Figma typography */
.promo-title,
.promo-subtitle {
    font-family: -apple-system, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.1px;
    color: #111;
    margin: 0;
}

.promo-title {
    font-weight: 700;
}
/* bold */
.promo-subtitle {
    font-weight: 400;
    margin-top: 2px;
}

/* Right-align CTA */
.promo-card__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.my-bg-section {
    position: relative;
    z-index: 0;
    min-height: 100vh;
    background: url("/_content/BitcoinNew.RazorLib/images/roundbackground.png") no-repeat center center;
    background-size: cover;
}

/* Space under the page AppBar, respecting iPhone notch */
/* Space under the page AppBar, respecting iPhone notch */
.appbar-spacer {
    height: calc(var(--page-appbar-h, 56px) + env(safe-area-inset-top));
}

/* On wider screens there’s no notch, so just the bar height */
@media (min-width: 600px) {
    .appbar-spacer {
        height: var(--page-appbar-h, 56px);
    }
}
/* TEMP: visualize the spacer while testing */
/*.appbar-spacer.debug {
    background: rgba(255,0,0,0.12);
    outline: 1px dashed red;
}*/
.hero-container {
    position: relative;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* clicks pass through */
    background: linear-gradient( to bottom, rgba(0,0,0,0) 0%, /* lighter at top */
    rgba(0,0,0,0.5) 75% /* darker near bottom */
    );
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*text-align: center;*/
}

.hero-image {
    object-fit: cover;
    height: auto;
    max-height: 60vh;
    display: block;
}

.text-pink {
    color: #ff4897; /* or any color you'd like */
}

.black-button {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    border: 1px solid #000; /* Optionally match border */
}

    .black-button:hover {
        background-color: #333; /* Slightly lighter black on hover */
    }

.white-button {
    background-color: white;
    color: black; /* Ensure black text for contrast */
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 16px;
}

    .white-button:hover {
        background-color: #f2f2f2;
    }

/*.wallet-orange-button {
    background-color: #f79d32 !important;*/ /* Orange */
/*color: white !important;*/ /* White text for contrast */
/*border: 1px solid #f79d32;*/ /* #fd7e14; */
/*border-radius: 6px !important;
    padding: 4px 8px !important;
    font-size: 14px !important;
    min-height: 22px !important;
    text-transform: none !important;*/ /* remove uppercase transform */
/*}

.wallet-orange-button:hover {
    background-color: #f79d32 !important;*/ /* the same */
/*}*/
.balance-tag {
    color: #f79d32; /* White text */
    font-size: 12px; /* Smaller font */
    font-weight: 600; /* Semi-bold */
    border-radius: 6px; /* Rounded corners */
    padding: 2px 8px; /* Top-bottom, left-right padding */
    display: inline-block; /* So it sizes like a tag */
}

.wallet-white-button.mud-button-root {
    text-transform: none !important;
    background-color: transparent !important;
    color: #fff !important;
    border: 1px solid #fff !important; /* visible border */
    box-shadow: none !important; /* remove elevation if any */
    font-weight: 700;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
}

    /* if you use Outlined variant, this helps beat even stronger selectors */
    .wallet-white-button.mud-button-root.mud-button-outlined {
        border: 1px solid #fff !important;
    }

    /* label text (in case Mud sets color on it) */
    .wallet-white-button.mud-button-root .mud-button-label {
        color: #fff !important;
    }

    /* optional hover/active */
    .wallet-white-button.mud-button-root:hover {
        background-color: rgba(255,255,255,0.08) !important;
    }

    .wallet-white-button.mud-button-root:active {
        background-color: rgba(255,255,255,0.12) !important;
    }


.earning-stats-white-button {
    background-color: white !important; /* Semi-transparent background */
    color: black !important; /* dark gray or near-black */
    border-radius: 20px !important;
    font-size: 14px !important; /* bigger text */
    min-height: 24px !important; /* bigger padding */
    padding: 4px 24px !important;
    text-transform: none !important; /* remove uppercase transform */
}

    .earning-stats-white-button:hover {
        background-color: #f79d32 !important;
    }

.wallet-text-white {
    color: white !important;
}

.wallet-balance-text {
    color: white !important;
    font-weight: 700 !important; /* bolder (700 or even 800) */
    line-height: 1.1 !important; /* less tall lines */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

    .wallet-balance-text .bits-label {
        font-size: 0.7em; /* smaller than main number */
        font-weight: 500; /* optional: lighter */
    }

.wallet-miles-label-text {
    font-weight: 700 !important; /* bolder (700 or even 800) */
    font-size: 18px !important;
}

.wallet-miles-number-text {
    font-weight: 700 !important; /* bolder (700 or even 800) */
    line-height: 1.1 !important; /* less tall lines */
    font-size: 22px !important;
}

.toolbar-welcome-text {
    font-size: 16px !important;
}

.toolbar-user-name-text {
    font-weight: 700 !important;
}

.toolbar-page-caption-text {
    font-weight: 700 !important;
    font-size: 18px !important;
}

.wallet-text-gray {
    color: #ccc !important; /* Light gray for contrast */
    font-weight: 600 !important; /* make it bold-ish */
    font-size: 16px !important;
}

/* Bold black text: Invite Friends */
.wallet-black-bold-text {
    font-family: "SF Pro", sans-serif;
    font-weight: 700 !important; /* Bold */
    font-size: 18px !important; /* Updated from 16px → 18px */
    line-height: 20px !important; /* As per Figma */
    letter-spacing: -0.1px !important;
    color: #111111 !important; /* Neutrals/black */
}

/* Regular gray text: Get 1000 Bits for each friend... */
.wallet-gray-regular-text {
    font-family: "SF Pro", sans-serif;
    font-weight: 400 !important; /* Regular */
    font-size: 14px !important; /* Matches Figma */
    line-height: 20px !important;
    letter-spacing: -0.1px !important;
    color: #111111 !important; /* Neutral black from Figma */
}

.wallet-text-orange {
    color: #f79d32 !important; /* Orange for button labels */
}

.earning-stats-orange-bold-text {
    font-weight: 700 !important; /* bolder (700 or even 800) */
    line-height: 1.1 !important; /* less tall lines */
    font-size: 18px !important;
    color: #f79d32 !important;
}

.earning-stats-regular-white-text {
    font-size: 14px !important;
    color: white !important;
}

/* OUTER wallet card */
.wallet-card {
    border-radius: 16px;
    background: #FFEEDB; /* your fallback */
    display: flex;
    flex-direction: column;
    overflow: hidden; 
    margin: 0; /* parent gap handles spacing */
    /* z-index not needed; remove unless you have a reason */
}

/* Dark top section */
.wallet-card-background {
    background-image: url("/_content/BitcoinNew.RazorLib/images/new-bitcoin-coins-image.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 24px 32px; /* bottom padding so the button clears */
    border-radius: 16px 16px 0 0;
    overflow: hidden; /* clip only this section */
    position: relative;
    z-index: 0; /* sit underneath the actions row */
}

/* 
.wallet-card-actions {
    background-color: #f79d32; 
    color: #000 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 46px;
    padding: 12px 24px;
    border-top: 1px solid #eee; 
    border-radius: 0 0 16px 16px;
    position: static; 
}
    .wallet-card-actions .mud-typography {
        color: #000 !important;
    }
    
 */

/* AFTER (tighter like Figma & no top border) */
.wallet-card-actions {
    background-color: #f79d32;
    color: #000 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    /* key: make it “wide” visually by giving it real vertical space */
    padding: 16px 24px !important;     /* ← correct placement of !important */
    min-height: 56px !important;       /* thicker bar, matches the mock */

    margin: 0 !important;              /* neutralize any framework margins */
    width: 100%;
    box-sizing: border-box;

    border-top: none !important; 
    border-radius: 0 0 16px 16px;
}
/* ensure MudText inside doesn’t re-introduce margins */
.wallet-card-actions .mud-typography { margin: 0 !important; }

/* Make ALL cards share the same rounding & clipping */
.wallet-card,
.promo-card,
.score-card,
.referral-code-card,
.offer-card {
    border-radius: 16px !important;
    overflow: hidden;              /* images/backgrounds obey the corners */
}

/* middle Section Background */
.wallet-how-to-background {
    background-image: url("/_content/BitcoinNew.RazorLib/images/wallet-how-to-image-new-bg.svg");
    background-repeat: no-repeat;
    background-position: right center; /* keep coins to the right */
    /*
    background-size: cover;
    height: auto; 
    min-height: 160px;
    */
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* left-align text like the sample */
    /* justify-content: center; */
    padding: 16px;
    /* position: relative; */
}

/* middle Section Background */
.wallet-redeem-background {
    background-image: url("/_content/BitcoinNew.RazorLib/images/new-bitcoin-wallet-redeem.png");
    background-repeat: no-repeat;
    background-position: right center; /* keep coins to the right */
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* left-align text like the sample */
    /* justify-content: center; */
    padding: 16px;
    /* position: relative; */
}
/* ───────────── Typography (unchanged, but make sure it wins over MudText) ───────────── */
.nb-title {
    font-family: var(--font-sans);
    font-weight: 700 !important; /* ensure bold */
    font-size: 20px;
    line-height: 22px;
    color: #111;
    margin: 0;
    letter-spacing: 0;
}

.nb-body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #111;
    margin: 0;
}


/* Keep the full SVG visible (no crop) */
.shop-banner {
    --reserve: clamp(165px, 34vw, 300px);
    background-color: #F0F0F5;
    background-image: url("/_content/BitcoinNew.RazorLib/images/new-bitcoin-wallet-redeem-new-bg.svg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain; /* keep entire art visible */

    border-radius: 16px;
    /* DO NOT clip the whole card; background respects border-radius anyway */
    overflow: visible; /* <— important */
}

    /* Neutralize MudCard’s wrapper so height grows with content */
    .shop-banner .mud-card-content {
        padding: 0 !important;
        display: block; /* avoid flex quirks */
        height: auto !important;
        overflow: visible !important; /* <— prevent clipping by wrapper */
        box-sizing: border-box;
    }
    /* only inside the shop banner */
    .shop-banner > .mud-card-content { /* NOTE the > */
        padding: 0 !important;
        overflow: visible !important;
        display: block;
        height: auto !important;
    }

:root
{
    --banner-bottom-pad: 16px; /* default: Android + Web */
}
.ios
{
    --banner-bottom-pad: 28px; /* iOS */
}
    
/* Content area */
.shop-banner__inner {
    display: flex;
    flex-direction: column;
    /* gap: 8px; */
    /* give the button breathing room at the bottom */
    /* padding: 16px 16px 28px; iOS  */
    /* padding: 16px 16px 16px; android and web */
    padding: 16px 16px var(--banner-bottom-pad);
    padding-right: var(--reserve);
    min-height: auto; /* let content define height */
    box-sizing: border-box;
}

    /* just in case your button has a default bottom margin */
.shop-banner__inner .wallet-black-button {
        margin-bottom: 0 !important;
}

/* small phones */
@media (max-width: 360px) {
    .shop-banner {
        --reserve: clamp(160px, 40vw, 290px);
    }

    .shop-banner__inner .nb-title {
        max-width: 233px;
    }
}

/* wider viewports */
@media (min-width: 700px) {
    .shop-banner {
        --reserve: clamp(160px, 28%, 300px);
    }

    .shop-banner__inner .nb-body {
        max-width: 420px;
    }
}

/* Button (unchanged) */
.wallet-black-button {
    background: #2F2939 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 9999px !important;
    font-family: var(--font-sans);
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 20px !important;
    padding: 8px 16px !important;
    min-height: 36px !important;
    width: auto !important;
    align-self: flex-start;
}

    .wallet-black-button:hover {
        background: #444055 !important;
    }

.earning-stats-card-background {
    background-color: #2e2737; /* or whatever background color you want */
    /* border-radius: 16px;   */
    padding: 16px;
    /* Flex layout for left and right content: */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-graphic-large {
    width: 120px; /* adjust as needed */
    height: auto; /* keep proportions */
    margin-left: 16px; /* small left margin if needed */
}

.peach-background {
    background-color: #fad7b2; /* or whichever peach color you like */
    border: 2px solid #f79d32; /* orange border */
}

.rounded-button {
    border-radius: 10px; /* or whatever radius you need */
}

/* Optional styling for text-pink class and hero overlay, etc. */
.text-pink {
    color: #ff4897; /* or your preferred pink color */
}

.my-limited-button {
    min-width: 200px !important;
    max-width: 300px !important;
    min-height: 30px !important;
    width: 100% !important;
}

.good-times-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900; /* heavy/bold */
    text-transform: uppercase;
    letter-spacing: 1px; /* optional spacing */
}

.no-toolbar-layout .mud-layout-content,
.no-toolbar-layout .mud-main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
    /*     background-color: #000 !important;  or transparent, if you prefer */
}

.no-divider {
    box-shadow: none !important;
    border-bottom: none !important;
}

.mobile-emulation {
    width: 375px; /* typical phone width */
    margin: 0 auto; /* center on desktop */
    border: 1px solid #ccc; /* optional visual border */
}

:root {
    /* where the wave (orange ribbon) sits vertically */
    --ribbon-y: 8%; /* tune 10–14% to taste */
    --ribbon-buffer: 3%; /* extra peach below the wave to avoid gaps */
}

.peach-bg-no-padding {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
    position: relative;
    /* 1) wave svg  2) peach->transparent gradient */
    /*background: url("/_content/BitcoinNew.RazorLib/images/wave2.svg") no-repeat, linear-gradient( to bottom, #fff8ef 0%, #fff8ef calc(var(--ribbon-y) + var(--ribbon-buffer)), transparent calc(var(--ribbon-y) + var(--ribbon-buffer)), transparent 100% );*/
    background: 
            url("/_content/BitcoinNew.RazorLib/images/wave2.svg") no-repeat,
                /* fade from peach to peach (no transparency) */
            linear-gradient(
                    to bottom,
                    #fff8ef 0%,
                    #fff8ef calc(var(--ribbon-y) + var(--ribbon-buffer)),
                    #fff8ef 100%
            );
    /*!* keep the wave full-width; leave gradient as cover *!*/
    background-size: 100% auto, cover;
    /* place the wave at --ribbon-y from the top */
    background-position: center var(--ribbon-y), center top;
    /* safety: if anything is still transparent, keep peach as base color */
    background-color: #fff8ef;
}

.transparent-bg-no-padding {
    margin: 0 !important;
    padding: 0 !important;
    /* min-height: 100vh;*/
    position: relative;
    background: transparent !important;
}

.paper-content-wrapper-one-page-100 {
    padding: 16px;
    /*padding-top: 50px;*/
    padding-top: 100px;
    display: flex; /* Flex container */
    flex-direction: column; /* Stack items vertically */
    gap: 16px; /* Same 16px space between cards */
    background: transparent;
    height: 100vh;
    overflow-y: auto; /* enable vertical scrolling */
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.paper-content-wrapper-one-page-100-scrollable {
    padding:16px;
    padding-top:100px;
    display:flex;
    flex-direction:column;
    gap:16px;
    background:transparent;
    height:auto;               /* allow to grow */
    min-height:100dvh;         /* at least the viewport (better on mobile) */
    overflow-y:visible;        /* let BODY handle scrolling */
}

.paper-content-wrapper-one-page-50 {
    padding: 16px;
    padding-top: 50px;
    display: flex; /* Flex container */
    flex-direction: column; /* Stack items vertically */
    gap: 16px; /* Same 16px space between cards */
    background: transparent;
    height: 100vh;
    overflow-y: auto; /* enable vertical scrolling */
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.paper-content-wrapper-social-login {
    padding: 16px;
    padding-top: 50px;
    display: flex; /* Flex container */
    flex-direction: column; /* Stack items vertically */
    gap: 16px; /* Same 16px space between cards */
    background: transparent;
    height: 50vh;
    overflow-y: auto; /* enable vertical scrolling */
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}
/*
.paper-content-wrapper-scrollable {
    padding: 16px;
    padding-top: 0px;
    margin-top: 0;
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
    background: transparent;
    overflow-y: auto; 
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}
*/
.paper-content-wrapper-scrollable {
    padding: 16px;
    padding-top: 100px;
    display: flex; /* Flex container */
    flex-direction: column; /* Stack items vertically */
    gap: 16px; /* Same 16px space between cards */
    background: transparent;
    overflow-y: auto; /* enable vertical scrolling */
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

/* Kill any external margins on direct children (cards, links, etc.) */
.paper-content-wrapper-one-page-100-scrollable > * {
    margin: 0 !important;
}

/* If a card is wrapped in <MudLink>, prevent margin-collapsing in the anchor */
.paper-content-wrapper-one-page-100-scrollable > a,
.paper-content-wrapper-one-page-100-scrollable > .mud-link {
    display: flow-root;          /* establishes a new BFC → no collapsing */
    margin: 0 !important;
    padding: 0;                  /* keep the anchor tight */
}

/* Neutralize MudBlazor’s default card/paper margins inside this stack */
.paper-content-wrapper-one-page-100-scrollable .mud-card,
.paper-content-wrapper-one-page-100-scrollable .mud-paper {
    margin: 0 !important;
}

/* Safety fallback for engines with flaky flex-gap support */
@supports not (gap: 1rem) {
    .paper-content-wrapper-one-page-100-scrollable { gap: 0; }
    .paper-content-wrapper-one-page-100-scrollable > * + * { margin-top: 16px !important; }
}


.paper-content-wrapper-flexible {
    padding: 16px;
    display: flex; /* Flex container */
    flex-direction: column; /* Stack items vertically */
    gap: 16px; /* Same 16px space between cards */
    background: transparent;
    overflow-y: auto; /* enable vertical scrolling */
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.paper-content-section {
    padding: 16px;
    display: flex; /* Flex container */
    flex-direction: column; /* Stack items vertically */
    gap: 16px; /* Same 16px space between cards */
    background: transparent;
}

.paper-content-section-no-padding {
    display: flex; /* Flex container */
    flex-direction: column; /* Stack items vertically */
    gap: 16px; /* Same 16px space between cards */
    background: transparent;
}

.account-profile-content-section {
    padding: 8px 16px;
    margin: 0;
    display: flex; /* Flex container */
    flex-direction: column; /* Stack items vertically */
    gap: 8px; /* Same 16px space between cards */
    background: transparent;
}

.account-profile-content-section-first-50 {
    padding: 16px;
    padding-top: 50px;
    display: flex; /* Flex container */
    flex-direction: column; /* Stack items vertically */
    gap: 16px; /* Same 16px space between cards */
    background: transparent;
}

.chart-label {
    background-color: #fad7b2;
}

/* 1) Match the card’s horizontal margin – i.e. 15px from each edge. 
   - If your .paper-content-wrapper or parent has padding:16px,
     you can do a negative margin to “pull” it even with the card. 
   - Or simply set a fixed margin: 0 15px. 
*/
.toggle-wrapper {
    margin: 0 15px; /* 15px left/right to match the card’s edges */
    /* or margin-left: 15px; margin-right: 15px; etc. */
}

/* 2) Light yellow background, fully rounded, no black border. 
   Set an explicit height so the black item can fill it. */
.toggle-background {
    background-color: #fff8dc !important; /* Light yellow */
    border-radius: 24px;
    border: none; /* no border */
    display: flex; /* so the child ToggleGroup can fill height if needed */
    align-items: center; /* vertical center */
    height: 48px; /* adjust to your desired “pill” height */
    box-sizing: border-box; /* ensures padding doesn’t break the set height */
    padding: 0 8px; /* small horizontal padding inside the pill */
}

/* 3) Remove any default ToggleGroup border or box-shadow */
.range-toggle-group {
    background-color: #fff8dc !important; /* transparent */
    border: none !important;
    box-shadow: none !important;
    display: flex;
    !important; /* let items expand horizontally */
    width: 100%;
    !important; /* fill the pill background’s width */
    align-items: stretch;
    !important;
    height: 48px;
}

    /* 4) Each toggle item:
   - No border
   - Fills height
   - Slight margin or no margin so the left item lines up exactly with the pill background 
*/
    .range-toggle-group .mud-toggle-item {
        border: none !important; /* no visible border */
        background-color: transparent !important;
        color: #000 !important;
        border-radius: 0 !important; /* no extra rounding on unselected items */
        padding: 0 16px !important; /* bigger clickable area, same top/bottom as pill */
        margin: 0 !important; /* remove side margins so left item lines up exactly */
        flex: 1; /* items share available space */
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 500;
    }

        /* Selected (black) item fills the entire toggle background height */
        .range-toggle-group .mud-toggle-item.mud-toggle-item-selected {
            background-color: #000 !important;
            color: #fff !important;
            border-radius: 24px !important; /* match outer pill rounding */
        }
/* Optionally style the date pickers to appear smaller or more in line */
.mud-picker {
    max-width: 120px; /* narrower pickers */
}

/* Larger numbers for the bits/miles/bonuses cards */
.earning-stats-chart-card {
    margin-top: 8px; /* small gap from toggle row */
    border: none !important;
    box-shadow: none !important;
}

/* If you want to remove chart's top Title text entirely, remove Title attribute in the code. */
/* Or reduce spacing around the chart’s canvas: */
.mud-chart {
    margin-bottom: 0 !important;
}

.thin-gray-divider {
    padding: 0 !important;
}

.thick-divider {
    height: 4px; /* Adjust thickness as needed */
    background-color: #000; /* Optional: Change color */
}

.my-search-field .mud-input-outlined .mud-input-outlined-inner {
    /* 2) Increase height. 48 or 50px is a typical “taller” input */
    height: 50px;
    /* 3) Reduce roundness */
    border-radius: 8px;
}

.status-button-green {
    background-color: #28a745 !important; /* #28a745 */
    color: white !important; /* White text for contrast */
    border: 1px solid #28a745;
    border-radius: 20px !important;
    padding: 4px 8px !important;
    font-size: 14px !important;
    min-height: 22px !important;
    text-transform: none !important; /* remove uppercase transform */
}

    .status-button-green:hover {
        background-color: #28a745 !important; /* the same */
    }

.status-button-blue {
    background-color: #00BFFF !important; /* deep sky blue */
    color: white !important; /* White text for contrast */
    border: 1px solid #00BFFF;
    border-radius: 20px !important;
    padding: 4px 8px !important;
    font-size: 14px !important;
    min-height: 22px !important;
    text-transform: none !important; /* remove uppercase transform */
}

    .status-button-blue:hover {
        background-color: #00BFFF !important; /* the same */
    }

.status-button-red {
    background-color: darkgray !important; /* #28a745 */
    color: white !important; /* White text for contrast */
    border: 1px solid darkgray;
    border-radius: 20px !important;
    padding: 4px 8px !important;
    font-size: 14px !important;
    min-height: 22px !important;
    text-transform: none !important; /* remove uppercase transform */
}

    .status-button-red:hover {
        background-color: darkgray !important; /* the same */
    }

.paper-content-wrapper-business {
    padding: 16px;
    padding-top: 100px;
    display: flex; /* Flex container */
    flex-direction: column; /* Stack items vertically */
    gap: 16px; /* Same 16px space between cards */
    background: transparent;
    /* height: 100vh; */
    overflow-y: auto; /* enable vertical scrolling */
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}


/*.offer-card {*/
/*    border-radius: 16px !important; !* Rounded corners *!*/
/*    overflow: hidden; !* Ensures image doesn’t overflow *!*/
/*    margin: 0;*/
/*    background: #fff8ef !important;*/
/*    !* z-index: 1 !important; *!*/
/*    !* Force a fixed height for the card *!*/
/*    height: 110px;               !* pick whatever fixed height works best *!*/
/*}*/

.offer-black-bold-text {
    font-weight: 700 !important; /* bolder (700 or even 800) */
    line-height: 1.1 !important; /* less tall lines */
    font-size: 18px !important;
    color: black !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.offer-gray-regular-text {
    font-size: 14px !important;
    color: black !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.offer-black-button {
    background-color: black !important; /* Semi-transparent background */
    color: white !important; /* dark gray or near-black */
    border: 1px solid black;
    border-radius: 20px !important;
    font-size: 14px !important; /* bigger text */
    min-height: 24px !important; /* bigger padding */
    padding: 4px 24px !important;
    text-transform: none !important; /* remove uppercase transform */
    width: 100px;
}

    .offer-black-button:hover {
        background-color: darkgray !important;
    }

.offer-gold-button {
    background-color: #f79d32 !important;
    color: black !important;
    border: 1px solid #f79d32;
    border-radius: 20px !important;
    font-size: 14px !important;
    min-height: 24px !important;
    padding: 4px 24px !important;
    text-transform: none !important;
    width: 100px;
}

    .offer-gold-button:hover {
        background-color: darkgray !important; /* darker gold on hover */
    }

.offer-deal-image {
    width: 110px !important; /* or any fixed width you prefer */
    height: 110px !important; /* keeps aspect ratio */
    max-width: 110px !important; /* or any fixed width you prefer */
    max-height: 110px !important; /* keeps aspect ratio */
    min-width: 110px !important; /* or any fixed width you prefer */
    min-height: 110px !important; /* keeps aspect ratio */
    object-fit: cover; /* if you want to crop/fill */
    border-radius: 0 !important; /* in case you want zero rounding */
}

/*!* Constrain MudAppBar width on desktop screens *!
@media (min-width: 600px) {
    !* Limit MudAppBar to container max width and center it *!
    .mud-appbar {
        max-width: 480px;           !* match .wasm-app-container max width *!
        width: 100%;                !* allow it to fill that max-width *!
        margin: 0 auto;             !* center horizontally within the page *!
    }
    !* If the app bar is fixed at top, adjust positioning to center it *!
    .mud-appbar.mud-appbar-fixed-top {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    }
}*/

@media (min-width: 768px) {
    .wasm-app-container {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .mud-toolbar-appbar {
        max-width: 480px;
        width: 100%;
        margin: 0 auto;
    }
}

/* Make the page fill the entire mobile viewport */
.full-page-bg {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* top header + main + bottom button */
    background-color: #fff8ef; /* example light background */
}

/* Header: center the logo, etc. */
.coupon-header {
    padding-top: 24px;
}

/* The logo style: adjust size to your liking */
.coupon-logo {
    max-width: 120px;
    height: auto;
}

/* Main content area in the middle, scrollable if needed */
.coupon-content {
    flex: 1; /* fill available space */
    overflow-y: auto; /* allow vertical scrolling on smaller devices */
    /*padding: 16px;*/
}

/* Footer: close button pinned at bottom */
.coupon-footer {
    padding-bottom: 24px;
}

/* Example custom styling for the close button */
.close-button {
    background-color: #000 !important;
    color: #fff !important;
    border-radius: 20px !important;
    width: 140px;
    text-transform: none !important;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: absolute;
}

/* Invite Friends Card container */
.invite-friends-card {
    border-radius: 16px;
    border: 1px solid #F1F1F1; /* Matches Figma border */
    overflow: hidden; /* Ensure clean rounded edges */
}

/* Card background + layout */
.invite-friends-card-background {
    background-color: #F2FAFF;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
}

.score-card {
    border-radius: 16px !important; /* Rounded corners */
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    overflow: hidden; /* Ensures image doesn’t overflow */
    background: white; /* Keep background clean */
    /* z-index: 1 !important;*/
}

.referral-code-card {
    border-radius: 16px !important;
    border: 1px solid #F0F0F5;
    max-width: 600px;
    width: 100%;
    background: white;
}

.referral-code-background {
    background-color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-graphic-small {
    width: 50px; /* keep it small */
    height: auto;
}

/* Pale‑gray rounded tiles for the stat area */
.stat-box {
    padding: 12px 24px; /* breathing room */
    background-color: #FAFAFA !important; /* very light gray from theme */
    border-radius: 12px; /* nice soft corners */
    text-align: center; /* keep text centered */
    flex: 1 1 0; /* grow and shrink equally, start at 0 px */
    min-width: 90px; /* optional floor so they don’t collapse on phones */
}

    /* optional: make both MudText blocks display as separate lines */
    .stat-box > * {
        display: block;
    }

.white-button {
}



.account-profile-button {
    min-width: 200px !important;
    width: 100% !important;
    min-height: 24px !important;
    border-radius: 20px !important;
    /*padding: 24px !important;*/
}

.account-profile-white-button {
    background-color: white;
    color: black;
    border: 2px solid #f1f1f1 !important;
}

    .account-profile-white-button:hover {
        background-color: #f1f1f1;
    }

.account-profile-gray-button {
    background-color: #f1f1f1 !important;
    color: black !important;
    border: 2px solid #f1f1f1 !important;
}

    .account-profile-gray-button:hover {
        background-color: lightgray !important;
    }

.invite-friends-button {
    min-width: 200px !important;
    width: 100% !important;
    min-height: 24px !important; /* bigger padding */
    background-color: black !important; /* Semi-transparent background */
    color: white !important; /* dark gray or near-black */
    border: 1px solid white;
    border-radius: 20px !important;
    font-size: 18px !important; /* bigger text */
    padding: 4px 24px !important;
    text-transform: none !important; /* remove uppercase transform */
}

    .invite-friends-button:hover,
    .invite-friends-button:focus-visible {
        background-color: #1A1A1A !important;
    }

    .invite-friends-button:disabled {
        background-color: #E4E4E4 !important;
        color: #605E62 !important;
        cursor: not-allowed;
        box-shadow: none;
        pointer-events: none;
    }

/*img.android-badge {
    max-width: 200px;      !* feel free to tweak *!
    width: 90%;           !* scales down on narrow screens *!
    height: auto;          !* maintains aspect ratio *!
}*/

/* Active status – green dot */
.status-active .mud-badge.mud-badge-dot {
    background-color: green !important; /* override default grey */
    width: 20px; /* make dot ~20px diameter */
    height: 20px;
}

/* Idle status – red dot */
.status-idle .mud-badge.mud-badge-dot {
    background-color: red !important;
    width: 20px;
    height: 20px;
}

/* A)  Put a white “i” in the centre of the dot */
.status-badge .mud-badge.mud-badge-dot::after {
    content: "i"; /* literal letter */
    color: #fff; /* white */
    font-size: 12px; /* tweak until it feels right */
    font-weight: 600;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%); /* optically centre the glyph */
    pointer-events: none; /* keep clicks on the badge itself */
}

/* B)  Show hand cursor to hint it’s clickable */
.status-badge .mud-badge-dot {
    cursor: pointer;
}

/* C)  Shift the badge so its CENTRE is 10 px from top & right of the card
       (dot is 20 px, so we pull its bottom/left in by 10 px) */
.status-badge .mud-badge-top.right:not(.mud-badge-overlap) {
    top: -12px !important; /* distance from card’s top edge to dot centre */
    right: 4px !important; /* distance from card’s right edge to dot centre */
    bottom: auto !important; /* neutralise previous bottom rule */
    left: auto !important; /* we’re using right instead */
}

/* Pulsating animation for the active dot */
.status-active .mud-badge.mud-badge-dot {
    /* ...other styles... */
    animation: pulse 1.5s infinite ease-in-out;
}

/* Define the pulse keyframes */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Ensure the badge wrapper only takes up the space of the badge */
.clickable-badge {
    display: inline-block;
    position: relative; /* (if the badge was absolutely positioned within) */
}
/* Row 1: right-align Start Earning */
.wallet-header-row {
    display: flex;
    justify-content: flex-end; /* Start Earning on the right */
    width: 100%;
}

/* Keep the wrapper tight; don’t add extra spacing */
.wallet-start-earning {
    display: inline-flex;
}


/* Make the badge dot show a pointer on hover and allow clicking */
.clickable-badge .mud-badge-dot {
    cursor: pointer;
    pointer-events: auto; /* ensure the dot itself can be a pointer target */
}

.offline-earning-btn,
.start-earning-btn,
.earning-badge {
    border-radius: 9999px !important; /* pill shape */
    padding: 4px 12px !important;
    font-size: 14px !important;
    min-height: 28px !important;
    text-transform: none !important;
    font-weight: 500 !important;
    display: flex;
    align-items: center;
    gap: 8px; /* unified spacing */
}

.start-earning-btn {
    background-color: #FFFFFF !important;
    color: #111111 !important;
    border: 1px solid #E0E0E0 !important;
}

.earning-badge {
    background-color: #38B24A !important;
    color: #111111 !important;
    border: none !important;
    font-weight: 600 !important;
}

.offline-earning-btn {
    background-color: #FF3B30 !important;
    color: #FFFFFF !important;
    border: 1px solid #E0E0E0 !important;
}

    .offline-earning-btn .btn-icon,
    .start-earning-btn .btn-icon,
    .earning-badge .btn-icon {
        margin-left: 1ch;
        width: 16px;
        height: 16px;
    }

.business_setup_step_indicator {
    min-width: 100px !important;
    width: 100px !important;
    min-height: 30px !important;
    height: 30px !important;
    background-color: #fff8ef !important; /* Semi-transparent background */
    color: black !important; /* dark gray or near-black */
    border-radius: 20px !important;
    font-size: 14px !important; /* bigger text */
    padding: 4px 12px !important;
    text-transform: none !important; /* remove uppercase transform */
}

    .business_setup_step_indicator:hover {
        background-color: #fff8ef !important;
    }

.checkbox-card-unchecked {
    padding: 12px 16px !important;
    border: 1px solid #F1F1F1 !important; /* hair-line divider */
    border-radius: 8px !important;
    display: flex;
    align-items: center;
    gap: 12px !important;
    background: #FFFFFF;
}

.checkbox-card-checked {
    padding: 12px 16px !important;
    border: 1px solid #F1F1F1 !important; /* hair-line divider */
    border-radius: 8px !important;
    display: flex;
    align-items: center;
    gap: 12px !important;
    background: #FAFAFA !important;
}

/* give the card soft corners and fixed width similar to 335 × ≈453  */
.setup-dialog .mud-paper {
    width: 335px;
    border-radius: 20px;
}

.dialog-img {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    border-radius: 0 !important;
    object-fit: cover;
}

/* Add these styles to your CSS (e.g., in the same Razor file or a global stylesheet) */
.social-login-btn {
    width: 260px; /* same width for both buttons */
    padding: 4px 10px; /* equal padding for consistent height (approx 48px total) */
    border: none;
    border-radius: 9999px; /* pill shape corners for both */
    display: inline-flex; /* center the image inside */
    align-items: center;
    justify-content: center;
}

    .social-login-btn.google-btn {
        background-color: #131314; /* Google dark theme background (near-black)  */
        /* (No extra border added here since the Google image asset includes the outline) */
    }

    .social-login-btn.apple-btn {
        background-color: #000000; /* Apple button black background */
    }

    .social-login-btn img {
        height: 40px; /* uniform image height */
        width: auto; /* preserve aspect ratio of the logo/text  [oai_citation:15‡developers.google.com](https://developers.google.com/identity/branding-guidelines#:~:text=) */
        margin: 0; /* no margin, so it centers properly */
    }

.social-login-btn-google-img {
    height: 40px; /* uniform image height */
    width: 260px; /* preserve aspect ratio of the logo/text  [oai_citation:15‡developers.google.com](https://developers.google.com/identity/branding-guidelines#:~:text=) */
    margin: 0; /* no margin, so it centers properly */
}

/* google: */
.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: #131314;
    background-image: none;
    border: 1px solid #747775;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #e3e3e3;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    max-width: 400px;
    min-width: min-content;
    border-color: #8e918f;
}

    .gsi-material-button .gsi-material-button-icon {
        height: 20px;
        margin-right: 12px;
        min-width: 20px;
        width: 20px;
    }

    .gsi-material-button .gsi-material-button-content-wrapper {
        -webkit-align-items: center;
        align-items: center;
        display: flex;
        -webkit-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
        height: 100%;
        justify-content: space-between;
        position: relative;
        width: 100%;
    }

    .gsi-material-button .gsi-material-button-contents {
        -webkit-flex-grow: 1;
        flex-grow: 1;
        font-family: 'Roboto', arial, sans-serif;
        font-weight: 500;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: top;
    }

    .gsi-material-button .gsi-material-button-state {
        -webkit-transition: opacity .218s;
        transition: opacity .218s;
        bottom: 0;
        left: 0;
        opacity: 0;
        position: absolute;
        right: 0;
        top: 0;
    }

    .gsi-material-button:disabled {
        cursor: default;
        background-color: #13131461;
        border-color: #8e918f1f;
    }

        .gsi-material-button:disabled .gsi-material-button-state {
            background-color: #e3e3e31f;
        }

        .gsi-material-button:disabled .gsi-material-button-contents {
            opacity: 38%;
        }

        .gsi-material-button:disabled .gsi-material-button-icon {
            opacity: 38%;
        }

    .gsi-material-button:not(:disabled):active .gsi-material-button-state,
    .gsi-material-button:not(:disabled):focus .gsi-material-button-state {
        background-color: white;
        opacity: 12%;
    }

    .gsi-material-button:not(:disabled):hover {
        -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
        box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    }

        .gsi-material-button:not(:disabled):hover .gsi-material-button-state {
            background-color: white;
            opacity: 8%;
        }


/* --- Setup complete dialog -------------------------------------------------*/
@font-face {
    font-family: "SF Pro";
    src: local("SF Pro Text"), local("SF Pro"), url("/fonts/SF-Pro-Text-Regular.woff2") format("woff2"); /* load once */
}

/* iOS: prevent text inflation */
html {
    -webkit-text-size-adjust: 100%;
}

/* Container uses grid so the close button sits on its own row */
.offer-details-dialog {
    display: grid;
    grid-template-columns: 1fr auto; /* content + close */
    grid-auto-rows: auto;
    gap: 8px 0;
    padding: 24px; /* no top hack */
    width: 335px;
    border-radius: 20px;
    background: #FFFFFF;
    position: relative;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Close button: no absolute; place top-right in row 1 */
.offer-details-close {
    position: static;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    line-height: 1;
}

/* iOS: prevent text inflation */
html {
    -webkit-text-size-adjust: 100%;
}

/* Everything else spans full width below the first row */
.offer-details-dialog > :not(.offer-details-close) {
    grid-column: 1 / -1;
}

/* Renamed title/subtitle/img styles */
.offer-details-title {
    font-weight: 700;
    font-size: 28px;
    margin: 0 0 16px;
    color: #000;
}

.offer-details-subtitle {
    color: #000;
    margin-bottom: 32px;
}

/*.offer-details-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 48px 0 32px;
}*/

.setup-dialog {
    padding: 24px;
    width: 335px;
    border-radius: 20px;
    background: #FFFFFF;
    position: relative; /* positioning context for the X‑button */
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/*!* new *!
.offer-details-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;   !* space below the X *!
}*/

/* change: remove absolute positioning */
/*.offer-details-close {
    position: static;     !* or just delete the class from the button *!
    line-height: 1;
}*/

/*.offer-details-dialog
{
    padding-top: 56px; !* make vertical room for the X (top:16 + ~40 size) *!
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 24px;
    width: 335px;
    border-radius: 20px;
    background: #FFFFFF;
    position: relative;            !* positioning context for the X‑button *!
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}*/

.setup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    line-height: 1; /* tighten click area */
}

.setup-img {
    display: block;
    width: 100%; /* fill the content box */
    max-width: 100%; /* in case a parent sets max‑width */
    height: auto; /* keep aspect ratio               */
    /* vertical rhythm only */
    margin: 48px 0 32px; /* top 48 px, bottom 32 px, no side margins */
}

.setup-title {
    font-weight: 700;
    font-size: 32px; /* single‑line fit */
    margin-bottom: 48px;
    color: #000;
}

.setup-subtitle {
    color: #000; /* black – per Figma */
    margin-bottom: 48px;
}

/* -------------- Offer card ------------------------------------ */
/*.offer-card{*/
/*    border-radius:16px!important;*/
/*    background-color:#FFFFFF!important;*/
/*    border:1px solid #ECECEC!important;*/
/*    min-height:110px;      !* auto height, but never smaller than design *!*/
/*    height:auto;           !* <<< allow it to expand so rows aren’t cut *!*/
/*    overflow:hidden;*/
/*    display:flex;          !* keep children side‑by‑side even w/o image *!*/
/*}*/

/* right‑hand image slot (only rendered when HasImage==true) */
.offer-deal-image {
    width: 110px !important;
    height: 100% !important; /* fill card height, whatever it is   */
    object-fit: cover;
    border-top-right-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
}

/* -------------- “Edit” button slab fix ------------------------ */
.account-profile-button {
    height: auto !important; /* was 100% – removed stretching      */
}

/*!* ---------------- Deal list tweaks ---------------- *!*/
/*.offer-card{*/
/*    background-color:#FFFFFF !important;*/
/*    border:1px solid #ECECEC !important;*/
/*    min-height:110px;*/
/*    height:auto;        !* allow it to grow with content *!*/
/*    display:flex;*/
/*}*/

.position-relative {
    position: relative;
}
/* so chips can pin */

/*.status-chip{
    position:absolute;
    top:8px;
    right:8px;
    font-size:12px;
    font-weight:600;
    text-transform:none;
    padding:2px 10px;
    border-radius:6px;
}*/

.action-stack .mud-button {
    min-height: 32px;
    height: 32px;
    padding: 0 18px;
    border-radius: 20px;
    text-transform: none;
    font-size: 14px;
}

/* distinct colourways for action buttons */
.action-btn-black {
    background: #000 !important;
    color: #fff !important;
}

    .action-btn-black:hover {
        background: #333 !important;
    }

.action-btn-gold {
    background: #fff8dc !important;
    color: #000 !important;
}

    .action-btn-gold:hover {
        background: #fde9b6 !important;
    }

.action-btn-delete {
    font-weight: 600;
    text-transform: none;
}

    .action-btn-gold:hover {
        background: #fde9b6 !important;
    }

.action-btn-delete {
    font-weight: 600;
    text-transform: none;
}

/* Make images responsive: scale down to container width if needed, keep aspect ratio */

.download-badge {
    height: 56px;
    width: auto;
    max-width: 180px;
}


.business-name {
    font-weight: 600;
    margin-bottom: 0.25rem; /* small spacing below business name */
}

.offer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.offer-footer {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    border: none; /* no border in Figma */
    border-radius: 100px; /* pill */
    padding: 4px 16px; /* matches Figma */
    font-size: 13px; /* small */
    line-height: 16px; /* 16px + 4px*2 = 24px total */
    text-decoration: none;
    text-transform: none;
    gap: 4px; /* if an icon is added */
}

.learn-more-btn-business {
    /* Style for "Learn More" as a button */
    display: inline-block;
    padding: 0.4rem 0.6rem;
    background: #000; /* black background as in design */
    color: #fff;
    border: none;
    border-radius: 20px; /* pill shape */
    text-decoration: none; /* if using <a>, remove default link styling */
    margin-right: 0.5rem;
    font-size: 0.6rem;
}

.learn-more-btn,
.nb-btn-cta,
.learn-more-btn-business {
    color: #fff !important;
    text-decoration: none !important;
}

    /* Hover state: grey text (not blue), no underline */
    .learn-more-btn:hover,
    .nb-btn-cta:hover,
    .learn-more-btn-business:hover {
        color: #E0E0E0 !important; /* soft grey */
        text-decoration: none !important;
        /* optional, if you also want a subtle bg change on hover:
  background: #333 !important;
  */
    }

.view-coupon-btn {
    /* Style for "Learn More" as a button */
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: #f79d32; /* black background as in design */
    color: #fff;
    border: none;
    border-radius: 20px; /* pill shape */
    text-decoration: none; /* if using <a>, remove default link styling */
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.expiration-date {
    font-size: 0.8rem;
    color: #666; /* grey text for expiration */
}

.expiration-date-business {
    font-size: 0.6rem;
    color: #666; /* grey text for expiration */
}

/* Container for each offer card row (card + actions) */
.offer-card-row {
    display: flex;
    align-items: flex-start; /* align card and action buttons at the top */
    margin-bottom: 1rem; /* space between cards vertically */
    width: 100%;
}

.mud-stack > .offer-card-row {
    align-self: stretch;
}

.offer-card {
    display: flex;
    align-items: flex-start; /* Change to flex-start so columns take natural height */
    position: relative;
    border: 1px solid #ECECEC;
    background: #fff;
    border-radius: 8px;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
}

.offer-card-left {
    padding: 1rem;
    flex: 1;
    align-self: stretch; /* Allow text column to stretch if needed */
}

/* Right image column – fixed width, stretches to card height */
.offer-image-col {
    flex: 0 0 120px;
    width: 120px;
    align-self: stretch; /* ensure the column matches .offer-card height */
    position: relative; /* anchor for absolutely positioned img */
}

/* Image fills the column in all browsers (Safari-friendly) */
.offer-card-img {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center; /* default (portrait) */
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

    /* Landscape images: keep full vertical, align to RIGHT, crop from LEFT */
    .offer-card-img.is-landscape {
        object-position: right center;
    }

/* Action buttons container (to the right of card) */
.offer-actions {
    display: flex;
    flex-direction: column; /* stack Publish/Edit/Delete vertically */
    margin-left: 0.75rem; /* space between card and action buttons */
}

    .offer-actions button {
        margin-bottom: 0.5rem;
        width: 90px; /* give a consistent width if desired for alignment */
    }

        .offer-actions button:last-child {
            margin-bottom: 0; /* no margin after the last button */
        }

/* Example styles for action buttons (adjust to match the design) */
.publish-btn {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
}

.edit-btn {
    background: #f9f9f9;
    color: #333;
    border: none;
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
}

.delete-btn {
    background: transparent;
    color: #d9534f;
    border: none;
    padding: 0.3rem 0.8rem;
    text-align: left; /* align text to left to match design if it looks like a link */
}

.offer-image-wrapper {
    position: relative;
    width: 110px; /* match your image size */
    height: 110px;
    flex-shrink: 0; /* so image keeps its size in flex row */
}

/* Status chip now positioned relative to the whole card */
.status-chip {
    position: absolute;
    top: -6px; /* negative to push outside card */
    right: -6px; /* negative to push outside card */
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
    line-height: 1.2;
    z-index: 3; /* keep it above image/text */
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}

/* Light backgrounds + colored text */
.status-draft {
    background-color: #f2f2f2; /* light gray */
    color: #000000; /* black text */
}

.status-active {
    background-color: #e6f4ea; /* light green */
    color: #1e7d34; /* dark green text */
}

.status-expired {
    background-color: #fdecea; /* light red */
    color: #d93025; /* dark red text */
}

.status-deactivated {
    background-color: #f2f2f2; /* light gray */
    color: #5f6368; /* dark gray text */
}

.status-redeemed {
    background-color: #e6f4ea; /* light green */
    color: #1e7d34; /* dark green text */
}

.status-readytoredeem {
    background-color: #f79d32; /* gold from logo */
    color: #000000; /* black text */
}
/* --- bottom nav container --- */
.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 68px;
    background: #fff;
    z-index: 1000;
    border-top: none !important;
    box-shadow: none !important;
    outline: none !important;
}

    /* layout */
    .bottom-nav .mud-navmenu {
        display: flex !important;
        width: 100%;
        height: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

/* links */
.bottom-nav-link {
    flex: 1 1 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: inherit;
}

/* nuke Mud hover/active/ripple/“paper” borders & shadows */
.bottom-nav .mud-navmenu a.mud-nav-link,
.bottom-nav .mud-navmenu a.mud-nav-link:hover,
.bottom-nav .mud-navmenu a.mud-nav-link:focus,
.bottom-nav .mud-navmenu a.mud-nav-link:active,
.bottom-nav .mud-navmenu a.mud-nav-link.mud-nav-link-active,
.bottom-nav .mud-navmenu li,
.bottom-nav .mud-navmenu li:hover,
.bottom-nav .mud-navmenu li.mud-nav-link-active,
.bottom-nav .mud-navmenu .mud-ripple,
.bottom-nav .mud-navmenu .mud-ripple::before,
.bottom-nav .mud-navmenu .mud-ripple-surface,
.bottom-nav .mud-navmenu .mud-ripple-surface::before,
.bottom-nav .mud-divider,
.bottom-nav .mud-paper,
.bottom-nav [class*="mud-elevation-"],
.bottom-nav nav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* also suppress any pseudo-element lines that some themes add */
.bottom-nav::before, .bottom-nav::after,
.bottom-nav *::before, .bottom-nav *::after {
    content: none !important;
    display: none !important;
}

/* icon + label */
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.nav-icon {
    width: 24px;
    height: 24px;
    display: block;
    margin: 0 auto;
}

.nav-label {
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    color: #8E8E93;
    font-weight: 400;
}

    .nav-label.active {
        color: #1C1C1E;
        font-weight: 600;
    }

/* keep page scrollable behind fixed bar */
.page-content {
    padding-bottom: 80px;
    box-sizing: border-box;
}


/* Page AppBar behavior */
.nb-appbar {
    position: sticky;
    top: var(--layout-appbar-h, 56px); /* fallback ensures it never becomes 'auto' */
    z-index: 10;
    background: #fff;
}
/* page bar */
.wasm-app-container.mud-appbar {
    z-index: 100;
}
/* layout bar (optional) */

    /* make the MudAppBar toolbar a positioning context */
    .nb-appbar .mud-toolbar {
        position: relative;
    }

/* HARD-center the title and keep it from covering the icons */
.nb-appbar__title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    margin: 0;
    pointer-events: none;
    font-family: var(--nb-h-font);
    font-weight: var(--nb-h-weight);
    font-size: var(--nb-h-size);
    line-height: var(--nb-h-line);
    letter-spacing: var(--nb-h-track);
    color: var(--nb-h-color);
}

/* Icons visible and above the title */
.nb-appbar__icon,
.nb-appbar__icon .mud-icon-root {
    color: #111;
}
.nb-appbar__action {
    margin-left: auto;
}
.nb-appbar__icon {
    position: relative;
    z-index: 1; /* ensure on top of title */
    width: 40px;
    height: 40px;
    padding: 8px;
}
/* mobile-only back icon */
.nb-back-mobile {
    display: none;
}
    .nb-appbar__icon.mud-button-root {
        width: 40px;
        height: 40px;
        padding: 8px; /* comfy hit area */
    }

/* optional tiny breathing room around icons */
.nb-appbar__icon--left {
    margin-right: 4px;
}

.nb-appbar__icon--right {
    margin-left: 4px;
}

/* In-AppBar search field */
.appbar-search.mud-input-control,
.mud-input-control.appbar-search {
    width: 100%;
    margin: 0 8px;
}

.appbar-search .mud-input-slot {
    min-height: 36px;
}
/* compact height for AppBar */
.appbar-search .mud-input-root {
    border-radius: 18px;
    border: none !important;
    box-shadow: none;
}
/* Style the real outline (fieldset) to avoid double borders */
.appbar-search .mud-input-outlined-border {
    border-width: 1.5px !important;
    border-color: #DADADA !important;
    border-radius: 18px !important;
}

.appbar-search .mud-input-root.mud-focused .mud-input-outlined-border {
    border-color: #111111 !important;
}

.appbar-search .mud-input-adornment {
    color: #6B6B6B;
}

.appbar-search .mud-icon-root {
    font-size: 20px;
}

.appbar-search input::placeholder {
    color: #B5B5B5;
    opacity: 1;
}


/* same 16px side padding everywhere */
.page-gutters {
    padding: 0 16px 24px;
    width: 100%;
}
@media (min-width: 768px) {
    .page-gutters {
        max-width: unset; /* was: 480px */
        margin: 0; /* was: 0 auto */
    }
}
.promo-banner, .promo-banner.mud-card {
    width: 100% !important;
    margin-top: 12px; /* keep top gap smaller */
    margin-bottom: 28px; /* give enough space before "Freebies" */
    background: #F2FAFF !important;
    border-radius: 16px;
    box-shadow: none;
}
.search-field.mud-input-control {
    width: 100%;
    margin: 12px 0 16px; /* spacing around the box */
}

/* kill Mud’s extra border/shadow; keep our own outline only */
.search-field .mud-input-root {
    border: 0 !important;
    box-shadow: none !important;
    background: #fff;
    border-radius: var(--nb-search-radius);
}

/* the real outline */
.search-field .mud-input-outlined-border {
    border: 1px solid #E5E5EA !important;
    border-radius: var(--nb-search-radius) !important;
}

/* set the control’s height + center everything vertically */
.search-field .mud-input-slot {
    min-height: var(--nb-search-h) !important;
    padding: 0 12px !important;
    display: flex; /* ensure vertical centering */
    align-items: center;
}

    /* tighten the input itself (iOS-friendly) */
    .search-field .mud-input-slot input {
        -webkit-appearance: none;
        padding: 0 !important;
        margin: 0;
        font-size: 16px;
        line-height: 1.25;
    }

/* magnifying icon alignment + color */
.search-field .mud-input-adornment {
    height: var(--nb-search-h);
    display: flex;
    align-items: center;
    color: #8E8E93;
}

.search-field .mud-icon-root {
    font-size: 20px;
}

.search-field input::placeholder {
    color: #B5B5B5;
    opacity: 1;
}
.promo-banner__inner {
    display: flex;
    align-items: center; /* vertical centering */
    gap: 16px; /* spacing between logo and text */
    height: 80px; /* fixed banner height */
    padding: 0 16px; /* inner horizontal padding */
}

.promo-banner__logo {
    width: 57px;
    height: 57px;
    border-radius: 50%;
    object-fit: cover;
}

.promo-banner__copy {
    display: flex;
    flex-direction: column;
}

.promo-banner__title {
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: -0.1px;
    margin: 0;
}

.promo-banner__subtitle {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: -0.1px;
    color: #6B6B6B;
    margin-top: 2px;
}
/* Allow content to extend to the rounded edges of the card; prevents logo clipping */
.promo-banner,
.promo-banner.mud-card {
    overflow: visible !important;
}
/* --- Card container --- */
/* --- Card container --- */
.nb-card {
    position: relative;
    width: 100%;
    max-width: 320px; /* Figma width */
    height: 144px; /* Figma height */
    background: #fff;
    border: 1px solid #F1F1F1;
    border-radius: 16px;
    overflow: hidden;
}

.nb-card--compact {
    max-width: 320px;
}
/* carousel */
.nb-card--full {
    max-width: none;
}
/* list page: stretch to container */
/* --- Two-column body --- */
.nb-card-body {
    display: flex;
    height: 100%;
}

/* left text column */
.nb-card-left {
    flex: 1 1 auto;
    padding: 14px 12px 12px 16px;
    min-width: 0;
}

/* right image column — fixed Figma size */
.nb-card-right {
    flex: 0 0 112px; /* <- Fixed 112px width from Figma */
    width: 112px;
    height: 100%;
    position: relative;
    background: #FBFBFB; /* faint panel behind image like Figma */
    border-left: 1px solid #EFEFEF; /* subtle divider */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* image wrapper fills the right column */
.nb-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0 16px 16px 0; /* rounded on the right only */
    overflow: hidden;
}

    /* ensure crop */
    .nb-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Crop to fill 112×144 */
    }

/* Bits chip sits on image corner */
.nb-chip {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 14px;
    background: #FF9F1A;
    color: #000;
}

    .nb-chip.redeemed {
        background: #E6E6E6;
        color: #444;
    }

.nb-business {
    font-weight: 700; /* bold */
    font-size: 16px; /* matches Figma */
    line-height: 1.1; /* ~17.4px equivalent */
    letter-spacing: -0.07px; /* subtle tracking */
    color: #2E2E2E;
}

.nb-title {
    margin-top: 2px;
    font-size: 14px; /* smaller than business name */
    font-weight: 400; /* regular */
    line-height: 1.2; /* keep a bit of breathing room */
    letter-spacing: 0;
    color: #2E2E2E;
}


/* footer */
.nb-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: nowrap; /* prevent wrapping */
}

/* the pill should never wrap its text */


/* Figma: Hug 95 × 24, Radius 100, Padding 4/16 */
.nb-btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 100px;
    height: 24px;
    padding: 4px 16px; /* 4 / 16 matches Figma */
    white-space: nowrap; /* <- prevent line break inside */
    text-decoration: none;
    text-transform: none;
    font-size: 12px; /* small label like Figma */
    line-height: 16px; /* 16 + 4 + 4 = 24 total height */
    font-weight: 600; /* bold-ish but not too wide */
    gap: 4px; /* if you add an icon */
}

/* Expiration text: matches Figma (9/12, regular) */
.nb-exp {
    display: inline-flex;
    align-items: center;
    gap: 4px; /* small space between "Exp" and date */
    white-space: nowrap; /* keep on one line */
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400; /* Regular */
    font-size: 9px;
    line-height: 12px;
    letter-spacing: 0; /* 0% */
    color: var(--nb-exp-color, #6E6E6E); /* muted gray; override via CSS var if needed */
    font-variant-numeric: tabular-nums; /* nicer alignment for dates */
}

.nb-exp-label {
    font-weight: 400;
    opacity: 1;
}
/* no extra emphasis */
.nb-exp-date {
    font-weight: 400;
}
/* remove previous 500 */


/* The scroll container */
.nb-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    /* Only a LEFT gutter so the card doesn’t stick to the edge */
    padding-left: 0px;
    margin-right: -16px; /* extend past the page gutter */
    padding-right: 16px;
}

/* The row of cards */
.nb-carousel-track {
    display: flex;
    flex-wrap: nowrap; /* never wrap to a 2nd line */
    gap: 12px;
    /* Small RIGHT padding so the last card isn’t glued to the edge */
    padding-right: 0px;
}

/* Each card wrapper is a fixed “panel” the user scrolls through */
.nb-carousel-card {
    flex: 0 0 320px; /* Figma width */
    min-width: 320px; /* make sure it never shrinks */
    scroll-snap-align: start; /* snap the left edge */
}

    /* The actual card should fill the wrapper exactly */
    .nb-carousel-card > .nb-card {
        width: 100%;
        max-width: 100%; /* override any global max-width:320px that fights us */
    }

/* Section header (Freebies / Half Off) */
.nb-section {
    margin: 8px 0 16px;
}

.nb-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0px 8px 0px; /* + a bit more left/right to align with cards */
}

.nb-section-title {
    margin: 0;
    letter-spacing: -0.1px;
    font-family: var(--nb-h-font);
    font-weight: var(--nb-h-weight);
    font-size: var(--nb-h-size); /* was 24px → match Figma 20px */
    line-height: var(--nb-h-line); /* was 28px → 24px */
    color: var(--nb-h-color);
}

.nb-viewall {
    background: transparent;
    border: none;
    padding: 6px var(--right-inset) 6px 0; /* ⬅ match chevron inset */
    font-size: 16px;
    line-height: 22px; /* Figma */
    font-weight: 400; /* Regular */
    color: #111111;
    display: inline-flex; /* keeps text + icon aligned */
    align-items: center;
    gap: 6px; /* space between text + icon */
    cursor: pointer;
}

        .nb-viewall .nb-icon {
            width: 18px; /* Figma */
            height: 24px; /* Figma */
            display: block;
        }



/* --- Mobile-first: vertical card list --- */
/* container: vertical stack; no outer border/frame */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
}

/* each row */
.category-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 64px;
    padding: 16px var(--right-inset) 16px 0; /* ⬅ right inset unified */
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    /* Figma typography for the label */
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0;
    font-weight: 400; /* Regular */
    color: #111111; /* List Row / Primary Content */
}

    /* keep the light inset divider between rows */
    .category-item::after {
        content: "";
        position: absolute;
        left: 0; /* was 16px */
        right: 0;
        bottom: 0;
        height: 1px;
        background: #EEEEEE;
        display: block;
    }
@media (min-width: 768px) {
    .category-item {
        padding: 16px 16px 16px 0 !important; /* was 16px !important */
    }
}
    .category-item:last-child::after {
        display: none;
    }

    /* subtle feedback */
    .category-item:hover {
        background: #FAFAFA;
        text-decoration: none;
    }

    .category-item:active {
        background: #F3F3F3;
    }

.category-name {
    font-weight: 500;
}
/* matches mock weight */

.category-icon {
    width: 18px; /* Figma */
    height: 24px; /* Figma */
    display: block;
}

/* Force single-column “mobile” look on all screens */
@media (min-width: 768px) {
    .category-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    /* Keep page AppBar non-sticky on phones so it doesn't overlap content */
    @media (max-width: 599.98px) {
        .nb-appbar {
            position: static;
            top: auto;
            z-index: auto;
        }

        .appbar-spacer {
            height: 0;
        }

        .nb-back-mobile {
            display: inline-flex;
        }
    }

        .category-item:hover {
            background: transparent;
            text-decoration: underline; /* linky feel */
        }
}

/* --- Optional: dark mode polish --- */
/*@media (prefers-color-scheme: dark) {
    .category-list {
        background: #111;
        border-color: #222;
    }


        .category-item:hover {
            background: #171717;
        }
}*/

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0 12px;
}

    /* Title typography (20/24, 700, -0.1px, #111111) */
    .section-header h3 {
        font-family: var(--nb-h-font);
        font-weight: var(--nb-h-weight);
        font-size: var(--nb-h-size); /* 20px */
        line-height: var(--nb-h-line); /* 24px */
        letter-spacing: var(--nb-h-track); /* -0.1px */
        color: var(--nb-h-color); /* #111111 */
        margin: 0;
        padding: 0;
    }
/* ================================
   Deals Browse — aligned gutters
   ================================ */
:root {
    --nb-gray700: #545454;
    --nb-outline-variant: #CAC4D0;
    --nb-chip-text: #49454F;
    --nb-cream-active: #F6EFE5;
    --nb-card-border: #F1F1F1;
    --nb-card-bg: #FFF;
    --nb-img-bg: #F4F6F8;
    --nb-text-strong: #111;
}

/* kill any max-width “container” behavior inside this page */
.deals-page,
.deals-page .mud-container,
.deals-page .mud-container-fixed,
.deals-page .mud-paper-root,
.deals-page .mud-grid,
.deals-page .mud-grid-item,
.deals-page .mud-item {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

/* gutters = 16px both sides, with notch-safe padding on iOS */
.page-gutters {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

@supports(padding:max(0px)) {
    .page-gutters {
        padding-left: calc(16px + env(safe-area-inset-left));
        padding-right: calc(16px + env(safe-area-inset-right));
    }
}
/* ---------- FILTER BY (exact to Figma) ---------- */
/* Frame: width 328 inside 16px gutters, total block ≈ 76–77px */

.page-gutters .filter-by {
    width: 100%;
    margin: 6px 0 12px; /* top/bottom spacing of the whole block */
}

/* LABEL (“FILTER BY”) */
.page-gutters .filter-by__label {
    display: block;
    margin: 0 0 8px; /* gap to chips */
    text-transform: uppercase;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 0;
    color: #49454F; /* M3 on-surface-variant */
}

/* ROW (full width) */
.page-gutters .filter-by__chips {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden; /* change to auto if horizontal scroll desired */
}

    /* CHIPSET: single row, 8px chip gap, fill row visually */
    .page-gutters .filter-by__chips .mud-chip-set,
    .page-gutters .filter-by__chips .nb-chipset {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 10px !important; /* Figma gap */
        width: 100% !important;
        min-width: 0;
        padding: 0 !important;
        margin: 0 !important;
    }

        .page-gutters .filter-by__chips .mud-chip-set::after {
            content: ""; /* keeps the row measuring full width */
            flex: 2 2 auto;
        }

    /* IMPORTANT: chips should “Hug” content (do NOT stretch equally) */
.page-gutters .filter-by__chips .mud-chip {
  box-sizing: border-box !important;
  height: 32px !important;
  min-height: 32px !important;
  border-radius: 8px !important;
  border: 1px solid #CAC4D0 !important;
  background: #FFFFFF !important;
  color: #49454F !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;                     /* ensure bg reaches rounded edge */
  background-clip: padding-box !important;
}

        /* CHIP (Outlined – unselected) */
        .page-gutters .filter-by__chips .mud-chip.mud-chip-outlined {
            box-sizing: border-box !important;
            height: 32px !important; /* Figma fixed height */
            min-height: 32px !important;
            border-radius: 8px !important; /* Figma radius */
            border: 1px solid #CAC4D0 !important; /* outline-variant */
            background: #FFFFFF !important;
            color: #111111 !important; /* label color */

            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            margin: 0 !important;
            padding: 0 !important;
            box-shadow: none !important;
            /* Type = M3/label/large */
            font-family: -apple-system,"SF Pro",system-ui,Roboto,"Helvetica Neue",Arial,sans-serif !important;
            font-size: 14px !important;
            font-weight: 500 !important; /* Medium */
            line-height: 20px !important;
            letter-spacing: .8px !important;
        }

            /* INNER PADDING drives “Hug” widths (~104 / ~73 / ~111, per Figma) */
            .page-gutters .filter-by__chips .mud-chip.mud-chip-outlined .mud-chip-content {
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                padding: 6px 12px !important; /* 6 / 12 / 6 / 12 */
                white-space: nowrap !important;
                color: #111111 !important; /* ensure text stays neutral */
                min-width: fit-content !important;
            }

            /* Unselected label -> light gray (Figma) */
            .page-gutters .filter-by__chips .mud-chip.mud-chip-outlined,
            .page-gutters .filter-by__chips .mud-chip.mud-chip-outlined .mud-chip-content {
                color: #49454F !important; /* light gray */
                font-weight: 500 !important; /* do not bold */
            }

                /* Keep hover/focus neutral (avoid theme recolor) */
                .page-gutters .filter-by__chips .mud-chip.mud-chip-outlined:hover,
                .page-gutters .filter-by__chips .mud-chip.mud-chip-outlined:focus,
                .page-gutters .filter-by__chips .mud-chip.mud-chip-outlined:focus-visible {
                    background: #FFFFFF !important;
                    border-color: #CAC4D0 !important;
                    color: #49454F !important;
                    box-shadow: none !important;
                }

        /* Selected/active -> darker text + cream bg */
        .page-gutters .filter-by__chips .mud-chip.mud-chip-selected,
        .page-gutters .filter-by__chips .mud-chip.chip--active,
        .page-gutters .filter-by__chips .mud-chip.mud-chip-selected .mud-chip-content,
        .page-gutters .filter-by__chips .mud-chip.chip--active .mud-chip-content {
            background: var(--nb-cream-active) !important;
            border-color: var(--nb-cream-active) !important;
            color: #1C1B1F !important; /* dark text */
            font-weight: 500 !important; /* still medium */
        }

            /* Optional: pressed feedback without theme tint */
            .page-gutters .filter-by__chips .mud-chip.mud-chip-selected:active,
            .page-gutters .filter-by__chips .mud-chip.chip--active:active {
                filter: brightness(0.98);
            }

    /* Make the whole chip (not just the content span) take the bg */
    .page-gutters .filter-by__chips .mud-chip {
        background: #FFFFFF; /* idle bg stays white */
    }

        /* Selected = filled */
        .page-gutters .filter-by__chips .mud-chip.mud-chip-selected {
            background: var(--nb-cream-active) !important;
            border-color: var(--nb-cream-active) !important;
        }

            /* Pressed (mouse/touch) – fill entire pill */
            .page-gutters .filter-by__chips .mud-chip:active,
            .page-gutters .filter-by__chips .mud-chip.mud-chip-selected:active {
                background: var(--nb-cream-active) !important; /* keep it filled while pressing */
                filter: brightness(0.98); /* subtle feedback */
            }

        /* Remove Mud’s ripple/overlay from clipping the bg on press */
        .page-gutters .filter-by__chips .mud-chip::before,
        .page-gutters .filter-by__chips .mud-chip .mud-ripple::before {
            background: transparent !important;
        }

        /* Optional: keyboard focus without changing fill */
        .page-gutters .filter-by__chips .mud-chip:focus,
        .page-gutters .filter-by__chips .mud-chip:focus-visible {
            box-shadow: none !important;
            outline: none !important;
        }

/* ---------- Make the list fill the column ---------- */
.page-gutters .mud-stack {
    width: 100%;
}

    .page-gutters .mud-stack > * {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-self: stretch !important;
    }

/* ---------- Card ---------- */
.page-gutters .offer-card {
    width: 100% !important;
    min-height: 144px;
    background: var(--nb-card-bg);
    border: 1px solid var(--nb-card-border);
    border-radius: 16px;
    padding: 16px;
    margin: 0 0 16px;
    display: flex;
    align-items: stretch;
    gap: 16px;
    box-sizing: border-box;
}

.page-gutters .offer-card-left {
    flex: 1 1 auto;
    min-width: 0;
}

.page-gutters .offer-image-col {
    flex: 0 0 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
}

    .page-gutters .offer-image-col .nb-img-wrap,
    .page-gutters .offer-image-col img {
        width: 104px;
        height: 104px;
        max-width: 104px;
        border-radius: 12px;
        background: var(--nb-img-bg);
        object-fit: cover;
        display: block;
    }

/* Card type */
.page-gutters .nb-chip {
    font-weight: 700;
}

.page-gutters .offer-card .business-name,
.page-gutters .offer-card .nb-business {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    margin: 0 0 4px;
}

.page-gutters .offer-card .offer-title,
.page-gutters .offer-card .nb-title {
    font-size: 16px;
    line-height: 22px;
    margin: 0 0 12px;
}

.page-gutters .offer-card .offer-footer,
.page-gutters .offer-card .nb-footer {
    margin-top: 4px;
}

.page-gutters .offer-card .learn-more-btn,
.page-gutters .offer-card .view-coupon-btn {
    white-space: nowrap;
}
/* ---------- ManageAccountdetails ---------- */
/* ---------- Row layout ---------- */
.list-row {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 16px 0;
    border-bottom: 1px solid #F1F1F1;
}

/* Left column: just big enough for the label, never wraps */
.list-left {
    flex: 0 0 auto; /* ← auto width: hug the label */
    min-width: auto;
    padding-right: 16px; /* gap between columns (matches Figma 16px) */
    display: flex;
    align-items: center;
}

.list-label {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #212121;
    white-space: nowrap; /* ← keep "Wallet Address" on one line */
}

/* Right column: takes the rest; allow contents to size within */
.list-right {
    flex: 1 1 0; /* ← fill remaining space */
    min-width: 0; /* ← critical so children can shrink/ellipsize */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px; /* space between value and chevron/copy icon */
}

/* Default value text: show fully (wrap if needed) */
.list-value {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #212121;
    text-align: right;
    white-space: normal; /* allow wrapping for Email, Member Since, etc. */
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere; /* break long tokens nicely if needed */
}

/* Monospace for the wallet value */
.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

/* ONLY Wallet Address: one line + ellipsis, use all space except the copy icon */
.list-right .mono.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 28px); /* 20px icon + 8px gap */
}

/* Copy icon size (Figma ~17–20px) and vertical alignment */
.copy-btn {
    width: 20px;
    height: 20px;
    padding: 0;
    line-height: 20px;
}

/* Section slab (if you’re using it between groups) */
.section-divider {
    height: 8px;
    margin: 0 -16px; /* full-bleed */
    background: #F7F7F7;
    border-top: 1px solid #F1F1F1;
    border-bottom: 1px solid #F1F1F1;
}
/* Copy icon: exact size/color and alignment like Figma */
.copy-btn.mud-icon-button {
    width: 20px;
    height: 20px;
    min-width: 20px;
    padding: 0;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* no hover fill */
}

.copy-btn .mud-icon-root {
    font-size: 20px; /* ~19–20px per Figma */
    line-height: 20px;
    color: #111111; /* Content/Primary */
}

/* keep spacing to value on the right column */
.list-right {
    gap: 8px;
}

    /* (already present) wallet value uses all space except icon+gap */
    .list-right .mono.truncate {
        max-width: calc(100% - 28px);
    }
.copy-svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* AddOfferSpecialCategory.razor */
.special-category .opt-col{
    display: inline-flex;
    flex-direction: column;   /* label on first line, help on second line */
    gap: 4px;                 /* small space between label and help */
}

/* make the help look secondary and align under the label text */
.special-category .help{
    opacity: .75;
    font-size: 0.95rem;
}

/* tighten horizontal gap between the radio circle and the text block */
.special-category :deep(.mud-radio-label){
    margin-left: 8px;         /* Mud default is larger; 8px feels tighter */
}

/* align the radio icon to the top of the two-line block */
.special-category :deep(.mud-radio){
    align-items: flex-start;
}

/* slightly reduce vertical spacing between options */
.special-category .opt-row{
    margin-bottom: .6rem;
}
/* */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0 12px;
}

    .section-header h3 {
        margin: 0;
    }

/* --- Vertical list wrapper (used in non-carousel mode) --- */
.nb-list {
    width: 100%;
}

.nb-list-card {
    width: 100%;
    margin: 0 0 12px;
}

    .nb-list-card .nb-card {
        display: block;
        width: 100%;
    }

/* --- Carousel wrapper (DealCarousel) --- */
.nb-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nb-carousel-track {
    display: flex;
    gap: 12px;
    padding: 4px 0 8px;
}

.nb-carousel-card {
    flex: 0 0 auto;
    width: 264px;
}
/* tweak to your card width */
@media (min-width: 600px) {
    .nb-carousel-card {
        width: 280px;
    }
}
/* =========================
   Generic horizontal carousel
   ========================= */
.hcar {
    display: block;
}

.hcar__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 8px;
    scrollbar-width: none;
}

    .hcar__track::-webkit-scrollbar {
        display: none;
    }

.hcar__item {
    scroll-snap-align: start;
    display: block;
}

.ios .hcar__track {
    padding-left: 2px;
    padding-right: 2px;
}

/* =========================
   Category trio page (More Deals)
   ========================= */

.hcar--categories .hcar__track {
    display: grid !important; 
    grid-auto-flow: column;
    grid-auto-columns: 86%; 
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 0 12px var(--gutter);
    scrollbar-width: none;
}

    .hcar--categories .hcar__track::-webkit-scrollbar {
        display: none;
    }

/* each page */
.hcar--categories .hcar__item {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* the 3-tile layout inside each page (unchanged) */
.hcar--categories .cat-trio {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 220px;
    width: 100%;
    box-sizing: border-box;
}
.cat-trio {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 220px;
    width: 100%;
    box-sizing: border-box;
}

.cat-tile {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
    text-decoration: none;
}

    .cat-tile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.cat-tile--big {
    grid-row: 1 / span 2;
    grid-column: 1;
}

.cat-tile--small.cat-tile--top {
    grid-row: 1;
    grid-column: 2;
}

.cat-tile--small.cat-tile--bottom {
    grid-row: 2;
    grid-column: 2;
}

.cat-tile__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    background: linear-gradient(180deg,rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
    color: #fff;
}

.cat-tile__title {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
}

.cat-tile__cta {
    font-size: 12px;
    margin-top: 4px;
    text-decoration: underline;
}

/* ---------- Section header (Shop to earn / More Deals / Freebies / Half Off) ---------- */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

    .section-header h3 {
        margin: 0;
        font-size: 18px;
        line-height: 24px;
        font-weight: 700;
        letter-spacing: -0.1px;
        color: #111111;
    }

.section-header__chevron {
    --size: 28px;
    width: var(--size);
    height: var(--size);
    color: #111111;
}

/* Subtitle line below "Shop to earn New Bitcoin" */
.section-sub {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 24px;
    color: #111111;
    margin-bottom: 28px;
}

/* ---------- Info + Invite pills (Figma) ---------- */
.info-invite {
    margin-top: 8px;
}

    /* show the next pill peeking in, like Figma */
    .info-invite .hcar__track {
        grid-auto-columns: 88%;
        gap: 16px;
        padding: 2px 2px 12px;
    }

@media (min-width:420px) {
    .info-invite .hcar__track {
        grid-auto-columns: 74%;
    }
}

/* Card box (MudCard) */
.nb-ii {
    border-radius: 24px !important;
    border: 1px solid #EFEFEF;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    padding: 0 !important;
    min-height: 104px;
    text-align: left !important;
}
    /* Force horizontal row through Mud wrappers */
    .nb-ii,
    .nb-ii > .mud-card-content,
    .nb-ii > .mud-card-content > .mud-card-content,
    .nb-ii > .mud-card-content > .mud-card-content > .mud-card-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 16px !important;
    }

        .nb-ii > .mud-card-content {
            padding: 16px 18px !important;
        }

        /* Left illustration */
        .nb-ii .nb-ii__art {
            flex: 0 0 72px !important;
            width: 72px !important;
            height: 72px !important;
            max-width: 72px !important;
            max-height: 72px !important;
            object-fit: contain !important;
            margin: 0 !important;
            border-radius: 50%;            
        }
        /* Right text column */
        .nb-ii .nb-ii__content {
            flex: 1 1 auto !important;
            min-width: 0 !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 4px !important;
        }
        /* Title */
        .nb-ii .nb-ii__title {
            font-weight: 800;
            font-size: 20px;
            line-height: 24px;
            letter-spacing: -0.2px;
            color: #111;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        /* Subtitle */
        .nb-ii .nb-ii__sub {
            font-size: 15px;
            line-height: 20px;
            color: #6A6A6A;
        }
        /* Clamp ONLY Invite’s subtitle on small phones */
        .nb-ii.nb-ii--invite .nb-ii__sub {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

/* Tints requested */
.nb-ii--invite {
    background: #F2FAFF !important;
}

.nb-ii--what {
    background: #FFEEDB !important;
}

/* ====== Shop module: full-bleed mint background (no side gap) ====== */
:root {
    --page-gutter: 16px;
}

/* ===== Shop module: full-bleed mint, even tighter top spacing ===== */
.shop-module {
    background: #F6FAF3;
    margin: 0 calc(-1 * var(--page-gutter)) 0; /* was 4px */
    padding: 2px var(--page-gutter) 12px; /* was 4px */
    border-radius: 0;
}

@supports(padding:max(0px)) {
    .shop-module {
        padding-left: calc(var(--page-gutter) + env(safe-area-inset-left));
        padding-right: calc(var(--page-gutter) + env(safe-area-inset-right));
        margin-left: calc(-1 * (var(--page-gutter) + env(safe-area-inset-left)));
        margin-right: calc(-1 * (var(--page-gutter) + env(safe-area-inset-right)));
    }
}

/* inner spacing */
.shop-module .deal-section {
    margin: 0 0 12px 0;
}

.shop-module > .deal-section:first-child {
    margin-top: 0;
}
/* page gutter your layout uses (looks like 16px) */
:root {
    --gutter: 16px;
}

/* make a section stretch to the screen edges while keeping inner padding */
.full-bleed {
    margin-left: calc(-1 * var(--gutter)) !important;
    margin-right: calc(-1 * var(--gutter)) !important;
    padding-left: var(--gutter) !important;
    padding-right: var(--gutter) !important;
    border-radius: 0 !important; /* avoid rounded sides when full-bleed */
}

/* optional: respect device safe areas (iOS) */
@supports (padding: max(0px)) {
    .full-bleed {
        padding-left: calc(var(--gutter) + env(safe-area-inset-left)) !important;
        padding-right: calc(var(--gutter) + env(safe-area-inset-right)) !important;
        margin-left: calc(-1 * (var(--gutter) + env(safe-area-inset-left))) !important;
        margin-right: calc(-1 * (var(--gutter) + env(safe-area-inset-right))) !important;
    }
}

/* ====== Home AppBar (MainLayout) ====== */
.appbar--home.appbar--peach {
    background: #fff8ef;
    border-bottom: none;
    padding: 8px 0;
}

.mud-appbar.appbar--home.appbar--peach {
    background-color: #fff8ef !important;
    box-shadow: none !important;
    border-bottom: none !important;
    padding: 8px 0;
}

    .mud-appbar.appbar--home.appbar--peach::after {
        content: "";
        display: block;
        height: 18px;
        background: #fff8ef;
    }

/* Header layout + type */
.home-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 16px;
}

.home-hero__hello {
    font-weight: 800;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.6px;
    color: #000000;
    margin-top: 4px;
}

.home-hero__sub_top {
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    margin-top: 4px;
    margin-bottom: 4px;
}

.home-hero__sub_bottom {
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    margin-top: 4px;
    margin-bottom: -12px;
}

/* Icons */
.home-hero__icons {
    display: flex;
    gap: 10px;
}

.home-hero__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff !important;
    border: 1px solid #efefef !important;
    color: #3f3f3f !important;
    padding: 6px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}

/* (Legacy clamp in old Invite tile—safe to keep) */
.invite-friends-card .wallet-black-bold-text {
    font-size: 14px !important;
    line-height: 18px !important;
}

.invite-friends-card .wallet-gray-regular-text {
    font-size: 12px !important;
    line-height: 16px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* HIDE HORIZONTAL SCROLLBARS (Android/Chrome, iOS/WebKit, Firefox, old Edge) */

/* WebKit (Chrome/Android, iOS) */
.hcar__track::-webkit-scrollbar:horizontal,
.deal-section ::-webkit-scrollbar:horizontal,
.mud-carousel ::-webkit-scrollbar:horizontal,
.mud-carousel-items ::-webkit-scrollbar:horizontal,
[style*="overflow-x:auto"]::-webkit-scrollbar:horizontal,
[style*="overflow-x: auto"]::-webkit-scrollbar:horizontal {
    height: 0 !important;
    display: none !important;
}

.hcar__track::-webkit-scrollbar-thumb:horizontal,
.deal-section ::-webkit-scrollbar-thumb:horizontal,
.mud-carousel ::-webkit-scrollbar-thumb:horizontal,
.mud-carousel-items ::-webkit-scrollbar-thumb:horizontal,
[style*="overflow-x:auto"]::-webkit-scrollbar-thumb:horizontal,
[style*="overflow-x: auto"]::-webkit-scrollbar-thumb:horizontal {
    background: transparent !important;
}

/* Firefox */
.hcar__track,
.deal-section *,
.mud-carousel,
.mud-carousel-items,
[style*="overflow-x:auto"],
[style*="overflow-x: auto"] {
    scrollbar-width: none; /* hide FF scrollbar entirely */
}

/* Legacy IE/old Edge (harmless elsewhere) */
.hcar__track,
.deal-section *,
.mud-carousel,
.mud-carousel-items,
[style*="overflow-x:auto"],
[style*="overflow-x: auto"] {
    -ms-overflow-style: none;
}

/* Prevent the track from reserving extra space that can flash the bar */
.hcar__track {
    padding-bottom: 0 !important;
    -webkit-overflow-scrolling: touch;
}
.page-invitefriends .if-primary, .page-invitefriends .wallet-black-bold-text {
    font-family: "SF Pro", sans-serif;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 22px !important;
    letter-spacing: 0 !important;
    color: #111111 !important;
    display: block;
}
/* --- Secondary label: Figma 14/18, #605E62 (scoped to page only) --- */

.page-invitefriends .if-secondary, .page-invitefriends .wallet-gray-regular-text {
    font-family: "SF Pro", sans-serif;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 18px !important;
    letter-spacing: 0 !important;
    color: #605E62 !important; /* Figma List Row / Secondary Content */
    display: block;
    margin-top: 2px;
}
/* COPY chip — rounded rectangle (not pill) */
.page-invitefriends .referral-code-card .if-copy-btn .if-copy-pill {
    height: 24px;
    padding: 0 12px;
    gap: 8px;
    display: inline-flex;
    align-items: center;
    background: #F1F1F1;
    border: 1px solid #E6E6E6;
    /* force small corners */
    border-radius: 6px !important; /* use 5px if you want it squarer */
}
.page-invitefriends .referral-code-card {
    background: #fff;
    border: 1px solid #E6E6E6;
    border-radius: 12px;
}
/* Keep text normal-case and sized */
.page-invitefriends .referral-code-card .if-copy-btn .mud-button-label {
    text-transform: none !important;
}

.page-invitefriends .referral-code-card .if-copy-label {
    font-weight: 700;
    font-size: 11px;
    line-height: 16px;
    color: #111;
}

/* Align the clipboard icon baseline slightly */
.page-invitefriends .referral-code-card .if-copy-svg {
    width: 16px;
    height: 16px;
    transform: translateY(-1px);
}
.page-invitefriends .referral-code-card {
    margin-top: -60px !important;
}
.page-invitefriends .referral-code-card .mud-card-content {
        padding: 14px 16px !important;
        border: 0;
}

/* ===== Desktop (web) only ===== */
@media (min-width:768px) 
{
    .wasm-app-container 
    {
        max-width: 430px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .bottom-nav 
    {
        width: 430px;
        left: 50%;
        transform: translateX(-50%) translateZ(0);
        background: #fff !important;
        border: 0 !important;
        box-shadow: none !important;
        border-radius: 0;
        bottom: -1px;
        backface-visibility: hidden;
    }

    .page-content 
    {
        padding-bottom: 96px;
    }
}

/* ===== wide-screen frame (outside of the 430–480px app column) ===== */
@media (min-width: 768px) 
{
    /* Always white gutters on wide screens */
    .shell,
    .shell--gray,
    .shell--peach 
    {
        --shell-bg: #fff;
        background: #fff !important;
    }

    .shell,
    .shell .mud-main-content,
    .shell .mud-layout,
    .shell .mud-layout-content,
    .shell .mud-container,
    .shell .mud-paper-root {
        background: #fff !important;
    }
}

/* Desktop & tablets: keep the AppBar peach (same as phones) */
@media (min-width: 768px) 
{
    .mud-appbar.appbar--home.appbar--peach,
    .appbar--home.appbar--peach {
        background: #fff8ef !important;
        background-color: #fff8ef !important;
        box-shadow: none !important;
        border-bottom: none !important;
        padding: 8px 0 !important; /* match mobile rhythm */
    }

    /* No extra peach strip under the bar on wide screens */
    .mud-appbar.appbar--home.appbar--peach::after {
        content: none !important;
        height: 0 !important;
    }

    /* The inner row doesn’t need its own background anymore */
    .appbar--home.appbar--peach .home-hero {
        background: transparent !important;
        max-width: 430px;
        margin: 0 auto;
        padding: 0 16px;
    }
}

/* ===== No-scroll pages (How it works + Invite friends) ===== */

/* Fill the visible viewport under the layout appbar and do not scroll */
.page-no-scroll {
    /* 100dvh = dynamic viewport, avoids iOS toolbar jumps */
    height: calc(100dvh - var(--layout-appbar-h, 56px));
    min-height: calc(100dvh - var(--layout-appbar-h, 56px));
    overflow: hidden;                 /* kill vertical scrolling */
    overscroll-behavior: none;        /* stop rubber-band / pull-to-refresh / scroll chaining */
}

/* If this page ALSO renders its own page appbar, subtract it too */
.page-no-scroll.has-page-appbar {
    height: calc(100dvh - var(--layout-appbar-h, 56px) - var(--page-appbar-h, 56px));
    min-height: calc(100dvh - var(--layout-appbar-h, 56px) - var(--page-appbar-h, 56px));
}

/* Remove the inner scroll container created by .paper-content-wrapper-* */
.page-no-scroll .paper-content-wrapper-one-page-50,
.page-no-scroll .paper-content-wrapper-one-page-100,
.page-no-scroll .paper-content-wrapper-scrollable {
    height: auto;                     /* don't force 100vh here */
    min-height: 100%;
    overflow: visible;                /* let the wrapper control scrolling (which is none) */
    -webkit-overflow-scrolling: auto; /* neutralize iOS momentum scrolling */
}

/* Make the /reg hero background span the full viewport width on desktop/tablet */
@media (min-width: 768px) {
    .fullbleed-vw {
        width: 100vw;                             /* take full viewport width */
        margin-left: calc(50% - 50vw);            /* break out of 430px column */
        margin-right: calc(50% - 50vw);
        border-radius: 0 !important;              /* avoid white seams at edges */
    }
}

/* --- /reg rounded gray hero -------------------------------------------- */
.my-bg-section{
    /* keep your layout props */
    position: relative;
    z-index: 0;
    min-height: 100vh;

    /* render the art at the top, center */
    /* background: #fff */
    url("/_content/BitcoinNew.RazorLib/images/roundbackground.png")
    no-repeat center top;
    background-size: cover; /* mobile/default */
}

/* wide screens: show the *whole* asset (no cropping) */
@media (min-width: 768px){
    .my-bg-section{
        background-position: top center !important;
        background-size: 100% auto !important;   /* full width, proportional height */
    }
}

/* --- Home AppBar: desktop & iPad behavior ------------------------------ */
@media (min-width: 768px){
    :root{ --app-col: 430px; } /* match your desktop column width */

    /* Make the full-width bar white so gutters stay white */
    .mud-appbar.appbar--home.appbar--peach{
        background: #fff !important;
        /* background-color: #fff !important; */
        padding: 0 !important;
        box-shadow: none !important;
        border-bottom: none !important;
    }

    /* Kill the full-width peach strip that some themes add */
    .mud-appbar.appbar--home.appbar--peach::after{
        content: none !important;
        height: 0 !important;
        background: transparent !important;
    }

    /* Ensure Mud's internal toolbar doesn’t reintroduce a background */
    .mud-appbar.appbar--home.appbar--peach .mud-toolbar{
        background: transparent !important;
        padding: 0 !important;
    }

    /* Draw the peach band only inside your centered content row */
    .appbar--home.appbar--peach .home-hero{
        max-width: var(--app-col);
        margin: 0 auto;
        padding: 12px 16px;
        background: #fff8ef !important;   /* peach band */
        border-radius: 0;                  /* square edges to match column */
    }
}

/* Outer full-width shell: keep gutters white on desktop/iPad */
.reg-shell{
    /* background:#fff; */                /* white gutters */
}

/* Phone viewport */
.reg-phone{
    width:100%;
    min-height:100vh;
}

/* Render the rounded gray hero INSIDE the phone viewport */
.reg-phone.my-bg-section{
    position:relative;
    z-index:0;
    /* phone and small tablets: same as before */
    background:
        /* #fff */                                             /* base */
            url("/_content/BitcoinNew.RazorLib/images/roundbackground.png")
            no-repeat center top;
    background-size: cover;                              /* mobile default */
}

/* Wide screens: lock width and avoid stretching/cropping */
@media (min-width:768px){
    .reg-phone{
        max-width:430px;                                   /* phone column */
        margin:0 auto;                                     /* center in shell */
        display:flex;
        flex-direction:column;
        justify-content:space-between;
    }
    .reg-phone.my-bg-section{
        /* show the whole asset at the top of the 430px column */
        background-position: top center !important;
        background-size: 100% auto !important;             /* no crop */
    }

    /* Ensure the outside stays white */
    html, body, .mud-layout, .mud-main-content, .mud-layout-content {
        /* background:#fff !important; */
    }
}

/* 1. Use a gray background color behind the hero image (instead of white) */
.my-bg-section,
.reg-phone.my-bg-section {
    background-color: #F7F7F7 !important;  /* same gray as on iPhone */
}

/* 2. On wider screens, let the background image cover the full section */
@media (min-width: 768px) {
    .reg-phone.my-bg-section {
        background-position: top center !important;
        background-size: cover !important;   /* fill entire area, no white gaps */
    }
}
/* Use the same full-bleed + grid scroller that Freebies/Half Off use */
:root {
    --gutter: 16px;
}

/* -------- Info / Invite -------- */
.info-invite .hcar__track {
    /* full-bleed rail like Freebies/Half Off */
    margin-left: calc(-1 * var(--gutter)) !important;
    margin-right: calc(-1 * var(--gutter)) !important;
    padding-left: var(--gutter) !important;
    padding-right: var(--gutter) !important;
    display: grid !important;
    grid-auto-flow: column !important;
    /* same card width feel as Freebies/Half Off.
     If you don't want a peek at all, change to 100% */
    grid-auto-columns: 86% !important;
    gap: 12px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .info-invite .hcar__track::-webkit-scrollbar {
        display: none;
    }

.info-invite .hcar__item {
    scroll-snap-align: start !important;
}

/* kill any trailing blank space on the right */
.info-invite .hcar__track {
    scroll-padding-right: 0 !important;
}

    .info-invite .hcar__track > .hcar__item:last-child {
        margin-right: 0 !important;
    }

/* -------- More Deals (category trio) -------- */
.hcar--categories .hcar__track {
    /* full-bleed rail like Freebies/Half Off */
    margin-left: calc(-1 * var(--gutter)) !important;
    margin-right: calc(-1 * var(--gutter)) !important;
    /*padding-left: var(--gutter) !important;*/
    /*padding-right: var(--gutter) !important;*/
    /* re-introduce the left page gutter; keep right edge flush */
    padding-left:  calc(var(--gutter) + env(safe-area-inset-left)) !important;
    padding-right: 0 !important;

    /* keep snap alignment with the gutter */
    scroll-padding-left: var(--gutter) !important;
    
    display: grid !important;
    grid-auto-flow: column !important;
    /* same feel as Freebies/Half Off; set to 100% if you want no peek */
    grid-auto-columns: 86% !important;
    gap: 16px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}


    .hcar--categories .hcar__track::-webkit-scrollbar {
        display: none;
    }

.hcar--categories .hcar__item {
    scroll-snap-align: start !important;
}

/* remove trailing gap at the end of the list */
.hcar--categories .hcar__track {
    scroll-padding-right: 0 !important;
}

    .hcar--categories .hcar__track > .hcar__item:last-child {
        margin-right: 0 !important;
    }

/* optional: slightly tighter on wider phones, same as your other rails */
@media (min-width:420px) {
    .info-invite .hcar__track,
    .hcar--categories .hcar__track {
        grid-auto-columns: 74% !important;
    }
}

/*
   /reg (WASM-only): on wide screens we force white gutters via:
   .shell .mud-container { background:#fff !important; }
   That rule unintentionally paints a white box behind the logo containers on /reg,
   breaking the rounded gray hero background.

   Make MudContainers transparent *only* on the WASM registration page so the
   background image shows through.
*/
@media (min-width: 768px) {
    .reg-shell--wasm .mud-container {
        background: transparent !important;
    }
}
