/**
 * Balligo BSoft
 * Premium Authentication UI
 *
 * Features:
 * - Premium Gradient
 * - Glassmorphism
 * - Responsive
 * - Forgot Password
 * - Reset Password
 * - Perfect Password Eye Toggle
 * - Dark Mode
 * - Smooth Animation
 *
 * @package BalligoBSoft
 * @subpackage ForgotPassword
 * @since 3.4.0
 */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --bbs-primary: #2563eb;
    --bbs-primary-dark: #1d4ed8;
    --bbs-secondary: #7c3aed;
    --bbs-accent: #06b6d4;

    --bbs-success: #10b981;
    --bbs-danger: #ef4444;
    --bbs-warning: #f59e0b;

    --bbs-text: #172033;
    --bbs-text-soft: #64748b;
    --bbs-placeholder: #94a3b8;

    --bbs-white: #ffffff;

    --bbs-glass:
        rgba(255,255,255,.72);

    --bbs-glass-strong:
        rgba(255,255,255,.88);

    --bbs-border:
        rgba(255,255,255,.55);

    --bbs-radius: 24px;
    --bbs-input-radius: 15px;

    --bbs-shadow:
        0 30px 80px rgba(15,23,42,.18);

    --bbs-shadow-soft:
        0 12px 35px rgba(15,23,42,.10);

    --bbs-transition:
        .25s cubic-bezier(.4,0,.2,1);
}


/* =========================================================
   AUTH WRAPPER
========================================================= */

.bbs-auth-wrapper {

    position: relative;

    width: 100%;
    min-height: 650px;

    padding: 70px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    box-sizing: border-box;

    background:

        radial-gradient(
            circle at 10% 10%,
            rgba(37,99,235,.28),
            transparent 34%
        ),

        radial-gradient(
            circle at 90% 20%,
            rgba(124,58,237,.24),
            transparent 34%
        ),

        radial-gradient(
            circle at 50% 100%,
            rgba(6,182,212,.20),
            transparent 40%
        ),

        linear-gradient(
            135deg,
            #eef2ff 0%,
            #f8fafc 48%,
            #ecfeff 100%
        );
}


/* =========================================================
   FLOATING GLOW
========================================================= */

.bbs-auth-wrapper::before,
.bbs-auth-wrapper::after {

    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    filter: blur(25px);

    pointer-events: none;

    animation:
        bbs-floating-glow 9s ease-in-out infinite;
}


.bbs-auth-wrapper::before {

    top: -100px;
    left: -80px;

    background:
        linear-gradient(
            135deg,
            rgba(37,99,235,.35),
            rgba(124,58,237,.14)
        );
}


.bbs-auth-wrapper::after {

    right: -100px;
    bottom: -110px;

    background:
        linear-gradient(
            135deg,
            rgba(6,182,212,.30),
            rgba(37,99,235,.12)
        );

    animation-delay: -4s;
}


@keyframes bbs-floating-glow {

    0%,
    100% {

        transform:
            translate3d(0,0,0)
            scale(1);
    }

    50% {

        transform:
            translate3d(18px,-18px,0)
            scale(1.08);
    }
}


/* =========================================================
   AUTH CARD
========================================================= */

.bbs-auth-card {

    position: relative;

    z-index: 5;

    width: 100%;
    max-width: 480px;

    padding: 42px;

    border:
        1px solid
        var(--bbs-border);

    border-radius:
        var(--bbs-radius);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.82),
            rgba(255,255,255,.58)
        );

    backdrop-filter:
        blur(28px)
        saturate(160%);

    -webkit-backdrop-filter:
        blur(28px)
        saturate(160%);

    box-shadow:

        0 30px 80px
        rgba(15,23,42,.16),

        inset 0 1px 0
        rgba(255,255,255,.85);

    box-sizing: border-box;

    animation:
        bbs-card-enter .65s ease both;
}


