/* BALLIGO BSOFT — mobile navigation */
.sw-mobile-nav{display:none}

@media(max-width:992px){
    .sw-mobile-nav{
        position:fixed;
        left:0;
        right:0;
        bottom:0;
        height:66px;
        background:rgba(255,255,255,.97);
        border:1px solid #e3eaf2;
        border-radius:20px 20px 0 0;
        box-shadow:0 16px 45px rgba(16,37,67,.16);
        z-index:850;
        display:grid;
        grid-template-columns:repeat(5,1fr);
        align-items:center;
        padding:5px
    }

    .sw-mobile-nav>a{
        height:56px;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:2px;
        color:#7a8799;
        position:relative
    }

    .sw-mobile-nav>a.is-active{
        color:#1a5fd7
    }

    .sw-mobile-icon{
        width:30px;
        height:30px;
        display:grid;
        place-items:center;
        border-radius:10px
    }

    .sw-mobile-nav svg{
        width:19px;
        height:19px;
        fill:none;
        stroke:currentColor;
        stroke-width:1.8;
        stroke-linecap:round;
        stroke-linejoin:round
    }

    .sw-mobile-nav small{
        font-size:12px;
        font-weight:750
    }

    .sw-mobile-qr{
        margin-top:-24px
    }

    .sw-mobile-qr>span{
        width:54px;
        height:54px;
        border-radius:50%;
        display:grid;
        place-items:center;
        background:linear-gradient(135deg,#4d26f4,#145fe8);
        color:#fff;
        border:5px solid #fff;
        box-shadow:0 9px 22px rgba(58,57,210,.28)
    }

    .sw-mobile-qr>span svg{
        width:25px;
        height:25px
    }

    .sw-mobile-qr small{
        margin-top:3px;
        color:#223653
    }
}


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

:root{
    --sw-premium-primary:#2563eb;
    --sw-premium-primary-dark:#4c1d95;
    --sw-premium-secondary:#7c3aed;
    --sw-premium-red:#3b82f6;
    --sw-premium-red-dark:#4f46e5;
    --sw-premium-green:#2563eb;
    --sw-premium-gold:#8b5cf6;
    --sw-premium-ink:#17232c;
    --sw-premium-muted:#64748b;
    --sw-premium-line:rgba(255,255,255,.38);
    --sw-premium-soft:rgba(255,255,255,.58);
    --sw-premium-white:#fff;
    --sw-premium-shadow:0 18px 50px rgba(0,0,0,.10);
}


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

#stop-wallet-app-shell .sw-dashboard,
#stop-wallet-app-shell .sw-main,
#stop-wallet-app-shell .sw-content{
    box-sizing:border-box;
}

#stop-wallet-app-shell .sw-content{
    width:100%;
}


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

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


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

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

#stop-wallet-app-shell input:focus,
#stop-wallet-app-shell select:focus,
#stop-wallet-app-shell textarea:focus,
.sw-donation-wrap input:focus,
.sw-donation-wrap select:focus,
.sw-donation-wrap textarea:focus,
.sw-campaign-builder input:focus,
.sw-campaign-builder select:focus,
.sw-campaign-builder textarea:focus{
    border-color:var(--sw-premium-primary) !important;
    box-shadow:0 0 0 4px rgba(79,70,229,.075) !important;
    outline:none;
}

#stop-wallet-app-shell button,
.sw-donation-wrap button,
.sw-campaign-builder button{
    border-radius:10px;
}


/* ============================================================
   BALLIGO BSOFT — BLUE/PURPLE GLASSMORPHISM UPGRADE
   VISUAL ONLY / NO FUNCTION OR LOGIC CHANGE
   ============================================================ */

#stop-wallet-app-shell,
.sw-donation-wrap,
.sw-campaign-builder,
.sw-approved-campaigns{
    --sw-glass-bg:rgba(255,255,255,.68);
    --sw-glass-bg-strong:rgba(255,255,255,.78);
    --sw-glass-border:rgba(255,255,255,.62);
    --sw-glass-blur:18px;
}


/* Soft blue/purple ambient background */

#stop-wallet-app-shell:before,
.sw-donation-wrap:before,
.sw-campaign-builder:before,
.sw-approved-campaigns:before{
    content:"";
    position:fixed;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:
        radial-gradient(circle at 8% 10%,rgba(59,130,246,.12),transparent 28%),
        radial-gradient(circle at 92% 18%,rgba(124,58,237,.14),transparent 30%),
        radial-gradient(circle at 55% 100%,rgba(99,102,241,.09),transparent 32%);
}


/* Glass surfaces */

