/* STOP WALLET 3.5 — premium sidebar */
.sw-sidebar-shell{height:100%;position:relative;overflow:hidden;padding:20px 13px 13px;color:#fff;background:linear-gradient(155deg,#061630 0%,#071d3f 52%,#0a214a 100%);border-right:1px solid rgba(255,255,255,.07)}.sw-sidebar-shell:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#17c991,#13aee8,#7139ee,#17c991)}.sw-sidebar-glow{position:absolute;width:230px;height:230px;right:-120px;bottom:80px;border-radius:50%;background:rgba(38,105,255,.18);filter:blur(35px)}.sw-sidebar-brand-wrap{position:relative;display:flex;align-items:center;justify-content:space-between;padding:0 9px 18px}.sw-sidebar-brand{display:flex;align-items:center;gap:11px}.sw-sidebar-logo{width:46px;height:46px;border-radius:14px;background:linear-gradient(140deg,#5c1df5,#4052e7 55%,#11bd8b);display:grid;place-items:center;position:relative;box-shadow:0 10px 24px rgba(70,45,230,.28)}.sw-sidebar-logo-mark{width:21px;height:25px;border:2px solid #fff;border-radius:8px 8px 11px 11px;transform:rotate(45deg);position:relative}.sw-sidebar-logo-mark:after{content:"";width:6px;height:6px;border:1.5px solid #fff;border-radius:2px;position:absolute;right:0;bottom:1px}.sw-sidebar-brand-copy{display:flex;flex-direction:column}.sw-sidebar-brand-copy strong{font-size:17px;line-height:1.1;letter-spacing:.3px}.sw-sidebar-brand-copy small{font-size:10px;color:#8fa4c6;margin-top:3px}.sw-sidebar-close{display:none}.sw-sidebar-user{position:relative;display:flex;align-items:center;gap:10px;padding:11px;margin:0 2px 18px;border:1px solid rgba(255,255,255,.10);border-radius:17px;background:rgba(255,255,255,.07);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}.sw-sidebar-user:before{content:"";position:absolute;left:-1px;top:11px;bottom:11px;width:3px;border-radius:0 4px 4px 0;background:#18c995}.sw-sidebar-avatar{position:relative;flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#f6d55e;overflow:visible}.sw-sidebar-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.sw-sidebar-avatar>span{display:grid;place-items:center;width:100%;height:100%;color:#17233b;font-weight:800}.sw-sidebar-avatar i{position:absolute;right:-1px;bottom:1px;width:11px;height:11px;background:#18d078;border:2px solid #0b2043;border-radius:50%}.sw-sidebar-user-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.sw-sidebar-user-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sw-sidebar-user-copy small{font-size:9px;color:#94a8c7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sw-sidebar-user-copy small i{display:inline-block;width:5px;height:5px;background:#18d078;border-radius:50%;margin-right:5px}.sw-sidebar-user-arrow{font-size:21px;color:#7f95b9}.sw-sidebar-section-label{display:flex;align-items:center;gap:8px;margin:0 11px 8px;color:#7287aa;font-size:9px;font-weight:800;letter-spacing:1.7px}.sw-sidebar-section-label span{height:1px;flex:1;background:rgba(129,154,194,.22)}.sw-sidebar-section-label span:first-child{max-width:25px}.sw-sidebar-nav{height:calc(100vh - 220px);overflow-y:auto;padding:0 2px 8px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.13) transparent}.sw-sidebar-nav::-webkit-scrollbar{width:4px}.sw-sidebar-nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.13);border-radius:20px}.sw-sidebar-item{min-height:46px;display:flex;align-items:center;gap:11px;padding:6px 11px;border-radius:13px;color:#c8d3e6;position:relative;margin-bottom:3px;transition:.2s}.sw-sidebar-item:hover{background:rgba(255,255,255,.07);color:#fff;transform:translateX(2px)}.sw-sidebar-item.is-active{background:linear-gradient(100deg,rgba(24,201,149,.21),rgba(14,153,221,.13));color:#fff;border:1px solid rgba(31,203,161,.15);box-shadow:0 8px 20px rgba(0,0,0,.10)}.sw-sidebar-item.is-active:before{content:"";position:absolute;left:-1px;top:8px;bottom:8px;width:3px;border-radius:0 4px 4px 0;background:linear-gradient(180deg,#1bd59d,#0da8ed);box-shadow:0 0 10px rgba(27,213,157,.5)}.sw-sidebar-icon{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;color:#8fa6ca;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.045);flex:0 0 31px}.sw-sidebar-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sw-sidebar-item.is-active .sw-sidebar-icon{color:#fff;background:linear-gradient(135deg,#18c995,#159ee7);border-color:transparent;box-shadow:0 5px 15px rgba(21,174,211,.2)}.sw-sidebar-title{font-size:12px;font-weight:650;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sw-sidebar-arrow{font-size:19px;font-weight:300;color:#6d83a6;transition:.2s}.sw-sidebar-item:hover .sw-sidebar-arrow,.sw-sidebar-item.is-active .sw-sidebar-arrow{color:#fff;transform:translateX(2px)}.sw-sidebar-footer{position:absolute;left:13px;right:13px;bottom:13px;padding-top:9px;border-top:1px solid rgba(255,255,255,.08)}.sw-sidebar-logout{display:flex;align-items:center;gap:11px;min-height:44px;padding:6px 11px;border-radius:12px;color:#ff6a85}.sw-sidebar-logout:hover{background:rgba(255,72,104,.09);color:#fff}.sw-sidebar-logout strong{font-size:12px;flex:1}.sw-sidebar-logout .sw-sidebar-icon{color:#ff5c79;background:rgba(255,72,104,.08)}
@media(max-width:992px){.sw-sidebar-close{display:block;border:0;background:rgba(255,255,255,.06);color:#fff;width:34px;height:34px;border-radius:10px;font-size:23px;line-height:1;cursor:pointer}.sw-sidebar-nav{height:calc(100vh - 220px)}}

/* Balligo BSoft — reference sidebar */
.sw-sidebar-shell{padding:19px 16px 14px;background:linear-gradient(160deg,#061633 0%,#061c3f 55%,#0a2350 100%);}
.sw-sidebar-shell:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(16,115,255,.05),transparent 38%,rgba(88,44,238,.08));}
.sw-sidebar-brand-wrap,.sw-sidebar-user,.sw-sidebar-section-label,.sw-sidebar-nav,.sw-sidebar-footer{position:relative;z-index:2}
.sw-sidebar-brand-wrap{padding:0 8px 20px}
.sw-sidebar-logo{width:46px;height:46px;border-radius:14px}
.sw-sidebar-brand-copy strong{font-size:18px;letter-spacing:.2px}
.sw-sidebar-user{margin:0 0 19px;padding:11px 12px;border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.055));border-color:rgba(255,255,255,.12)}
.sw-sidebar-item{min-height:46px;margin:2px 0;padding:0 13px;border-radius:13px;color:#d9e5f7}
.sw-sidebar-item:hover{background:rgba(255,255,255,.065);color:#fff}
.sw-sidebar-item.is-active{background:linear-gradient(90deg,#0b9f8c 0%,#087d9d 48%,#095a9e 100%);box-shadow:0 9px 24px rgba(0,180,170,.16);color:#fff}
.sw-sidebar-icon{width:25px;height:25px}
.sw-sidebar-icon svg{width:21px;height:21px}
.sw-sidebar-title{font-size:13px;font-weight:700}
.sw-sidebar-arrow{font-size:22px;color:#8ca1bf}
.sw-sidebar-item.is-active .sw-sidebar-arrow{color:#fff}
.sw-sidebar-section-label{margin:4px 7px 9px}
.sw-sidebar-footer{padding-top:12px;margin:8px 7px 0;border-top:1px solid rgba(255,255,255,.10)}
.sw-sidebar-logout{min-height:46px;padding:0 10px;border-radius:12px;color:#ff5368}
.sw-sidebar-logout:hover{background:rgba(255,74,96,.07)}


/* Balligo BSoft 1.2.6 — sidebar vertical spacing / WP admin-bar safe area */
#bbs-dashboard.sw-dashboard-shell > .sw-sidebar > .sw-sidebar-shell{
    box-sizing:border-box !important;
    height:100% !important;
    min-height:0 !important;
    padding:26px 16px 20px !important;
    display:flex !important;
    flex-direction:column !important;
}
#bbs-dashboard.sw-dashboard-shell > .sw-sidebar > .sw-sidebar-shell .sw-sidebar-brand-wrap{
    flex:0 0 auto !important;
    margin-top:2px !important;
    padding-bottom:18px !important;
}
#bbs-dashboard.sw-dashboard-shell > .sw-sidebar > .sw-sidebar-shell .sw-sidebar-user{
    flex:0 0 auto !important;
    margin-bottom:18px !important;
}
#bbs-dashboard.sw-dashboard-shell > .sw-sidebar > .sw-sidebar-shell .sw-sidebar-section-label{
    flex:0 0 auto !important;
    margin-top:2px !important;
    margin-bottom:10px !important;
}
#bbs-dashboard.sw-dashboard-shell > .sw-sidebar > .sw-sidebar-shell .sw-sidebar-nav{
    flex:1 1 auto !important;
    min-height:0 !important;
    height:auto !important;
    max-height:none !important;
    padding-bottom:10px !important;
}
#bbs-dashboard.sw-dashboard-shell > .sw-sidebar > .sw-sidebar-shell .sw-sidebar-footer{
    left:16px !important;
    right:16px !important;
    bottom:16px !important;
}

/* When WordPress admin bar is present, keep the sidebar completely visible below it. */
body.admin-bar #bbs-dashboard.sw-dashboard-shell > .sw-sidebar{
    top:32px !important;
    bottom:0 !important;
    height:calc(100vh - 32px) !important;
}

@media (max-width:782px){
    #bbs-dashboard.sw-dashboard-shell > .sw-sidebar > .sw-sidebar-shell{
        padding:20px 14px 18px !important;
    }
    #bbs-dashboard.sw-dashboard-shell > .sw-sidebar > .sw-sidebar-shell .sw-sidebar-footer{
        left:14px !important;
        right:14px !important;
        bottom:14px !important;
    }
    body.admin-bar #bbs-dashboard.sw-dashboard-shell > .sw-sidebar{
        top:46px !important;
        height:calc(100dvh - 46px) !important;
    }
}