@keyframes bbs-card-enter {

    from {

        opacity: 0;

        transform:
            translateY(28px)
            scale(.97);
    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


/* =========================================================
   CARD TOP GRADIENT
========================================================= */

.bbs-auth-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 12%;

    width: 76%;
    height: 3px;

    border-radius: 999px;

    background:

        linear-gradient(
            90deg,
            transparent,
            var(--bbs-primary),
            var(--bbs-secondary),
            var(--bbs-accent),
            transparent
        );
}


/* =========================================================
   HEADER
========================================================= */

.bbs-auth-header {

    margin-bottom: 30px;

    text-align: center;
}


.bbs-auth-title {

    margin: 0 0 12px;

    font-size: 30px;

    line-height: 1.25;

    font-weight: 800;

    letter-spacing: -.6px;

    background:

        linear-gradient(
            135deg,
            var(--bbs-primary),
            var(--bbs-secondary),
            var(--bbs-accent)
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


.bbs-auth-description {

    max-width: 390px;

    margin: auto;

    color:
        var(--bbs-text-soft);

    font-size: 15px;

    line-height: 1.75;
}


/* =========================================================
   ALERT
========================================================= */

.bbs-alert {

    margin-bottom: 22px;

    padding: 14px 16px;

    border-radius: 14px;

    font-size: 14px;

    line-height: 1.6;

    backdrop-filter:
        blur(12px);
}


.bbs-alert-success {

    color: #047857;

    border:
        1px solid
        rgba(16,185,129,.25);

    background:

        linear-gradient(
            135deg,
            rgba(16,185,129,.13),
            rgba(255,255,255,.55)
        );
}


.bbs-alert-error {

    color: #b91c1c;

    border:
        1px solid
        rgba(239,68,68,.25);

    background:

        linear-gradient(
            135deg,
            rgba(239,68,68,.12),
            rgba(255,255,255,.55)
        );
}


/* =========================================================
   FORM GROUP
========================================================= */

.bbs-form-group {

    margin-bottom: 22px;
}


.bbs-form-group > label {

    display: block;

    margin-bottom: 9px;

    color:
        var(--bbs-text);

    font-size: 14px;

    font-weight: 700;
}


/* =========================================================
   INPUT
========================================================= */

.bbs-form-control {

    width: 100%;

    min-height: 54px;

    padding:
        14px 16px;

    border:
        1px solid
        rgba(148,163,184,.35);

    border-radius:
        var(--bbs-input-radius);

    outline: none;

    color:
        var(--bbs-text);

    font-size: 15px;

    background:
        rgba(255,255,255,.72);

    box-shadow:
        inset 0 1px 2px
        rgba(15,23,42,.03);

    transition:

        border-color var(--bbs-transition),
        box-shadow var(--bbs-transition),
        background var(--bbs-transition),
        transform var(--bbs-transition);

    box-sizing: border-box;
}


.bbs-form-control::placeholder {

    color:
        var(--bbs-placeholder);

    opacity: 1;
}


.bbs-form-control:hover {

    background:
        rgba(255,255,255,.90);
}


.bbs-form-control:focus {

    border-color:
        rgba(37,99,235,.65);

    background:
        rgba(255,255,255,.96);

    box-shadow:

        0 0 0 4px
        rgba(37,99,235,.10),

        0 10px 28px
        rgba(37,99,235,.08);

    transform:
        translateY(-1px);
}


/* =========================================================
   PASSWORD FIELD
========================================================= */

.bbs-password-wrapper {
    position: relative;
    width: 100%;
}


/* =========================================================
   PASSWORD INPUT
========================================================= */

.bbs-password-wrapper .bbs-input,
.bbs-password-wrapper .bbs-form-control {
    width: 100%;
    padding-right: 54px;
}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.bbs-password-toggle {
    position: absolute;

    top: 50%;
    right: 10px;

    width: 38px;
    height: 38px;

    margin: 0;
    padding: 0;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    outline: none;

    background: transparent;

    color: #64748b;

    cursor: pointer;

    z-index: 5;

    border-radius: 10px;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}


/* Hover */

.bbs-password-toggle:hover {
    color: #2563eb;

    background: rgba(37, 99, 235, 0.08);
}


/* Active */

.bbs-password-toggle:active {
    transform:
        translateY(-50%)
        scale(0.94);
}


/* Focus */

.bbs-password-toggle:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.35);

    outline-offset: 2px;
}


/* =========================================================
   EYE ICON
========================================================= */

.bbs-eye-icon {
    width: 22px;
    height: 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    pointer-events: none;
}


.bbs-eye-svg {
    width: 21px;
    height: 21px;

    display: block;

    color: currentColor;

    pointer-events: none;
}


/* Prevent emoji/image fallback */

.bbs-password-toggle img,
.bbs-password-toggle::before,
.bbs-password-toggle::after {
    display: none !important;
}


/* =========================================================
   PASSWORD FIELD — RIGHT PADDING
========================================================= */

.bbs-reset-password-form
.bbs-password-wrapper
input[type="password"],

.bbs-reset-password-form
.bbs-password-wrapper
input[type="text"] {
    padding-right: 54px !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .bbs-password-toggle {
        right: 8px;

        width: 36px;
        height: 36px;
    }

    .bbs-eye-svg {
        width: 20px;
        height: 20px;
    }

}

/* =========================================================
   PASSWORD HINT
========================================================= */

.bbs-password-hint {

    margin:
        -5px 0 24px;

    padding:
        14px 15px;

    border-radius: 14px;

    border:
        1px solid
        rgba(37,99,235,.12);

    background:

        linear-gradient(
            135deg,
            rgba(37,99,235,.07),
            rgba(124,58,237,.05)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,.6);
}


.bbs-password-hint p {

    margin: 0;

    color:
        var(--bbs-text-soft);

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   FORM ACTION
========================================================= */

.bbs-form-actions {

    margin-top: 27px;
}


/* =========================================================
   PREMIUM BUTTON
========================================================= */

.bbs-button {

    position: relative;

    width: 100%;

    min-height: 55px;

    padding:
        14px 22px;

    border: 0;

    border-radius: 15px;

    color:
        #fff;

    font-size: 15px;

    font-weight: 800;

    cursor: pointer;

    overflow: hidden;

    background:

        linear-gradient(
            135deg,
            #2563eb 0%,
            #6366f1 45%,
            #7c3aed 75%,
            #06b6d4 100%
        );

    box-shadow:

        0 14px 30px
        rgba(37,99,235,.28);

    transition:

        transform .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
}


.bbs-button::before {

    content: "";

    position: absolute;

    top: 0;
    left: -130%;

    width: 80%;
    height: 100%;

    background:

        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.35),
            transparent
        );

    transform:
        skewX(-20deg);

    transition:
        left .7s ease;
}