#stop-wallet-app-shell .sw-card,
#stop-wallet-app-shell .sw-panel,
#stop-wallet-app-shell .sw-section,
#stop-wallet-app-shell .sw-overview-card,
#stop-wallet-app-shell .sw-wallet-card,
#stop-wallet-app-shell .sw-transaction-card,
#stop-wallet-app-shell .sw-service-card,
.account-card,
.sw-wallet-form,
.sw-wallet-panel,
.sw-checkout-section,
.sw-checkout-grid > *,
.sw-checkout-card,
.sw-pm-settings-form,
.sw-pm-card,
.sw-pm-section,
.sw-profile-card,
.sw-profile-section,
.sw-profile-form-card,
.sw-ledger-card,
.sw-donation-panel,
.sw-dashboard-campaign,
.sw-approved-campaign-card,
.sw-campaign-form,
.sw-builder-field,
.sw-builder-section__header,
.sw-donation-verification-builder,
.sw-dashboard-card,
.balligo-module-card{
    background:var(--sw-glass-bg) !important;
    border:1px solid var(--sw-glass-border) !important;
    box-shadow:
        0 18px 50px rgba(0,0,0,.08),
        inset 0 1px 0 rgba(255,255,255,.72) !important;
    backdrop-filter:blur(var(--sw-glass-blur)) saturate(135%);
    -webkit-backdrop-filter:blur(var(--sw-glass-blur)) saturate(135%);
}


/* Premium blue → purple headers */

.sw-wallet-header,
.sw-checkout-head,
.sw-pm-settings-hero,
.sw-pm-hero-main,
.sw-profile-header,
.sw-ledger-header,
.sw-donation-hero,
.sw-approved-campaigns__header,
.sw-campaign-builder__header{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 12% 15%,rgba(255,255,255,.22),transparent 25%),
        radial-gradient(circle at 88% 85%,rgba(255,255,255,.12),transparent 27%),
        linear-gradient(
            135deg,
            var(--sw-premium-primary-dark) 0%,
            var(--sw-premium-red) 30%,
            var(--sw-premium-primary) 64%,
            var(--sw-premium-secondary) 100%
        ) !important;
    border:1px solid rgba(255,255,255,.24) !important;
    box-shadow:
        0 20px 55px rgba(79,70,229,.18),
        inset 0 1px 0 rgba(255,255,255,.24) !important;
}

.sw-wallet-header:after,
.sw-checkout-head:after,
.sw-pm-settings-hero:after,
.sw-pm-hero-main:after,
.sw-profile-header:after,
.sw-ledger-header:after,
.sw-donation-hero:after,
.sw-approved-campaigns__header:after,
.sw-campaign-builder__header:after{
    content:"";
    position:absolute;
    width:180px;
    height:180px;
    right:-65px;
    top:-80px;
    border-radius:50%;
    background:rgba(255,255,255,.11);
    border:1px solid rgba(255,255,255,.16);
    box-shadow:0 0 55px rgba(255,255,255,.08);
    pointer-events:none;
}


/* Blue/purple premium buttons */

#stop-wallet-app-shell .sw-btn,
#stop-wallet-app-shell .sw-button,
#stop-wallet-app-shell button[type="submit"],
.account-card .upgrade-btn,
.sw-login-card button,
.sw-register-card button,
.sw-auth-card button,
.sw-auth-wrapper button,
.sw-campaign-form__footer .sw-donation-submit{
    background:
        linear-gradient(
            135deg,
            var(--sw-premium-primary-dark) 0%,
            var(--sw-premium-red) 28%,
            var(--sw-premium-primary) 68%,
            var(--sw-premium-secondary) 100%
        ) !important;
    border:1px solid rgba(255,255,255,.22) !important;
    box-shadow:
        0 10px 24px rgba(79,70,229,.18),
        inset 0 1px 0 rgba(255,255,255,.18) !important;
}


/* Glass form controls */

#stop-wallet-app-shell input,
#stop-wallet-app-shell select,
#stop-wallet-app-shell textarea,
.sw-donation-wrap input,
.sw-donation-wrap select,
.sw-donation-wrap textarea,
.sw-campaign-builder input,
.sw-campaign-builder select,
.sw-campaign-builder textarea{
    background:rgba(255,255,255,.72) !important;
    border:1px solid rgba(79,70,229,.16) !important;
    box-shadow:inset 0 1px 2px rgba(0,0,0,.025);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}

#stop-wallet-app-shell input:hover,
#stop-wallet-app-shell select:hover,
#stop-wallet-app-shell textarea:hover,
.sw-donation-wrap input:hover,
.sw-donation-wrap select:hover,
.sw-donation-wrap textarea:hover,
.sw-campaign-builder input:hover,
.sw-campaign-builder select:hover,
.sw-campaign-builder textarea:hover{
    border-color:rgba(37,99,235,.34) !important;
}