/* Balligo BSoft — hierarchical sidebar / accordion menus */
.sw-sidebar-node{position:relative}.sw-sidebar-row{display:flex;align-items:center;margin:2px 0}.sw-sidebar-row>.sw-sidebar-item{flex:1;min-width:0;margin:0;padding-right:8px}.sw-sidebar-row>.sw-sidebar-item .sw-sidebar-arrow{display:none}.sw-sidebar-submenu-toggle{width:38px;min-width:38px;height:44px;margin-left:-2px;border:0;background:transparent;color:#7f95b9;border-radius:10px;display:grid;place-items:center;cursor:pointer;font-size:22px;line-height:1;transition:background .2s,color .2s}.sw-sidebar-submenu-toggle:hover{background:rgba(255,255,255,.07);color:#fff}.sw-sidebar-submenu-toggle>span{display:block;transition:transform .2s ease}.sw-sidebar-node.is-open>.sw-sidebar-row .sw-sidebar-submenu-toggle>span{transform:rotate(90deg)}.sw-sidebar-node.is-open>.sw-sidebar-row .sw-sidebar-submenu-toggle{color:#fff}.sw-sidebar-item.is-parent-active{color:#fff;background:rgba(24,201,149,.075)}.sw-sidebar-item.is-parent-active .sw-sidebar-icon{color:#bff8e6;border-color:rgba(31,203,161,.12)}.sw-sidebar-submenu{display:none;margin:2px 0 4px 18px;padding:3px 0 3px 10px;border-left:1px solid rgba(129,154,194,.20)}.sw-sidebar-submenu.is-open{display:block}.sw-sidebar-submenu .sw-sidebar-row{margin:1px 0}.sw-sidebar-submenu .sw-sidebar-item{min-height:40px;padding-left:9px;border-radius:10px}.sw-sidebar-submenu .sw-sidebar-icon{width:27px;height:27px;flex-basis:27px;border-radius:8px}.sw-sidebar-submenu .sw-sidebar-icon svg{width:16px;height:16px}.sw-sidebar-submenu .sw-sidebar-title{font-size:11.5px;font-weight:650}.sw-sidebar-submenu .sw-sidebar-submenu-toggle{width:34px;min-width:34px;height:38px;font-size:20px}.sw-sidebar-submenu .sw-sidebar-submenu{margin-left:16px;padding-left:9px;border-left-color:rgba(129,154,194,.16)}.sw-sidebar-submenu .sw-sidebar-item.is-active{background:linear-gradient(90deg,rgba(24,201,149,.20),rgba(14,153,221,.10));border-color:rgba(31,203,161,.12)}.sw-sidebar-submenu .sw-sidebar-item.is-parent-active{background:rgba(255,255,255,.045)}
@media(max-width:992px){.sw-sidebar-submenu{margin-left:12px;padding-left:8px}.sw-sidebar-submenu-toggle{width:42px;min-width:42px}}



/* ============================================================
   BALLIGO BSOFT — GLOBAL PREMIUM UI OVERRIDE
   VISUAL ONLY / NO FUNCTION OR LOGIC CHANGE
   ============================================================ */

:root{
    --bbs-premium-primary:#087f5b;
    --bbs-premium-primary-dark:#064d3a;
    --bbs-premium-secondary:#12a978;
    --bbs-premium-gold:#c9a43a;
    --bbs-premium-ink:#17232c;
    --bbs-premium-muted:#71808b;
    --bbs-premium-line:#e1ebe7;
    --bbs-premium-soft:#f3f9f6;
    --bbs-premium-white:#fff;
    --bbs-premium-shadow:0 14px 42px rgba(18,42,52,.075);
}

/* ---------- Centered application canvas ---------- */

#balligo-bsoft-app-shell .bbs-dashboard,
#balligo-bsoft-app-shell .bbs-main,
#balligo-bsoft-app-shell .bbs-content{
    box-sizing:border-box;
}