.bbs-button:hover {

    transform:
        translateY(-2px);

    box-shadow:

        0 18px 40px
        rgba(37,99,235,.34);

    filter:
        saturate(1.12);
}


.bbs-button:hover::before {

    left: 135%;
}


.bbs-button:active {

    transform:
        translateY(0);

    box-shadow:
        0 8px 18px
        rgba(37,99,235,.22);
}


.bbs-button:disabled {

    opacity: .7;

    cursor:
        not-allowed;

    transform:
        none;
}


/* =========================================================
   FOOTER
========================================================= */

.bbs-auth-footer {

    margin-top: 25px;

    padding-top: 22px;

    text-align: center;

    border-top:
        1px solid
        rgba(148,163,184,.20);
}


.bbs-auth-link {

    position: relative;

    display: inline-block;

    color:
        var(--bbs-primary);

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition:
        color .25s ease;
}


.bbs-auth-link:hover {

    color:
        var(--bbs-primary-dark);
}


/* =========================================================
   VALIDATION
========================================================= */

.bbs-form-control:invalid:not(:placeholder-shown) {

    border-color:
        rgba(239,68,68,.50);
}


.bbs-form-control:valid:not(:placeholder-shown) {

    border-color:
        rgba(16,185,129,.40);
}


/* =========================================================
   FORGOT PASSWORD
========================================================= */

.bbs-forgot-password-wrapper {

    min-height:
        580px;
}


.bbs-forgot-password-wrapper
.bbs-auth-card {

    max-width:
        460px;
}


/* =========================================================
   RESET PASSWORD
========================================================= */

.bbs-reset-password-wrapper {

    min-height:
        650px;
}


