/* ════════════════════════════════════════════════════════════════════════
   B2B Legacy Overlay — applies the new dark+emerald scheme to the LEGACY
   layout.frontend pages (blog, about, contact, policy, manage pages).
   Iframe pages opt out via body class `gp-legacy-iframe`.
   Loaded by app_iframe.blade.php (the head template).
   ════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@500,600,700&display=swap');

body.gp-legacy-b2b {
    /* Use the SAME palette tokens as b2b_master.css for consistency */
    --gp-bg-0: #08090C;
    --gp-bg-1: #11131A;
    --gp-bg-2: #181B26;
    --gp-bg-3: #20242F;
    --gp-line: rgba(255, 255, 255, 0.06);
    --gp-line-strong: rgba(255, 255, 255, 0.12);
    --gp-text-0: #FFFFFF;
    --gp-text-1: #D6D9E0;
    --gp-text-2: #9CA1AE;
    --gp-text-3: #5C6275;
    --gp-emerald: #00E58B;
    --gp-emerald-soft: rgba(0, 229, 139, 0.08);
    --gp-gold: #F4C341;
    --gp-ice: #7DD3FC;

    background: var(--gp-bg-0) !important;
    color: var(--gp-text-1) !important;
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

/* Noise grain over the whole page */
body.gp-legacy-b2b::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.025;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* z-index lift for direct body children so they paint above the ::before noise grain.
   IMPORTANT: do NOT force position: relative on every body child — that would override
   the position: fixed on .win-loss-popup / .scroll-to-top / .cookies-card / .preloader
   and let their 100vh min-height paint into layout flow, creating a huge empty area
   after the footer. Use isolation/z-index without disturbing positioning. */
body.gp-legacy-b2b > .page-wrapper { position: relative; z-index: 2; }
body.gp-legacy-b2b > section,
body.gp-legacy-b2b > main { position: relative; z-index: 2; }

/* ─── HEADER (legacy GAMTING SPORTS player header) ─── */
body.gp-legacy-b2b .header,
body.gp-legacy-b2b .header.no-sticky,
body.gp-legacy-b2b .header.fixed,
body.gp-legacy-b2b .header.sticky,
body.gp-legacy-b2b .header.menu-fixed,
body.gp-legacy-b2b .header.active,
body.gp-legacy-b2b .header--solid,
body.gp-legacy-b2b .header--transparent,
body.gp-legacy-b2b .header.transparent,
body.gp-legacy-b2b .header-transparent,
body.gp-legacy-b2b .header-section {
    background: rgba(8, 9, 12, 0.92) !important;
    backdrop-filter: blur(24px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
    border-bottom: 1px solid var(--gp-line) !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.4) !important;
}
body.gp-legacy-b2b .header__bottom,
body.gp-legacy-b2b .header__top {
    background: transparent !important;
    border: 0 !important;
}
body.gp-legacy-b2b .site-logo span,
body.gp-legacy-b2b .site-logo div,
body.gp-legacy-b2b .site-title {
    color: var(--gp-text-0) !important;
}
body.gp-legacy-b2b .navbar-nav .nav-link,
body.gp-legacy-b2b .navbar-nav a,
body.gp-legacy-b2b .enhanced-nav-link,
body.gp-legacy-b2b .main-menu a,
body.gp-legacy-b2b .main-menu .nav-link {
    color: var(--gp-text-1) !important;
    text-shadow: none !important;
    transition: color 180ms ease !important;
    font-family: 'General Sans', 'DM Sans', sans-serif !important;
}
body.gp-legacy-b2b .navbar-nav a:hover,
body.gp-legacy-b2b .enhanced-nav-link:hover,
body.gp-legacy-b2b .enhanced-nav-link.active,
body.gp-legacy-b2b .main-menu a.active,
body.gp-legacy-b2b .main-menu .nav-link.active,
body.gp-legacy-b2b .main-menu li.active > a {
    color: var(--gp-emerald) !important;
    background: transparent !important;
}
body.gp-legacy-b2b .balance-link,
body.gp-legacy-b2b .mobile-balance-link,
body.gp-legacy-b2b .hdr-bal-value {
    color: var(--gp-emerald) !important;
}

/* Header dropdown (Deposit / Deposit Log etc.) — covers both Bootstrap dropdown
   AND the legacy .menu_has_children > .sub-menu user_header partial */
body.gp-legacy-b2b .dropdown-menu,
body.gp-legacy-b2b .main-menu .dropdown-menu,
body.gp-legacy-b2b .header .main-menu li .sub-menu,
body.gp-legacy-b2b .main-menu li .sub-menu {
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    border-top: 1px solid var(--gp-line) !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5) !important;
    padding: 8px !important;
    margin-top: 8px !important;
    width: 240px !important;
}
body.gp-legacy-b2b .dropdown-item,
body.gp-legacy-b2b .dropdown-menu a,
body.gp-legacy-b2b .dropdown-menu .nav-link,
body.gp-legacy-b2b .main-menu li .sub-menu li a,
body.gp-legacy-b2b .header .main-menu li .sub-menu li a {
    color: var(--gp-text-1) !important;
    background: transparent !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background 180ms ease, color 180ms ease !important;
}
body.gp-legacy-b2b .dropdown-item:hover,
body.gp-legacy-b2b .dropdown-menu a:hover,
body.gp-legacy-b2b .main-menu li .sub-menu li a:hover,
body.gp-legacy-b2b .header .main-menu li .sub-menu li a:hover {
    background: rgba(0, 229, 139, 0.08) !important;
    color: var(--gp-emerald) !important;
    text-decoration: none !important;
}
/* Chevron / has-children indicator */
body.gp-legacy-b2b .menu_has_children > a::before,
body.gp-legacy-b2b .header .main-menu li.menu_has_children > a::before {
    color: var(--gp-text-2) !important;
}

/* Sub-menu dot bullets in header */
body.gp-legacy-b2b .header__bottom .nav-item::after,
body.gp-legacy-b2b .header__bottom .nav-divider {
    color: var(--gp-text-3) !important;
    opacity: 0.5;
}

/* Logout / Dashboard button in header */
body.gp-legacy-b2b .header .logout-btn,
body.gp-legacy-b2b .header .dashboard-btn,
body.gp-legacy-b2b .nav-right .btn,
body.gp-legacy-b2b .header .btn-outline {
    background: transparent !important;
    border: 1px solid var(--gp-line-strong) !important;
    color: var(--gp-text-0) !important;
    border-radius: 999px !important;
    padding: 8px 18px !important;
    font-size: 12px !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: border-color 180ms ease, color 180ms ease !important;
}
body.gp-legacy-b2b .header .logout-btn:hover,
body.gp-legacy-b2b .header .dashboard-btn:hover,
body.gp-legacy-b2b .nav-right .btn:hover {
    border-color: var(--gp-emerald) !important;
    color: var(--gp-emerald) !important;
}

/* ─── TYPOGRAPHY ─── */
body.gp-legacy-b2b h1,
body.gp-legacy-b2b h2,
body.gp-legacy-b2b h3,
body.gp-legacy-b2b h4,
body.gp-legacy-b2b h5,
body.gp-legacy-b2b h6 {
    color: var(--gp-text-0) !important;
    font-family: 'General Sans', 'DM Sans', sans-serif !important;
    letter-spacing: -0.022em !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}
body.gp-legacy-b2b p,
body.gp-legacy-b2b li,
body.gp-legacy-b2b td,
body.gp-legacy-b2b dd,
body.gp-legacy-b2b span:not(.balance-link) {
    color: var(--gp-text-1);
    line-height: 1.65;
}

body.gp-legacy-b2b a:not(.cmn-btn):not(.btn-primary):not(.btn):not(.site-logo) {
    color: var(--gp-emerald);
}
body.gp-legacy-b2b a:not(.cmn-btn):not(.btn-primary):not(.btn):not(.site-logo):hover {
    color: var(--gp-ice);
}