#balligo-bsoft-app-shell .bbs-content{
    width:100%;
}

/* ---------- Typography / first-letter capitalization ---------- */

#balligo-bsoft-app-shell h1,
#balligo-bsoft-app-shell h2,
#balligo-bsoft-app-shell h3,
#balligo-bsoft-app-shell h4,
#balligo-bsoft-app-shell h5,
#balligo-bsoft-app-shell button,
#balligo-bsoft-app-shell label,
#balligo-bsoft-app-shell th,
#balligo-bsoft-app-shell .bbs-status,
.bbs-donation-wrap h1,
.bbs-donation-wrap h2,
.bbs-donation-wrap h3,
.bbs-donation-wrap h4,
.bbs-donation-wrap button,
.bbs-donation-wrap label,
.bbs-campaign-builder h1,
.bbs-campaign-builder h2,
.bbs-campaign-builder h3,
.bbs-campaign-builder h4,
.bbs-campaign-builder button,
.bbs-campaign-builder label,
.bbs-approved-campaigns h1,
.bbs-approved-campaigns h2,
.bbs-approved-campaigns h3,
.bbs-approved-campaigns h4,
.bbs-approved-campaigns button,
.bbs-approved-campaigns label{
    text-transform:capitalize;
}

/* ---------- Universal premium controls ---------- */

#balligo-bsoft-app-shell input,
#balligo-bsoft-app-shell select,
#balligo-bsoft-app-shell textarea,
.bbs-donation-wrap input,
.bbs-donation-wrap select,
.bbs-donation-wrap textarea,
.bbs-campaign-builder input,
.bbs-campaign-builder select,
.bbs-campaign-builder textarea{
    border-radius:11px;
    transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}

#balligo-bsoft-app-shell input:focus,
#balligo-bsoft-app-shell select:focus,
#balligo-bsoft-app-shell textarea:focus,
.bbs-donation-wrap input:focus,
.bbs-donation-wrap select:focus,
.bbs-donation-wrap textarea:focus,
.bbs-campaign-builder input:focus,
.bbs-campaign-builder select:focus,
.bbs-campaign-builder textarea:focus{
    border-color:var(--bbs-premium-primary) !important;
    box-shadow:0 0 0 4px rgba(8,127,91,.075) !important;
    outline:none;
}