.bbs-reset-password-wrapper
.bbs-auth-card {

    max-width:
        480px;
}


/* =========================================================
   RESET PASSWORD — EYE FIX
   Extra specificity prevents theme conflicts
========================================================= */

.bbs-reset-password-wrapper
.bbs-password-wrapper {

    position:
        relative !important;

    width:
        100% !important;

    min-height:
        54px !important;
}


.bbs-reset-password-wrapper
.bbs-password-wrapper
.bbs-form-control {

    width:
        100% !important;

    padding-right:
        64px !important;

    box-sizing:
        border-box !important;
}


.bbs-reset-password-wrapper
.bbs-password-wrapper
.bbs-password-toggle {

    position:
        absolute !important;

    top:
        50% !important;

    right:
        9px !important;

    bottom:
        auto !important;

    left:
        auto !important;

    width:
        42px !important;

    height:
        42px !important;

    transform:
        translateY(-50%) !important;

    margin:
        0 !important;

    padding:
        0 !important;

    display:
        flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    z-index:
        50 !important;
}


.bbs-reset-password-wrapper
.bbs-password-wrapper
.bbs-eye-icon {

    width:
        21px !important;

    height:
        21px !important;

    display:
        block !important;

    position:
        static !important;

    margin:
        0 !important;

    transform:
        none !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .bbs-auth-wrapper {

        min-height:
            100vh;

        padding:
            35px 15px;
    }


    .bbs-auth-card {

        padding:
            30px 22px;

        border-radius:
            20px;
    }


    .bbs-auth-title {

        font-size:
            26px;
    }


    .bbs-auth-description {

        font-size:
            14px;
    }


    .bbs-form-control {

        min-height:
            52px;

        font-size:
            16px;
    }


    .bbs-button {

        min-height:
            53px;
    }


    .bbs-password-wrapper
    .bbs-password-toggle {

        right:
            7px !important;

        width:
            40px !important;

        height:
            40px !important;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .bbs-auth-wrapper {

        padding:
            20px 10px;
    }


    .bbs-auth-card {

        padding:
            26px 18px;

        border-radius:
            18px;
    }


    .bbs-auth-title {

        font-size:
            24px;
    }


    .bbs-password-hint p {

        font-size:
            11.5px;
    }


    .bbs-reset-password-wrapper
    .bbs-password-wrapper
    .bbs-password-toggle {

        right:
            6px !important;

        width:
            38px !important;

        height:
            38px !important;
    }


    .bbs-reset-password-wrapper
    .bbs-password-wrapper
    .bbs-eye-icon {

        width:
            20px !important;

        height:
            20px !important;
    }
}


/* =========================================================
   DARK MODE
========================================================= */

@media (prefers-color-scheme: dark) {

    .bbs-auth-wrapper {

        background:

            radial-gradient(
                circle at 10% 10%,
                rgba(37,99,235,.24),
                transparent 35%
            ),

            radial-gradient(
                circle at 90% 20%,
                rgba(124,58,237,.20),
                transparent 35%
            ),

            linear-gradient(
                135deg,
                #0f172a,
                #111827,
                #0f172a
            );
    }


    .bbs-auth-card {

        background:

            linear-gradient(
                135deg,
                rgba(30,41,59,.82),
                rgba(15,23,42,.68)
            );

        border-color:
            rgba(255,255,255,.10);

        box-shadow:

            0 30px 80px
            rgba(0,0,0,.38),

            inset 0 1px 0
            rgba(255,255,255,.08);
    }


    .bbs-form-group > label {

        color:
            #e2e8f0;
    }


    .bbs-auth-description {

        color:
            #94a3b8;
    }


    .bbs-form-control {

        color:
            #f8fafc;

        border-color:
            rgba(148,163,184,.20);

        background:
            rgba(15,23,42,.58);
    }


    .bbs-form-control:hover,
    .bbs-form-control:focus {

        background:
            rgba(15,23,42,.76);
    }


    .bbs-form-control::placeholder {

        color:
            #64748b;
    }


    .bbs-password-hint {

        border-color:
            rgba(99,102,241,.18);

        background:
            rgba(99,102,241,.08);
    }


    .bbs-password-hint p {

        color:
            #94a3b8;
    }


    .bbs-auth-footer {

        border-color:
            rgba(148,163,184,.12);
    }


    .bbs-password-toggle {

        color:
            #94a3b8 !important;
    }


    .bbs-password-toggle:hover {

        color:
            #a5b4fc !important;

        background:
            rgba(99,102,241,.13) !important;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

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

    .bbs-auth-card,
    .bbs-auth-wrapper::before,
    .bbs-auth-wrapper::after {

        animation:
            none !important;
    }

    .bbs-button,
    .bbs-form-control,
    .bbs-auth-link,
    .bbs-password-toggle {

        transition:
            none !important;
    }
}

/* ==========================================================================
   BALLIGO BSOFT — PREMIUM AUTHENTICATION 3.5.2
   Final visual layer for Forgot + Reset Password.
   ========================================================================== */

.bbs-auth-wrapper {
    isolation: isolate;
    min-height: 680px;
    padding: clamp(38px, 6vw, 76px) 18px;
    background:
        radial-gradient(circle at 12% 14%, rgba(59,130,246,.25), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(139,92,246,.22), transparent 30%),
        radial-gradient(circle at 55% 105%, rgba(6,182,212,.18), transparent 34%),
        linear-gradient(135deg, #eef2ff 0%, #f8fafc 48%, #ecfeff 100%);
}

.bbs-auth-wrapper::before,
.bbs-auth-wrapper::after {
    z-index: -2;
}

.bbs-auth-orb {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(2px);
    opacity: .8;
}

.bbs-auth-orb-one {
    width: 150px;
    height: 150px;
    top: 8%;
    left: 7%;
    background: linear-gradient(135deg, rgba(99,102,241,.24), rgba(6,182,212,.12));
    animation: bbs-orb-float 8s ease-in-out infinite;
}

.bbs-auth-orb-two {
    width: 190px;
    height: 190px;
    right: 6%;
    bottom: 8%;
    background: linear-gradient(135deg, rgba(124,58,237,.20), rgba(37,99,235,.10));
    animation: bbs-orb-float 10s ease-in-out infinite reverse;
}

@keyframes bbs-orb-float {
    0%, 100% { transform: translate3d(0,0,0); }
    50% { transform: translate3d(12px,-14px,0); }
}

.bbs-auth-card {
    max-width: 510px;
    padding: clamp(25px, 5vw, 42px);
    border: 1px solid rgba(255,255,255,.68);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.91), rgba(255,255,255,.66));
    box-shadow:
        0 35px 90px rgba(15,23,42,.16),
        0 8px 28px rgba(79,70,229,.08),
        inset 0 1px 0 rgba(255,255,255,.95);
    backdrop-filter: blur(30px) saturate(170%);
    -webkit-backdrop-filter: blur(30px) saturate(170%);
}

.bbs-auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 23px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .2px;
}