/* ─── SECTION BACKGROUNDS — kill ALL legacy navy/cyan section backdrops ─── */
body.gp-legacy-b2b section,
body.gp-legacy-b2b .section,
body.gp-legacy-b2b .section--bg,
body.gp-legacy-b2b .hero-section,
body.gp-legacy-b2b .blog-section,
body.gp-legacy-b2b .pt-120,
body.gp-legacy-b2b .pb-120,
body.gp-legacy-b2b .pt-90,
body.gp-legacy-b2b .pb-90,
body.gp-legacy-b2b .seo-content-section,
body.gp-legacy-b2b .about-section,
body.gp-legacy-b2b .about-area,
body.gp-legacy-b2b .contact-section,
body.gp-legacy-b2b .blog-section,
body.gp-legacy-b2b .blog-details-section,
body.gp-legacy-b2b .why-section,
body.gp-legacy-b2b .why-choose-section,
body.gp-legacy-b2b .cta-section,
body.gp-legacy-b2b .feature-section {
    background: transparent !important;
}

/* Kill <section class="bg_img" style="background-image: url(...jpg)">
   inline hero photos AND their dark-navy ::before tint.
   These are the "Why Choose Gamting" + Contact thumb + any inline-styled
   bg_img section, which would otherwise show the legacy blue overlay. */
body.gp-legacy-b2b section.bg_img,
body.gp-legacy-b2b .bg_img.section,
body.gp-legacy-b2b section[style*="background-image"],
body.gp-legacy-b2b div[class*="bg_img"][style*="background-image"] {
    background-image: none !important;
    background-color: transparent !important;
}
body.gp-legacy-b2b .dark--overlay,
body.gp-legacy-b2b .dark--overlay::before {
    background: transparent !important;
    background-color: transparent !important;
}
body.gp-legacy-b2b .dark--overlay::before {
    display: none !important;
}

/* Kill border-top/border-bottom legacy 1px navy line between sections */
body.gp-legacy-b2b section.border-top,
body.gp-legacy-b2b section.border-bottom {
    border-color: var(--gp-line) !important;
}

/* The contact-thumb left column was a photo with style="background-image".
   Replace it with a subtle emerald gradient panel so the column doesn't sit empty. */
body.gp-legacy-b2b .contact-thumb {
    background-image: linear-gradient(135deg, rgba(0, 229, 139, 0.06) 0%, rgba(125, 211, 252, 0.04) 100%) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 14px;
    min-height: 320px;
    position: relative;
}
body.gp-legacy-b2b .contact-thumb::after {
    content: 'GAMTING';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'General Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.06);
}

/* ─── BLOG ─── */
body.gp-legacy-b2b .blog-hero {
    text-align: center;
    padding: 64px 0 32px;
}
body.gp-legacy-b2b .blog-hero__title {
    color: var(--gp-text-0) !important;
    font-family: 'General Sans', sans-serif !important;
    font-size: clamp(32px, 4vw, 48px) !important;
    margin: 0 0 16px !important;
}
body.gp-legacy-b2b .blog-hero__subtitle,
body.gp-legacy-b2b .blog-intro {
    color: var(--gp-text-2) !important;
    font-size: 16px;
}
body.gp-legacy-b2b .blog-intro h2 {
    color: var(--gp-gold) !important;
    margin-top: 32px !important;
    margin-bottom: 16px !important;
    font-size: 22px !important;
}
body.gp-legacy-b2b .blog-intro p {
    color: var(--gp-text-1) !important;
}
body.gp-legacy-b2b .post-card {
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    transition: all 240ms ease;
}
body.gp-legacy-b2b .post-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 229, 139, 0.3) !important;
}
body.gp-legacy-b2b .post-card__thumb img {
    transition: transform 320ms ease;
}
body.gp-legacy-b2b .post-card:hover .post-card__thumb img {
    transform: scale(1.04);
}
body.gp-legacy-b2b .post-card__date {
    background: var(--gp-bg-3) !important;
    color: var(--gp-gold) !important;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px !important;
}
body.gp-legacy-b2b .post-card__title {
    color: var(--gp-text-0) !important;
}
body.gp-legacy-b2b .post-card__title a {
    color: var(--gp-text-0) !important;
}
body.gp-legacy-b2b .post-card__title a:hover {
    color: var(--gp-emerald) !important;
}
body.gp-legacy-b2b .blog-faqs details,
body.gp-legacy-b2b .blog-faqs summary {
    background: var(--gp-bg-1) !important;
    border-color: var(--gp-line) !important;
    color: var(--gp-text-1) !important;
}
body.gp-legacy-b2b .blog-quick-ref {
    background: var(--gp-bg-1) !important;
    color: var(--gp-text-1) !important;
}

/* Blog details */
body.gp-legacy-b2b .post-detail,
body.gp-legacy-b2b .blog-detail__content,
body.gp-legacy-b2b .single-blog {
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 14px !important;
    padding: 32px !important;
    color: var(--gp-text-1) !important;
}
body.gp-legacy-b2b .post-detail h1,
body.gp-legacy-b2b .post-detail h2,
body.gp-legacy-b2b .post-detail h3 {
    color: var(--gp-text-0) !important;
}
body.gp-legacy-b2b .post-detail img {
    border-radius: 10px !important;
    margin: 16px 0 !important;
}

/* ─── CONTACT / FORMS ─── */
body.gp-legacy-b2b .contact-section,
body.gp-legacy-b2b .form-wrapper,
body.gp-legacy-b2b .form-section {
    background: transparent !important;
    border: 0 !important;
}
/* Quick Support contact-item tiles (the navy boxes on /contact top) */
body.gp-legacy-b2b .contact-item {
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 14px !important;
    padding: 24px !important;
    color: var(--gp-text-1) !important;
    transition: transform 220ms ease, border-color 220ms ease !important;
}
body.gp-legacy-b2b .contact-item:hover {
    transform: translateY(-2px) !important;
    background: var(--gp-bg-1) !important;
    border-color: rgba(0, 229, 139, 0.28) !important;
}
body.gp-legacy-b2b .contact-item:hover h5,
body.gp-legacy-b2b .contact-item:hover p,
body.gp-legacy-b2b .contact-item:hover a,
body.gp-legacy-b2b .contact-item:hover i {
    color: var(--gp-text-0) !important;
}
body.gp-legacy-b2b .contact-item i {
    color: var(--gp-gold) !important;
    font-size: 22px !important;
    margin-bottom: 8px !important;
}
body.gp-legacy-b2b .contact-item h5 {
    color: var(--gp-text-0) !important;
    font-family: 'General Sans', sans-serif !important;
}
body.gp-legacy-b2b .contact-item p {
    color: var(--gp-text-2) !important;
}
body.gp-legacy-b2b .contact-item a {
    color: var(--gp-emerald) !important;
}

/* Contact form wrapper (the BIG blue "Get in touch" panel) */
body.gp-legacy-b2b .contact-wrapper {
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden;
}
body.gp-legacy-b2b .contact-form-wrapper {
    padding: 40px !important;
}
@media (max-width: 575px) {
    body.gp-legacy-b2b .contact-form-wrapper { padding: 22px !important; }
}
body.gp-legacy-b2b input[type="text"],
body.gp-legacy-b2b input[type="email"],
body.gp-legacy-b2b input[type="password"],
body.gp-legacy-b2b input[type="tel"],
body.gp-legacy-b2b input[type="number"],
body.gp-legacy-b2b input[type="url"],
body.gp-legacy-b2b textarea,
body.gp-legacy-b2b select,
body.gp-legacy-b2b .form-control,
body.gp-legacy-b2b .form--control {
    background: var(--gp-bg-2) !important;
    border: 1px solid var(--gp-line-strong) !important;
    color: var(--gp-text-0) !important;
    border-radius: 8px !important;
}
body.gp-legacy-b2b input:focus,
body.gp-legacy-b2b textarea:focus,
body.gp-legacy-b2b select:focus,
body.gp-legacy-b2b .form-control:focus {
    border-color: var(--gp-emerald) !important;
    box-shadow: 0 0 0 3px rgba(0, 229, 139, 0.18) !important;
}
body.gp-legacy-b2b label {
    color: var(--gp-text-1) !important;
}
body.gp-legacy-b2b ::placeholder {
    color: var(--gp-text-3) !important;
}

/* ─── BUTTONS ─── */
body.gp-legacy-b2b .cmn-btn,
body.gp-legacy-b2b .btn-primary,
body.gp-legacy-b2b button[type="submit"] {
    background: var(--gp-emerald) !important;
    color: #053825 !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 12px 26px !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 24px rgba(0, 229, 139, 0.2) !important;
    transition: all 200ms ease !important;
}
body.gp-legacy-b2b .cmn-btn:hover,
body.gp-legacy-b2b .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(0, 229, 139, 0.32) !important;
    color: #053825 !important;
}

