/* 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,#071b10 0%,#0b2a18 52%,#0e3520 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,#d62828,#20a84f,#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:7px;background:linear-gradient(140deg,#d62828,#20a84f 55%,#d62828);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:8px;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:#20a84f}.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:#20a84f;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:#20a84f;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:8px}.sw-sidebar-item{min-height:46px;display:flex;align-items:center;gap:11px;padding:6px 11px;border-radius:7px;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,#20a84f,#d62828);box-shadow:0 0 10px rgba(27,213,157,.5)}.sw-sidebar-icon{width:31px;height:31px;border-radius:6px;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,#20a84f,#d62828);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:7px;color:#d62828}.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:#d62828;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:6px;font-size:23px;line-height:1;cursor:pointer}.sw-sidebar-nav{height:calc(100vh - 220px)}}

/* StopWallet BSoft — reference sidebar */
.sw-sidebar-shell{padding:19px 16px 14px;background:linear-gradient(160deg,#071b10 0%,#0b2a18 55%,#0e3520 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:7px}
.sw-sidebar-brand-copy strong{font-size:18px;letter-spacing:.2px}
.sw-sidebar-user{margin:0 0 19px;padding:11px 12px;border-radius:8px;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:7px;color:#d9e5f7}
.sw-sidebar-item:hover{background:rgba(255,255,255,.065);color:#fff}
.sw-sidebar-item.is-active{background:linear-gradient(90deg,#159447 0%,#1b9b45 48%,#0f7a36 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:7px;color:#d62828}
.sw-sidebar-logout:hover{background:rgba(255,74,96,.07)}


/* StopWallet BSoft 1.2.6 — sidebar vertical spacing / WP admin-bar safe area */
#sw-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;
}
#sw-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;
}
#sw-dashboard.sw-dashboard-shell > .sw-sidebar > .sw-sidebar-shell .sw-sidebar-user{
    flex:0 0 auto !important;
    margin-bottom:18px !important;
}
#sw-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;
}
#sw-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;
}
#sw-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 #sw-dashboard.sw-dashboard-shell > .sw-sidebar{
    top:32px !important;
    bottom:0 !important;
    height:calc(100vh - 32px) !important;
}

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


/* StopWallet 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:6px;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:6px}.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}}



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

:root{
    --sw-premium-primary:#159447;
    --sw-premium-primary-dark:#0b6b32;
    --sw-premium-secondary:#20a84f;
    --sw-premium-gold:#c9a43a;
    --sw-premium-ink:#17232c;
    --sw-premium-muted:#71808b;
    --sw-premium-line:#e1ebe7;
    --sw-premium-soft:#f3f9f6;
    --sw-premium-white:#fff;
    --sw-premium-shadow:0 14px 42px rgba(18,42,52,.075);
}

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

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

#stop_wallet-bsoft-app-shell .sw-content{
    width:100%;
}

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

#stop_wallet-bsoft-app-shell h1,
#stop_wallet-bsoft-app-shell h2,
#stop_wallet-bsoft-app-shell h3,
#stop_wallet-bsoft-app-shell h4,
#stop_wallet-bsoft-app-shell h5,
#stop_wallet-bsoft-app-shell button,
#stop_wallet-bsoft-app-shell label,
#stop_wallet-bsoft-app-shell th,
#stop_wallet-bsoft-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-bsoft-app-shell input,
#stop_wallet-bsoft-app-shell select,
#stop_wallet-bsoft-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:7px;
    transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}

#stop_wallet-bsoft-app-shell input:focus,
#stop_wallet-bsoft-app-shell select:focus,
#stop_wallet-bsoft-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(8,127,91,.075) !important;
    outline:none;
}

#stop_wallet-bsoft-app-shell button,
.sw-donation-wrap button,
.sw-campaign-builder button{
    border-radius:6px;
}

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

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

#stop_wallet-bsoft-app-shell .sw-main{
    min-width:0;
}

#stop_wallet-bsoft-app-shell .sw-content{
    padding:24px;
}

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

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

#stop_wallet-bsoft-app-shell .sw-menu a{
    border-radius:7px;
    transition:.2s ease;
}

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

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

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

#stop_wallet-bsoft-app-shell .sw-btn:hover,
#stop_wallet-bsoft-app-shell .sw-button:hover,
#stop_wallet-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(--sw-premium-line) !important;
    border-radius:8px !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:6px !important;
    background:linear-gradient(135deg,var(--sw-premium-primary),var(--sw-premium-primary-dark)) !important;
    color:#fff !important;
    box-shadow:0 8px 18px rgba(8,127,91,.14);
}

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

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

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

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

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

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

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

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

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

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

.sw-step{
    border-radius:7px !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:9px !important;
    background:linear-gradient(135deg,var(--sw-premium-primary-dark),var(--sw-premium-primary),var(--sw-premium-secondary)) !important;
    box-shadow:0 18px 45px rgba(8,127,91,.15);
}

.sw-pm-settings-form,
.sw-pm-card,
.sw-pm-section{
    border-radius:8px !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:9px !important;
    background:linear-gradient(135deg,var(--sw-premium-primary-dark),var(--sw-premium-primary),var(--sw-premium-secondary)) !important;
    box-shadow:0 18px 48px rgba(8,127,91,.15);
}

.sw-profile-card,
.sw-profile-section,
.sw-profile-form-card{
    border-radius:8px !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:9px !important;
    box-shadow:0 25px 70px rgba(18,42,52,.12) !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

.sw-donation-stats > div,
.sw-donation-panel,
.sw-dashboard-campaign{
    border-radius:8px !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:6px !important;
}

.sw-donation-table{
    border-radius:7px;
    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:9px !important;
    background:
        radial-gradient(circle at 92% 12%,rgba(255,255,255,.14),transparent 24%),
        linear-gradient(135deg,var(--sw-premium-primary-dark),var(--sw-premium-primary),var(--sw-premium-secondary)) !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@media(max-width:680px){
    #stop_wallet-bsoft-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-bsoft-app-shell *,
    .sw-donation-wrap *,
    .sw-campaign-builder *,
    .sw-approved-campaigns *{
        transition-duration:.01ms !important;
        animation-duration:.01ms !important;
    }
}


/* ============================================================
   STOP_WALLET BSOFT — EXTRA PREMIUM FINISH
   Border Radius + Hidden Scrollbars
   VISUAL ONLY / NO FUNCTION OR LOGIC CHANGE
   ============================================================ */