.bbs-auth-brand-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #7c3aed 70%, #06b6d4);
    box-shadow: 0 12px 28px rgba(79,70,229,.25);
}

.bbs-auth-brand-text {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bbs-auth-header {
    margin-bottom: 24px;
}

.bbs-auth-heading-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    border: 1px solid rgba(99,102,241,.16);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(99,102,241,.12), rgba(6,182,212,.08));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.bbs-auth-kicker {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.bbs-auth-title {
    margin-bottom: 9px;
    font-size: clamp(25px, 4vw, 31px);
    letter-spacing: -.75px;
}

.bbs-auth-description {
    max-width: 410px;
    font-size: 14px;
    line-height: 1.8;
}

.bbs-auth-security-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    padding: 11px 13px;
    color: #475569;
    border: 1px solid rgba(99,102,241,.11);
    border-radius: 13px;
    background: rgba(248,250,252,.60);
    font-size: 12px;
    line-height: 1.5;
}

.bbs-security-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 5px rgba(16,185,129,.10);
}

.bbs-form-group {
    margin-bottom: 19px;
}

.bbs-form-group > label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 800;
}

.bbs-label-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    border-radius: 9px;
    background: rgba(99,102,241,.09);
}

.bbs-input-shell {
    position: relative;
}

.bbs-form-control {
    min-height: 56px;
    padding: 15px 16px;
    border-color: rgba(100,116,139,.23);
    border-radius: 16px;
    background: rgba(255,255,255,.74);
    box-shadow: 0 4px 14px rgba(15,23,42,.025);
}

