/**
 * Balligo BSoft Premium Login CSS
 *
 * Premium Glassmorphism Login Interface
 *
 * @package BalligoBSoft
 * @subpackage Login
 * @since 3.5.0
 */


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

:root {

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

    --bbs-text: #0f172a;
    --bbs-muted: #64748b;

    --bbs-border: rgba(148, 163, 184, .25);

    --bbs-card: rgba(255, 255, 255, .78);

}


/* =========================================================
   LOGIN WRAPPER
========================================================= */

.bbs-login-wrapper {

    position: relative;

    isolation: isolate;

    width: 100%;

    min-height: 100vh;

    padding: 48px 18px;
    border-radius:10px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background:

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

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

        linear-gradient(
            135deg,
            #f8fbff 0%,
            #eef5ff 48%,
            #f8f4ff 100%
        );

    font-family: inherit;

}


/* =========================================================
   BACKGROUND GRID
========================================================= */

.bbs-login-wrapper::before {

    content: "";

    position: absolute;

    inset: 0;

    z-index: -3;

    background:

        linear-gradient(
            rgba(255, 255, 255, .18) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255, 255, 255, .18) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );

}


/* =========================================================
   BACKGROUND ORBS
========================================================= */

.bbs-login-orb {

    position: absolute;

    z-index: -2;

    width: 260px;

    height: 260px;

    border-radius: 50%;

    filter: blur(8px);

    opacity: .42;

    pointer-events: none;

}

.bbs-login-orb-one {

    top: 5%;

    left: 4%;

    background:
        linear-gradient(
            135deg,
            #60a5fa,
            #22d3ee
        );

}

.bbs-login-orb-two {

    right: 2%;

    bottom: 4%;

    background:
        linear-gradient(
            135deg,
            #a78bfa,
            #60a5fa
        );

}


/* =========================================================
   LOGIN CARD
========================================================= */

.bbs-login-card {

    position: relative;

    width: min(100%, 520px);

    padding: 38px 38px 30px;

    border: 1px solid rgba(255, 255, 255, .86);

    border-radius:30px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .88),
            rgba(255, 255, 255, .62)
        );

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

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

    box-shadow:

        0 38px 90px
        rgba(15, 23, 42, .13),

        0 12px 35px
        rgba(37, 99, 235, .09),

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

    overflow: hidden;

}


/* =========================================================
   TOP GRADIENT LINE
========================================================= */

.bbs-login-topline {

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #7c3aed,
            #06b6d4,
            #2563eb
        );

    background-size: 220% 100%;

    animation:
        bbsGradient 5s linear infinite;

}


@keyframes bbsGradient {

    to {

        background-position: 220% 0;

    }

}


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

.bbs-login-header {

    text-align: center;

    margin-bottom: 25px;

}


/* =========================================================
   LOGIN ICON
========================================================= */

.bbs-login-icon {

    width: 70px;

    height: 70px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #fff;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #4f46e5 52%,
            #7c3aed
        );

    box-shadow:

        0 18px 35px
        rgba(37, 99, 235, .25),

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

}


.bbs-login-icon svg {

    width: 34px;

    height: 34px;

}


/* =========================================================
   TITLE
========================================================= */

.bbs-login-title {

    margin: 0;

    color: var(--bbs-text);

    font-size: 29px;

    line-height: 1.2;

    font-weight: 850;

    letter-spacing: -.6px;

}


.bbs-login-subtitle {

    margin: 9px 0 13px;

    color: var(--bbs-muted);

    font-size: 14px;

    line-height: 1.7;

}


/* =========================================================
   SECURITY BADGE
========================================================= */

.bbs-login-security-badge {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 6px 11px;

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

    border-radius: 999px;

    background:
        rgba(236, 253, 245, .72);

    color: #047857;

    font-size: 11px;

    font-weight: 750;

}


.bbs-status-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #10b981;

    box-shadow:
        0 0 0 4px
        rgba(16, 185, 129, .12);

}


/* =========================================================
   ERROR
========================================================= */

.bbs-login-error {

    display: flex;

    align-items: center;

    gap: 10px;

    margin: 0 0 18px;

    padding: 12px 14px;

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

    border-radius: 14px;

    background:
        rgba(254, 242, 242, .82);

    color: #b91c1c;

    font-size: 13px;

    line-height: 1.5;

}


.bbs-alert-icon {

    width: 20px;

    height: 20px;

    flex: 0 0 20px;

}


.bbs-alert-icon svg {

    width: 100%;

    height: 100%;

}


/* =========================================================
   LOGIN METHODS
========================================================= */

.bbs-login-methods {

    margin-bottom: 22px;

}


.bbs-method-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 10px;

}


.bbs-method-heading span {

    color: var(--bbs-text);

    font-size: 13px;

    font-weight: 800;

}


.bbs-method-heading small {

    color: #94a3b8;

    font-size: 10px;

}


.bbs-method-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 8px;

}


.bbs-login-method {

    min-height: 65px;

    padding: 9px 5px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

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

    border-radius: 14px;

    color: #64748b;

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

    font: inherit;

    font-size: 10px;

    font-weight: 750;

    cursor: pointer;

    transition: .22s ease;

}


.bbs-login-method:hover {

    transform: translateY(-2px);

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

    color: #2563eb;

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

}


.bbs-login-method.active {

    color: #fff;

    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #7c3aed
        );

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

}


.bbs-method-icon {

    width: 22px;

    height: 22px;

    display: flex;

}


.bbs-method-icon svg {

    width: 100%;

    height: 100%;

}


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

.bbs-form-group {

    margin-bottom: 15px;

}