/* Global hidden scrollbar — scrolling remains fully functional */
html,
body,
#stop_wallet-bsoft-app-shell,
#stop_wallet-bsoft-app-shell * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
#stop_wallet-bsoft-app-shell::-webkit-scrollbar,
#stop_wallet-bsoft-app-shell *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Premium shell */
#stop_wallet-bsoft-app-shell .sw-dashboard,
#stop_wallet-bsoft-app-shell .sw-main,
#stop_wallet-bsoft-app-shell .sw-content {
    border-radius: 20px;
}

/* Premium cards / panels */
#stop_wallet-bsoft-app-shell .sw-card,
#stop_wallet-bsoft-app-shell .sw-panel,
#stop_wallet-bsoft-app-shell .sw-section,
#stop_wallet-bsoft-app-shell .sw-overview-card,
#stop_wallet-bsoft-app-shell .sw-wallet-card,
#stop_wallet-bsoft-app-shell .sw-transaction-card,
#stop_wallet-bsoft-app-shell .sw-service-card,
#stop_wallet-bsoft-app-shell .sw-wallet-form,
#stop_wallet-bsoft-app-shell .sw-wallet-panel,
#stop_wallet-bsoft-app-shell .sw-checkout,
#stop_wallet-bsoft-app-shell .sw-checkout-section,
#stop_wallet-bsoft-app-shell .sw-checkout-card,
#stop_wallet-bsoft-app-shell .sw-pm-settings-form,
#stop_wallet-bsoft-app-shell .sw-pm-card,
#stop_wallet-bsoft-app-shell .sw-pm-section,
#stop_wallet-bsoft-app-shell .sw-profile-card,
#stop_wallet-bsoft-app-shell .sw-profile-section,
#stop_wallet-bsoft-app-shell .sw-profile-form-card,
#stop_wallet-bsoft-app-shell .sw-ledger-card,
.sw-donation-panel,
.sw-dashboard-campaign,
.sw-campaign-form,
.sw-builder-field,
.sw-builder-section__header,
.sw-donation-verification-builder,
.sw-approved-campaign-card,
.account-card,
.sw-dashboard-card,
.stop_wallet-module-card {
    border-radius: 20px !important;
}

/* Inner elements */
#stop_wallet-bsoft-app-shell .sw-header,
#stop_wallet-bsoft-app-shell .sw-wallet-header,
#stop_wallet-bsoft-app-shell .sw-checkout-head,
#stop_wallet-bsoft-app-shell .sw-pm-settings-hero,
#stop_wallet-bsoft-app-shell .sw-pm-hero-main,
#stop_wallet-bsoft-app-shell .sw-profile-header,
#stop_wallet-bsoft-app-shell .sw-ledger-header,
.sw-donation-hero,
.sw-approved-campaigns__header,
.sw-campaign-builder__header {
    border-radius: 22px !important;
}

/* Form controls */
#stop_wallet-bsoft-app-shell input,
#stop_wallet-bsoft-app-shell select,
#stop_wallet-bsoft-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: 13px !important;
}

/* Buttons */
#stop_wallet-bsoft-app-shell button,
#stop_wallet-bsoft-app-shell .sw-btn,
#stop_wallet-bsoft-app-shell .sw-button,
.sw-donation-wrap button,
.sw-campaign-builder button,
.sw-dashboard .button,
.stop_wallet-admin-box .button,
.sw-dashboard-box .button {
    border-radius: 12px !important;
}

/* Sidebar */
#sw-dashboard.sw-dashboard-shell > .sw-sidebar > .sw-sidebar-shell {
    border-radius: 0 22px 22px 0 !important;
}

.sw-sidebar-user {
    border-radius: 18px !important;
}

.sw-sidebar-item,
.sw-sidebar-submenu .sw-sidebar-item,
.sw-sidebar-logout {
    border-radius: 13px !important;
}

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

/* Tables and compact UI */
.sw-donation-table,
.sw-step,
.sw-debug-header,
.sw-debug-card,
.sw-debug-panel,
.sw-debug-button {
    border-radius: 14px !important;
}

/* Premium hover depth */
#stop_wallet-bsoft-app-shell .sw-card,
#stop_wallet-bsoft-app-shell .sw-panel,
#stop_wallet-bsoft-app-shell .sw-service-card,
.account-card,
.sw-approved-campaign-card,
.sw-dashboard-campaign {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

#stop_wallet-bsoft-app-shell .sw-card:hover,
#stop_wallet-bsoft-app-shell .sw-panel:hover,
#stop_wallet-bsoft-app-shell .sw-service-card:hover,
.account-card:hover,
.sw-approved-campaign-card:hover,
.sw-dashboard-campaign:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 48px rgba(18,42,52,.11) !important;
}

