@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap');

html, body {
    height: 100%;
    margin: 0;
}

/* 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;
}

.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;
    }



.wallet-black-button {
    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: 14px !important; /* bigger text */
    min-height: 24px !important; /* bigger padding */
    padding: 4px 24px !important;
    text-transform: none !important; /* remove uppercase transform */
}

    .wallet-black-button:hover {
        background-color: darkgray !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;
}

.wallet-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;
}

.wallet-gray-regular-text {
    font-size: 14px !important;
    color: black !important;
}

.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;
}

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

/* Top Section Background */
.wallet-card-background {
    /*  background-color: #1F1F1F; */ /* dark gray or near-black */
    background-image: url("/_content/BitcoinNew.RazorLib/images/new-bitcoin-coins-image.png");
    /*  background: url("/images/new-bitcoin-coins-image.png") no-repeat center center; */
    background-repeat: no-repeat;
    background-position: right center; /* keep coins to the right */
    /* background-size: auto 100%; */
    /* background-size: cover; or contain; */
    background-size: cover;
    min-height: 220px;
    height: auto; /* <-- allow content to grow */

    display: flex;
    flex-direction: column;
    align-items: flex-start; /* left-align text like the sample */
    /* justify-content: center; */
    padding: 16px;
    /* position: relative; */
}

.wallet-card-actions {
    background-color: #f79d32; /* orange */
    color: #000 !important; /* black text */
    display: flex;
    height: 46px;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
}
    /* Force the text specifically to be black (overrides .wallet-text-orange) */
    .wallet-card-actions .mud-typography {
        color: #000 !important;
    }


/* middle Section Background */
.wallet-how-to-background {
    background-image: url("/_content/BitcoinNew.RazorLib/images/wallet-how-to-image.png");
    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; */
}

.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 */
}

.peach-bg-no-padding {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
    position: relative;
    background:
    /*url("/images/wave2.svg") no-repeat bottom center,*/
    url("/_content/BitcoinNew.RazorLib/images/wave2.svg") no-repeat bottom center, linear-gradient( to bottom, #fff8ef 0%, #fff8ef 5%, transparent 5%, transparent 100% );
    background-size: contain, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center 5%, /* for the wave (first layer) */
    center top; /* for the gradient (second layer) */
}

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

/* This is where we add the padding for the actual content */
.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-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: 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;
}

.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-background {
    background-color: #F0F0F5;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.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;
}

/* 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 {
    /* Style for "Learn More" as a button */
    display: inline-block;
    padding: 0.4rem 0.8rem;
    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.8rem;
}

.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;
}

.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 */
}