/* =========================================================
   FIELD LABEL
   IMPORTANT:
   ICON IS NOW BESIDE LABEL
   NOT INSIDE INPUT
========================================================= */

.bbs-field-label {

    display: inline-flex !important;

    align-items: center;

    gap: 7px;

    margin: 0 0 8px !important;

    color: #334155;

    font-size: 12px;

    font-weight: 800;

    line-height: 1.4;

    cursor: pointer;

}


.bbs-field-label-icon {

    width: 27px;

    height: 27px;

    flex: 0 0 27px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    color: #2563eb;

    background:
        rgba(37, 99, 235, .09);

}


.bbs-field-label-icon svg {

    width: 17px;

    height: 17px;

    display: block;

}


/* =========================================================
   LABEL ROW
========================================================= */

.bbs-label-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

}


.bbs-label-row .bbs-field-label {

    margin-bottom: 8px !important;

}


.bbs-mode-label {

    margin-bottom: 8px;

    font-size: 10px;

    color: #94a3b8;

}


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

.bbs-input-wrapper {

    position: relative;

    width: 100%;

}


/*
|--------------------------------------------------------------------------
| IMPORTANT
|--------------------------------------------------------------------------
| No .bbs-input-icon anymore.
| Input gets normal left padding.
|--------------------------------------------------------------------------
*/

.bbs-input {

    width: 100%;

    min-height: 53px;

    padding: 0 16px;

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

    border-radius: 15px;

    outline: 0;

    color: #1e293b;

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

    font: inherit;

    font-size: 14px;

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

    transition:
        border-color .2s,
        box-shadow .2s,
        background .2s,
        transform .2s;

}


.bbs-input:hover {

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

}


.bbs-input:focus {

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

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

    box-shadow:

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

        0 9px 24px
        rgba(37, 99, 235, .06);

}


.bbs-input::placeholder {

    color: #a5afbd;

}


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

/*
 * Only password field needs right padding
 * because the eye button occupies the right side.
 */

.bbs-password-field .bbs-input {

    padding-right: 54px;

}


/* =========================================================
   EYE TOGGLE
========================================================= */

.bbs-login-password-toggle {

    position: absolute;

    right: 7px;

    top: 50%;

    z-index: 5;

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    margin: 0;

    transform: translateY(-50%);

    border: 0;

    border-radius: 10px;

    color: #64748b;

    background: transparent;

    cursor: pointer;

    appearance: none;

    -webkit-appearance: none;

    line-height: 0;

}


.bbs-login-password-toggle:hover {

    color: #2563eb;

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

}


.bbs-login-password-toggle:active {

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

}


.bbs-login-password-toggle:focus {

    outline: none;

}


.bbs-login-password-toggle:focus-visible {

    outline: 0;

    box-shadow:
        0 0 0 3px
        rgba(37, 99, 235, .14);

}


.bbs-eye-icon {

    width: 20px;

    height: 20px;

    display: block;

    flex: 0 0 20px;

    pointer-events: none;

}


/* =========================================================
   FIELD HINT
========================================================= */

.bbs-field-hint {

    min-height: 0;

    margin-top: 5px;

    color: #94a3b8;

    font-size: 10px;

}


/* =========================================================
   OTP
========================================================= */

.bbs-otp-row {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 9px;

}


.bbs-otp-send {

    position: relative;

    min-width: 104px;

    height: 34px;

    padding: 0 12px;

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

    border-radius: 10px;

    color: #2563eb;

    background:
        rgba(239, 246, 255, .8);

    font: inherit;

    font-size: 11px;

    font-weight: 800;

    cursor: pointer;

}


.bbs-otp-send:disabled {

    opacity: .55;

    cursor: not-allowed;

}


.bbs-otp-status {

    font-size: 10px;

    color: #64748b;

}


.bbs-otp-status.is-success {

    color: #047857;

}


.bbs-otp-status.is-error {

    color: #b91c1c;

}


.bbs-otp-spinner {

    display: none;

    width: 12px;

    height: 12px;

    margin-left: 4px;

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

    border-top-color: #2563eb;

    border-radius: 50%;

    vertical-align: middle;

    animation:
        bbsSpin .7s linear infinite;

}


.bbs-otp-send.is-loading
.bbs-otp-spinner {

    display: inline-block;

}


@keyframes bbsSpin {

    to {

        transform: rotate(360deg);

    }

}


/* =========================================================
   FORM OPTIONS
========================================================= */

.bbs-form-options {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin: 2px 0 20px;

    font-size: 12px;

}


.bbs-remember {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #64748b;

    cursor: pointer;

    user-select: none;

}


.bbs-remember input {

    position: absolute;

    opacity: 0;

    pointer-events: none;

}


.bbs-custom-checkbox {

    width: 18px;

    height: 18px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #cbd5e1;

    border-radius: 6px;

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

}


.bbs-remember input:checked
+ .bbs-custom-checkbox {

    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #7c3aed
        );

}


.bbs-remember input:checked
+ .bbs-custom-checkbox::after {

    content: "";

    width: 7px;

    height: 4px;

    border-left: 2px solid #fff;

    border-bottom: 2px solid #fff;

    transform:
        rotate(-45deg)
        translateY(-1px);

}


.bbs-forgot-link {

    color: #2563eb;

    font-weight: 800;

    text-decoration: none;

}


.bbs-forgot-link:hover {

    color: #7c3aed;

    text-decoration: underline;

}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.bbs-login-submit {

    position: relative;

    width: 100%;

    min-height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    border: 0;

    border-radius: 15px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #4f46e5 52%,
            #7c3aed
        );

    box-shadow:
        0 15px 30px
        rgba(37, 99, 235, .22);

    font: inherit;

    font-size: 14px;

    font-weight: 850;

    cursor: pointer;

    overflow: hidden;

    transition: .22s ease;

}