#balligo-bsoft-app-shell button,
.bbs-donation-wrap button,
.bbs-campaign-builder button{
    border-radius:10px;
}

/* ============================================================
   BASIC DASHBOARD
   ============================================================ */

#balligo-bsoft-app-shell .bbs-dashboard{
    --bbs-dashboard-primary:var(--bbs-premium-primary);
    --bbs-dashboard-dark:var(--bbs-premium-primary-dark);
}

#balligo-bsoft-app-shell .bbs-main{
    min-width:0;
}

#balligo-bsoft-app-shell .bbs-content{
    padding:24px;
}

#balligo-bsoft-app-shell .bbs-header{
    border-radius:18px;
    box-shadow:0 8px 28px rgba(18,42,52,.055);
}

#balligo-bsoft-app-shell .bbs-card,
#balligo-bsoft-app-shell .bbs-panel,
#balligo-bsoft-app-shell .bbs-section,
#balligo-bsoft-app-shell .bbs-overview-card,
#balligo-bsoft-app-shell .bbs-wallet-card,
#balligo-bsoft-app-shell .bbs-transaction-card,
#balligo-bsoft-app-shell .bbs-service-card{
    border-radius:17px;
    box-shadow:var(--bbs-premium-shadow);
}

#balligo-bsoft-app-shell .bbs-menu a{
    border-radius:11px;
    transition:.2s ease;
}

#balligo-bsoft-app-shell .bbs-menu a:hover,
#balligo-bsoft-app-shell .bbs-menu li.active a{
    transform:translateX(2px);
}

/* Dashboard headings */
#balligo-bsoft-app-shell .bbs-page-title,
#balligo-bsoft-app-shell .bbs-content h1,
#balligo-bsoft-app-shell .bbs-content h2{
    font-weight:900;
}

/* Dashboard buttons */
#balligo-bsoft-app-shell .bbs-btn,
#balligo-bsoft-app-shell .bbs-button,
#balligo-bsoft-app-shell button[type="submit"]{
    border:0;
    background:linear-gradient(135deg,var(--bbs-premium-primary),var(--bbs-premium-primary-dark));
    color:#fff;
    font-weight:850;
    box-shadow:0 8px 18px rgba(8,127,91,.14);
}

#balligo-bsoft-app-shell .bbs-btn:hover,
#balligo-bsoft-app-shell .bbs-button:hover,
#balligo-bsoft-app-shell button[type="submit"]:hover{
    transform:translateY(-1px);
    filter:brightness(1.04);
}

/* ============================================================
   PREMIUM ACCOUNT
   ============================================================ */

.account-grid,
.active-accounts{
    width:min(1100px,100%);
    margin-left:auto !important;
    margin-right:auto !important;
}

.account-grid{
    gap:16px;
}