#stop-wallet-app-shell input:focus,
#stop-wallet-app-shell select:focus,
#stop-wallet-app-shell textarea:focus,
.sw-donation-wrap input:focus,
.sw-donation-wrap select:focus,
.sw-donation-wrap textarea:focus,
.sw-campaign-builder input:focus,
.sw-campaign-builder select:focus,
.sw-campaign-builder textarea:focus{
    border-color:var(--sw-premium-green) !important;
    box-shadow:
        0 0 0 4px rgba(37,99,235,.10),
        0 8px 24px rgba(124,58,237,.08) !important;
}


/* Account card accent becomes blue → purple */

.account-card:before{
    height:4px;
    background:
        linear-gradient(
            90deg,
            var(--sw-premium-primary),
            var(--sw-premium-gold),
            var(--sw-premium-secondary)
        ) !important;
}


/* Active navigation gets a subtle glass highlight */

#stop-wallet-app-shell .sw-menu a:hover,
#stop-wallet-app-shell .sw-menu li.active a{
    background:
        linear-gradient(
            135deg,
            rgba(59,130,246,.10),
            rgba(124,58,237,.12)
        ) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.65);
}


/* Mobile navigation */

@media(max-width:992px){

    .sw-mobile-nav{
        background:rgba(255,255,255,.72) !important;
        border:1px solid rgba(255,255,255,.78) !important;
        box-shadow:0 18px 48px rgba(0,0,0,.14) !important;
        backdrop-filter:blur(20px) saturate(140%);
        -webkit-backdrop-filter:blur(20px) saturate(140%);
    }

    .sw-mobile-nav>a.is-active{
        color:var(--sw-premium-green);
    }

    .sw-mobile-qr>span{
        background:
            linear-gradient(
                135deg,
                var(--sw-premium-primary) 0%,
                var(--sw-premium-secondary) 100%
            ) !important;
        box-shadow:0 10px 25px rgba(79,70,229,.25);
    }
}


/* Keep the effect elegant on devices without backdrop-filter */

@supports not ((backdrop-filter:blur(1px))){

    #stop-wallet-app-shell .sw-card,
    #stop-wallet-app-shell .sw-panel,
    #stop-wallet-app-shell .sw-section,
    .account-card,
    .sw-wallet-form,
    .sw-wallet-panel,
    .sw-checkout-section,
    .sw-checkout-card,
    .sw-pm-card,
    .sw-pm-section,
    .sw-profile-card,
    .sw-profile-section,
    .sw-ledger-card,
    .sw-donation-panel,
    .sw-dashboard-campaign,
    .sw-approved-campaign-card,
    .sw-campaign-form,
    .sw-builder-field{
        background:#f8fbf9 !important;
    }
}


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

#stop-wallet-app-shell .sw-dashboard{
    --sw-dashboard-primary:var(--sw-premium-primary);
    --sw-dashboard-dark:var(--sw-premium-primary-dark);
}

#stop-wallet-app-shell .sw-main{
    min-width:0;
}

#stop-wallet-app-shell .sw-content{
    padding:24px;
}

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

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

#stop-wallet-app-shell .sw-menu a{
    border-radius:11px;
    transition:.2s ease;
}

#stop-wallet-app-shell .sw-menu a:hover,
#stop-wallet-app-shell .sw-menu li.active a{
    transform:translateX(2px);
}


/* Dashboard headings */

#stop-wallet-app-shell .sw-page-title,
#stop-wallet-app-shell .sw-content h1,
#stop-wallet-app-shell .sw-content h2{
    font-weight:900;
}


/* Dashboard buttons */

#stop-wallet-app-shell .sw-btn,
#stop-wallet-app-shell .sw-button,
#stop-wallet-app-shell button[type="submit"]{
    border:0;
    background:
        linear-gradient(
            135deg,
            var(--sw-premium-primary-dark) 0%,
            var(--sw-premium-red) 24%,
            var(--sw-premium-primary) 68%,
            var(--sw-premium-secondary) 100%
        );
    color:#fff;
    font-weight:850;
    box-shadow:0 8px 18px rgba(79,70,229,.14);
}

#stop-wallet-app-shell .sw-btn:hover,
#stop-wallet-app-shell .sw-button:hover,
#stop-wallet-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(--sw-premium-line) !important;
    border-radius:18px !important;
    background:linear-gradient(180deg,#fff,#f9fcfb) !important;
    box-shadow:var(--sw-premium-shadow) !important;
    overflow:hidden;
}

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