.bbs-login-submit::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            120deg,
            transparent 20%,
            rgba(255, 255, 255, .2) 48%,
            transparent 75%
        );

    transform: translateX(-100%);

    transition: .6s;

}


.bbs-login-submit:hover {

    transform: translateY(-2px);

    box-shadow:
        0 19px 36px
        rgba(37, 99, 235, .28);

}


.bbs-login-submit:hover::before {

    transform: translateX(100%);

}


.bbs-login-submit:disabled {

    opacity: .7;

    cursor: wait;

    transform: none;

}


.bbs-btn-icon {

    width: 20px;

    height: 20px;

}


.bbs-btn-icon svg {

    width: 100%;

    height: 100%;

}


.bbs-login-submit.is-loading::after {

    content: "";

    width: 16px;

    height: 16px;

    border: 2px solid
        rgba(255, 255, 255, .4);

    border-top-color: #fff;

    border-radius: 50%;

    animation:
        bbsSpin .7s linear infinite;

}


/* =========================================================
   TRUST
========================================================= */

.bbs-login-trust {

    display: flex;

    justify-content: center;

    gap: 18px;

    margin-top: 14px;

    color: #94a3b8;

    font-size: 9px;

    font-weight: 700;

}


.bbs-login-trust span {

    display: inline-flex;

    align-items: center;

    gap: 4px;

}


.bbs-login-trust svg {

    width: 13px;

    height: 13px;

}


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

.bbs-login-extra {

    margin-top: 24px;

    text-align: center;

}


.bbs-login-divider {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #a1a9b5;

    font-size: 10px;

    margin-bottom: 15px;

}


.bbs-login-divider::before,
.bbs-login-divider::after {

    content: "";

    height: 1px;

    flex: 1;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(148, 163, 184, .24)
        );

}


.bbs-login-divider::after {

    background:
        linear-gradient(
            90deg,
            rgba(148, 163, 184, .24),
            transparent
        );

}


.bbs-login-extra p {

    margin: 0 0 8px;

    color: #64748b;

    font-size: 12px;

}


.bbs-register-link {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #2563eb;

    font-size: 13px;

    font-weight: 850;

    text-decoration: none;

    transition: .2s ease;

}


.bbs-register-link:hover {

    color: #7c3aed;

    gap: 10px;

}


.bbs-register-link svg {

    width: 16px;

    height: 16px;

}


/* =========================================================
   MODAL
========================================================= */

.bbs-modal[hidden] {

    display: none !important;

}


.bbs-modal {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 18px;

    background:
        rgba(15, 23, 42, .35);

    backdrop-filter: blur(7px);

}


.bbs-modal-content {

    position: relative;

    width: min(100%, 380px);

    padding: 30px;

    border: 1px solid
        rgba(255, 255, 255, .8);

    border-radius: 22px;

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

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

    text-align: center;

}


.bbs-modal-close {

    position: absolute;

    right: 12px;

    top: 10px;

    width: 32px;

    height: 32px;

    border: 0;

    border-radius: 9px;

    color: #64748b;

    background:
        rgba(148, 163, 184, .1);

    font-size: 22px;

    cursor: pointer;

}


.bbs-modal-icon {

    width: 52px;

    height: 52px;

    margin: 0 auto 13px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 16px;

    color: #2563eb;

    background:
        rgba(37, 99, 235, .09);

}


.bbs-modal-icon svg {

    width: 25px;

    height: 25px;

}


.bbs-modal-content h3 {

    margin: 0 0 7px;

    color: #0f172a;

    font-size: 18px;

}


.bbs-modal-content p {

    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.7;

}


/* =========================================================
   LOGIN MESSAGE
========================================================= */

.bbs-login-message {

    margin: 20px auto;

    padding: 18px;

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

    border-radius: 15px;

    background:
        rgba(239, 246, 255, .8);

    text-align: center;

    color: #334155;

}


.bbs-login-message a {

    color: #2563eb;

    font-weight: 800;

    text-decoration: none;

}


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

@media (max-width: 600px) {

    .bbs-login-wrapper {

        min-height: auto;

        padding: 25px 13px;

    }


    .bbs-login-card {

        padding: 30px 19px 24px;

        border-radius: 24px;

    }


    .bbs-login-title {

        font-size: 24px;

    }


    .bbs-method-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .bbs-form-options {

        align-items: flex-start;

        flex-direction: column;

    }


    .bbs-forgot-link {

        align-self: flex-end;

    }


    /*
     * Mobile label icons remain beside label.
     */

    .bbs-field-label {

        gap: 6px;

        font-size: 12px;

    }


    .bbs-field-label-icon {

        width: 25px;

        height: 25px;

        flex-basis: 25px;

    }


    .bbs-field-label-icon svg {

        width: 16px;

        height: 16px;

    }

}


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