.account-card{
    border:1px solid var(--bbs-premium-line) !important;
    border-radius:18px !important;
    background:linear-gradient(180deg,#fff,#f9fcfb) !important;
    box-shadow:var(--bbs-premium-shadow) !important;
    overflow:hidden;
}

.account-card:before{
    content:"";
    display:block;
    height:3px;
    background:linear-gradient(90deg,var(--bbs-premium-primary),var(--bbs-premium-gold));
}

.account-card .upgrade-btn{
    border-radius:10px !important;
    background:linear-gradient(135deg,var(--bbs-premium-primary),var(--bbs-premium-primary-dark)) !important;
    color:#fff !important;
    box-shadow:0 8px 18px rgba(8,127,91,.14);
}

/* ============================================================
   WALLET
   ============================================================ */

.bbs-wallet-card,
.bbs-wallet-form,
.bbs-wallet-panel{
    border-radius:21px !important;
}

.bbs-wallet-header{
    border-radius:20px !important;
    background:linear-gradient(135deg,var(--bbs-premium-primary-dark),var(--bbs-premium-primary),var(--bbs-premium-secondary)) !important;
    box-shadow:0 18px 45px rgba(8,127,91,.16);
}

.bbs-wallet-logo,
.bbs-wallet-form-icon{
    border-radius:14px !important;
}

.bbs-wallet-balance{
    border-radius:16px !important;
}

.bbs-wallet-card button,
.bbs-wallet-form button,
.bbs-wallet-panel button{
    border-radius:10px !important;
}

/* ============================================================
   CHECKOUT
   ============================================================ */

.bbs-checkout{
    width:min(1080px,100%);
    margin-left:auto !important;
    margin-right:auto !important;
    border-radius:23px !important;
}

.bbs-checkout-head{
    border-radius:20px !important;
    background:linear-gradient(135deg,var(--bbs-premium-primary-dark),var(--bbs-premium-primary),var(--bbs-premium-secondary)) !important;
    box-shadow:0 18px 45px rgba(8,127,91,.15);
}

.bbs-checkout-section,
.bbs-checkout-grid > *,
.bbs-checkout-card{
    border-radius:15px !important;
}

.bbs-step{
    border-radius:11px !important;
}

/* ============================================================
   PAYMENT METHOD
   ============================================================ */

.bbs-pm,
.bbs-pm-settings{
    width:min(1120px,100%);
    margin-left:auto !important;
    margin-right:auto !important;
}

.bbs-pm-settings-hero,
.bbs-pm-hero-main{
    border-radius:21px !important;
    background:linear-gradient(135deg,var(--bbs-premium-primary-dark),var(--bbs-premium-primary),var(--bbs-premium-secondary)) !important;
    box-shadow:0 18px 45px rgba(8,127,91,.15);
}

.bbs-pm-settings-form,
.bbs-pm-card,
.bbs-pm-section{
    border-radius:17px !important;
}

/* ============================================================
   PROFILE
   ============================================================ */

.bbs-profile-container,
.bbs-profile-wrapper{
    width:min(1120px,100%);
    margin-left:auto !important;
    margin-right:auto !important;
}

.bbs-profile-header{
    border-radius:23px !important;
    background:linear-gradient(135deg,var(--bbs-premium-primary-dark),var(--bbs-premium-primary),var(--bbs-premium-secondary)) !important;
    box-shadow:0 18px 48px rgba(8,127,91,.15);
}

.bbs-profile-card,
.bbs-profile-section,
.bbs-profile-form-card{
    border-radius:17px !important;
    box-shadow:var(--bbs-premium-shadow);
}

/* ============================================================
   AUTH — LOGIN / REGISTER / FORGOT
   ============================================================ */

.bbs-login-wrapper,
.bbs-register-wrapper,
.bbs-auth-wrapper{
    width:100%;
}

.bbs-login-card,
.bbs-register-card,
.bbs-auth-card{
    border-radius:24px !important;
    box-shadow:0 25px 70px rgba(18,42,52,.12) !important;
}

.bbs-login-icon,
.bbs-register-icon{
    border-radius:15px !important;
}

.bbs-login-card button,
.bbs-register-card button,
.bbs-auth-card button,
.bbs-auth-wrapper button{
    border-radius:11px !important;
    background:linear-gradient(135deg,var(--bbs-premium-primary),var(--bbs-premium-primary-dark)) !important;
    color:#fff !important;
    border:0 !important;
    box-shadow:0 9px 20px rgba(8,127,91,.15);
}

.bbs-login-card input,
.bbs-register-card input,
.bbs-auth-card input{
    border-radius:11px !important;
}

/* ============================================================
   LEDGER
   ============================================================ */

.bbs-ledger-wrapper{
    width:min(1120px,100%);
    margin-left:auto !important;
    margin-right:auto !important;
}

.bbs-ledger-card{
    border-radius:21px !important;
    border:1px solid var(--bbs-premium-line) !important;
    box-shadow:var(--bbs-premium-shadow) !important;
}

.bbs-ledger-header{
    border-radius:20px !important;
    background:linear-gradient(135deg,var(--bbs-premium-primary-dark),var(--bbs-premium-primary),var(--bbs-premium-secondary)) !important;
}

.bbs-ledger-icon{
    border-radius:13px !important;
}

/* ============================================================
   DONATION — ALL PAGES
   ============================================================ */

.bbs-donation-wrap{
    width:min(1240px,100%);
    margin-left:auto !important;
    margin-right:auto !important;
}

.bbs-donation-hero{
    border-radius:25px !important;
    background:
        radial-gradient(circle at 90% 15%,rgba(255,255,255,.14),transparent 27%),
        linear-gradient(135deg,var(--bbs-premium-primary-dark),var(--bbs-premium-primary),var(--bbs-premium-secondary)) !important;
}

.bbs-donation-stats{
    width:100%;
}

.bbs-donation-stats > div,
.bbs-donation-panel,
.bbs-dashboard-campaign{
    border-radius:17px !important;
}

.bbs-donation-panel{
    box-shadow:var(--bbs-premium-shadow) !important;
}

.bbs-dashboard-campaign{
    overflow:hidden;
}

.bbs-dashboard-actions .bbs-donation-btn,
.bbs-donation-btn{
    border-radius:10px !important;
}

.bbs-donation-table{
    border-radius:13px;
    overflow:hidden;
}

/* ============================================================
   APPROVED CAMPAIGNS
   ============================================================ */

.bbs-approved-campaigns{
    width:min(1240px,100%);
    margin-left:auto !important;
    margin-right:auto !important;
}

.bbs-approved-campaigns__header{
    border-radius:24px !important;
    background:
        radial-gradient(circle at 92% 12%,rgba(255,255,255,.14),transparent 24%),
        linear-gradient(135deg,var(--bbs-premium-primary-dark),var(--bbs-premium-primary),var(--bbs-premium-secondary)) !important;
}

.bbs-approved-campaign-card{
    border-radius:20px !important;
}

.bbs-approved-campaign-view{
    border-radius:10px !important;
}

/* ============================================================
   CAMPAIGN BUILDER
   ============================================================ */

.bbs-campaign-builder{
    width:min(1080px,100%);
    margin-left:auto !important;
    margin-right:auto !important;
}

.bbs-campaign-builder__header{
    border-radius:24px !important;
    background:
        radial-gradient(circle at 90% 15%,rgba(255,255,255,.14),transparent 27%),
        linear-gradient(135deg,var(--bbs-premium-primary-dark),var(--bbs-premium-primary),var(--bbs-premium-secondary)) !important;
}

.bbs-campaign-form,
.bbs-builder-field,
.bbs-builder-section__header,
.bbs-donation-verification-builder{
    border-radius:17px !important;
}

.bbs-campaign-form__footer .bbs-donation-submit{
    border-radius:13px !important;
    background:linear-gradient(135deg,var(--bbs-premium-primary),var(--bbs-premium-primary-dark)) !important;
}

/* ============================================================
   ADMIN
   ============================================================ */

.bbsoft-dashboard,
.balligo-admin-box,
.bbsoft-dashboard-box,
.balligo-module-card,
.bbsoft-dashboard-card{
    border-radius:18px !important;
}

.bbsoft-dashboard-card,
.balligo-module-card{
    box-shadow:var(--bbs-premium-shadow) !important;
}

.bbsoft-dashboard h1,
.balligo-admin-box h2,
.bbsoft-dashboard-box h2{
    text-transform:capitalize;
}

.bbsoft-dashboard .button,
.balligo-admin-box .button,
.bbsoft-dashboard-box .button{
    border-radius:10px !important;
}

/* ============================================================
   DEBUG
   ============================================================ */

.bbs-debug-header,
.bbs-debug-card,
.bbs-debug-panel{
    border-radius:18px !important;
}

.bbs-debug-button{
    border-radius:10px !important;
}

/* ============================================================
   RESPONSIVE CENTERING
   ============================================================ */

@media(max-width:900px){
    #balligo-bsoft-app-shell .bbs-content{
        padding:17px;
    }

    .bbs-dashboard-campaign-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:680px){
    #balligo-bsoft-app-shell .bbs-content{
        padding:11px;
    }

    .bbs-dashboard-campaign-grid{
        grid-template-columns:1fr;
    }

    .bbs-donation-wrap,
    .bbs-approved-campaigns,
    .bbs-campaign-builder,
    .bbs-checkout,
    .bbs-pm,
    .bbs-pm-settings,
    .bbs-profile-container,
    .bbs-profile-wrapper,
    .bbs-ledger-wrapper,
    .account-grid,
    .active-accounts{
        padding-left:6px;
        padding-right:6px;
    }

    .bbs-donation-stats{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:430px){
    .bbs-donation-stats{
        grid-template-columns:1fr;
    }

    .bbs-panel-head{
        align-items:flex-start;
        flex-direction:column;
    }

    .bbs-edit-grid{
        grid-template-columns:1fr;
    }
}