.bbs-form-control:hover {
    border-color: rgba(99,102,241,.30);
}

.bbs-form-control:focus {
    border-color: rgba(79,70,229,.66);
    box-shadow:
        0 0 0 4px rgba(79,70,229,.09),
        0 12px 28px rgba(79,70,229,.08);
}

.bbs-password-field {
    position: relative !important;
    width: 100%;
    min-height: 56px;
}

.bbs-password-field .bbs-form-control {
    width: 100%;
    padding-right: 66px !important;
}

.bbs-password-field .bbs-password-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 8px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 30 !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateY(-50%) !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: #64748b !important;
    line-height: 1 !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
}

.bbs-password-field .bbs-password-toggle:hover {
    color: #4f46e5 !important;
    border-color: rgba(99,102,241,.10) !important;
    background: rgba(99,102,241,.08) !important;
    transform: translateY(-50%) scale(1.04) !important;
}

.bbs-password-field .bbs-password-toggle:active {
    transform: translateY(-50%) scale(.95) !important;
}

.bbs-password-field .bbs-password-toggle:focus-visible {
    outline: none !important;
    color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79,70,229,.13) !important;
}

.bbs-eye-icon {
    width: 21px !important;
    height: 21px !important;
    min-width: 21px !important;
    min-height: 21px !important;
    display: block !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
}

.bbs-eye-open { display: block !important; }
.bbs-eye-closed { display: none !important; }

.bbs-password-toggle.is-visible .bbs-eye-open {
    display: none !important;
}

.bbs-password-toggle.is-visible .bbs-eye-closed {
    display: block !important;
}

.bbs-password-meter {
    display: flex;
    gap: 5px;
    height: 4px;
    margin: 7px 4px 0;
}

.bbs-password-meter span {
    flex: 1;
    border-radius: 999px;
    background: #e2e8f0;
}

.bbs-password-hint {
    display: flex;
    gap: 11px;
    margin: 4px 0 22px;
    padding: 13px 14px;
    border: 1px solid rgba(99,102,241,.12);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(99,102,241,.07), rgba(6,182,212,.045));
}

.bbs-hint-icon {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #047857;
    border-radius: 9px;
    background: rgba(16,185,129,.11);
    font-size: 13px;
    font-weight: 900;
}

.bbs-password-hint strong {
    display: block;
    margin-bottom: 2px;
    color: #334155;
    font-size: 12px;
}

.bbs-password-hint p {
    margin: 0;
    color: #64748b;
    font-size: 11.5px;
    line-height: 1.65;
}

.bbs-button {
    min-height: 56px;
    border-radius: 16px;
    letter-spacing: .05px;
}

.bbs-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 7px;
    font-size: 18px;
    transition: transform .2s ease;
}

.bbs-button:hover .bbs-button-icon {
    transform: translateX(3px);
}

.bbs-auth-footer {
    margin-top: 21px;
    padding-top: 19px;
}

.bbs-auth-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.bbs-auth-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 17px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.bbs-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 15px;
}

.bbs-alert-icon {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
}

.bbs-alert-success .bbs-alert-icon {
    color: #047857;
    background: rgba(16,185,129,.12);
}

.bbs-alert-error .bbs-alert-icon {
    color: #b91c1c;
    background: rgba(239,68,68,.11);
}

.bbs-input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239,68,68,.08) !important;
}

.bbs-field-error {
    display: block;
    margin: 7px 3px 0;
    color: #dc2626;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
}

.bbs-button.is-loading {
    position: relative;
    opacity: .78;
    cursor: wait;
}

.bbs-button.is-loading::after {
    content: "";
    width: 15px;
    height: 15px;
    margin-left: 9px;
    display: inline-block;
    vertical-align: -3px;
    border: 2px solid rgba(255,255,255,.9);
    border-right-color: transparent;
    border-radius: 50%;
    animation: bbs-premium-spin .7s linear infinite;
}