@media (max-width: 380px) {

    .bbs-login-card {

        padding: 27px 15px 22px;

    }


    .bbs-login-icon {

        width: 60px;

        height: 60px;

    }


    .bbs-login-icon svg {

        width: 30px;

        height: 30px;

    }


    .bbs-login-title {

        font-size: 22px;

    }


    .bbs-input {

        font-size: 13px;

    }


    .bbs-login-trust {

        gap: 9px;

    }


    .bbs-login-password-toggle {

        right: 6px;

    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.bbs-input:focus-visible {

    outline: none;

}


.bbs-login-method:focus-visible {

    outline: 3px solid
        rgba(37, 99, 235, .15);

    outline-offset: 2px;

}


.bbs-login-submit:focus-visible {

    outline: 3px solid
        rgba(37, 99, 235, .18);

    outline-offset: 3px;

}


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

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

    .bbs-login-topline,
    .bbs-login-submit::before,
    .bbs-otp-spinner {

        animation: none;

    }

    .bbs-login-method,
    .bbs-login-submit,
    .bbs-register-link {

        transition: none;

    }

}


/* ============================================================
   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;}
}

/* ============================================================
   BALLIGO BSOFT — BLUE/PURPLE TEXT VISIBILITY FIX
   ============================================================ */
.bbs-login-wrapper{color:#172033!important}
.bbs-login-card{color:#172033!important;background:rgba(255,255,255,.94)!important}
.bbs-login-card .bbs-login-title,.bbs-login-card .bbs-login-subtitle,.bbs-login-card label,.bbs-login-card p,.bbs-login-card .bbs-login-option-title,.bbs-login-card .bbs-login-method-title{color:#172033!important}
.bbs-login-card .bbs-login-security-badge,.bbs-login-card .bbs-login-security-badge *{color:#15803d!important}
.bbs-login-card input,.bbs-login-card select,.bbs-login-card textarea{color:#172033!important;background:#fff!important;border-color:#d9dfed!important}
.bbs-login-card input::placeholder{color:#7a869a!important;opacity:1!important}
.bbs-login-card a{color:#4f46e5!important}
.bbs-login-card .bbs-login-icon{color:#fff!important}
.bbs-login-card .bbs-login-icon *{stroke:currentColor!important}


/* ============================================================
   BALLIGO BSOFT — FINAL LOGIN TEXT VISIBILITY PATCH
   IMPORTANT: VISUAL ONLY / NO PHP / JS / AJAX / LOGIC CHANGE
   ============================================================ */

/* Main readable text */
.bbs-login-wrapper,
.bbs-login-card{
    color:#172033 !important;
}

.bbs-login-card .bbs-login-title{
    color:#172033 !important;
    -webkit-text-fill-color:#172033 !important;
    opacity:1 !important;
}

.bbs-login-card .bbs-login-subtitle{
    color:#526078 !important;
    -webkit-text-fill-color:#526078 !important;
    opacity:1 !important;
}

.bbs-login-card .bbs-method-heading span{
    color:#172033 !important;
    -webkit-text-fill-color:#172033 !important;
}

.bbs-login-card .bbs-method-heading small{
    color:#718096 !important;
    -webkit-text-fill-color:#718096 !important;
}

/* Field labels */
.bbs-login-card .bbs-field-label,
.bbs-login-card .bbs-field-label > span{
    color:#263247 !important;
    -webkit-text-fill-color:#263247 !important;
    opacity:1 !important;
}

.bbs-login-card .bbs-field-label-icon{
    color:#2563eb !important;
    -webkit-text-fill-color:#2563eb !important;
    background:#eef4ff !important;
}

.bbs-login-card .bbs-field-label-icon svg{
    color:#2563eb !important;
    stroke:#2563eb !important;
}

/* Inputs — force dark readable text */
.bbs-login-card input.bbs-input,
.bbs-login-card input[type="text"].bbs-input,
.bbs-login-card input[type="password"].bbs-input{
    color:#172033 !important;
    -webkit-text-fill-color:#172033 !important;
    background:#fff !important;
    border:1px solid #cfd8e6 !important;
    opacity:1 !important;
}

.bbs-login-card input.bbs-input::placeholder{
    color:#7b8798 !important;
    -webkit-text-fill-color:#7b8798 !important;
    opacity:1 !important;
}

/* Password eye — undo broad button styling */
.bbs-login-card .bbs-login-password-toggle{
    color:#526078 !important;
    -webkit-text-fill-color:#526078 !important;
    background:#f3f5fa !important;
    border:1px solid #e2e7ef !important;
    box-shadow:none !important;
}

.bbs-login-card .bbs-login-password-toggle:hover{
    color:#2563eb !important;
    -webkit-text-fill-color:#2563eb !important;
    background:#eef4ff !important;
}

.bbs-login-card .bbs-login-password-toggle svg,
.bbs-login-card .bbs-login-password-toggle svg *{
    color:currentColor !important;
    stroke:currentColor !important;
}

/* Login method buttons */
.bbs-login-card .bbs-login-method{
    color:#344054 !important;
    -webkit-text-fill-color:#344054 !important;
    background:#fff !important;
    border:1px solid #d9dfed !important;
    box-shadow:none !important;
}

.bbs-login-card .bbs-login-method span,
.bbs-login-card .bbs-login-method .bbs-method-icon{
    color:#344054 !important;
    -webkit-text-fill-color:#344054 !important;
}

.bbs-login-card .bbs-login-method svg{
    color:#344054 !important;
    stroke:currentColor !important;
}

.bbs-login-card .bbs-login-method.active{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    background:linear-gradient(135deg,#2563eb,#4f46e5 52%,#7c3aed) !important;
    border-color:transparent !important;
    box-shadow:0 10px 22px rgba(37,99,235,.20) !important;
}

.bbs-login-card .bbs-login-method.active span,
.bbs-login-card .bbs-login-method.active .bbs-method-icon,
.bbs-login-card .bbs-login-method.active svg{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    stroke:currentColor !important;
}

/* Mode label */
.bbs-login-card .bbs-mode-label{
    color:#4f46e5 !important;
    -webkit-text-fill-color:#4f46e5 !important;
}

/* OTP */
.bbs-login-card .bbs-otp-send{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    background:linear-gradient(135deg,#2563eb,#7c3aed) !important;
}

.bbs-login-card .bbs-otp-send-text{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}

.bbs-login-card .bbs-otp-status{
    color:#667085 !important;
    -webkit-text-fill-color:#667085 !important;
}

/* Remember / forgot */
.bbs-login-card .bbs-remember,
.bbs-login-card .bbs-remember > span{
    color:#526078 !important;
    -webkit-text-fill-color:#526078 !important;
}

.bbs-login-card .bbs-forgot-link{
    color:#4f46e5 !important;
    -webkit-text-fill-color:#4f46e5 !important;
}

/* Main login button */
.bbs-login-card .bbs-login-submit{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    background:linear-gradient(135deg,#2563eb 0%,#4f46e5 48%,#7c3aed 100%) !important;
    border:0 !important;
}

.bbs-login-card .bbs-login-submit .bbs-submit-text,
.bbs-login-card .bbs-login-submit .bbs-btn-icon{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}

.bbs-login-card .bbs-login-submit svg,
.bbs-login-card .bbs-login-submit svg *{
    color:#fff !important;
    stroke:#fff !important;
}

/* Security badge */
.bbs-login-card .bbs-login-security-badge,
.bbs-login-card .bbs-login-security-badge *{
    color:#047857 !important;
    -webkit-text-fill-color:#047857 !important;
}

/* Error text */
.bbs-login-card .bbs-login-error,
.bbs-login-card .bbs-login-error span{
    color:#b42318 !important;
    -webkit-text-fill-color:#b42318 !important;
}

/* Trust/security text */
.bbs-login-card .bbs-login-trust,
.bbs-login-card .bbs-login-trust span{
    color:#667085 !important;
    -webkit-text-fill-color:#667085 !important;
}

.bbs-login-card .bbs-login-trust svg{
    color:#059669 !important;
    stroke:#059669 !important;
}

/* Register footer */
.bbs-login-card .bbs-login-extra p{
    color:#526078 !important;
    -webkit-text-fill-color:#526078 !important;
}

.bbs-login-card .bbs-login-divider,
.bbs-login-card .bbs-login-divider span{
    color:#7b8798 !important;
    -webkit-text-fill-color:#7b8798 !important;
}

.bbs-login-card .bbs-register-link{
    color:#4f46e5 !important;
    -webkit-text-fill-color:#4f46e5 !important;
    background:#f6f4ff !important;
    border:1px solid #ddd7ff !important;
}

.bbs-login-card .bbs-register-link:hover{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    background:linear-gradient(135deg,#2563eb,#7c3aed) !important;
}

.bbs-login-card .bbs-register-link svg,
.bbs-login-card .bbs-register-link svg *{
    stroke:currentColor !important;
}

/* STOP Wallet SSO link */
.bbs-login-card .bbs-stop-wallet-login-button{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    background:linear-gradient(135deg,#111827,#273449) !important;
    border:0 !important;
}

.bbs-login-card .bbs-stop-wallet-login > div{
    color:#7b8798 !important;
    -webkit-text-fill-color:#7b8798 !important;
}

/* Modal */
.bbs-modal-content h3{
    color:#172033 !important;
    -webkit-text-fill-color:#172033 !important;
}

.bbs-modal-content p{
    color:#526078 !important;
    -webkit-text-fill-color:#526078 !important;
}

.bbs-modal-close{
    color:#526078 !important;
    -webkit-text-fill-color:#526078 !important;
    background:#f2f4f7 !important;
}

.bbs-modal-icon{
    color:#2563eb !important;
}

.bbs-modal-icon svg{
    stroke:currentColor !important;
}

/* Never allow theme opacity to hide login content */
.bbs-login-card .bbs-login-title,
.bbs-login-card .bbs-login-subtitle,
.bbs-login-card .bbs-field-label,
.bbs-login-card .bbs-method-heading,
.bbs-login-card .bbs-input,
.bbs-login-card .bbs-form-options,
.bbs-login-card .bbs-login-submit,
.bbs-login-card .bbs-login-trust,
.bbs-login-card .bbs-login-extra{
    visibility:visible !important;
    opacity:1 !important;
}

/* Mobile */
@media(max-width:600px){
    .bbs-login-card{
        color:#172033 !important;
    }

    .bbs-login-card .bbs-login-title{
        color:#172033 !important;
        -webkit-text-fill-color:#172033 !important;
    }

    .bbs-login-card .bbs-login-subtitle{
        color:#526078 !important;
        -webkit-text-fill-color:#526078 !important;
    }

    .bbs-login-card input.bbs-input{
        color:#172033 !important;
        -webkit-text-fill-color:#172033 !important;
        background:#fff !important;
    }
}


/* =========================================================
   FINAL LAYOUT POLISH — CENTERED + PADDING + RADIUS
   Visual/layout only. No PHP/JS/AJAX/business logic changes.
   ========================================================= */

/* Main login area */
.bbs-login-wrapper{
    width:100% !important;
    max-width:100% !important;
    min-height:100vh !important;
    margin:0 auto !important;
    padding:32px 20px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
}

/* Login card */
.bbs-login-wrapper .bbs-login-card{
    width:100% !important;
    max-width:520px !important;
    margin:0 auto !important;
    padding:32px !important;
    border-radius:24px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
}

/* Header/content centering */
.bbs-login-card .bbs-login-topline,
.bbs-login-card .bbs-login-header{
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}

.bbs-login-card .bbs-login-brand{
    justify-content:center !important;
    text-align:center !important;
}

.bbs-login-card .bbs-login-icon{
    margin-left:auto !important;
    margin-right:auto !important;
}

.bbs-login-card .bbs-login-title,
.bbs-login-card .bbs-login-subtitle{
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

/* Security badge */
.bbs-login-card .bbs-login-security-badge{
    display:flex !important;
    width:max-content !important;
    max-width:100% !important;
    margin:14px auto 20px !important;
    padding:8px 14px !important;
    border-radius:999px !important;
    box-sizing:border-box !important;
    align-items:center !important;
    justify-content:center !important;
}

/* Error box */
.bbs-login-card .bbs-login-error{
    width:100% !important;
    margin:0 auto 18px !important;
    padding:12px 15px !important;
    border-radius:12px !important;
    box-sizing:border-box !important;
    text-align:center !important;
}

/* STOP Wallet button */
.bbs-login-card .bbs-stop-wallet-login{
    width:100% !important;
    margin:0 auto 20px !important;
    text-align:center !important;
}

.bbs-login-card .bbs-stop-wallet-login-button{
    width:100% !important;
    min-height:48px !important;
    padding:13px 18px !important;
    border-radius:13px !important;
    box-sizing:border-box !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
}

/* Login methods */
.bbs-login-card .bbs-login-methods{
    width:100% !important;
    margin:0 auto 22px !important;
    padding:0 !important;
}

.bbs-login-card .bbs-method-heading{
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

.bbs-login-card .bbs-method-grid{
    width:100% !important;
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:10px !important;
    margin:12px auto 0 !important;
}

.bbs-login-card .bbs-login-method{
    width:100% !important;
    min-height:76px !important;
    padding:12px 8px !important;
    border-radius:14px !important;
    box-sizing:border-box !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
}

/* Form spacing */
.bbs-login-card .bbs-login-form{
    width:100% !important;
    max-width:100% !important;
    margin:0 auto !important;
}

.bbs-login-card .bbs-form-group{
    width:100% !important;
    margin:0 auto 18px !important;
}

.bbs-login-card .bbs-field-label{
    display:flex !important;
    align-items:center !important;
    gap:7px !important;
    margin-bottom:8px !important;
    text-align:left !important;
}

/* Inputs */
.bbs-login-card .bbs-input-wrapper{
    width:100% !important;
    position:relative !important;
    margin:0 auto !important;
}

.bbs-login-card .bbs-input{
    width:100% !important;
    min-height:50px !important;
    padding:13px 15px !important;
    border-radius:12px !important;
    box-sizing:border-box !important;
}

.bbs-login-card .bbs-input-wrapper .bbs-input{
    padding-right:52px !important;
}

/* Password eye */
.bbs-login-card .bbs-login-password-toggle{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    padding:0 !important;
    margin:0 !important;
    border-radius:10px !important;
    position:absolute !important;
    right:4px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

/* OTP row */
.bbs-login-card .bbs-otp-row{
    width:100% !important;
    display:flex !important;
    gap:10px !important;
    align-items:center !important;
}

.bbs-login-card .bbs-otp-row .bbs-input{
    flex:1 1 auto !important;
    min-width:0 !important;
}

.bbs-login-card .bbs-otp-send{
    flex:0 0 auto !important;
    min-height:50px !important;
    padding:11px 15px !important;
    border-radius:12px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
}

/* OTP status */
.bbs-login-card .bbs-otp-status{
    margin-top:8px !important;
    text-align:center !important;
}

/* Remember + forgot */
.bbs-login-card .bbs-form-options{
    width:100% !important;
    margin:4px auto 20px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
}

.bbs-login-card .bbs-remember{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
}

.bbs-login-card .bbs-forgot-link{
    text-align:right !important;
}

/* Main submit button */
.bbs-login-card .bbs-login-submit{
    width:100% !important;
    min-height:52px !important;
    margin:0 auto !important;
    padding:14px 20px !important;
    border-radius:13px !important;
    box-sizing:border-box !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:9px !important;
    text-align:center !important;
}

/* Trust/security */
.bbs-login-card .bbs-login-trust{
    width:100% !important;
    margin:18px auto 0 !important;
    padding:12px 14px !important;
    border-radius:12px !important;
    box-sizing:border-box !important;
    text-align:center !important;
}

/* Footer */
.bbs-login-card .bbs-login-extra{
    width:100% !important;
    margin:22px auto 0 !important;
    text-align:center !important;
}

.bbs-login-card .bbs-login-divider{
    width:100% !important;
    margin:18px auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

.bbs-login-card .bbs-register-link{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    padding:11px 16px !important;
    border-radius:12px !important;
}

/* Modal */
.bbs-login-card .bbs-modal{
    padding:20px !important;
    box-sizing:border-box !important;
}

.bbs-login-card .bbs-modal-content{
    width:100% !important;
    max-width:460px !important;
    margin:auto !important;
    padding:28px !important;
    border-radius:20px !important;
    box-sizing:border-box !important;
    text-align:center !important;
}

.bbs-login-card .bbs-modal-icon{
    margin:0 auto 12px !important;
}

.bbs-login-card .bbs-modal-close{
    width:38px !important;
    height:38px !important;
    border-radius:10px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

/* Keep all core content inside the card */
.bbs-login-card *,
.bbs-login-wrapper *{
    box-sizing:border-box !important;
}

/* Mobile */
@media (max-width: 700px){
    .bbs-login-wrapper{
        min-height:100vh !important;
        padding:20px 14px !important;
        align-items:center !important;
    }

    .bbs-login-wrapper .bbs-login-card{
        max-width:100% !important;
        padding:24px 18px !important;
        border-radius:20px !important;
    }

    .bbs-login-card .bbs-method-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:10px !important;
    }

    .bbs-login-card .bbs-login-method{
        min-height:72px !important;
    }

    .bbs-login-card .bbs-form-options{
        align-items:flex-start !important;
    }
}

@media (max-width: 480px){
    .bbs-login-wrapper{
        padding:14px 10px !important;
    }

    .bbs-login-wrapper .bbs-login-card{
        padding:20px 14px !important;
        border-radius:18px !important;
    }

    .bbs-login-card .bbs-login-title{
        font-size:24px !important;
    }

    .bbs-login-card .bbs-login-subtitle{
        font-size:13px !important;
    }

    .bbs-login-card .bbs-input{
        min-height:48px !important;
        padding:12px 13px !important;
    }

    .bbs-login-card .bbs-otp-row{
        flex-direction:column !important;
        align-items:stretch !important;
    }

    .bbs-login-card .bbs-otp-send{
        width:100% !important;
    }

    .bbs-login-card .bbs-form-options{
        flex-direction:column !important;
        align-items:stretch !important;
        gap:10px !important;
    }

    .bbs-login-card .bbs-forgot-link{
        text-align:center !important;
    }

    .bbs-login-card .bbs-login-submit{
        min-height:50px !important;
        padding:13px 16px !important;
    }
}


/* =========================================================
   FINAL TEXT CENTER ALIGNMENT
   Requested: Login subtitle + registration prompt
   Visual only — no logic changes.
   ========================================================= */

.bbs-login-card .bbs-login-subtitle{
    width:100% !important;
    display:block !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}

.bbs-login-card .bbs-login-extra{
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}

.bbs-login-card .bbs-login-extra p,
.bbs-login-card .bbs-login-extra span,
.bbs-login-card .bbs-login-extra .bbs-register-text{
    width:100% !important;
    display:block !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}

.bbs-login-card .bbs-register-link{
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
    justify-content:center !important;
}


/* =========================================================
   HARD CENTER FIX — LOGIN SUBTITLE / REGISTER TEXT
   This uses geometric centering so parent alignment cannot
   pull the text toward the left.
   Visual only — no PHP/JS/AJAX/business logic changes.
   ========================================================= */

.bbs-login-card .bbs-login-header .bbs-login-subtitle{
    display:block !important;
    width:max-content !important;
    max-width:100% !important;
    margin:9px auto 13px !important;
    padding:0 !important;
    text-align:center !important;
    text-indent:0 !important;
    left:auto !important;
    right:auto !important;
    transform:none !important;
    position:static !important;
}

.bbs-login-card .bbs-login-header > .bbs-login-subtitle,
.bbs-login-card .bbs-login-header p.bbs-login-subtitle{
    width:max-content !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}

/* If the subtitle contains a nested element/span */
.bbs-login-card .bbs-login-header .bbs-login-subtitle *,
.bbs-login-card .bbs-login-header .bbs-login-subtitle span{
    text-align:center !important;
    text-indent:0 !important;
}

/* Registration prompt — force the whole line to the card center */
.bbs-login-card .bbs-login-extra{
    width:100% !important;
    display:block !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}

.bbs-login-card .bbs-login-extra > *,
.bbs-login-card .bbs-login-extra p,
.bbs-login-card .bbs-login-extra span{
    text-align:center !important;
    text-indent:0 !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

/* Mobile: keep centered while allowing the sentence to wrap */
@media (max-width:480px){
    .bbs-login-card .bbs-login-header .bbs-login-subtitle,
    .bbs-login-card .bbs-login-header > .bbs-login-subtitle,
    .bbs-login-card .bbs-login-header p.bbs-login-subtitle{
        width:100% !important;
        max-width:100% !important;
        text-align:center !important;
    }
}


/* =========================================================
   FINAL MOBILE CENTER FIX
   Center the "Or" text, registration prompt and button
   as one complete footer block.
   Visual only — no PHP/JS/AJAX/business logic changes.
   ========================================================= */

.bbs-login-card .bbs-login-extra{
    width:100% !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
}

/* Every direct child in the footer is centered */
.bbs-login-card .bbs-login-extra > *{
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}

/* Registration sentence: full available width + centered text */
.bbs-login-card .bbs-login-extra p,
.bbs-login-card .bbs-login-extra .bbs-register-text{
    width:100% !important;
    max-width:100% !important;
    display:block !important;
    margin:0 auto 10px !important;
    padding:0 !important;
    text-align:center !important;
    text-indent:0 !important;
}

/* If the sentence is wrapped inside a span/link */
.bbs-login-card .bbs-login-extra p *,
.bbs-login-card .bbs-login-extra .bbs-register-text *{
    text-align:center !important;
}

/* Register button/link itself */
.bbs-login-card .bbs-login-extra .bbs-register-link{
    width:max-content !important;
    max-width:100% !important;
    margin:0 auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
}

/* Divider / "অথবা" area */
.bbs-login-card .bbs-login-extra .bbs-login-divider{
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
}

.bbs-login-card .bbs-login-extra .bbs-login-divider *,
.bbs-login-card .bbs-login-extra .bbs-login-divider span{
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

/* Small screens: force the entire footer to the exact card center */
@media (max-width:700px){
    .bbs-login-card .bbs-login-extra{
        width:100% !important;
        max-width:100% !important;
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:center !important;
        text-align:center !important;
    }

    .bbs-login-card .bbs-login-extra p,
    .bbs-login-card .bbs-login-extra .bbs-register-text{
        width:100% !important;
        max-width:100% !important;
        text-align:center !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }

    .bbs-login-card .bbs-login-extra .bbs-register-link{
        width:max-content !important;
        max-width:100% !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }
}

@media (max-width:480px){
    .bbs-login-card .bbs-login-extra{
        padding-left:0 !important;
        padding-right:0 !important;
    }

    .bbs-login-card .bbs-login-extra p,
    .bbs-login-card .bbs-login-extra .bbs-register-text{
        text-align:center !important;
        line-height:1.6 !important;
    }

    .bbs-login-card .bbs-login-extra .bbs-register-link{
        margin-left:auto !important;
        margin-right:auto !important;
        text-align:center !important;
    }
}


/* =========================================================
   TRUE CENTER — DESKTOP + MOBILE
   Targets the exact Login PHP structure:
   .bbs-login-header > .bbs-login-subtitle
   .bbs-login-extra > .bbs-login-divider / p / .bbs-register-link
   Visual CSS only — no PHP/JS/AJAX/logic changes.
   ========================================================= */

/* Header itself becomes a centered column */
.bbs-login-card .bbs-login-header{
    width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
}

/* Exact subtitle element */
.bbs-login-card .bbs-login-header > p.bbs-login-subtitle{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    max-width:100% !important;
    margin:9px 0 13px !important;
    padding:0 !important;
    text-align:center !important;
    text-indent:0 !important;
    white-space:normal !important;
}

/* Footer becomes a true centered column */
.bbs-login-card > .bbs-login-extra,
.bbs-login-card .bbs-login-extra{
    width:100% !important;
    max-width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
    text-align:center !important;
}

/* Exact "অথবা" divider */
.bbs-login-card .bbs-login-extra > .bbs-login-divider{
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    align-self:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}

/* Divider text itself */
.bbs-login-card .bbs-login-extra > .bbs-login-divider > span{
    display:block !important;
    width:auto !important;
    margin:0 auto !important;
    padding:0 8px !important;
    text-align:center !important;
}

/* Exact registration sentence */
.bbs-login-card .bbs-login-extra > p{
    width:100% !important;
    max-width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    align-self:center !important;
    margin:0 auto 10px !important;
    padding:0 !important;
    text-align:center !important;
    text-indent:0 !important;
}

/* Registration button/link */
.bbs-login-card .bbs-login-extra > a.bbs-register-link{
    width:max-content !important;
    max-width:100% !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    align-self:center !important;
    margin:0 auto !important;
    padding:11px 16px !important;
    text-align:center !important;
}

/* Text inside registration button */
.bbs-login-card .bbs-login-extra > a.bbs-register-link > span{
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    text-align:center !important;
}

/* Remove any inherited left alignment from the footer */
.bbs-login-card .bbs-login-extra,
.bbs-login-card .bbs-login-extra *,
.bbs-login-card .bbs-login-header,
.bbs-login-card .bbs-login-header *{
    text-indent:0 !important;
}

/* Mobile — same exact centering, no left alignment */
@media (max-width:700px){
    .bbs-login-card .bbs-login-header,
    .bbs-login-card .bbs-login-extra{
        width:100% !important;
        max-width:100% !important;
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:center !important;
        text-align:center !important;
    }

    .bbs-login-card .bbs-login-header > p.bbs-login-subtitle{
        width:100% !important;
        max-width:100% !important;
        display:flex !important;
        justify-content:center !important;
        align-items:center !important;
        text-align:center !important;
        margin-left:0 !important;
        margin-right:0 !important;
    }

    .bbs-login-card .bbs-login-extra > .bbs-login-divider,
    .bbs-login-card .bbs-login-extra > p{
        width:100% !important;
        max-width:100% !important;
        align-self:center !important;
        text-align:center !important;
        justify-content:center !important;
    }

    .bbs-login-card .bbs-login-extra > a.bbs-register-link{
        width:max-content !important;
        max-width:calc(100% - 20px) !important;
        align-self:center !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }
}

@media (max-width:480px){
    .bbs-login-card .bbs-login-header > p.bbs-login-subtitle{
        width:100% !important;
        padding-left:4px !important;
        padding-right:4px !important;
        text-align:center !important;
    }

    .bbs-login-card .bbs-login-extra > p{
        width:100% !important;
        padding-left:4px !important;
        padding-right:4px !important;
        text-align:center !important;
    }

    .bbs-login-card .bbs-login-extra > a.bbs-register-link{
        margin-left:auto !important;
        margin-right:auto !important;
        align-self:center !important;
    }
}


/* =========================================================
   FINAL REGISTER ARROW COLOR
   Only the arrow/icon is changed.
   Black/green arrow — all other styles remain unchanged.
   ========================================================= */

.bbs-login-card .bbs-register-link svg,
.bbs-login-card .bbs-register-link svg *,
.bbs-login-card .bbs-register-link .bbs-btn-icon,
.bbs-login-card .bbs-register-link .bbs-btn-icon *{
    color:#111827 !important;
    stroke:#111827 !important;
    fill:none !important;
    -webkit-text-fill-color:#111827 !important;
}

/* Green on hover */
.bbs-login-card .bbs-register-link:hover svg,
.bbs-login-card .bbs-register-link:hover svg *,
.bbs-login-card .bbs-register-link:hover .bbs-btn-icon,
.bbs-login-card .bbs-register-link:hover .bbs-btn-icon *{
    color:#15803d !important;
    stroke:#15803d !important;
    fill:none !important;
    -webkit-text-fill-color:#15803d !important;
}


/* =========================================================
   FINAL ARROW HOVER COLOR
   Normal: Black
   Hover: Yellow
   Only arrow/icon color changes.
   ========================================================= */

.bbs-login-card .bbs-register-link:hover svg,
.bbs-login-card .bbs-register-link:hover svg *,
.bbs-login-card .bbs-register-link:hover .bbs-btn-icon,
.bbs-login-card .bbs-register-link:hover .bbs-btn-icon *{
    color:#f59e0b !important;
    stroke:#f59e0b !important;
    fill:none !important;
    -webkit-text-fill-color:#f59e0b !important;
}