/* ─── PROSE / POLICY / MANAGE PAGES (pages.blade.php → /aml, /fair-play, /how-to-install-app, /responsible-gambling) ─── */
body.gp-legacy-b2b .responsible-gambling-section,
body.gp-legacy-b2b .aml-policy-section,
body.gp-legacy-b2b .policy-section,
body.gp-legacy-b2b .about-section {
    background: transparent !important;
    padding: 48px 0 !important;
}
body.gp-legacy-b2b .rg-quick-ref,
body.gp-legacy-b2b .aml-card,
body.gp-legacy-b2b .rg-cta-box,
body.gp-legacy-b2b .feature-card,
body.gp-legacy-b2b .policy-card {
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 14px !important;
    color: var(--gp-text-1) !important;
}
body.gp-legacy-b2b .rg-quick-ref dt,
body.gp-legacy-b2b .aml-card dt {
    color: var(--gp-gold) !important;
}
body.gp-legacy-b2b .rg-quick-ref dd,
body.gp-legacy-b2b .aml-card dd {
    color: var(--gp-text-1) !important;
}
body.gp-legacy-b2b .aml-icon,
body.gp-legacy-b2b .feature-icon {
    background: rgba(0, 229, 139, 0.1) !important;
    color: var(--gp-emerald) !important;
}

/* About-Us / Contact text bodies */
body.gp-legacy-b2b strong { color: var(--gp-text-0); }
body.gp-legacy-b2b code {
    background: var(--gp-bg-2) !important;
    color: var(--gp-ice) !important;
    border: 1px solid var(--gp-line);
    border-radius: 4px;
    padding: 1px 6px;
}

/* Tables (often in About/Policy pages) */
body.gp-legacy-b2b table {
    background: var(--gp-bg-1) !important;
    color: var(--gp-text-1) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    width: 100%;
}
body.gp-legacy-b2b table th {
    background: var(--gp-bg-2) !important;
    color: var(--gp-gold) !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--gp-line);
}
body.gp-legacy-b2b table td {
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--gp-line) !important;
}
body.gp-legacy-b2b table tr:last-child td { border-bottom: 0 !important; }

/* On user dashboard / deposit / etc. — trim the huge pt-120/pb-120 spacing */
body.gp-legacy-b2b section.pt-120 { padding-top: 56px !important; }
body.gp-legacy-b2b section.pb-120 { padding-bottom: 56px !important; }
@media (min-width: 992px) {
    body.gp-legacy-b2b section.pt-120 { padding-top: 72px !important; }
    body.gp-legacy-b2b section.pb-120 { padding-bottom: 72px !important; }
}

/* ─── FOOTER ─── */
body.gp-legacy-b2b .footer,
body.gp-legacy-b2b .footer-section,
body.gp-legacy-b2b .footer-top,
body.gp-legacy-b2b .footer-bottom {
    background: var(--gp-bg-1) !important;
    border-top: 1px solid var(--gp-line) !important;
    color: var(--gp-text-2) !important;
}
body.gp-legacy-b2b .footer-bottom {
    background: var(--gp-bg-0) !important;
}
body.gp-legacy-b2b .footer-widget__title {
    color: var(--gp-text-0) !important;
    font-family: 'General Sans', sans-serif !important;
}
body.gp-legacy-b2b .social-links li a {
    color: var(--gp-text-2) !important;
    transition: color 180ms ease;
}
body.gp-legacy-b2b .social-links li a:hover {
    color: var(--gp-emerald) !important;
    text-shadow: none !important;
}
/* Scroll-to-top button (legacy was orange) */
body.gp-legacy-b2b .scroll-to-top .scroll-icon {
    background: var(--gp-emerald) !important;
    color: #053825 !important;
    box-shadow: 0 8px 24px rgba(0, 229, 139, 0.32) !important;
}
body.gp-legacy-b2b .footer-menu li {
    margin: 4px 8px !important;
}
body.gp-legacy-b2b .footer-menu a {
    color: var(--gp-text-2) !important;
    font-size: 13px !important;
    transition: color 180ms ease;
}
body.gp-legacy-b2b .footer-menu a:hover {
    color: var(--gp-emerald) !important;
}
body.gp-legacy-b2b .footer-bottom p,
body.gp-legacy-b2b .footer-bottom span {
    color: var(--gp-text-3) !important;
    font-size: 13px !important;
}

/* ─── USER DASHBOARD ─── */
body.gp-legacy-b2b .dashboard-section,
body.gp-legacy-b2b .user-dashboard,
body.gp-legacy-b2b .balance-area,
body.gp-legacy-b2b .deposit-area {
    background: transparent !important;
    color: var(--gp-text-1) !important;
}
body.gp-legacy-b2b .card,
body.gp-legacy-b2b .info-card,
body.gp-legacy-b2b .dashboard-card,
body.gp-legacy-b2b .menu-card {
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 14px !important;
    color: var(--gp-text-1) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32) !important;
}
body.gp-legacy-b2b .card .card-body,
body.gp-legacy-b2b .card-header {
    background: transparent !important;
    color: var(--gp-text-1) !important;
    border-color: var(--gp-line) !important;
}