/* Keep mobile corners elegant */
@media (max-width:680px) {
    #stop_wallet-bsoft-app-shell .sw-card,
    #stop_wallet-bsoft-app-shell .sw-panel,
    #stop_wallet-bsoft-app-shell .sw-service-card,
    .account-card,
    .sw-approved-campaign-card,
    .sw-dashboard-campaign {
        border-radius: 16px !important;
    }

    #stop_wallet-bsoft-app-shell .sw-header,
    #stop_wallet-bsoft-app-shell .sw-wallet-header,
    #stop_wallet-bsoft-app-shell .sw-checkout-head,
    .sw-donation-hero,
    .sw-approved-campaigns__header,
    .sw-campaign-builder__header {
        border-radius: 18px !important;
    }
}


/* FINAL UI OVERRIDE — RED + GREEN / COMPACT RADIUS / HIDDEN SCROLLBARS */
html, body,
#stop_wallet-bsoft-app-shell,
#stop_wallet-bsoft-app-shell * {
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
#stop_wallet-bsoft-app-shell::-webkit-scrollbar,
#stop_wallet-bsoft-app-shell *::-webkit-scrollbar {
    width:0 !important;
    height:0 !important;
    display:none !important;
}

/* Compact 5–10px corners */
#stop_wallet-bsoft-app-shell .sw-dashboard,
#stop_wallet-bsoft-app-shell .sw-main,
#stop_wallet-bsoft-app-shell .sw-content { border-radius:8px !important; }

#stop_wallet-bsoft-app-shell .sw-card,
#stop_wallet-bsoft-app-shell .sw-panel,
#stop_wallet-bsoft-app-shell .sw-section,
#stop_wallet-bsoft-app-shell .sw-overview-card,
#stop_wallet-bsoft-app-shell .sw-wallet-card,
#stop_wallet-bsoft-app-shell .sw-transaction-card,
#stop_wallet-bsoft-app-shell .sw-service-card,
#stop_wallet-bsoft-app-shell .sw-wallet-form,
#stop_wallet-bsoft-app-shell .sw-wallet-panel,
#stop_wallet-bsoft-app-shell .sw-checkout,
#stop_wallet-bsoft-app-shell .sw-checkout-section,
#stop_wallet-bsoft-app-shell .sw-checkout-card,
#stop_wallet-bsoft-app-shell .sw-pm-settings-form,
#stop_wallet-bsoft-app-shell .sw-pm-card,
#stop_wallet-bsoft-app-shell .sw-pm-section,
#stop_wallet-bsoft-app-shell .sw-profile-card,
#stop_wallet-bsoft-app-shell .sw-profile-section,
#stop_wallet-bsoft-app-shell .sw-profile-form-card,
#stop_wallet-bsoft-app-shell .sw-ledger-card,
.sw-donation-panel,
.sw-dashboard-campaign,
.sw-campaign-form,
.sw-builder-field,
.sw-builder-section__header,
.sw-donation-verification-builder,
.sw-approved-campaign-card,
.account-card,
.sw-dashboard-card,
.stop_wallet-module-card { border-radius:8px !important; }

#stop_wallet-bsoft-app-shell input,
#stop_wallet-bsoft-app-shell select,
#stop_wallet-bsoft-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,
#stop_wallet-bsoft-app-shell button,
#stop_wallet-bsoft-app-shell .sw-btn,
#stop_wallet-bsoft-app-shell .sw-button,
.sw-donation-wrap button,
.sw-campaign-builder button,
.sw-dashboard .button,
.stop_wallet-admin-box .button,
.sw-dashboard-box .button { border-radius:7px !important; }

/* Red + green visual identity */
#stop_wallet-bsoft-app-shell .sw-btn,
#stop_wallet-bsoft-app-shell .sw-button,
#stop_wallet-bsoft-app-shell button[type="submit"],
.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,#159447 0%,#20a84f 52%,#d62828 100%) !important;
}