@media(prefers-reduced-motion:reduce){
    #balligo-bsoft-app-shell *,
    .bbs-donation-wrap *,
    .bbs-campaign-builder *,
    .bbs-approved-campaigns *{
        transition-duration:.01ms !important;
        animation-duration:.01ms !important;
    }
}



/* ============================================================
   BALLIGO BSOFT — PREMIUM BLUE + PURPLE VISUAL SYSTEM
   VISUAL ONLY / NO FUNCTION OR LOGIC CHANGE
   ============================================================ */
:root{
    --bbs-premium-primary:#2563eb;
    --bbs-premium-primary-dark:#4338ca;
    --bbs-premium-secondary:#7c3aed;
    --bbs-premium-accent:#8b5cf6;
    --bbs-premium-soft:#f5f7ff;
    --bbs-premium-soft-2:#eef2ff;
    --bbs-premium-ink:#172033;
    --bbs-premium-muted:#68758a;
    --bbs-premium-line:#dfe4f2;
    --bbs-premium-white:#fff;
    --bbs-premium-shadow:0 14px 42px rgba(57,66,120,.10);
    --bbs-gradient:linear-gradient(135deg,#2563eb 0%,#4f46e5 48%,#7c3aed 100%);
    --bbs-gradient-soft:linear-gradient(135deg,#eef5ff 0%,#f4f0ff 100%);
}

/* Global canvas */
html.balligo-bsoft-app-mode,
body.balligo-bsoft-app-mode{background:#f6f7fc !important;}
#balligo-bsoft-app-shell{background:linear-gradient(145deg,#f7faff 0%,#f5f3ff 100%) !important;}
#balligo-bsoft-app-shell .bbs-dashboard,
#balligo-bsoft-app-shell .bbs-main,
#balligo-bsoft-app-shell .bbs-content{box-sizing:border-box;}
#balligo-bsoft-app-shell .bbs-content{width:100%;}

/* Shared shell/cards */
#balligo-bsoft-app-shell .bbs-header,
#balligo-bsoft-app-shell .bbs-card,
#balligo-bsoft-app-shell .bbs-panel,
#balligo-bsoft-app-shell .bbs-section,
#balligo-bsoft-app-shell .bbs-overview-card,
#balligo-bsoft-app-shell .bbs-wallet-card,
#balligo-bsoft-app-shell .bbs-transaction-card,
#balligo-bsoft-app-shell .bbs-service-card,
#balligo-bsoft-app-shell .bbs-wallet-form,
#balligo-bsoft-app-shell .bbs-wallet-panel,
#balligo-bsoft-app-shell .bbs-checkout,
#balligo-bsoft-app-shell .bbs-checkout-section,
#balligo-bsoft-app-shell .bbs-checkout-card,
#balligo-bsoft-app-shell .bbs-pm-settings-form,
#balligo-bsoft-app-shell .bbs-pm-card,
#balligo-bsoft-app-shell .bbs-pm-section,
#balligo-bsoft-app-shell .bbs-profile-card,
#balligo-bsoft-app-shell .bbs-profile-section,
#balligo-bsoft-app-shell .bbs-profile-form-card,
#balligo-bsoft-app-shell .bbs-ledger-card,
.bbs-donation-panel,
.bbs-dashboard-campaign,
.bbs-campaign-form,
.bbs-builder-field,
.bbs-builder-section__header,
.bbs-approved-campaign-card,
.account-card,
.bbsoft-dashboard-card,
.balligo-module-card{border:1px solid var(--bbs-premium-line) !important;border-radius:16px !important;box-shadow:var(--bbs-premium-shadow) !important;}

#balligo-bsoft-app-shell .bbs-header,
#balligo-bsoft-app-shell .bbs-wallet-header,
#balligo-bsoft-app-shell .bbs-checkout-head,
#balligo-bsoft-app-shell .bbs-pm-settings-hero,
#balligo-bsoft-app-shell .bbs-pm-hero-main,
#balligo-bsoft-app-shell .bbs-profile-header,
#balligo-bsoft-app-shell .bbs-ledger-header,
.bbs-donation-hero,
.bbs-approved-campaigns__header,
.bbs-campaign-builder__header{
    background:var(--bbs-gradient) !important;
    color:#fff !important;
    border-color:rgba(255,255,255,.18) !important;
    border-radius:16px !important;
    box-shadow:0 16px 42px rgba(79,70,229,.20) !important;
}

/* Forms */
#balligo-bsoft-app-shell input,
#balligo-bsoft-app-shell select,
#balligo-bsoft-app-shell textarea,
.bbs-donation-wrap input,
.bbs-donation-wrap select,
.bbs-donation-wrap textarea,
.bbs-campaign-builder input,
.bbs-campaign-builder select,
.bbs-campaign-builder textarea,
.bbs-form-control{
    border:1px solid #d9dfed !important;
    border-radius:12px !important;
    background:#fff !important;
    color:var(--bbs-premium-ink) !important;
    box-shadow:0 4px 14px rgba(57,66,120,.035) !important;
}
#balligo-bsoft-app-shell input:focus,
#balligo-bsoft-app-shell select:focus,
#balligo-bsoft-app-shell textarea:focus,
.bbs-donation-wrap input:focus,
.bbs-donation-wrap select:focus,
.bbs-donation-wrap textarea:focus,
.bbs-campaign-builder input:focus,
.bbs-campaign-builder select:focus,
.bbs-campaign-builder textarea:focus,
.bbs-form-control:focus{
    border-color:#6366f1 !important;
    box-shadow:0 0 0 4px rgba(99,102,241,.12) !important;
    outline:none !important;
}

/* Buttons */
#balligo-bsoft-app-shell button,
#balligo-bsoft-app-shell .bbs-btn,
#balligo-bsoft-app-shell .bbs-button,
#balligo-bsoft-app-shell button[type="submit"],
.bbs-login-card button,
.bbs-register-card button,
.bbs-auth-card button,
.bbs-auth-wrapper button,
.bbs-donation-wrap button,
.bbs-campaign-builder button,
.bbs-campaign-form__footer .bbs-donation-submit,
.bbsoft-dashboard .button,
.balligo-admin-box .button,
.bbsoft-dashboard-box .button{
    border-radius:11px !important;
    border:0 !important;
    background:var(--bbs-gradient) !important;
    color:#fff !important;
    font-weight:800 !important;
    box-shadow:0 8px 20px rgba(79,70,229,.18) !important;
    text-shadow:none !important;
    -webkit-text-fill-color:#fff !important;
}
#balligo-bsoft-app-shell button:hover,
#balligo-bsoft-app-shell .bbs-btn:hover,
#balligo-bsoft-app-shell .bbs-button:hover,
.bbs-login-card button:hover,
.bbs-register-card button:hover,
.bbs-auth-card button:hover,
.bbs-auth-wrapper button:hover,
.bbs-donation-wrap button:hover,
.bbs-campaign-builder button:hover,
.bbsoft-dashboard .button:hover,
.balligo-admin-box .button:hover,
.bbsoft-dashboard-box .button:hover{filter:brightness(1.04);transform:translateY(-1px);}

/* Dashboard / sidebar */
#bbs-dashboard.sw-dashboard-shell{background:linear-gradient(145deg,#f7faff 0%,#f6f3ff 100%) !important;color:var(--bbs-premium-ink) !important;}
.sw-sidebar-shell{background:linear-gradient(160deg,#111b4b 0%,#20205d 48%,#35166b 100%) !important;}
.sw-sidebar-item{color:#dce5ff !important;border-radius:11px !important;}
.sw-sidebar-item:hover{background:rgba(124,92,246,.16) !important;color:#fff !important;}
.sw-sidebar-item.is-active{background:var(--bbs-gradient) !important;color:#fff !important;box-shadow:0 10px 26px rgba(79,70,229,.25) !important;}
.sw-sidebar-item.is-active .sw-sidebar-icon{background:rgba(255,255,255,.16) !important;color:#fff !important;}
.sw-sidebar-icon{border-radius:9px !important;}
.sw-sidebar-section-label{color:#aebcf0 !important;}
.sw-sidebar-logout,.sw-sidebar-logout .sw-sidebar-icon{color:#c7b7ff !important;}
.sw-sidebar-logout:hover{background:rgba(124,92,246,.12) !important;color:#fff !important;}

/* Dashboard content */
#balligo-bsoft-app-shell .bbs-content{padding:24px !important;}
#balligo-bsoft-app-shell .bbs-page-title,
#balligo-bsoft-app-shell .bbs-content h1,
#balligo-bsoft-app-shell .bbs-content h2{color:#18213f !important;font-weight:900;}
#balligo-bsoft-app-shell .bbs-menu a{border-radius:10px !important;}
#balligo-bsoft-app-shell .bbs-menu li.active a{background:linear-gradient(135deg,rgba(37,99,235,.10),rgba(124,58,237,.12)) !important;color:#4338ca !important;}

/* Login / register / auth */
.bbs-login-wrapper,
.bbs-register-wrapper,
.bbs-auth-wrapper{
    background:
        radial-gradient(circle at 10% 10%,rgba(37,99,235,.16),transparent 32%),
        radial-gradient(circle at 90% 85%,rgba(124,58,237,.16),transparent 34%),
        linear-gradient(135deg,#f7faff 0%,#eef4ff 46%,#f7f1ff 100%) !important;
}
.bbs-login-card,
.bbs-register-card,
.bbs-auth-card{
    border:1px solid rgba(99,102,241,.14) !important;
    border-radius:20px !important;
    box-shadow:0 24px 65px rgba(55,65,130,.14) !important;
    background:rgba(255,255,255,.88) !important;
    backdrop-filter:blur(14px);
}
.bbs-login-card h1,.bbs-login-card h2,.bbs-register-card h1,.bbs-register-card h2,.bbs-auth-card h1,.bbs-auth-card h2{color:#1b2450 !important;}
.bbs-login-card input,.bbs-register-card input,.bbs-auth-card input{border-radius:12px !important;}

/* Account / profile / wallet */
.account-card{background:linear-gradient(180deg,#fff,#faf9ff) !important;}
.account-card:before{background:var(--bbs-gradient) !important;}
.account-card .upgrade-btn{background:var(--bbs-gradient) !important;color:#fff !important;}
.bbs-wallet-header,.bbs-checkout-head{background:var(--bbs-gradient) !important;}
.bbs-wallet-balance,.bbs-wallet-logo,.bbs-wallet-form-icon{border-radius:12px !important;}
.bbs-profile-container,.bbs-profile-wrapper,.bbs-ledger-wrapper{border-radius:16px !important;}

/* Donation / campaigns */
.bbs-donation-hero,.bbs-approved-campaigns__header,.bbs-campaign-builder__header{background:var(--bbs-gradient) !important;}
.bbs-donation-btn,.bbs-dashboard-actions .bbs-donation-btn,.bbs-approved-campaign-view{border-radius:11px !important;}
.bbs-campaign-form__footer .bbs-donation-submit{background:var(--bbs-gradient) !important;}
.bbs-option-card,.bbs-builder-section,.bbs-premium-taxonomy-field,.bbs-taxonomy-manager{border-radius:13px !important;border-color:var(--bbs-premium-line) !important;}

/* Status / accents */
.bbs-status-success,.sw-status-success{color:#0f8a62 !important;}
.bbs-status-primary,.sw-status-primary{color:#4f46e5 !important;}
.bbs-status-warning{color:#b7791f !important;}
.bbs-link,.bbs-section-head a,.bbs-section-link,.bbs-panel-head>a{color:#4f46e5 !important;}

/* Tables */
.bbs-donation-table,.bbs-ledger-table,.bbs-table,.bbsoft-dashboard table{border-radius:12px !important;overflow:hidden;border-color:var(--bbs-premium-line) !important;}
.bbs-donation-table th,.bbs-ledger-table th,.bbs-table th,.bbsoft-dashboard th{background:linear-gradient(135deg,#eef4ff,#f3efff) !important;color:#34406d !important;}

/* Admin */
.bbsoft-dashboard,
.balligo-admin-box,
.bbsoft-dashboard-box{max-width:1240px !important;margin:0 auto !important;}
.bbsoft-dashboard h1{color:#18213f !important;}
.bbsoft-dashboard-card,.balligo-module-card{background:#fff !important;border:1px solid var(--bbs-premium-line) !important;border-radius:16px !important;box-shadow:var(--bbs-premium-shadow) !important;}
.bbsoft-dashboard-card:hover,.balligo-module-card:hover{border-color:#c7cdf0 !important;box-shadow:0 20px 48px rgba(57,66,120,.13) !important;}
.bbsoft-dashboard .button-primary,.bbsoft-dashboard .button.button-primary,.balligo-admin-box .button-primary{background:var(--bbs-gradient) !important;border-color:transparent !important;color:#fff !important;}
.bbsoft-dashboard input,.bbsoft-dashboard select,.bbsoft-dashboard textarea,.balligo-admin-box input,.balligo-admin-box select,.balligo-admin-box textarea{border:1px solid #d9dfed !important;border-radius:10px !important;}
.bbsoft-dashboard input:focus,.bbsoft-dashboard select:focus,.bbsoft-dashboard textarea:focus,.balligo-admin-box input:focus,.balligo-admin-box select:focus,.balligo-admin-box textarea:focus{border-color:#6366f1 !important;box-shadow:0 0 0 3px rgba(99,102,241,.10) !important;outline:none !important;}

/* Hidden scrollbars, scrolling remains functional */
html,body,#balligo-bsoft-app-shell,#balligo-bsoft-app-shell *,#bbs-dashboard.sw-dashboard-shell,.sw-sidebar-shell,.sw-sidebar-nav{scrollbar-width:none !important;-ms-overflow-style:none !important;}
html::-webkit-scrollbar,body::-webkit-scrollbar,#balligo-bsoft-app-shell::-webkit-scrollbar,#balligo-bsoft-app-shell *::-webkit-scrollbar,#bbs-dashboard.sw-dashboard-shell::-webkit-scrollbar,.sw-sidebar-shell::-webkit-scrollbar,.sw-sidebar-nav::-webkit-scrollbar{width:0 !important;height:0 !important;display:none !important;}

@media(max-width:680px){
    #balligo-bsoft-app-shell .bbs-content{padding:12px !important;}
    #balligo-bsoft-app-shell .bbs-card,#balligo-bsoft-app-shell .bbs-panel,#balligo-bsoft-app-shell .bbs-service-card,.account-card,.bbs-approved-campaign-card,.bbs-dashboard-campaign{border-radius:14px !important;}
    .bbs-login-card,.bbs-register-card,.bbs-auth-card{border-radius:16px !important;}
}