/* Dashboard stat widgets (d-widget) */
body.gp-legacy-b2b .d-widget,
body.gp-legacy-b2b .dashbaord-widget-card {
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 14px !important;
    color: var(--gp-text-1) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32) !important;
    padding: 22px !important;
    transition: transform 220ms ease, border-color 220ms ease !important;
}
body.gp-legacy-b2b .d-widget:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 229, 139, 0.28) !important;
}
body.gp-legacy-b2b .d-widget-icon {
    border-radius: 12px !important;
    width: 52px !important;
    height: 52px !important;
    box-shadow: none !important;
    font-size: 24px !important;
}
body.gp-legacy-b2b .d-widget-balance .d-widget-icon {
    background: rgba(244, 195, 65, 0.14) !important;
    color: var(--gp-gold) !important;
}
body.gp-legacy-b2b .d-widget-deposit .d-widget-icon {
    background: rgba(0, 229, 139, 0.14) !important;
    color: var(--gp-emerald) !important;
}
body.gp-legacy-b2b .d-widget-withdraw .d-widget-icon {
    background: rgba(255, 107, 107, 0.14) !important;
    color: #FF8B8B !important;
}
body.gp-legacy-b2b .d-widget-invest .d-widget-icon {
    background: rgba(125, 211, 252, 0.14) !important;
    color: var(--gp-ice) !important;
}
body.gp-legacy-b2b .d-widget-win .d-widget-icon {
    background: rgba(0, 229, 139, 0.14) !important;
    color: var(--gp-emerald) !important;
}
body.gp-legacy-b2b .d-widget .title {
    color: var(--gp-text-0) !important;
    font-family: 'JetBrains Mono', 'DM Sans', sans-serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
}
body.gp-legacy-b2b .d-widget p,
body.gp-legacy-b2b .d-widget .subtitle,
body.gp-legacy-b2b .d-widget-content > p {
    color: var(--gp-text-2) !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* "ENTER GAMTING SPORTS / CASINO / EXCHANGE / TRADE" buttons on dashboard */
body.gp-legacy-b2b .btn--enter,
body.gp-legacy-b2b .enter-platform-btn,
body.gp-legacy-b2b a[class*="cmn-btn"][href*="exchange"],
body.gp-legacy-b2b a[class*="cmn-btn"][href*="casino"],
body.gp-legacy-b2b a[class*="cmn-btn"][href*="sportsbook1"],
body.gp-legacy-b2b a[class*="cmn-btn"][href*="trade.gamting.com"],
body.gp-legacy-b2b a[class*="cmn-btn"][href*="gamting.com/games"] {
    background: transparent !important;
    border: 1px solid var(--gp-emerald) !important;
    color: var(--gp-emerald) !important;
    box-shadow: none !important;
}
body.gp-legacy-b2b .btn--enter:hover,
body.gp-legacy-b2b a[class*="cmn-btn"][href*="exchange"]:hover,
body.gp-legacy-b2b a[class*="cmn-btn"][href*="casino"]:hover,
body.gp-legacy-b2b a[class*="cmn-btn"][href*="sportsbook1"]:hover,
body.gp-legacy-b2b a[class*="cmn-btn"][href*="trade.gamting.com"]:hover,
body.gp-legacy-b2b a[class*="cmn-btn"][href*="gamting.com/games"]:hover {
    background: var(--gp-emerald) !important;
    color: #053825 !important;
}

/* ─── BREADCRUMB / PAGE HERO STRIP (user pages) ─── */
body.gp-legacy-b2b .inner-hero,
body.gp-legacy-b2b .inner-hero.bg_img,
body.gp-legacy-b2b section.inner-hero[style*="background-image"] {
    background-image: none !important;
    background: linear-gradient(180deg, rgba(0, 229, 139, 0.06) 0%, transparent 100%) !important;
    border-bottom: 1px solid var(--gp-line) !important;
    padding: 96px 0 64px !important;
    min-height: 240px !important;
    position: relative !important;
    overflow: hidden;
}
/* Subtle emerald glow on the hero */
body.gp-legacy-b2b .inner-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 40% at 50% 100%, rgba(0, 229, 139, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
body.gp-legacy-b2b .inner-hero > .container { position: relative; z-index: 1; }
body.gp-legacy-b2b .inner-hero .page-title {
    color: var(--gp-text-0) !important;
    font-family: 'General Sans', sans-serif !important;
    font-size: clamp(36px, 5vw, 56px) !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 14px !important;
    line-height: 1.1 !important;
}
@media (max-width: 575px) {
    body.gp-legacy-b2b .inner-hero {
        padding: 64px 0 40px !important;
        min-height: 160px !important;
    }
    body.gp-legacy-b2b .inner-hero .page-title {
        font-size: clamp(28px, 7vw, 36px) !important;
    }
}
body.gp-legacy-b2b .page-list,
body.gp-legacy-b2b .page-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none !important;
    padding: 0 !important;
}
body.gp-legacy-b2b .page-list li,
body.gp-legacy-b2b .page-breadcrumb li {
    color: var(--gp-text-2) !important;
    font-size: 12px !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
body.gp-legacy-b2b .page-list li a,
body.gp-legacy-b2b .page-breadcrumb li a {
    color: var(--gp-gold) !important;
}
body.gp-legacy-b2b .page-list li:not(:first-child)::before {
    content: '/';
    margin-right: 10px;
    color: var(--gp-text-3);
}

/* ─── DEPOSIT METHOD PICKER ─── */
body.gp-legacy-b2b .gateway-card { background: transparent !important; }
body.gp-legacy-b2b .payment-system-list { background: transparent !important; }
body.gp-legacy-b2b .payment-item {
    background: var(--gp-bg-2) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
    padding: 14px 16px !important;
    transition: border-color 180ms ease, background 180ms ease !important;
}
body.gp-legacy-b2b .payment-item:hover,
body.gp-legacy-b2b .payment-item.selected {
    border-color: rgba(0, 229, 139, 0.4) !important;
    background: rgba(0, 229, 139, 0.05) !important;
}
body.gp-legacy-b2b .payment-item__name {
    color: var(--gp-text-0) !important;
    font-weight: 500 !important;
}
body.gp-legacy-b2b .payment-item__check {
    border-color: var(--gp-line-strong) !important;
}
body.gp-legacy-b2b .payment-item__radio:checked + .payment-item__check,
body.gp-legacy-b2b .payment-item__radio:checked ~ .payment-item__check {
    background: var(--gp-emerald) !important;
    border-color: var(--gp-emerald) !important;
}
body.gp-legacy-b2b .payment-item__btn { background: transparent !important; }
body.gp-legacy-b2b .deposit-info { background: transparent !important; color: var(--gp-text-1) !important; }
body.gp-legacy-b2b .deposit-info__title p,
body.gp-legacy-b2b .deposit-info__input p { color: var(--gp-text-1) !important; }

/* Pagination */
body.gp-legacy-b2b .pagination {
    gap: 6px !important;
    margin-top: 24px !important;
}
body.gp-legacy-b2b .pagination .page-link,
body.gp-legacy-b2b .page-link {
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    color: var(--gp-text-1) !important;
    border-radius: 10px !important;
    width: 40px;
    height: 40px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 600 !important;
    transition: border-color 180ms ease, color 180ms ease !important;
}
body.gp-legacy-b2b .pagination .page-link:hover {
    border-color: rgba(0, 229, 139, 0.4) !important;
    color: var(--gp-emerald) !important;
    background: var(--gp-bg-1) !important;
}
body.gp-legacy-b2b .pagination .page-item.active .page-link {
    background: var(--gp-emerald) !important;
    border-color: var(--gp-emerald) !important;
    color: #053825 !important;
    box-shadow: 0 6px 18px rgba(0, 229, 139, 0.28) !important;
}

/* Alerts */
body.gp-legacy-b2b .alert,
body.gp-legacy-b2b .alert-danger {
    background: rgba(255, 107, 107, 0.08) !important;
    border: 1px solid rgba(255, 107, 107, 0.25) !important;
    color: #FF8B8B !important;
    border-radius: 8px !important;
}
body.gp-legacy-b2b .alert-success {
    background: rgba(0, 229, 139, 0.08) !important;
    border-color: rgba(0, 229, 139, 0.25) !important;
    color: var(--gp-emerald) !important;
}
body.gp-legacy-b2b .alert-warning {
    background: rgba(244, 195, 65, 0.08) !important;
    border-color: rgba(244, 195, 65, 0.25) !important;
    color: var(--gp-gold) !important;
}

/* Section headings center alignment helper */
body.gp-legacy-b2b .section-header,
body.gp-legacy-b2b .section-title {
    color: var(--gp-text-0) !important;
    text-align: center;
    margin-bottom: 32px;
}

/* Hover ring effect for cards */
body.gp-legacy-b2b .post-card,
body.gp-legacy-b2b .card {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 8px 24px rgba(0, 0, 0, 0.32);
}

/* ─── SEO CONTENT BLOCK (sections/seo_content.blade.php "Our Latest Blogs" etc.) ─── */
/* These rules also apply on body.gp-b2b-apply so the /become-agent/{slug}
   SEO subpages (Plan-D B2B agent hub) get the dark+emerald scheme too. */
body.gp-legacy-b2b .seo-content-section,
body.gp-b2b-apply .seo-content-section {
    background: transparent !important;
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}
body.gp-legacy-b2b .seo-content-shell,
body.gp-b2b-apply .seo-content-shell {
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 16px !important;
    padding: 32px 32px !important;
    max-width: 980px !important;
    margin: 0 auto !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
}
body.gp-legacy-b2b .seo-content-pro,
body.gp-legacy-b2b .seo-content-pro p,
body.gp-legacy-b2b .seo-content-pro li,
body.gp-b2b-apply .seo-content-pro,
body.gp-b2b-apply .seo-content-pro p,
body.gp-b2b-apply .seo-content-pro li {
    color: var(--gp-text-1) !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
}
body.gp-legacy-b2b .seo-content-pro h1,
body.gp-legacy-b2b .seo-content-pro h2,
body.gp-legacy-b2b .seo-content-pro h3,
body.gp-legacy-b2b .seo-content-pro h4,
body.gp-legacy-b2b .seo-content-pro h5,
body.gp-legacy-b2b .seo-content-pro h6,
body.gp-legacy-b2b .seo-section-title,
body.gp-b2b-apply .seo-content-pro h1,
body.gp-b2b-apply .seo-content-pro h2,
body.gp-b2b-apply .seo-content-pro h3,
body.gp-b2b-apply .seo-content-pro h4,
body.gp-b2b-apply .seo-content-pro h5,
body.gp-b2b-apply .seo-content-pro h6,
body.gp-b2b-apply .seo-section-title {
    color: var(--gp-text-0) !important;
    font-family: 'General Sans', 'DM Sans', sans-serif !important;
    letter-spacing: -0.022em !important;
}
body.gp-legacy-b2b .seo-content-pro h1,
body.gp-b2b-apply .seo-content-pro h1 {
    text-transform: capitalize;
}
body.gp-legacy-b2b .seo-content-pro h2,
body.gp-b2b-apply .seo-content-pro h2 { color: var(--gp-gold) !important; }
body.gp-legacy-b2b .seo-content-pro a,
body.gp-legacy-b2b .seo-faq-wrap a,
body.gp-legacy-b2b .seo-links-wrap a,
body.gp-b2b-apply .seo-content-pro a,
body.gp-b2b-apply .seo-faq-wrap a,
body.gp-b2b-apply .seo-links-wrap a {
    color: var(--gp-emerald) !important;
    text-decoration: none !important;
}
body.gp-legacy-b2b .seo-content-pro a:hover,
body.gp-legacy-b2b .seo-faq-wrap a:hover,
body.gp-legacy-b2b .seo-links-wrap a:hover,
body.gp-b2b-apply .seo-content-pro a:hover,
body.gp-b2b-apply .seo-faq-wrap a:hover,
body.gp-b2b-apply .seo-links-wrap a:hover {
    color: var(--gp-ice) !important;
}
body.gp-legacy-b2b .seo-faq-wrap,
body.gp-legacy-b2b .seo-links-wrap,
body.gp-b2b-apply .seo-faq-wrap,
body.gp-b2b-apply .seo-links-wrap {
    border-top: 1px solid var(--gp-line) !important;
}
body.gp-legacy-b2b .seo-faq-item,
body.gp-b2b-apply .seo-faq-item {
    background: var(--gp-bg-2) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 12px !important;
}
body.gp-legacy-b2b .seo-faq-item h5,
body.gp-b2b-apply .seo-faq-item h5 { color: var(--gp-text-0) !important; }
body.gp-legacy-b2b .seo-faq-item p,
body.gp-b2b-apply .seo-faq-item p { color: var(--gp-text-1) !important; }

/* ─── CHOOSE CARDS (about-us Why Choose Gamting) ─── */
body.gp-legacy-b2b .choose-card,
body.gp-legacy-b2b .feature-card {
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 14px !important;
    padding: 22px !important;
    height: 100%;
    transition: transform 220ms ease, border-color 220ms ease !important;
}
body.gp-legacy-b2b .choose-card:hover,
body.gp-legacy-b2b .feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 229, 139, 0.28) !important;
}
body.gp-legacy-b2b .choose-card__icon,
body.gp-legacy-b2b .feature-card__icon {
    background: rgba(0, 229, 139, 0.1) !important;
    color: var(--gp-emerald) !important;
    border-radius: 12px !important;
    width: 56px !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    margin-bottom: 14px !important;
}
body.gp-legacy-b2b .choose-card__content .title,
body.gp-legacy-b2b .feature-card__content .title {
    color: var(--gp-text-0) !important;
    font-family: 'General Sans', sans-serif !important;
    font-size: 17px !important;
    margin-bottom: 8px !important;
}
body.gp-legacy-b2b .choose-card__content p,
body.gp-legacy-b2b .feature-card__content p {
    color: var(--gp-text-2) !important;
    font-size: 14px !important;
    margin: 0;
}