.account-card .upgrade-btn{
    border-radius:10px !important;
    background:
        linear-gradient(
            135deg,
            var(--sw-premium-primary-dark) 0%,
            var(--sw-premium-red) 24%,
            var(--sw-premium-primary) 68%,
            var(--sw-premium-secondary) 100%
        ) !important;
    color:#fff !important;
    box-shadow:0 8px 18px rgba(79,70,229,.14);
}


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

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

.sw-wallet-header{
    border-radius:20px !important;
    background:
        linear-gradient(
            135deg,
            var(--sw-premium-red-dark) 0%,
            var(--sw-premium-red) 28%,
            var(--sw-premium-primary) 66%,
            var(--sw-premium-secondary) 100%
        ) !important;
    box-shadow:0 18px 45px rgba(79,70,229,.16);
}

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

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

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


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

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

.sw-checkout-head{
    border-radius:20px !important;
    background:
        linear-gradient(
            135deg,
            var(--sw-premium-red-dark) 0%,
            var(--sw-premium-red) 28%,
            var(--sw-premium-primary) 66%,
            var(--sw-premium-secondary) 100%
        ) !important;
    box-shadow:0 18px 45px rgba(79,70,229,.15);
}

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

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


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

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

.sw-pm-settings-hero,
.sw-pm-hero-main{
    border-radius:21px !important;
    background:
        linear-gradient(
            135deg,
            var(--sw-premium-red-dark) 0%,
            var(--sw-premium-red) 28%,
            var(--sw-premium-primary) 66%,
            var(--sw-premium-secondary) 100%
        ) !important;
    box-shadow:0 18px 45px rgba(79,70,229,.15);
}

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


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

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

.sw-profile-header{
    border-radius:23px !important;
    background:
        linear-gradient(
            135deg,
            var(--sw-premium-red-dark) 0%,
            var(--sw-premium-red) 28%,
            var(--sw-premium-primary) 66%,
            var(--sw-premium-secondary) 100%
        ) !important;
    box-shadow:0 18px 48px rgba(79,70,229,.15);
}

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


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

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

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

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

.sw-login-card button,
.sw-register-card button,
.sw-auth-card button,
.sw-auth-wrapper button{
    border-radius:11px !important;
    background:
        linear-gradient(
            135deg,
            var(--sw-premium-primary-dark) 0%,
            var(--sw-premium-red) 24%,
            var(--sw-premium-primary) 68%,
            var(--sw-premium-secondary) 100%
        ) !important;
    color:#fff !important;
    border:0 !important;
    box-shadow:0 9px 20px rgba(79,70,229,.15);
}

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


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

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

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

.sw-ledger-header{
    border-radius:20px !important;
    background:
        linear-gradient(
            135deg,
            var(--sw-premium-red-dark) 0%,
            var(--sw-premium-red) 28%,
            var(--sw-premium-primary) 66%,
            var(--sw-premium-secondary) 100%
        ) !important;
}

.sw-ledger-icon{
    border-radius:14px !important;
}


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

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

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

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

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

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

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

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

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


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

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

.sw-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(--sw-premium-red-dark) 0%,
            var(--sw-premium-red) 28%,
            var(--sw-premium-primary) 66%,
            var(--sw-premium-secondary) 100%
        ) !important;
}

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

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


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

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

.sw-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(--sw-premium-red-dark) 0%,
            var(--sw-premium-red) 28%,
            var(--sw-premium-primary) 66%,
            var(--sw-premium-secondary) 100%
        ) !important;
}

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

.sw-campaign-form__footer .sw-donation-submit{
    border-radius:13px !important;
    background:
        linear-gradient(
            135deg,
            var(--sw-premium-primary-dark) 0%,
            var(--sw-premium-red) 24%,
            var(--sw-premium-primary) 68%,
            var(--sw-premium-secondary) 100%
        ) !important;
}


/* ============================================================
   BALLIGO BSOFT — ADMIN
   ============================================================ */

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

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

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

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


/* ============================================================
   BALLIGO BSOFT — DEBUG
   ============================================================ */

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

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


/* ============================================================
   BALLIGO BSOFT — RESPONSIVE CENTERING
   ============================================================ */

@media(max-width:900px){

    #stop-wallet-app-shell .sw-content{
        padding:17px;
    }

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

@media(max-width:680px){

    #stop-wallet-app-shell .sw-content{
        padding:11px;
    }

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

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

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

@media(max-width:430px){

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

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

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

@media(prefers-reduced-motion:reduce){

    #stop-wallet-app-shell *,
    .sw-donation-wrap *,
    .sw-campaign-builder *,
    .sw-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;}
}