.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 {
    background:
        linear-gradient(135deg,#0b6b32 0%,#159447 52%,#d62828 100%) !important;
    border-radius:9px !important;
}

.sw-sidebar-item.is-active {
    background:linear-gradient(90deg,#159447 0%,#20a84f 55%,#d62828 100%) !important;
}
.sw-sidebar-item.is-active .sw-sidebar-icon {
    background:linear-gradient(135deg,#159447,#d62828) !important;
}
.sw-sidebar-logout,
.sw-sidebar-logout .sw-sidebar-icon { color:#d62828 !important; }
/* ============================================================
   FINAL — HIDE ALL SCROLLBARS
   Scrolling remains fully functional
   ============================================================ */

html,
body,
#stop_wallet-bsoft-app-shell,
#stop_wallet-bsoft-app-shell *,
.sw-sidebar-shell,
.sw-sidebar-nav {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
#stop_wallet-bsoft-app-shell::-webkit-scrollbar,
#stop_wallet-bsoft-app-shell *::-webkit-scrollbar,
.sw-sidebar-shell::-webkit-scrollbar,
.sw-sidebar-nav::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

/* v24.2.22 — entire mobile/desktop drawer scrolls, including Admin Control */
#sw-dashboard.sw-dashboard-shell > .sw-sidebar > .sw-sidebar-shell .sw-sidebar-scroll{
    position:relative !important;
    z-index:2 !important;
    flex:1 1 auto !important;
    min-height:0 !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    overscroll-behavior:contain !important;
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
    padding-right:2px !important;
}
#sw-dashboard.sw-dashboard-shell > .sw-sidebar > .sw-sidebar-shell .sw-sidebar-scroll::-webkit-scrollbar{width:0 !important;height:0 !important;display:none !important}
#sw-dashboard.sw-dashboard-shell > .sw-sidebar > .sw-sidebar-shell .sw-sidebar-scroll .sw-sidebar-nav{height:auto !important;max-height:none !important;overflow:visible !important;padding-bottom:8px !important}
#sw-dashboard.sw-dashboard-shell > .sw-sidebar > .sw-sidebar-shell .sw-sidebar-admin-section{position:relative !important;z-index:2 !important;padding-bottom:14px !important}
#sw-dashboard.sw-dashboard-shell > .sw-sidebar > .sw-sidebar-shell .sw-sidebar-admin-nav{height:auto !important;max-height:none !important;overflow:visible !important}
#sw-dashboard.sw-dashboard-shell > .sw-sidebar > .sw-sidebar-shell .sw-sidebar-admin-label{margin-top:8px !important}

/* Admin pages rendered inside the frontend dashboard content area. */
#sw-dashboard.sw-dashboard-shell .sw-admin-embedded-page{width:100%;max-width:1400px;margin:0 auto}
#sw-dashboard.sw-dashboard-shell .sw-admin-embedded-page .wrap{margin:0 !important;padding:0 !important;max-width:none !important}
#sw-dashboard.sw-dashboard-shell .sw-admin-embedded-page h1{font-size:28px;line-height:1.2;margin:0 0 10px;color:#17324b}
#sw-dashboard.sw-dashboard-shell .sw-admin-embedded-page h2{color:#17324b}
#sw-dashboard.sw-dashboard-shell .sw-admin-embedded-page .description{color:#6c7b8e}
#sw-dashboard.sw-dashboard-shell .sw-admin-embedded-page .widefat{background:#fff;border-color:#e4ebf2;border-radius:10px;overflow:hidden}
#sw-dashboard.sw-dashboard-shell .sw-admin-embedded-page .widefat td,#sw-dashboard.sw-dashboard-shell .sw-admin-embedded-page .widefat th{padding:10px 12px}

.sw-frontend-admin-home{max-width:1280px;margin:0 auto;padding:4px 0 28px}.sw-frontend-admin-head{margin-bottom:22px}.sw-frontend-admin-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eaf8f3;color:#087f5b;font-size:10px;font-weight:850;letter-spacing:1.4px}.sw-frontend-admin-head h1{margin:10px 0 6px;color:#172c42;font-size:30px}.sw-frontend-admin-head p{margin:0;color:#71808b;font-size:13px}.sw-frontend-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sw-frontend-admin-card{display:flex;align-items:center;gap:13px;padding:17px;border:1px solid #e2e9ee;border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(18,42,52,.055);transition:.2s;color:#17324b}.sw-frontend-admin-card:hover{transform:translateY(-2px);border-color:#b8ddd0;box-shadow:0 16px 36px rgba(18,42,52,.09)}.sw-frontend-admin-icon{width:46px;height:46px;display:grid;place-items:center;flex:0 0 46px;border-radius:13px;background:#eef8f4;color:#087f5b;font-size:21px;font-weight:800}.sw-frontend-admin-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.sw-frontend-admin-copy strong{font-size:14px}.sw-frontend-admin-copy small{font-size:11px;color:#7a8996}.sw-frontend-admin-card>b{font-size:22px;color:#7b8ca0;font-weight:400}
@media(max-width:650px){.sw-frontend-admin-grid{grid-template-columns:1fr}.sw-frontend-admin-head h1{font-size:23px}}

/* STOP Wallet v24.6.34 — premium desktop logout action */
.sw-sidebar-desktop-logout{
    position:relative;
    z-index:3;
    margin:0 7px 14px;
    min-height:46px;
    padding:0 11px;
    display:flex;
    align-items:center;
    gap:11px;
    border:1px solid rgba(255,96,96,.22);
    background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(214,40,40,.10));
    color:#ffd9d9;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 8px 22px rgba(0,0,0,.10);
    text-decoration:none;
    transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease,color .2s ease;
}
.sw-sidebar-desktop-logout .sw-sidebar-icon{
    color:#ffb0b0;
    background:rgba(214,40,40,.16);
    border-color:rgba(255,120,120,.18);
}
.sw-sidebar-desktop-logout strong{
    flex:1;
    font-size:13px;
    font-weight:750;
}
.sw-sidebar-desktop-logout .sw-sidebar-arrow{
    color:#ff9c9c;
}
.sw-sidebar-desktop-logout:hover{
    color:#fff;
    transform:translateY(-1px);
    background:linear-gradient(135deg,rgba(214,40,40,.24),rgba(150,24,24,.34));
    border-color:rgba(255,110,110,.42);
    box-shadow:0 12px 28px rgba(214,40,40,.18),inset 0 1px 0 rgba(255,255,255,.10);
}
.sw-sidebar-desktop-logout:hover .sw-sidebar-icon{
    color:#fff;
    background:linear-gradient(135deg,#d62828,#a91f1f);
    border-color:transparent;
}
.sw-sidebar-desktop-logout:hover .sw-sidebar-arrow{color:#fff;transform:translateX(2px)}
@media(max-width:992px){
    .sw-sidebar-desktop-logout{display:none!important}
}


/* ============================================================
   STOP WALLET SIDEBAR — COLOR ONLY UPDATE
   Layout / spacing / radius / functionality unchanged.
   ============================================================ */

.sw-sidebar-shell{
    color:#172033 !important;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdfc 55%,
            #f4faf7 100%
        ) !important;
    border-right-color:#dce8e2 !important;
}

.sw-sidebar-shell:before{
    background:linear-gradient(
        90deg,
        #e31837 0%,
        #e31837 38%,
        #079b63 65%,
        #079b63 100%
    ) !important;
}

.sw-sidebar-shell:after{
    background:
        linear-gradient(
            180deg,
            rgba(7,155,99,.035),
            transparent 42%,
            rgba(227,24,55,.035)
        ) !important;
}

.sw-sidebar-glow{
    background:rgba(7,155,99,.08) !important;
}

/* Brand */
.sw-sidebar-brand-copy strong{
    color:#172033 !important;
    -webkit-text-fill-color:#172033 !important;
}

.sw-sidebar-brand-copy small{
    color:#718096 !important;
    -webkit-text-fill-color:#718096 !important;
}

.sw-sidebar-logo{
    background:
        linear-gradient(
            140deg,
            #e31837 0%,
            #d92d48 45%,
            #079b63 100%
        ) !important;
    box-shadow:0 10px 24px rgba(7,155,99,.16) !important;
}

/* User card */
.sw-sidebar-user{
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f2faf6
        ) !important;
    border-color:#dce8e2 !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9) !important;
}

.sw-sidebar-user:before{
    background:#079b63 !important;
}

.sw-sidebar-user-copy strong{
    color:#172033 !important;
    -webkit-text-fill-color:#172033 !important;
}

.sw-sidebar-user-copy small{
    color:#718096 !important;
    -webkit-text-fill-color:#718096 !important;
}

.sw-sidebar-user-copy small i{
    background:#079b63 !important;
}

.sw-sidebar-user-arrow{
    color:#718096 !important;
}

/* Section label */
.sw-sidebar-section-label{
    color:#7a8897 !important;
    -webkit-text-fill-color:#7a8897 !important;
}

.sw-sidebar-section-label span{
    background:#d7e4de !important;
}

/* Navigation */
.sw-sidebar-item{
    color:#4a5a6b !important;
    -webkit-text-fill-color:#4a5a6b !important;
}

.sw-sidebar-item:hover{
    background:#effaf5 !important;
    color:#057a4f !important;
    -webkit-text-fill-color:#057a4f !important;
}

.sw-sidebar-item.is-active{
    background:
        linear-gradient(
            90deg,
            #eafaf3 0%,
            #dff7ec 55%,
            #fff2f4 100%
        ) !important;
    color:#057a4f !important;
    -webkit-text-fill-color:#057a4f !important;
    border-color:#c8e8da !important;
    box-shadow:0 8px 20px rgba(7,155,99,.07) !important;
}

.sw-sidebar-item.is-active:before{
    background:
        linear-gradient(
            180deg,
            #079b63,
            #e31837
        ) !important;
    box-shadow:0 0 10px rgba(7,155,99,.22) !important;
}

.sw-sidebar-icon{
    color:#718096 !important;
    -webkit-text-fill-color:#718096 !important;
    background:#f4f7f6 !important;
    border-color:#e0e8e4 !important;
}

.sw-sidebar-item:hover .sw-sidebar-icon{
    color:#079b63 !important;
    -webkit-text-fill-color:#079b63 !important;
    background:#ffffff !important;
    border-color:#cce9dc !important;
}

.sw-sidebar-item.is-active .sw-sidebar-icon{
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
    background:
        linear-gradient(
            135deg,
            #079b63,
            #e31837
        ) !important;
    border-color:transparent !important;
}

.sw-sidebar-title{
    color:inherit !important;
    -webkit-text-fill-color:currentColor !important;
}

.sw-sidebar-arrow{
    color:#8190a0 !important;
    -webkit-text-fill-color:#8190a0 !important;
}

.sw-sidebar-item:hover .sw-sidebar-arrow,
.sw-sidebar-item.is-active .sw-sidebar-arrow{
    color:#057a4f !important;
    -webkit-text-fill-color:#057a4f !important;
}

.sw-sidebar-item.is-active .sw-sidebar-arrow{
    color:#057a4f !important;
    -webkit-text-fill-color:#057a4f !important;
}

/* Parent / accordion items */
.sw-sidebar-submenu-toggle{
    color:#718096 !important;
    -webkit-text-fill-color:#718096 !important;
}

.sw-sidebar-submenu-toggle:hover,
.sw-sidebar-node.is-open>.sw-sidebar-row .sw-sidebar-submenu-toggle{
    color:#079b63 !important;
    -webkit-text-fill-color:#079b63 !important;
    background:#effaf5 !important;
}

.sw-sidebar-item.is-parent-active{
    color:#057a4f !important;
    -webkit-text-fill-color:#057a4f !important;
    background:#f0faf6 !important;
}

.sw-sidebar-item.is-parent-active .sw-sidebar-icon{
    color:#079b63 !important;
    -webkit-text-fill-color:#079b63 !important;
    border-color:#cce9dc !important;
    background:#f5fbf8 !important;
}

.sw-sidebar-submenu{
    border-left-color:#d9e7e1 !important;
}

.sw-sidebar-submenu .sw-sidebar-item.is-active{
    background:
        linear-gradient(
            90deg,
            #eafaf3,
            #fff4f5
        ) !important;
    border-color:#cce9dc !important;
}

.sw-sidebar-submenu .sw-sidebar-item.is-parent-active{
    background:#f3faf7 !important;
}

/* Footer / logout */
.sw-sidebar-footer{
    border-top-color:#e1ebe6 !important;
}

.sw-sidebar-logout{
    color:#d62828 !important;
    -webkit-text-fill-color:#d62828 !important;
}

.sw-sidebar-logout .sw-sidebar-icon{
    color:#d62828 !important;
    -webkit-text-fill-color:#d62828 !important;
    background:#fff1f3 !important;
    border-color:#ffd5dc !important;
}

.sw-sidebar-logout:hover{
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
    background:
        linear-gradient(
            135deg,
            #e31837,
            #c8102e
        ) !important;
}

.sw-sidebar-logout:hover .sw-sidebar-icon,
.sw-sidebar-desktop-logout:hover .sw-sidebar-icon{
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
    background:
        linear-gradient(
            135deg,
            #e31837,
            #c8102e
        ) !important;
    border-color:transparent !important;
}

.sw-sidebar-desktop-logout{
    background:
        linear-gradient(
            135deg,
            #fff5f7,
            #fffafa
        ) !important;
    border-color:#ffd5dc !important;
    color:#c8102e !important;
    -webkit-text-fill-color:#c8102e !important;
}

.sw-sidebar-desktop-logout .sw-sidebar-icon{
    color:#e31837 !important;
    -webkit-text-fill-color:#e31837 !important;
    background:#fff0f3 !important;
    border-color:#ffd5dc !important;
}

.sw-sidebar-desktop-logout .sw-sidebar-arrow{
    color:#e31837 !important;
    -webkit-text-fill-color:#e31837 !important;
}

.sw-sidebar-desktop-logout:hover{
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
    background:
        linear-gradient(
            135deg,
            #e31837,
            #c8102e
        ) !important;
    border-color:#e31837 !important;
}

.sw-sidebar-desktop-logout:hover .sw-sidebar-arrow{
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
}

/* Scrollbar colors only */
.sw-sidebar-nav::-webkit-scrollbar-thumb,
.sw-sidebar-scroll::-webkit-scrollbar-thumb{
    background:#cbdcd5 !important;
}

.sw-sidebar-nav{
    scrollbar-color:#cbdcd5 transparent !important;
}

/* Mobile close button color only */
.sw-sidebar-close{
    background:#effaf5 !important;
    color:#057a4f !important;
}

/* ============================================================
   STOP WALLET — FINAL PREMIUM VISUAL SYSTEM
   RED + GREEN / CENTERED / BORDER / RADIUS / PADDING
   DESIGN + COLOR ONLY
   ============================================================ */

:root{
    --sw-premium-red:#e31837;
    --sw-premium-red-dark:#c8102e;
    --sw-premium-green:#079b63;
    --sw-premium-green-dark:#057a4f;

    --sw-premium-text:#172033;
    --sw-premium-soft:#526078;
    --sw-premium-muted:#718096;
    --sw-premium-border:#dce3ea;
    --sw-premium-border-strong:#c7d1db;

    --sw-premium-bg:#f6fbf9;
    --sw-premium-white:#fff;

    --sw-premium-shadow:
        0 16px 42px rgba(23,32,51,.075);
    --sw-premium-shadow-soft:
        0 8px 24px rgba(23,32,51,.05);
}

/* -----------------------------
   Centered page canvases
   ----------------------------- */

.sw-wallet-page,
.sw-family-page,
.sw-notification-page,
.sw-myqr-page,
.sw-checkout,
.sw-pm,
.sw-pm-settings,
.sw-payment-method,
.sw-transaction-history,
.sw-sb,
.sw-module-card,
.sw-auth-wrapper,
.sw-login-wrapper,
.sw-register-wrapper,
.sw-profile-wrapper{
    box-sizing:border-box;
}

/* -----------------------------
   Generic premium module card
   ----------------------------- */

.sw-module-card{
    position:relative;

    width:calc(100% - 20px);
    max-width:720px;

    margin:16px auto !important;
    padding:18px !important;

    border:1px solid var(--sw-premium-border) !important;
    border-radius:18px !important;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fffafb 48%,
            #f3fbf7 100%
        ) !important;

    box-shadow:var(--sw-premium-shadow) !important;

    color:var(--sw-premium-text);

    overflow:hidden;
}

.sw-module-card::before{
    content:"";

    position:absolute;
    top:0;
    left:0;
    right:0;

    height:3px;

    background:
        linear-gradient(
            90deg,
            var(--sw-premium-red),
            #c94b58 50%,
            var(--sw-premium-green)
        );
}

.sw-module-icon{
    border-radius:12px !important;

    color:#fff !important;
    -webkit-text-fill-color:#fff !important;

    background:
        linear-gradient(
            135deg,
            var(--sw-premium-red),
            #c84b58 48%,
            var(--sw-premium-green)
        ) !important;

    box-shadow:
        0 8px 18px rgba(227,24,55,.13);
}

.sw-module-card h2{
    color:var(--sw-premium-text) !important;
    -webkit-text-fill-color:var(--sw-premium-text) !important;
}

.sw-module-card p{
    color:var(--sw-premium-soft) !important;
    -webkit-text-fill-color:var(--sw-premium-soft) !important;
}

/* -----------------------------
   Shared module buttons
   ----------------------------- */

.sw-module-action,
.sw-primary-btn,
.sw-sb button.primary,
.sw-sb button.dark{
    border:0 !important;
    border-radius:11px !important;

    color:#fff !important;
    -webkit-text-fill-color:#fff !important;

    background:
        linear-gradient(
            105deg,
            var(--sw-premium-red) 0%,
            #df2a48 34%,
            #b64d58 50%,
            var(--sw-premium-green) 73%,
            var(--sw-premium-green-dark) 100%
        ) !important;

    box-shadow:
        0 9px 21px rgba(7,155,99,.13),
        0 5px 13px rgba(227,24,55,.08) !important;

    font:inherit;
    font-weight:850;

    cursor:pointer;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.sw-module-action:hover,
.sw-primary-btn:hover,
.sw-sb button.primary:hover,
.sw-sb button.dark:hover{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;

    transform:translateY(-1px);

    box-shadow:
        0 13px 27px rgba(7,155,99,.17) !important;

    filter:brightness(1.02);
}

/* -----------------------------
   Shared fields
   ----------------------------- */

.sw-wallet-page input,
.sw-wallet-page select,
.sw-wallet-page textarea,
.sw-family-page input,
.sw-family-page select,
.sw-family-page textarea,
.sw-sb input,
.sw-sb select,
.sw-sb textarea,
.sw-module-card input,
.sw-module-card select,
.sw-module-card textarea,
.sw-myqr-page input,
.sw-myqr-page select,
.sw-myqr-page textarea{
    border:1px solid var(--sw-premium-border-strong) !important;
    border-radius:11px !important;

    background:#fff !important;

    color:var(--sw-premium-text) !important;
    -webkit-text-fill-color:var(--sw-premium-text) !important;

    outline:0 !important;

    box-shadow:
        inset 0 1px 2px rgba(23,32,51,.018) !important;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.sw-wallet-page input:hover,
.sw-wallet-page select:hover,
.sw-wallet-page textarea:hover,
.sw-family-page input:hover,
.sw-family-page select:hover,
.sw-family-page textarea:hover,
.sw-sb input:hover,
.sw-sb select:hover,
.sw-sb textarea:hover,
.sw-module-card input:hover,
.sw-module-card select:hover,
.sw-module-card textarea:hover{
    border-color:#aebbc7 !important;
}

.sw-wallet-page input:focus,
.sw-wallet-page select:focus,
.sw-wallet-page textarea:focus,
.sw-family-page input:focus,
.sw-family-page select:focus,
.sw-family-page textarea:focus,
.sw-sb input:focus,
.sw-sb select:focus,
.sw-sb textarea:focus,
.sw-module-card input:focus,
.sw-module-card select:focus,
.sw-module-card textarea:focus{
    border-color:var(--sw-premium-green) !important;

    box-shadow:
        0 0 0 3px rgba(7,155,99,.09),
        0 7px 18px rgba(7,155,99,.04) !important;
}

.sw-wallet-page input::placeholder,
.sw-family-page input::placeholder,
.sw-sb input::placeholder,
.sw-module-card input::placeholder{
    color:#98a4b1 !important;
    -webkit-text-fill-color:#98a4b1 !important;
    opacity:1;
}

/* -----------------------------
   Savings / Qorjian / Welfare /
   Donation shared card
   ----------------------------- */

.sw-sb{
    width:calc(100% - 20px) !important;
    max-width:900px !important;

    margin:16px auto !important;
    padding:0 0 24px !important;

    box-sizing:border-box;

    color:var(--sw-premium-text);
}

.sw-sb-head{
    padding:17px 18px !important;

    margin-bottom:12px !important;

    border:1px solid var(--sw-premium-border) !important;
    border-radius:16px !important;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fff9fa 52%,
            #f2fbf7
        ) !important;

    box-shadow:var(--sw-premium-shadow-soft) !important;
}

.sw-sb-head h2{
    margin:0 0 4px !important;

    color:var(--sw-premium-text) !important;
    -webkit-text-fill-color:var(--sw-premium-text) !important;

    font-size:22px !important;
    font-weight:900 !important;
}

.sw-sb-head p{
    margin:0 !important;

    color:var(--sw-premium-soft) !important;
    -webkit-text-fill-color:var(--sw-premium-soft) !important;

    font-size:11px !important;
    line-height:1.55 !important;
}

.sw-sb-card{
    position:relative !important;

    padding:18px !important;

    border:1px solid var(--sw-premium-border) !important;
    border-radius:18px !important;

    background:#fff !important;

    box-shadow:var(--sw-premium-shadow) !important;

    overflow:hidden;
}

.sw-sb-card::before{
    content:"";

    position:absolute;

    top:0;
    left:0;
    right:0;

    height:3px;

    background:
        linear-gradient(
            90deg,
            var(--sw-premium-red),
            var(--sw-premium-green)
        );
}

.sw-sb-grid{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:9px !important;

    margin-bottom:14px !important;
}

.sw-sb-stat{
    padding:11px 12px !important;

    border:1px solid #e2e9ed !important;
    border-radius:12px !important;

    background:
        linear-gradient(
            145deg,
            #fff,
            #f5faf8
        ) !important;
}

.sw-sb-stat small{
    display:block !important;

    color:var(--sw-muted) !important;
    font-size:9px !important;
}

.sw-sb-stat strong{
    display:block !important;

    margin-top:3px !important;

    color:var(--sw-premium-text) !important;
    -webkit-text-fill-color:var(--sw-premium-text) !important;

    font-size:14px !important;
}

.sw-sb-card > label,
.sw-sb-pin label{
    display:block !important;

    margin:0 0 6px !important;

    color:var(--sw-premium-text) !important;
    -webkit-text-fill-color:var(--sw-premium-text) !important;

    font-size:11px !important;
    font-weight:850 !important;
}

.sw-sb-actions{
    gap:8px !important;
}

.sw-sb-msg{
    margin-top:12px !important;

    padding:10px 11px !important;

    border:1px solid #dce9e2 !important;
    border-radius:10px !important;

    background:#f5fbf8 !important;

    color:var(--sw-premium-soft) !important;
}

.sw-sb-pin{
    margin-top:12px !important;
    padding:12px !important;

    border:1px dashed #c9ded5 !important;
    border-radius:12px !important;

    background:#f8fcfa !important;
}

/* -----------------------------
   Notification
   ----------------------------- */

.sw-notification-page{
    width:calc(100% - 20px) !important;
    max-width:980px !important;

    margin:16px auto !important;
}

.sw-notification-head,
.sw-notification-item,
.sw-notification-toolbar,
.sw-notification-empty{
    border-color:var(--sw-premium-border) !important;
}

.sw-notification-head{
    border-radius:16px !important;

    background:
        linear-gradient(
            145deg,
            #fff,
            #fff9fa 50%,
            #f3fbf7
        ) !important;

    box-shadow:var(--sw-premium-shadow-soft) !important;
}

.sw-notification-head h2,
.sw-notification-title-row strong{
    color:var(--sw-premium-text) !important;
}

.sw-notification-head p,
.sw-notification-toolbar,
.sw-notification-body p,
.sw-notification-body time{
    color:var(--sw-premium-soft) !important;
}

.sw-notification-readall{
    color:#fff !important;

    background:
        linear-gradient(
            135deg,
            var(--sw-premium-red),
            var(--sw-premium-green)
        ) !important;
}

/* -----------------------------
   Payment Method
   ----------------------------- */

.sw-pm-settings{
    width:calc(100% - 20px) !important;
    max-width:1080px !important;
    margin:16px auto !important;
}

.sw-pm-settings-hero{
    border:1px solid #dce8e2 !important;
    border-radius:17px !important;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #fff9fa 48%,
            #eefaf5
        ) !important;

    color:var(--sw-premium-text) !important;
    box-shadow:var(--sw-premium-shadow-soft) !important;
}

.sw-pm-settings h2,
.sw-pm-settings h3{
    color:var(--sw-premium-text) !important;
}

.sw-pm-kicker,
.sw-pm-section-kicker{
    color:var(--sw-premium-green-dark) !important;
}

.sw-pm-card{
    border:1px solid var(--sw-premium-border) !important;
    border-radius:16px !important;
    background:#fff !important;
    box-shadow:var(--sw-premium-shadow-soft) !important;
}

.sw-pm-field input,
.sw-pm-field textarea,
.sw-pm-field select,
.sw-pm-grid input,
.sw-pm-grid textarea,
.sw-pm-grid select,
.sw-pm-bank-row input,
.sw-pm-bank-row textarea{
    border:1px solid var(--sw-premium-border-strong) !important;
}

.sw-pm-field input:focus,
.sw-pm-field textarea:focus,
.sw-pm-field select:focus,
.sw-pm-bank-row input:focus,
.sw-pm-bank-row textarea:focus{
    border-color:var(--sw-premium-green) !important;
    box-shadow:0 0 0 3px rgba(7,155,99,.09) !important;
}

.sw-pm-status.on{
    color:var(--sw-premium-green-dark) !important;
    background:#eaf9f3 !important;
}

/* -----------------------------
   Transaction history
   ----------------------------- */

.sw-transaction-history{
    width:calc(100% - 20px) !important;
    max-width:1000px !important;

    margin:16px auto !important;
    padding:18px !important;

    border:1px solid var(--sw-premium-border) !important;
    border-radius:17px !important;

    background:#fff !important;
    box-shadow:var(--sw-premium-shadow) !important;
}

.sw-payment-balance{
    border:1px solid #dce9e2 !important;
    background:
        linear-gradient(
            105deg,
            #f2fbf6,
            #fffafa
        ) !important;
}

.sw-payment-table-wrap{
    border-color:#dfe7eb !important;
    border-radius:12px !important;
}

.sw-payment-table th{
    background:#f4faf7 !important;
    color:#526078 !important;
}

.sw-payment-table td{
    color:#405267 !important;
}

/* -----------------------------
   My QR
   ----------------------------- */

.sw-myqr-page{
    width:calc(100% - 20px) !important;
    max-width:900px !important;
    margin:16px auto !important;
}

/* -----------------------------
   Shared status colors
   ----------------------------- */

.sw-status,
.sw-payment-status,
.sw-status-pill{
    opacity:1 !important;
}

.sw-status.sw-verified,
.sw-status-pill.is-success,
.sw-payment-status{
    color:var(--sw-premium-green-dark) !important;
    background:#eaf9f3 !important;
}

.sw-status.sw-pending,
.sw-status-pill.is-pending{
    color:#a16207 !important;
    background:#fff7df !important;
}

.sw-status.sw-rejected{
    color:var(--sw-premium-red-dark) !important;
    background:#fff0f3 !important;
}

/* -----------------------------
   Mobile
   ----------------------------- */

@media(max-width:680px){
    .sw-module-card,
    .sw-wallet-page,
    .sw-family-page,
    .sw-notification-page,
    .sw-checkout,
    .sw-pm-settings,
    .sw-transaction-history,
    .sw-myqr-page,
    .sw-sb{
        width:calc(100% - 10px) !important;
    }

    .sw-sb-grid{
        grid-template-columns:1fr !important;
    }

    .sw-sb-actions{
        display:flex !important;
        flex-direction:column !important;
    }

    .sw-sb-actions button{
        width:100% !important;
    }
}

@media(max-width:390px){
    .sw-module-card,
    .sw-wallet-page,
    .sw-family-page,
    .sw-notification-page,
    .sw-checkout,
    .sw-pm-settings,
    .sw-transaction-history,
    .sw-myqr-page,
    .sw-sb{
        width:calc(100% - 6px) !important;
    }
}