/* ─── ABOUT-AREA inner cards / paragraphs ─── */
body.gp-legacy-b2b .about-content,
body.gp-legacy-b2b .about-content p,
body.gp-legacy-b2b .about-card,
body.gp-legacy-b2b .about-card p {
    color: var(--gp-text-1) !important;
}
body.gp-legacy-b2b .about-thumb img {
    border-radius: 14px !important;
    border: 1px solid var(--gp-line) !important;
}

/* ─── BLUE OFFENDERS — explicit overrides for any inline-styled colour blocks ─── */
body.gp-legacy-b2b [style*="background-color: #01162f"],
body.gp-legacy-b2b [style*="background:#01162f"],
body.gp-legacy-b2b [style*="background-color:#01162f"],
body.gp-legacy-b2b [style*="background-color: rgb(1, 22, 47)"] {
    background-color: var(--gp-bg-1) !important;
    background: var(--gp-bg-1) !important;
}

/* ─── BLOG POST CARDS — responsive fix + image thumb dark frame ─── */
body.gp-legacy-b2b .post-card {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}
body.gp-legacy-b2b .post-card__thumb {
    height: 200px !important;
    background: var(--gp-bg-2) !important;
    border-radius: 14px 14px 0 0 !important;
}
body.gp-legacy-b2b .post-card__thumb img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
}
body.gp-legacy-b2b .post-card__thumb .post-card__date {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    background: var(--gp-bg-0) !important;
    color: var(--gp-gold) !important;
    border: 1px solid var(--gp-line-strong) !important;
    border-radius: 999px !important;
    padding: 4px 12px !important;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
body.gp-legacy-b2b .post-card__content {
    padding: 20px 20px 24px !important;
    margin-top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}
body.gp-legacy-b2b .post-card__title {
    font-size: 17px !important;
    font-family: 'General Sans', sans-serif !important;
    line-height: 1.35 !important;
    margin-bottom: 14px !important;
}
body.gp-legacy-b2b .post-card .cmn-btn.btn-sm {
    align-self: flex-start;
    margin-top: auto !important;
    padding: 8px 18px !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Blog detail SIDEBAR widgets (Latest Blog / Most Views) */
body.gp-legacy-b2b .sidebar .widget {
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 14px !important;
    padding: 22px !important;
}
body.gp-legacy-b2b .sidebar .widget-title {
    color: var(--gp-gold) !important;
    font-family: 'General Sans', sans-serif !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 18px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid var(--gp-line) !important;
}
body.gp-legacy-b2b .small-post,
body.gp-legacy-b2b .small-post-list .small-single-post {
    padding: 12px 0 !important;
}
body.gp-legacy-b2b .small-post + .small-post,
body.gp-legacy-b2b .small-post-list .small-single-post + .small-single-post {
    border-top: 1px solid var(--gp-line) !important;
}
body.gp-legacy-b2b .small-post__content h6,
body.gp-legacy-b2b .small-post-list .small-single-post .post-title {
    margin-bottom: 4px !important;
}
body.gp-legacy-b2b .small-post__content h6 a,
body.gp-legacy-b2b .small-post-list .small-single-post .post-title a {
    color: var(--gp-text-0) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}
body.gp-legacy-b2b .small-post__content h6 a:hover,
body.gp-legacy-b2b .small-post-list .small-single-post .post-title a:hover {
    color: var(--gp-emerald) !important;
}
body.gp-legacy-b2b .small-post .date,
body.gp-legacy-b2b .small-post-list .small-single-post .date {
    color: var(--gp-text-3) !important;
    font-size: 11px !important;
}

/* Blog detail typography */
body.gp-legacy-b2b .blog-details-section { padding: 64px 0 !important; }
body.gp-legacy-b2b .blog-details-wrapper {
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 16px !important;
    padding: 32px !important;
}
body.gp-legacy-b2b .blog-details-content {
    color: var(--gp-text-1) !important;
    font-size: 16px !important;
    line-height: 1.78 !important;
}
body.gp-legacy-b2b .blog-details-content h1,
body.gp-legacy-b2b .blog-details-content h2,
body.gp-legacy-b2b .blog-details-content h3,
body.gp-legacy-b2b .blog-details-content h4 {
    color: var(--gp-text-0) !important;
    font-family: 'General Sans', sans-serif !important;
    margin-top: 28px !important;
    margin-bottom: 14px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}
body.gp-legacy-b2b .blog-details-content h1 {
    font-size: clamp(28px, 4vw, 44px) !important;
}
body.gp-legacy-b2b .blog-details-content h2 {
    color: var(--gp-gold) !important;
    font-size: clamp(22px, 3vw, 32px) !important;
}
body.gp-legacy-b2b .blog-details-content h3 {
    font-size: clamp(18px, 2.2vw, 24px) !important;
}
body.gp-legacy-b2b .blog-details-content h4 {
    font-size: clamp(16px, 1.8vw, 20px) !important;
}
body.gp-legacy-b2b .blog-details-content img {
    border-radius: 12px !important;
    margin: 18px 0 !important;
}
body.gp-legacy-b2b .blog-details-content a { color: var(--gp-emerald) !important; }
body.gp-legacy-b2b .blog-details-content a:hover { color: var(--gp-ice) !important; }
body.gp-legacy-b2b .blog-details-content .cmn-list li {
    color: var(--gp-text-1) !important;
}

/* ─── RESPONSIVE — mobile fixes for blog + about ─── */
@media (max-width: 991px) {
    body.gp-legacy-b2b .about-thumb { display: none !important; }
}
@media (max-width: 767px) {
    body.gp-legacy-b2b .blog-details-wrapper { padding: 22px !important; }
    body.gp-legacy-b2b .seo-content-shell { padding: 22px !important; }
    body.gp-legacy-b2b .post-card__title { font-size: 16px !important; }
    body.gp-legacy-b2b .post-card__thumb { height: 180px !important; }
    body.gp-legacy-b2b .contact-thumb { min-height: 180px !important; margin-bottom: 14px; }
    body.gp-legacy-b2b .choose-card,
    body.gp-legacy-b2b .feature-card { padding: 18px !important; }
}

/* Responsive padding */
@media (max-width: 575px) {
    body.gp-legacy-b2b .pt-120 { padding-top: 56px !important; }
    body.gp-legacy-b2b .pb-120 { padding-bottom: 56px !important; }
    body.gp-legacy-b2b .pt-90 { padding-top: 48px !important; }
    body.gp-legacy-b2b .pb-90 { padding-bottom: 48px !important; }
    body.gp-legacy-b2b .blog-details-wrapper { padding: 18px !important; border-radius: 12px !important; }
    body.gp-legacy-b2b .seo-content-shell { padding: 18px !important; border-radius: 12px !important; }
    body.gp-legacy-b2b .post-card__content { padding: 16px 16px 20px !important; }
    body.gp-legacy-b2b .blog-details-content { font-size: 15px !important; line-height: 1.7 !important; }
    body.gp-legacy-b2b .blog-details-content h1 { font-size: 24px !important; }
    body.gp-legacy-b2b .blog-details-content h2 { font-size: 20px !important; }
    body.gp-legacy-b2b .blog-details-content h3 { font-size: 17px !important; }
    body.gp-legacy-b2b .blog-details-content h4 { font-size: 15px !important; }
    body.gp-legacy-b2b .post-details-header .post-title,
    body.gp-legacy-b2b .blog-details-wrapper > h3.post-title { font-size: 20px !important; }
    body.gp-legacy-b2b .container { padding-left: 16px !important; padding-right: 16px !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ROUND 4 FIXES: preloader, page-wrapper, deposit/transactions tables, h2 color
   ═══════════════════════════════════════════════════════════════════════════ */

/* Preloader: legacy was navy #020c25 — make it match the dark scheme */
body.gp-legacy-b2b .preloader {
    background-color: var(--gp-bg-0) !important;
}
body.gp-legacy-b2b .preloader__thumb::after {
    border-color: var(--gp-emerald) !important;
}

/* (The dashboard.blade.php hardcoded `.footer-spacer` div has been removed at
   source. The legacy sticky-footer pattern from app.blade.php's inline <style>
   (page-wrapper min-height: 100vh + flex column + footer margin-top: auto)
   handles short and long pages naturally now.) */

/* ─── TABLES (deposit log, transactions, bet details, commission log) ─── */
body.gp-legacy-b2b .table,
body.gp-legacy-b2b .custom--table,
body.gp-legacy-b2b .table.style--two {
    background: transparent !important;
    color: var(--gp-text-1) !important;
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
    font-size: 14px !important;
}
body.gp-legacy-b2b .table thead tr,
body.gp-legacy-b2b .custom--table thead tr {
    background: transparent !important;
}
/* The master.blade.php inline rule is `.table thead tr th { background-color: #e6a25d !important }`.
   We override with higher specificity body.gp-legacy-b2b + !important. */
body.gp-legacy-b2b .table thead tr th,
body.gp-legacy-b2b .custom--table thead tr th,
body.gp-legacy-b2b .table.style--two thead tr th {
    background: var(--gp-bg-2) !important;
    color: var(--gp-gold) !important;
    font-family: 'General Sans', 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid var(--gp-line) !important;
    border-top: 1px solid var(--gp-line) !important;
    text-align: left !important;
    font-weight: 600 !important;
}
body.gp-legacy-b2b .table thead tr th:first-child,
body.gp-legacy-b2b .custom--table thead tr th:first-child {
    border-radius: 12px 0 0 12px !important;
    border-left: 1px solid var(--gp-line) !important;
}
body.gp-legacy-b2b .table thead tr th:last-child,
body.gp-legacy-b2b .custom--table thead tr th:last-child {
    border-radius: 0 12px 12px 0 !important;
    border-right: 1px solid var(--gp-line) !important;
}
body.gp-legacy-b2b .table tbody,
body.gp-legacy-b2b .custom--table tbody {
    background: transparent !important;
}
body.gp-legacy-b2b .table tbody tr,
body.gp-legacy-b2b .custom--table tbody tr {
    background: var(--gp-bg-1) !important;
    transition: background 180ms ease, border-color 180ms ease !important;
}
body.gp-legacy-b2b .table tbody tr:hover,
body.gp-legacy-b2b .custom--table tbody tr:hover {
    background: var(--gp-bg-2) !important;
}
body.gp-legacy-b2b .table tbody tr td,
body.gp-legacy-b2b .custom--table tbody tr td {
    color: var(--gp-text-1) !important;
    padding: 16px !important;
    border-top: 1px solid var(--gp-line) !important;
    border-bottom: 1px solid var(--gp-line) !important;
    text-align: left !important;
    font-family: 'DM Sans', sans-serif !important;
    vertical-align: middle !important;
}
body.gp-legacy-b2b .table tbody tr td:first-child,
body.gp-legacy-b2b .custom--table tbody tr td:first-child {
    border-radius: 10px 0 0 10px !important;
    border-left: 1px solid var(--gp-line) !important;
}
body.gp-legacy-b2b .table tbody tr td:last-child,
body.gp-legacy-b2b .custom--table tbody tr td:last-child {
    border-radius: 0 10px 10px 0 !important;
    border-right: 1px solid var(--gp-line) !important;
    text-align: right !important;
}

/* Status badges in tables */
body.gp-legacy-b2b .badge,
body.gp-legacy-b2b .badge--success,
body.gp-legacy-b2b span.badge.bg-success,
body.gp-legacy-b2b .status-success {
    background: rgba(0, 229, 139, 0.12) !important;
    color: var(--gp-emerald) !important;
    border: 1px solid rgba(0, 229, 139, 0.3) !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600 !important;
}
body.gp-legacy-b2b .badge--warning,
body.gp-legacy-b2b span.badge.bg-warning,
body.gp-legacy-b2b .status-pending {
    background: rgba(244, 195, 65, 0.12) !important;
    color: var(--gp-gold) !important;
    border: 1px solid rgba(244, 195, 65, 0.3) !important;
}
body.gp-legacy-b2b .badge--danger,
body.gp-legacy-b2b span.badge.bg-danger,
body.gp-legacy-b2b .status-rejected,
body.gp-legacy-b2b .status-failed {
    background: rgba(255, 107, 107, 0.12) !important;
    color: #FF8B8B !important;
    border: 1px solid rgba(255, 107, 107, 0.3) !important;
}

/* "Successful" / "Pending" pill badges seen in screenshot */
body.gp-legacy-b2b .text--success,
body.gp-legacy-b2b .text-success { color: var(--gp-emerald) !important; }
body.gp-legacy-b2b .text--warning { color: var(--gp-gold) !important; }
body.gp-legacy-b2b .text--danger,
body.gp-legacy-b2b .text-danger { color: #FF8B8B !important; }

/* Details icon button in deposit log table */
body.gp-legacy-b2b .details-icon,
body.gp-legacy-b2b a.details,
body.gp-legacy-b2b .table .icon-btn {
    background: rgba(0, 229, 139, 0.1) !important;
    color: var(--gp-emerald) !important;
    border: 1px solid rgba(0, 229, 139, 0.3) !important;
    border-radius: 8px !important;
    width: 36px;
    height: 36px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* Search bar input + button in user pages (deposit log search) */
body.gp-legacy-b2b .input-group .form-control {
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    color: var(--gp-text-0) !important;
    border-radius: 10px 0 0 10px !important;
    padding: 12px 16px !important;
}
body.gp-legacy-b2b .input-group .input-group-text,
body.gp-legacy-b2b .input-group-text.text-white {
    background: var(--gp-emerald) !important;
    color: #053825 !important;
    border: 0 !important;
    border-radius: 0 10px 10px 0 !important;
    padding: 0 18px !important;
    cursor: pointer;
}

/* Notice/alert at top of dashboard */
body.gp-legacy-b2b .notice { background: transparent !important; }

/* ─── HEADINGS: tone gold h2 down slightly so it's not jarring ─── */
body.gp-legacy-b2b .blog-details-content h2,
body.gp-legacy-b2b .seo-content-pro h2 {
    color: var(--gp-text-0) !important;
    border-left: 3px solid var(--gp-emerald) !important;
    padding-left: 16px !important;
    font-size: clamp(24px, 3vw, 32px) !important;
}
body.gp-legacy-b2b .blog-details-content h3,
body.gp-legacy-b2b .seo-content-pro h3 {
    color: var(--gp-gold) !important;
    font-size: clamp(18px, 2.2vw, 22px) !important;
}

/* ─── SEO subpages (gp-b2b-apply body class) — header tweaks ─── */
body.gp-b2b-apply .seo-content-pro h2 {
    color: var(--gp-text-0) !important;
    border-left: 3px solid var(--gp-emerald) !important;
    padding-left: 16px !important;
}
body.gp-b2b-apply .seo-content-pro h3 {
    color: var(--gp-gold) !important;
}

/* ─── SELECT2 DROPDOWN (priority select on /ticket/new, gateway pickers, etc.) ─── */
/* The Select2 library renders its own dropdown HTML outside the body element.
   Even when not under body.gp-legacy-b2b, the page-wide overrides still apply. */
body.gp-legacy-b2b .select2-container--default .select2-selection--single,
.select2-container--open .select2-selection--single {
    background: var(--gp-bg-2) !important;
    border: 1px solid var(--gp-line-strong) !important;
    border-radius: 10px !important;
    color: var(--gp-text-0) !important;
    height: 50px !important;
    padding: 4px 12px !important;
}
body.gp-legacy-b2b .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--gp-text-0) !important;
    line-height: 42px !important;
    padding-left: 6px !important;
}
body.gp-legacy-b2b .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--gp-text-2) transparent transparent transparent !important;
}

/* The dropdown panel (rendered at body root, outside our scope) — use global
   selector. These are only used for Select2 dropdowns, so it's safe. */
.select2-container--default .select2-dropdown {
    background: #11131A !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
    overflow: hidden;
}
.select2-container--default .select2-results__option {
    background: transparent !important;
    color: #D6D9E0 !important;
    padding: 12px 16px !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    transition: background 180ms ease, color 180ms ease !important;
}
.select2-container--default .select2-results__option--highlighted,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: rgba(0, 229, 139, 0.10) !important;
    color: #00E58B !important;
}
.select2-container--default .select2-results__option--selected,
.select2-container--default .select2-results__option[aria-selected=true] {
    background: rgba(0, 229, 139, 0.18) !important;
    color: #00E58B !important;
    font-weight: 600 !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    background: #181B26 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: rgba(0, 229, 139, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(0, 229, 139, 0.12) !important;
    outline: none !important;
}

/* Native <select> dropdown options (fallback when Select2 is not used) */
body.gp-legacy-b2b select option {
    background-color: #11131A !important;
    color: #D6D9E0 !important;
}
body.gp-legacy-b2b select option:checked,
body.gp-legacy-b2b select option:hover {
    background-color: #00E58B !important;
    color: #053825 !important;
}

/* Open Ticket: native <select> styling (when select2 not initialized) */
body.gp-legacy-b2b select.form-select,
body.gp-legacy-b2b select.form-control {
    background-color: var(--gp-bg-2) !important;
    color: var(--gp-text-0) !important;
    border: 1px solid var(--gp-line-strong) !important;
    border-radius: 10px !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   B2B HEADER (partials/header_b2b.blade.php)
   Used on legacy frontend pages (blog, about, contact, manage pages, SEO).
   /games still uses the legacy GAMTING SPORTS header for player chrome.
   ═══════════════════════════════════════════════════════════════════════════ */
.gp-legacy-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 9, 12, 0.92);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
    font-family: 'General Sans', 'DM Sans', system-ui, sans-serif;
}
.gp-legacy-header__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.gp-legacy-header__brand {
    display: flex;
    align-items: center;
    color: #FFFFFF;
    text-decoration: none;
    flex-shrink: 0;
}
.gp-legacy-header__brand-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}
.gp-legacy-header__nav {
    display: flex;
    gap: 28px;
    margin: 0 auto;
}
.gp-legacy-header__nav-link {
    color: #9CA1AE;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.005em;
    transition: color 180ms ease;
    position: relative;
    padding: 6px 0;
}
.gp-legacy-header__nav-link:hover,
.gp-legacy-header__nav-link.is-active {
    color: #FFFFFF;
}
.gp-legacy-header__nav-link.is-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #00E58B;
    border-radius: 2px;
}
.gp-legacy-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
/* CTA — emerald button with DARK text. Use !important to override the
   b2b_legacy.css `body.gp-legacy-b2b a` rule that paints all anchors
   emerald (which made the text invisible against the emerald bg). */