@keyframes bbs-premium-spin {
    to { transform: rotate(360deg); }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .bbs-auth-wrapper {
        background:
            radial-gradient(circle at 12% 14%, rgba(59,130,246,.20), transparent 30%),
            radial-gradient(circle at 88% 18%, rgba(139,92,246,.18), transparent 30%),
            linear-gradient(135deg, #0f172a, #111827 55%, #0f172a);
    }

    .bbs-auth-card {
        border-color: rgba(148,163,184,.14);
        background: linear-gradient(145deg, rgba(30,41,59,.92), rgba(15,23,42,.78));
        box-shadow: 0 35px 90px rgba(0,0,0,.35);
    }

    .bbs-auth-brand,
    .bbs-form-group > label,
    .bbs-password-hint strong {
        color: #e2e8f0;
    }

    .bbs-auth-description,
    .bbs-auth-security-note,
    .bbs-password-hint p {
        color: #94a3b8;
    }

    .bbs-auth-security-note,
    .bbs-password-hint {
        border-color: rgba(148,163,184,.12);
        background: rgba(15,23,42,.35);
    }

    .bbs-form-control {
        color: #e2e8f0;
        border-color: rgba(148,163,184,.18);
        background: rgba(15,23,42,.45);
    }

    .bbs-form-control:hover,
    .bbs-form-control:focus {
        background: rgba(15,23,42,.62);
    }

    .bbs-form-control::placeholder {
        color: #64748b;
    }

    .bbs-auth-footer {
        border-color: rgba(148,163,184,.12);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .bbs-auth-wrapper {
        min-height: 100dvh;
        padding: 22px 12px;
        align-items: center;
    }

    .bbs-auth-card {
        max-width: 100%;
        padding: 23px 18px 19px;
        border-radius: 24px;
    }

    .bbs-auth-brand {
        margin-bottom: 18px;
    }

    .bbs-auth-heading-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 11px;
        border-radius: 16px;
    }

    .bbs-auth-title {
        font-size: 24px;
    }

    .bbs-auth-description {
        font-size: 13px;
        line-height: 1.7;
    }

    .bbs-auth-security-note {
        font-size: 11.5px;
    }

    .bbs-form-control {
        min-height: 54px;
    }

    .bbs-password-field {
        min-height: 54px;
    }

    .bbs-password-field .bbs-password-toggle {
        width: 42px !important;
        height: 42px !important;
        right: 7px !important;
    }

    .bbs-password-field .bbs-form-control {
        padding-right: 60px !important;
    }

    .bbs-auth-orb-one {
        left: -55px;
    }

    .bbs-auth-orb-two {
        right: -75px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bbs-auth-card,
    .bbs-auth-orb-one,
    .bbs-auth-orb-two,
    .bbs-button,
    .bbs-password-toggle {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================================
   RESET PASSWORD — FINAL EYE TOGGLE POSITION FIX
========================================================= */

/*
 * Password wrapper must be the positioning reference.
 */
.bbs-reset-password-wrapper
.bbs-password-wrapper {

    position: relative !important;

    display: block !important;

    width: 100% !important;

    height: 54px !important;

    min-height: 54px !important;

    margin: 0 !important;

    padding: 0 !important;

}


/*
 * Password input keeps fixed height.
 * Focus will NOT change the wrapper geometry.
 */
.bbs-reset-password-wrapper
.bbs-password-wrapper
.bbs-input,
.bbs-reset-password-wrapper
.bbs-password-wrapper
.bbs-form-control {

    width: 100% !important;

    height: 54px !important;

    min-height: 54px !important;

    max-height: 54px !important;

    box-sizing: border-box !important;

    padding-top: 0 !important;

    padding-bottom: 0 !important;

    padding-right: 58px !important;

    line-height: 54px !important;

}


/*
 * IMPORTANT:
 * Eye button is absolutely centered against
 * the fixed-height wrapper.
 */
.bbs-reset-password-wrapper
.bbs-password-wrapper
.bbs-password-toggle {

    position: absolute !important;

    top: 50% !important;

    right: 7px !important;

    left: auto !important;

    bottom: auto !important;

    transform: translateY(-50%) !important;

    width: 40px !important;

    height: 40px !important;

    min-width: 40px !important;

    max-width: 40px !important;

    min-height: 40px !important;

    max-height: 40px !important;

    margin: 0 !important;

    padding: 0 !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    border: 0 !important;

    border-radius: 10px !important;

    background: transparent !important;

    box-sizing: border-box !important;

    line-height: 0 !important;

    vertical-align: middle !important;

    z-index: 20 !important;

}


/*
 * Focus must NOT move the button.
 */
.bbs-reset-password-wrapper
.bbs-password-wrapper:focus-within
.bbs-password-toggle {

    top: 50% !important;

    right: 7px !important;

    bottom: auto !important;

    transform: translateY(-50%) !important;

}


/*
 * SVG / eye icon itself.
 */
.bbs-reset-password-wrapper
.bbs-password-toggle
.bbs-eye-icon {

    width: 20px !important;

    height: 20px !important;

    min-width: 20px !important;

    min-height: 20px !important;

    max-width: 20px !important;

    max-height: 20px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    position: relative !important;

    top: auto !important;

    right: auto !important;

    bottom: auto !important;

    left: auto !important;

    margin: 0 !important;

    padding: 0 !important;

    transform: none !important;

    line-height: 0 !important;

}


/*
 * SVG must stay perfectly centered.
 */
.bbs-reset-password-wrapper
.bbs-password-toggle
.bbs-eye-svg {

    display: block !important;

    width: 20px !important;

    height: 20px !important;

    min-width: 20px !important;

    min-height: 20px !important;

    max-width: 20px !important;

    max-height: 20px !important;

    margin: 0 !important;

    padding: 0 !important;

    position: static !important;

    transform: none !important;

    vertical-align: middle !important;

}


/*
 * Prevent browser focus styles from changing geometry.
 */
.bbs-reset-password-wrapper
.bbs-password-wrapper
.bbs-password-toggle:focus {

    outline: none !important;

    top: 50% !important;

    transform: translateY(-50%) !important;

}


/*
 * Keyboard accessibility.
 */
.bbs-reset-password-wrapper
.bbs-password-toggle:focus-visible {

    outline: 2px solid
        rgba(37, 99, 235, .25) !important;

    outline-offset: 2px !important;

}


/*
 * Hover.
 */
.bbs-reset-password-wrapper
.bbs-password-toggle:hover {

    color: #2563eb !important;

    background:
        rgba(37, 99, 235, .08) !important;

}


/*
 * Active/click must NOT change vertical position.
 */
.bbs-reset-password-wrapper
.bbs-password-toggle:active {

    top: 50% !important;

    transform:
        translateY(-50%)
        scale(.94) !important;

}


/*
 * Password input focus must not alter its height.
 */
.bbs-reset-password-wrapper
.bbs-password-wrapper
.bbs-input:focus,
.bbs-reset-password-wrapper
.bbs-password-wrapper
.bbs-form-control:focus {

    height: 54px !important;

    min-height: 54px !important;

    max-height: 54px !important;

    box-sizing: border-box !important;

}


/*
 * Mobile
 */
@media (max-width: 600px) {

    .bbs-reset-password-wrapper
    .bbs-password-wrapper {

        height: 52px !important;

        min-height: 52px !important;

    }

    .bbs-reset-password-wrapper
    .bbs-password-wrapper
    .bbs-input,
    .bbs-reset-password-wrapper
    .bbs-password-wrapper
    .bbs-form-control {

        height: 52px !important;

        min-height: 52px !important;

        max-height: 52px !important;

        line-height: 52px !important;

    }

    .bbs-reset-password-wrapper
    .bbs-password-wrapper
    .bbs-password-toggle {

        top: 50% !important;

        right: 6px !important;

        width: 38px !important;

        height: 38px !important;

        min-width: 38px !important;

        min-height: 38px !important;

        transform:
            translateY(-50%) !important;

    }

}


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.account-grid{
    gap:16px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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