.gp-legacy-header__cta {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: #00E58B !important;
    color: #053825 !important;
    font-size: 13px;
    font-weight: 700 !important;
    letter-spacing: 0.005em;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(0, 229, 139, 0.22);
    transition: transform 200ms ease, box-shadow 200ms ease;
    white-space: nowrap;
}
.gp-legacy-header__cta:hover,
.gp-legacy-header__cta:focus,
.gp-legacy-header__cta:active {
    transform: translateY(-1px);
    color: #053825 !important;
    background: #00E58B !important;
    box-shadow: 0 10px 28px rgba(0, 229, 139, 0.32);
}
.gp-legacy-header__cta svg { color: #053825 !important; }

.gp-legacy-header__burger {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    margin-left: auto;
}
.gp-legacy-header__burger span {
    width: 22px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: transform 180ms ease, opacity 180ms ease;
}
.gp-legacy-header__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.gp-legacy-header__burger.is-open span:nth-child(2) { opacity: 0; }
.gp-legacy-header__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.gp-legacy-header__mobile {
    display: none;
    flex-direction: column;
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(8, 9, 12, 0.98);
}
.gp-legacy-header__mobile.is-open { display: flex; }
.gp-legacy-header__mobile-link {
    color: #D6D9E0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.gp-legacy-header__mobile-link:hover { color: #00E58B; }
.gp-legacy-header__mobile-cta {
    margin-top: 14px;
    background: #00E58B !important;
    color: #053825 !important;
    font-weight: 700 !important;
    padding: 12px 18px;
    border-radius: 999px;
    text-align: center;
    text-decoration: none !important;
}

@media (max-width: 991px) {
    .gp-legacy-header__nav { display: none; }
    .gp-legacy-header__actions { display: none; }
    .gp-legacy-header__burger { display: flex; }
}
@media (max-width: 480px) {
    .gp-legacy-header__inner { padding: 12px 16px; }
    .gp-legacy-header__brand-name { font-size: 19px; }
}

/* When the B2B header is in use, hide any leftover legacy GAMTING SPORTS
   header rules — they shouldn't conflict because they target .header,
   but kill any !important rules from b2b_legacy.css that touched .header. */
body.gp-legacy-b2b .gp-legacy-header,
body.gp-b2b-apply .gp-legacy-header {
    background: rgba(8, 9, 12, 0.92) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   /about-us extended sections (added 2026-06-05)
   - .gp-about-why         → 6-card "Why agents pick Gamting" grid
   - .gp-about-verticals   → 5 vertical cards + 1 CTA card
   ═══════════════════════════════════════════════════════════════════════════ */
body.gp-legacy-b2b .gp-about-why,
body.gp-legacy-b2b .gp-about-verticals {
    background: var(--gp-bg-0) !important;
    border-top: 1px solid var(--gp-line);
}
body.gp-legacy-b2b .gp-about-why__h2,
body.gp-legacy-b2b .gp-about-verticals__h2 {
    color: var(--gp-text-0) !important;
    font-family: 'General Sans', sans-serif !important;
    font-size: clamp(28px, 4vw, 44px) !important;
    letter-spacing: -0.022em;
    margin-bottom: 14px;
}
body.gp-legacy-b2b .gp-about-why__lede,
body.gp-legacy-b2b .gp-about-verticals__lede {
    color: var(--gp-text-2) !important;
    font-size: 16px;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Why-cards grid */
body.gp-legacy-b2b .gp-about-why__card {
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 14px !important;
    padding: 28px !important;
    height: 100%;
    transition: transform 220ms ease, border-color 220ms ease !important;
}
body.gp-legacy-b2b .gp-about-why__card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 229, 139, 0.28) !important;
}
body.gp-legacy-b2b .gp-about-why__card-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 229, 139, 0.10);
    color: var(--gp-emerald);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}
body.gp-legacy-b2b .gp-about-why__card h3 {
    color: var(--gp-text-0) !important;
    font-family: 'General Sans', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    letter-spacing: -0.015em;
}
body.gp-legacy-b2b .gp-about-why__card p {
    color: var(--gp-text-2) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0;
}

/* Verticals grid */
body.gp-legacy-b2b .gp-about-verticals__card {
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 14px !important;
    padding: 28px !important;
    height: 100%;
    transition: transform 220ms ease, border-color 220ms ease !important;
}
body.gp-legacy-b2b .gp-about-verticals__card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 229, 139, 0.28) !important;
}
body.gp-legacy-b2b .gp-about-verticals__card-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--gp-gold);
    margin-bottom: 14px;
}
body.gp-legacy-b2b .gp-about-verticals__card h3 {
    color: var(--gp-text-0) !important;
    font-family: 'General Sans', sans-serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
}
body.gp-legacy-b2b .gp-about-verticals__card p {
    color: var(--gp-text-2) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0;
}

/* CTA card at end of verticals row */
body.gp-legacy-b2b .gp-about-verticals__cta-card {
    background: linear-gradient(135deg, rgba(0, 229, 139, 0.10) 0%, rgba(125, 211, 252, 0.04) 100%) !important;
    border: 1px solid rgba(0, 229, 139, 0.28) !important;
    border-radius: 14px !important;
    padding: 28px !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
body.gp-legacy-b2b .gp-about-verticals__cta-card h3 {
    color: var(--gp-text-0) !important;
    font-family: 'General Sans', sans-serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
}
body.gp-legacy-b2b .gp-about-verticals__cta-card p {
    color: var(--gp-text-1) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px;
}
body.gp-legacy-b2b .gp-about-verticals__cta-btn {
    align-self: flex-start;
    background: var(--gp-emerald) !important;
    color: #053825 !important;
    text-decoration: none !important;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(0, 229, 139, 0.22);
    transition: transform 200ms ease, box-shadow 200ms ease;
}
body.gp-legacy-b2b .gp-about-verticals__cta-btn:hover {
    transform: translateY(-1px);
    color: #053825 !important;
    box-shadow: 0 12px 30px rgba(0, 229, 139, 0.34);
}

/* About-content extended lede paragraphs */
body.gp-legacy-b2b .about-content__lede {
    color: var(--gp-text-2) !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

@media (max-width: 575px) {
    body.gp-legacy-b2b .gp-about-why__card,
    body.gp-legacy-b2b .gp-about-verticals__card,
    body.gp-legacy-b2b .gp-about-verticals__cta-card { padding: 22px !important; }
    body.gp-legacy-b2b .gp-about-verticals__card h3 { font-size: 19px !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   USER DASHBOARD: vertical access cards (replaced the 5 emerald pill buttons).
   Markup: .gd-platform-grid → .gd-platform-card (icon + label + arrow)
   ═══════════════════════════════════════════════════════════════════════════ */
body.gp-legacy-b2b .gd-platform-grid {
    margin-bottom: 28px !important;
}
body.gp-legacy-b2b .gd-platform-card {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
    background: var(--gp-bg-1) !important;
    border: 1px solid var(--gp-line) !important;
    border-radius: 14px !important;
    padding: 18px 18px 16px !important;
    text-decoration: none !important;
    color: var(--gp-text-0) !important;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease !important;
}
body.gp-legacy-b2b .gd-platform-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}
body.gp-legacy-b2b .gd-platform-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 229, 139, 0.3) 0%, rgba(125, 211, 252, 0.1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 240ms ease;
    pointer-events: none;
}
body.gp-legacy-b2b .gd-platform-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 229, 139, 0.35) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 229, 139, 0.1) inset;
    color: var(--gp-text-0) !important;
}
body.gp-legacy-b2b .gd-platform-card:hover::before { opacity: 1; }

body.gp-legacy-b2b .gd-platform-card__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(0, 229, 139, 0.10);
    color: var(--gp-emerald);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 240ms ease, transform 240ms ease;
}
body.gp-legacy-b2b .gd-platform-card:hover .gd-platform-card__icon {
    background: rgba(0, 229, 139, 0.18);
    transform: rotate(-3deg) scale(1.04);
}

body.gp-legacy-b2b .gd-platform-card__label {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}
body.gp-legacy-b2b .gd-platform-card__tag {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 9px !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gp-gold) !important;
    line-height: 1;
    margin-bottom: 4px;
}
body.gp-legacy-b2b .gd-platform-card__name {
    color: var(--gp-text-0) !important;
    font-family: 'General Sans', 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* CTA pill inside the card (so the card reads as actionable) */
body.gp-legacy-b2b .gd-platform-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(0, 229, 139, 0.12) !important;
    border: 1px solid rgba(0, 229, 139, 0.32);
    color: var(--gp-emerald) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 999px;
    transition: background 240ms ease, color 240ms ease, transform 240ms ease, border-color 240ms ease;
    white-space: nowrap;
    align-self: stretch;
}
body.gp-legacy-b2b .gd-platform-card:hover .gd-platform-card__cta {
    background: var(--gp-emerald) !important;
    color: #053825 !important;
    border-color: var(--gp-emerald);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 229, 139, 0.28);
}
body.gp-legacy-b2b .gd-platform-card__cta svg {
    transition: transform 240ms ease;
}
body.gp-legacy-b2b .gd-platform-card:hover .gd-platform-card__cta svg {
    transform: translateX(3px);
}

/* Per-vertical accent (subtle — only the tag color differentiates) */
body.gp-legacy-b2b .gd-platform-card[data-vertical="sports"] .gd-platform-card__tag { color: var(--gp-emerald); }
body.gp-legacy-b2b .gd-platform-card[data-vertical="asian"]  .gd-platform-card__tag { color: var(--gp-ice); }
body.gp-legacy-b2b .gd-platform-card[data-vertical="exchange"] .gd-platform-card__tag { color: var(--gp-gold); }
body.gp-legacy-b2b .gd-platform-card[data-vertical="casino"] .gd-platform-card__tag { color: #C084FC; }
body.gp-legacy-b2b .gd-platform-card[data-vertical="trade"]  .gd-platform-card__tag { color: #F472B6; }

@media (max-width: 575px) {
    body.gp-legacy-b2b .gd-platform-card { padding: 14px 14px !important; }
    body.gp-legacy-b2b .gd-platform-card__icon { width: 38px; height: 38px; }
    body.gp-legacy-b2b .gd-platform-card__name { font-size: 13px !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   USER DASHBOARD: color-code the d-widget stat cards by semantic.
   The blade now has modifier classes (d-widget-balance / d-widget-deposit /
   d-widget-withdraw / d-widget-invest / d-widget-win / d-widget-loss) on
   every stat card, including the Casino + Trade rows. Each gets a tinted
   icon background matching its meaning.
   ═══════════════════════════════════════════════════════════════════════════ */
/* Balance / Deposit → gold (accumulation) */
body.gp-legacy-b2b .d-widget.dashbaord-widget-card .d-widget-icon {
    background: rgba(0, 229, 139, 0.14) !important;
    color: var(--gp-emerald) !important;
}
body.gp-legacy-b2b .d-widget-balance .d-widget-icon {
    background: rgba(244, 195, 65, 0.14) !important;
    color: var(--gp-gold) !important;
}
body.gp-legacy-b2b .d-widget-deposit .d-widget-icon {
    background: rgba(0, 229, 139, 0.14) !important;
    color: var(--gp-emerald) !important;
}
body.gp-legacy-b2b .d-widget-withdraw .d-widget-icon {
    background: rgba(255, 107, 107, 0.14) !important;
    color: #FF8B8B !important;
}
body.gp-legacy-b2b .d-widget-invest .d-widget-icon {
    background: rgba(125, 211, 252, 0.14) !important;
    color: var(--gp-ice) !important;
}
body.gp-legacy-b2b .d-widget-win .d-widget-icon {
    background: rgba(0, 229, 139, 0.14) !important;
    color: var(--gp-emerald) !important;
}
body.gp-legacy-b2b .d-widget-loss .d-widget-icon {
    background: rgba(255, 107, 107, 0.14) !important;
    color: #FF8B8B !important;
}
