/**
 * Balligo BSoft
 * Premium Register CSS
 * Gradient + Glassmorphism
 *
 * @package BalligoBSoft
 * @subpackage Register
 * @since 3.3.0
 */


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

.bbs-register-wrapper {
    --bbs-primary: #6366f1;
    --bbs-primary-dark: #4f46e5;
    --bbs-secondary: #8b5cf6;
    --bbs-accent: #06b6d4;

    --bbs-text: #172033;
    --bbs-muted: #697386;

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

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

    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 50px 20px;

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

    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(99,102,241,.18),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 10%,
            rgba(139,92,246,.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 90%,
            rgba(6,182,212,.15),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #f8faff 0%,
            #eef2ff 45%,
            #f8fafc 100%
        );

    box-sizing: border-box;
}


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

.bbs-register-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
    opacity: .65;
    animation: bbsFloat 8s ease-in-out infinite;
}

.bbs-register-orb-one {
    width: 280px;
    height: 280px;
    top: -100px;
    left: -80px;

    background:
        linear-gradient(
            135deg,
            rgba(99,102,241,.30),
            rgba(139,92,246,.12)
        );
}

.bbs-register-orb-two {
    width: 220px;
    height: 220px;
    right: -70px;
    top: 20%;

    background:
        linear-gradient(
            135deg,
            rgba(6,182,212,.25),
            rgba(59,130,246,.10)
        );

    animation-delay: -3s;
}

.bbs-register-orb-three {
    width: 180px;
    height: 180px;
    left: 35%;
    bottom: -100px;

    background:
        linear-gradient(
            135deg,
            rgba(236,72,153,.16),
            rgba(139,92,246,.18)
        );

    animation-delay: -5s;
}


@keyframes bbsFloat {

    0%,
    100% {
        transform: translate3d(0,0,0);
    }

    50% {
        transform: translate3d(0,-18px,0);
    }
}


/* =========================================================
   MAIN CARD
========================================================= */

.bbs-register-card {
    position: relative;
    z-index: 2;

    width: min(1100px, 100%);

    display: grid;
    grid-template-columns: 42% 58%;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.75);
    border-radius: 30px;

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

    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);

    box-shadow:
        0 35px 90px rgba(31,41,55,.14),
        0 10px 35px rgba(99,102,241,.08),
        inset 0 1px 0 rgba(255,255,255,.9);
}


/* =========================================================
   BRANDING PANEL
========================================================= */

.bbs-register-brand {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 760px;
    padding: 48px;

    overflow: hidden;

    color: #fff;

    background:
        linear-gradient(
            145deg,
            #4338ca 0%,
            #6366f1 42%,
            #7c3aed 75%,
            #4f46e5 100%
        );
}


.bbs-register-brand::before {
    content: "";

    position: absolute;
    width: 330px;
    height: 330px;

    right: -140px;
    top: -100px;

    border-radius: 50%;

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

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


.bbs-register-brand::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    left: -150px;
    bottom: -100px;

    border-radius: 50%;

    background:
        rgba(6,182,212,.18);

    filter: blur(3px);
}


.bbs-brand-glow {
    position: absolute;

    width: 240px;
    height: 240px;

    right: 15%;
    bottom: 15%;

    border-radius: 50%;

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

    filter: blur(10px);
}


/* =========================================================
   BRAND LOGO
========================================================= */

.bbs-brand-logo {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 14px;
}


.bbs-brand-mark {
    width: 54px;
    height: 54px;

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

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.30),
            rgba(255,255,255,.10)
        );

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

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.45),
        0 10px 25px rgba(0,0,0,.12);

    backdrop-filter: blur(12px);
}


.bbs-brand-mark span {
    font-size: 27px;
    font-weight: 900;
}


.bbs-brand-logo h1 {
    margin: 0;

    color: #fff;

    font-size: 22px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.5px;
}


.bbs-brand-logo h1 strong {
    font-weight: 900;
}


.bbs-brand-logo p {
    margin: 5px 0 0;

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

    font-size: 12px;
    letter-spacing: .4px;
}


/* =========================================================
   BRAND CONTENT
========================================================= */

.bbs-brand-content {
    position: relative;
    z-index: 2;

    margin-top: auto;
    margin-bottom: auto;

    padding: 65px 0 40px;
}


.bbs-brand-badge {
    display: inline-flex;
    align-items: center;

    padding: 8px 14px;

    border-radius: 50px;

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

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

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

    font-size: 12px;
    font-weight: 700;

    backdrop-filter: blur(10px);
}


.bbs-brand-content h2 {
    margin: 22px 0 15px;

    color: #fff;

    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
}


.bbs-brand-content h2 strong {
    display: block;

    background:
        linear-gradient(
            90deg,
            #fff,
            #c4b5fd,
            #a5f3fc
        );

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

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


.bbs-brand-content > p {
    max-width: 390px;

    margin: 0 0 30px;

    color: rgba(255,255,255,.78);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   BRAND FEATURES
========================================================= */

.bbs-brand-features {
    display: flex;
    flex-direction: column;
    gap: 13px;
}


.bbs-brand-feature {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 12px;

    border-radius: 15px;

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

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

    transition:
        transform .25s ease,
        background .25s ease;
}


.bbs-brand-feature:hover {
    transform: translateX(5px);

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


.bbs-feature-icon {
    flex: 0 0 40px;

    width: 40px;
    height: 40px;

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

    border-radius: 12px;

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

    font-size: 18px;
}


.bbs-brand-feature strong {
    display: block;

    color: #fff;

    font-size: 13px;
}


.bbs-brand-feature span {
    display: block;

    margin-top: 3px;

    color: rgba(255,255,255,.62);

    font-size: 11px;
    line-height: 1.5;
}


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

.bbs-brand-footer {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    gap: 15px;

    color: rgba(255,255,255,.50);

    font-size: 10px;
}


/* =========================================================
   FORM AREA
========================================================= */

.bbs-register-form-area {
    padding: 55px 58px;

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


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

.bbs-register-header {
    margin-bottom: 28px;
}


.bbs-register-mobile-logo {
    display: none;
}


.bbs-form-badge {
    display: inline-flex;

    padding: 7px 13px;

    border-radius: 50px;

    color: var(--bbs-primary);

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

    border:
        1px solid rgba(99,102,241,.12);

    font-size: 11px;
    font-weight: 700;
}


.bbs-register-header h2 {
    margin: 16px 0 8px;

    color: var(--bbs-text);

    font-size: 30px;
    font-weight: 850;
    letter-spacing: -.8px;
}


.bbs-register-header > p {
    margin: 0;

    color: var(--bbs-muted);

    font-size: 13px;
}


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

.bbs-register-alert {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;
    padding: 13px 15px;

    border-radius: 13px;

    font-size: 13px;
}


.bbs-alert-error {
    color: #b91c1c;

    background:
        rgba(239,68,68,.08);

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


.bbs-alert-icon {
    font-size: 17px;
}


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

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


.bbs-form-group label {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-bottom: 8px;

    color: #293247;

    font-size: 12px;
    font-weight: 750;
}


.bbs-label-icon {
    font-size: 13px;
}


.bbs-required {
    color: #ef4444;
}


.bbs-optional {
    margin-left: 3px;

    color: #9aa3b2;

    font-size: 10px;
    font-weight: 500;
}


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

.bbs-input-wrap,
.bbs-password-wrapper {
    position: relative;
}


.bbs-input {
    width: 100%;
    height: 51px;

    box-sizing: border-box;

    padding: 0 16px;

    border: 1px solid rgba(148,163,184,.27);
    border-radius: 13px;

    outline: none;

    color: var(--bbs-text);

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

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

    font-family: inherit;
    font-size: 13px;

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


.bbs-input::placeholder {
    color: #a3acba;
}


.bbs-input:hover {
    border-color:
        rgba(99,102,241,.28);
}


.bbs-input:focus {
    border-color:
        rgba(99,102,241,.65);

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

    box-shadow:
        0 0 0 4px rgba(99,102,241,.09),
        0 8px 22px rgba(99,102,241,.07);

    transform: translateY(-1px);
}


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

.bbs-password-wrapper .bbs-input {
    padding-right: 54px;
}


.bbs-password-toggle {
    position: absolute;

    top: 50%;
    right: 8px;

    width: 36px;
    height: 36px;

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

    transform: translateY(-50%);

    border: 0;
    border-radius: 10px;

    cursor: pointer;

    background:
        rgba(99,102,241,.07);

    color: #64748b;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


.bbs-password-toggle:hover {
    color: var(--bbs-primary);

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

    transform:
        translateY(-50%)
        scale(1.04);
}


.bbs-password-toggle:focus-visible {
    outline: 2px solid var(--bbs-primary);
    outline-offset: 2px;
}


/* =========================================================
   PASSWORD STRENGTH
========================================================= */

.bbs-password-strength {
    margin-top: 8px;
}


.bbs-strength-header {
    display: flex;
    justify-content: space-between;

    margin-bottom: 5px;

    color: #9aa3b2;

    font-size: 10px;
}


.bbs-strength-label {
    font-weight: 700;
}


.bbs-strength-bar {
    width: 100%;
    height: 4px;

    overflow: hidden;

    border-radius: 10px;

    background:
        rgba(148,163,184,.15);
}


.bbs-strength-bar span {
    display: block;

    width: 0;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #ef4444,
            #f59e0b,
            #10b981
        );

    transition:
        width .35s ease;
}


/* =========================================================
   PASSWORD MATCH
========================================================= */

.bbs-password-match {
    min-height: 17px;

    margin-top: 6px;

    font-size: 10px;
    font-weight: 650;
}


.bbs-password-match.success {
    color: var(--bbs-success);
}


.bbs-password-match.error {
    color: var(--bbs-danger);
}


/* =========================================================
   TERMS
========================================================= */

.bbs-register-options {
    margin: 5px 0 20px;
}


.bbs-checkbox {
    position: relative;

    display: flex !important;
    align-items: flex-start;

    gap: 10px;

    cursor: pointer;
}


.bbs-checkbox input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}


.bbs-checkmark {
    flex: 0 0 19px;

    width: 19px;
    height: 19px;

    margin-top: 1px;

    border: 1px solid #cbd5e1;
    border-radius: 6px;

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

    transition: .2s ease;
}


.bbs-checkbox input:checked + .bbs-checkmark {
    border-color: var(--bbs-primary);

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

    box-shadow:
        0 4px 12px rgba(99,102,241,.25);
}


.bbs-checkbox input:checked + .bbs-checkmark::after {
    content: "✓";

    display: flex;

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

    height: 100%;

    color: #fff;

    font-size: 12px;
    font-weight: 900;
}


.bbs-terms-text {
    color: #7b8494;

    font-size: 11px;
    line-height: 1.7;
}


.bbs-terms-text a {
    color: var(--bbs-primary);

    font-weight: 700;

    text-decoration: none;
}


.bbs-terms-text a:hover {
    text-decoration: underline;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.bbs-form-actions {
    margin-top: 5px;
}


.bbs-register-btn {
    position: relative;

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

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border: 0;
    border-radius: 15px;

    cursor: pointer;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #4f46e5 0%,
            #6366f1 45%,
            #8b5cf6 100%
        );

    box-shadow:
        0 12px 25px rgba(79,70,229,.24),
        inset 0 1px 0 rgba(255,255,255,.25);

    font-family: inherit;

    font-size: 13px;
    font-weight: 800;

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


.bbs-register-btn::before {
    content: "";

    position: absolute;

    inset: 1px;

    border-radius: 14px;

    background:
        linear-gradient(
            100deg,
            transparent 20%,
            rgba(255,255,255,.18) 50%,
            transparent 80%
        );

    transform:
        translateX(-120%);

    transition:
        transform .65s ease;
}


.bbs-register-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 18px 35px rgba(79,70,229,.30),
        inset 0 1px 0 rgba(255,255,255,.3);

    filter: brightness(1.04);
}


.bbs-register-btn:hover::before {
    transform:
        translateX(120%);
}


.bbs-register-btn:active {
    transform: translateY(0);
}


.bbs-register-btn:disabled {
    opacity: .72;

    cursor: not-allowed;

    transform: none;
}


.bbs-btn-icon {
    font-size: 14px;
}


.bbs-btn-loading {
    align-items: center;
    gap: 8px;
}


.bbs-spinner {
    width: 15px;
    height: 15px;

    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;

    border-radius: 50%;

    animation:
        bbsSpin .7s linear infinite;
}


@keyframes bbsSpin {

    to {
        transform: rotate(360deg);
    }

}


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

.bbs-register-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin-top: 23px;

    color: #8a94a6;

    font-size: 11px;
}


.bbs-register-footer a {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    color: var(--bbs-primary);

    font-weight: 800;

    text-decoration: none;

    transition: .2s ease;
}


.bbs-register-footer a:hover {
    color: var(--bbs-secondary);

    transform: translateX(2px);
}


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

.bbs-modal {
    position: fixed;

    inset: 0;

    z-index: 999999;

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

    padding: 20px;

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

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


.bbs-modal-content {
    position: relative;

    width: min(420px, 100%);

    padding: 35px 30px 28px;

    text-align: center;

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

    border-radius: 24px;

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

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

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


.bbs-modal-close {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 50%;

    cursor: pointer;

    color: #64748b;

    background:
        rgba(100,116,139,.08);

    font-size: 20px;
}


.bbs-modal-icon {
    width: 60px;
    height: 60px;

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

    margin: 0 auto 16px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(99,102,241,.12),
            rgba(139,92,246,.15)
        );

    font-size: 25px;
}


.bbs-modal-body h3 {
    margin: 0 0 8px;

    color: var(--bbs-text);

    font-size: 20px;
}


.bbs-modal-body p {
    margin: 0;

    color: #687386;

    font-size: 13px;
    line-height: 1.7;
}


.bbs-modal-ok {
    position: relative;

    top: auto;
    right: auto;

    width: auto;
    height: auto;

    margin-top: 20px;
    padding: 10px 25px;

    border-radius: 10px;

    color: #fff;

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

    font-size: 12px;
    font-weight: 700;
}


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

.bbs-mobile-mark {
    width: 42px;
    height: 42px;

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

    border-radius: 13px;

    color: #fff;

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

    font-weight: 900;
}

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

@media (max-width: 900px) {

    .bbs-register-wrapper {
        padding: 30px 15px;
    }

    .bbs-register-card {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

    .bbs-register-brand {
        display: none;
    }

    .bbs-register-form-area {
        padding: 42px 40px;
    }

    .bbs-register-mobile-logo {
        display: flex;
        align-items: center;
        gap: 10px;

        margin-bottom: 25px;

        color: var(--bbs-text);

        font-size: 15px;
    }

}

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

@media (max-width: 600px) {

    .bbs-register-wrapper {
        min-height: 100vh;
        padding: 15px 10px;
    }

    .bbs-register-card {
        border-radius: 23px;
    }

    .bbs-register-form-area {
        padding: 30px 20px;
    }

    .bbs-register-header h2 {
        font-size: 25px;
    }

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

    .bbs-form-badge {
        font-size: 10px;
    }

    .bbs-input {
        height: 49px;
    }

    .bbs-register-btn {
        min-height: 52px;
    }

    .bbs-register-footer {
        flex-direction: column;
        gap: 4px;
    }

    .bbs-modal-content {
        padding: 30px 20px 24px;
    }

}

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

@media (max-width: 380px) {

    .bbs-register-form-area {
        padding: 25px 15px;
    }

    .bbs-register-header h2 {
        font-size: 22px;
    }

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

    .bbs-terms-text {
        font-size: 10px;
    }

}

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

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

    .bbs-register-orb,
    .bbs-register-btn,
    .bbs-brand-feature,
    .bbs-input,
    .bbs-password-toggle {
        animation: none !important;
        transition: none !important;
    }

}

/* =========================================================
   WORDPRESS COMPATIBILITY
========================================================= */

.bbs-register-wrapper *,
.bbs-register-wrapper *::before,
.bbs-register-wrapper *::after {
    box-sizing: border-box;
}

.bbs-register-wrapper input,
.bbs-register-wrapper button {
    font-family: inherit;
}

.bbs-register-wrapper button:focus-visible,
.bbs-register-wrapper a:focus-visible {
    outline: 2px solid var(--bbs-primary);
    outline-offset: 3px;
}

/* =========================================
   Password Wrapper
========================================= */

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


/* =========================================
   Password Input
========================================= */

.bbs-password-wrapper .bbs-input {
    width: 100%;
    padding-right: 58px;
    box-sizing: border-box;
}

/* =========================================
   Password Toggle
========================================= */

.bbs-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;

    width: 40px;
    height: 40px;

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

    transform: translateY(-50%);

    border: 0;
    border-radius: 10px;

    background: transparent;

    color: #64748b;

    cursor: pointer;

    padding: 0;

    z-index: 5;

    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}


.bbs-password-toggle:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, .08);
}


.bbs-password-toggle:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* =========================================
   Eye SVG
========================================= */

.bbs-eye-icon {
    display: block;

    width: 21px;
    height: 21px;

    color: currentColor;

    pointer-events: none;

    transition:
        transform .2s ease,
        opacity .2s ease;
}


.bbs-password-toggle:hover .bbs-eye-icon {
    transform: scale(1.08);
}

/* =========================================
   When Password Is Visible
========================================= */

.bbs-password-toggle.is-visible {
    color: #2563eb;
}

.bbs-password-toggle.is-visible .bbs-eye-icon {
    transform: scale(1.05);
}

/* =========================================================
   3.4.0 PREMIUM OVERRIDES / HARDENING
========================================================= */

.bbs-register-wrapper {
    isolation: isolate;
    font-family: inherit;
}

.bbs-register-card,
.bbs-register-form-area,
.bbs-register-brand {
    box-sizing: border-box;
}

.bbs-register-form-area {
    min-width: 0;
}

.bbs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bbs-form-row .bbs-form-group {
    min-width: 0;
}

.bbs-field-hint {
    display: block;
    margin-top: 6px;
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.5;
}

.bbs-field-error {
    display: block;
    margin-top: 6px;
    color: #dc2626;
    font-size: 10px;
    font-weight: 700;
}

.bbs-input-valid {
    border-color: rgba(16,185,129,.50) !important;
    box-shadow: 0 0 0 3px rgba(16,185,129,.07) !important;
}

.bbs-input-invalid {
    border-color: rgba(239,68,68,.58) !important;
    box-shadow: 0 0 0 3px rgba(239,68,68,.07) !important;
}

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

.bbs-password-wrapper .bbs-input {
    width: 100%;
    padding-right: 62px !important;
}

.bbs-password-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 8px !important;
    left: auto !important;
    bottom: auto !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateY(-50%) !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: rgba(99,102,241,.07) !important;
    color: #64748b !important;
    line-height: 1 !important;
    z-index: 20 !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.bbs-password-toggle:hover {
    color: var(--bbs-primary, #6366f1) !important;
    background: rgba(99,102,241,.13) !important;
}

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

.bbs-password-toggle:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(99,102,241,.16) !important;
}

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

.bbs-password-toggle.is-visible {
    color: var(--bbs-primary, #6366f1) !important;
    background: rgba(99,102,241,.12) !important;
}

.bbs-password-strength {
    margin-top: 9px;
}

.bbs-strength-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bbs-strength-label {
    font-weight: 800;
}

.bbs-strength-bar {
    height: 5px;
    margin-top: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148,163,184,.15);
}

.bbs-strength-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981);
    transition: width .35s ease;
}

.bbs-strength-weak .bbs-strength-label { color: #ef4444; }
.bbs-strength-medium .bbs-strength-label { color: #f59e0b; }
.bbs-strength-good .bbs-strength-label { color: #0ea5e9; }
.bbs-strength-strong .bbs-strength-label { color: #10b981; }

.bbs-password-match {
    min-height: 18px;
    margin-top: 7px;
    font-size: 11px;
    font-weight: 750;
}

.bbs-password-match.bbs-match-success {
    color: #059669;
}

.bbs-password-match.bbs-match-error {
    color: #dc2626;
}

.bbs-checkbox input:focus-visible + .bbs-checkmark {
    outline: 3px solid rgba(99,102,241,.16);
    outline-offset: 2px;
}

.bbs-register-btn {
    overflow: hidden;
}

.bbs-register-btn .bbs-btn-text,
.bbs-register-btn .bbs-btn-loading {
    position: relative;
    z-index: 2;
}

.bbs-register-btn.bbs-loading {
    cursor: wait;
}

.bbs-btn-loading {
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bbs-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bbs-register-spin .7s linear infinite;
}

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

.bbs-register-logged-in {
    width: min(520px, calc(100% - 30px));
    margin: 40px auto;
    padding: 30px;
    text-align: center;
    border-radius: 22px;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(255,255,255,.65);
    box-shadow: 0 25px 60px rgba(15,23,42,.14);
    backdrop-filter: blur(20px);
}

.bbs-register-logged-in p {
    margin: 0 0 18px;
    color: #334155;
}

.bbs-register-logged-in a {
    display: inline-flex;
    padding: 11px 20px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg,#4f46e5,#7c3aed);
}

.bbs-modal {
    align-items: center !important;
    justify-content: center !important;
}

.bbs-modal-overlay {
    position: absolute;
    inset: 0;
}

.bbs-modal-content {
    z-index: 2;
}

body.bbs-modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .bbs-register-card {
        grid-template-columns: 1fr;
        width: min(720px, 100%);
    }

    .bbs-register-brand {
        min-height: auto;
        padding: 35px;
    }

    .bbs-brand-content {
        padding: 35px 0 25px;
    }

    .bbs-brand-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .bbs-brand-footer {
        margin-top: 10px;
    }

    .bbs-register-form-area {
        padding: 40px 38px;
    }
}

@media (max-width: 640px) {
    .bbs-register-wrapper {
        min-height: 100vh;
        padding: 20px 12px;
    }

    .bbs-register-card {
        border-radius: 22px;
    }

    .bbs-register-brand {
        display: none;
    }

    .bbs-register-form-area {
        padding: 28px 20px;
    }

    .bbs-register-mobile-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 22px;
        color: #334155;
        font-size: 16px;
    }

    .bbs-mobile-mark {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 13px;
        color: #fff;
        font-weight: 900;
        background: linear-gradient(135deg,#4f46e5,#7c3aed,#06b6d4);
        box-shadow: 0 8px 20px rgba(79,70,229,.22);
    }

    .bbs-register-header h2 {
        font-size: 26px;
    }

    .bbs-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .bbs-input {
        height: 52px;
        font-size: 15px;
    }

    .bbs-password-toggle {
        right: 6px !important;
        width: 40px !important;
        height: 40px !important;
    }

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

@media (max-width: 380px) {
    .bbs-register-wrapper {
        padding: 10px 7px;
    }

    .bbs-register-form-area {
        padding: 24px 15px;
    }

    .bbs-register-header h2 {
        font-size: 23px;
    }

    .bbs-form-badge {
        font-size: 10px;
    }

    .bbs-terms-text {
        font-size: 10px;
    }
}

@media (prefers-color-scheme: dark) {
    .bbs-register-wrapper {
        background:
            radial-gradient(circle at 10% 10%,rgba(99,102,241,.22),transparent 34%),
            radial-gradient(circle at 90% 20%,rgba(139,92,246,.18),transparent 34%),
            linear-gradient(135deg,#0f172a,#111827,#0f172a);
    }

    .bbs-register-card {
        background: rgba(15,23,42,.62);
        border-color: rgba(255,255,255,.10);
        box-shadow: 0 35px 90px rgba(0,0,0,.35);
    }

    .bbs-register-form-area {
        background: rgba(15,23,42,.55);
    }

    .bbs-register-header h2 {
        color: #f8fafc;
    }

    .bbs-register-header > p,
    .bbs-field-hint,
    .bbs-optional,
    .bbs-terms-text {
        color: #94a3b8;
    }

    .bbs-form-group label {
        color: #e2e8f0;
    }

    .bbs-input {
        color: #f8fafc;
        border-color: rgba(148,163,184,.20);
        background: rgba(15,23,42,.58);
    }

    .bbs-input:focus {
        background: rgba(15,23,42,.78);
    }

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

    .bbs-checkmark {
        background: rgba(15,23,42,.6);
        border-color: rgba(148,163,184,.3);
    }

    .bbs-register-footer {
        color: #94a3b8;
    }

    .bbs-register-logged-in {
        color: #e2e8f0;
        background: rgba(30,41,59,.78);
        border-color: rgba(255,255,255,.10);
    }

    .bbs-register-logged-in p {
        color: #e2e8f0;
    }

    .bbs-modal-content {
        background: rgba(30,41,59,.88);
        border-color: rgba(255,255,255,.10);
    }

    .bbs-modal-body h3 {
        color: #f8fafc;
    }

    .bbs-modal-body p {
        color: #94a3b8;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bbs-register-orb,
    .bbs-spinner {
        animation: none !important;
    }

    .bbs-register-btn,
    .bbs-password-toggle,
    .bbs-input,
    .bbs-brand-feature {
        transition: none !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;}
}

/* ============================================================
   BALLIGO BSOFT — BLUE/PURPLE TEXT VISIBILITY FIX
   ============================================================ */
.bbs-register-wrapper{color:#172033!important}
.bbs-register-form-area{color:#172033!important;background:rgba(255,255,255,.94)!important}
.bbs-register-form-area h1,.bbs-register-form-area h2,.bbs-register-form-area h3,.bbs-register-form-area p,.bbs-register-form-area label,.bbs-register-form-area span:not(.bbs-brand-glow){color:#172033!important}
.bbs-register-form-area .bbs-form-badge{color:#4f46e5!important}
.bbs-register-form-area input,.bbs-register-form-area select,.bbs-register-form-area textarea{color:#172033!important;background:#fff!important;border-color:#d9dfed!important}
.bbs-register-form-area input::placeholder,.bbs-register-form-area textarea::placeholder{color:#7a869a!important;opacity:1!important}
.bbs-register-form-area a{color:#4f46e5!important}
.bbs-register-brand,.bbs-register-brand *{color:#fff!important}


/* =========================================================
   BALLIGO BSOFT — FINAL PREMIUM REGISTER POLISH
   Blue/Purple Login-matched design
   Centered • Responsive • Padding • Radius • Text Visible
   VISUAL CSS ONLY — PHP/JS/AJAX/FORM LOGIC UNCHANGED
   ========================================================= */

/* ---------- Main wrapper / true centering ---------- */
.bbs-register-wrapper{
    width:100% !important;
    min-height:100vh !important;
    padding:32px 20px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
}

.bbs-register-card{
    width:min(1100px,100%) !important;
    margin:0 auto !important;
    border-radius:24px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
}

/* ---------- Brand panel ---------- */
.bbs-register-brand{
    padding:40px !important;
    box-sizing:border-box !important;
}

.bbs-brand-logo{
    align-items:center !important;
}

.bbs-brand-content{
    padding:45px 0 30px !important;
}

.bbs-brand-content h2,
.bbs-brand-content > p{
    text-align:left !important;
}

/* ---------- Form area ---------- */
.bbs-register-form-area{
    width:100% !important;
    min-width:0 !important;
    padding:38px 42px !important;
    box-sizing:border-box !important;
}

/* ---------- Register header centered ---------- */
.bbs-register-header{
    width:100% !important;
    margin:0 auto 24px !important;
    text-align:center !important;
}

.bbs-register-header .bbs-form-badge{
    margin-left:auto !important;
    margin-right:auto !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
}

.bbs-register-header h2{
    width:100% !important;
    margin:14px auto 8px !important;
    text-align:center !important;
}

.bbs-register-header > p{
    width:100% !important;
    margin:0 auto !important;
    text-align:center !important;
}

/* ---------- Alert ---------- */
.bbs-register-alert{
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    border-radius:12px !important;
    box-sizing:border-box !important;
}

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

.bbs-form-group{
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

.bbs-form-group label{
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    gap:7px !important;
    margin-bottom:8px !important;
}

.bbs-input-wrap,
.bbs-password-wrapper{
    width:100% !important;
    position:relative !important;
}

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

/* Password input + eye */
.bbs-password-wrapper .bbs-input{
    padding-right:58px !important;
}

.bbs-password-toggle{
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    padding:0 !important;
    margin:0 !important;
    right:7px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    border:0 !important;
    border-radius:10px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:rgba(99,102,241,.07) !important;
    color:#64748b !important;
    box-shadow:none !important;
    -webkit-text-fill-color:currentColor !important;
}

.bbs-password-toggle:hover{
    color:#4f46e5 !important;
    background:rgba(99,102,241,.13) !important;
}

.bbs-password-toggle .bbs-eye-icon{
    width:21px !important;
    height:21px !important;
    display:block !important;
    color:currentColor !important;
    stroke:currentColor !important;
    fill:none !important;
}

/* ---------- Field hints ---------- */
.bbs-field-hint{
    display:block !important;
    margin-top:6px !important;
    color:#7a869a !important;
    font-size:10px !important;
    line-height:1.55 !important;
}

/* ---------- Two-column row ---------- */
.bbs-form-row{
    width:100% !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
}

/* ---------- Password strength ---------- */
.bbs-password-strength{
    width:100% !important;
    margin-top:8px !important;
}

.bbs-strength-header{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
}

.bbs-strength-bar{
    width:100% !important;
    height:5px !important;
    border-radius:999px !important;
    overflow:hidden !important;
}

/* ---------- Terms ---------- */
.bbs-register-options{
    width:100% !important;
    margin:4px auto 18px !important;
}

.bbs-checkbox{
    width:100% !important;
    display:flex !important;
    align-items:flex-start !important;
    gap:9px !important;
}

.bbs-terms-text{
    color:#697386 !important;
    font-size:11px !important;
    line-height:1.7 !important;
}

.bbs-terms-text a{
    color:#4f46e5 !important;
    font-weight:750 !important;
    text-decoration:none !important;
}

/* ---------- Main register button ---------- */
.bbs-form-actions{
    width:100% !important;
    margin:0 auto !important;
}

.bbs-register-btn{
    width:100% !important;
    min-height:52px !important;
    margin:0 auto !important;
    padding:13px 20px !important;
    border:0 !important;
    border-radius:13px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:9px !important;
    text-align:center !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    background:linear-gradient(135deg,#4f46e5 0%,#6366f1 45%,#8b5cf6 100%) !important;
    box-shadow:0 12px 25px rgba(79,70,229,.24) !important;
    box-sizing:border-box !important;
}

.bbs-register-btn .bbs-btn-icon,
.bbs-register-btn .bbs-btn-text,
.bbs-register-btn .bbs-btn-loading{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    text-align:center !important;
}

.bbs-register-btn .bbs-btn-text{
    font-weight:800 !important;
}

.bbs-register-btn .bbs-btn-loading{
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
}

/* ---------- Register footer: TRUE CENTER desktop + mobile ---------- */
.bbs-register-footer{
    width:100% !important;
    margin:20px auto 0 !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    text-align:center !important;
}

.bbs-register-footer > span{
    display:inline-block !important;
    margin:0 !important;
    text-align:center !important;
    color:#7a869a !important;
}

.bbs-register-footer > a{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:4px !important;
    margin:0 !important;
    text-align:center !important;
    color:#4f46e5 !important;
    -webkit-text-fill-color:#4f46e5 !important;
}

/* ---------- Text visibility hardening ---------- */
.bbs-register-form-area h1,
.bbs-register-form-area h2,
.bbs-register-form-area h3{
    color:#172033 !important;
    -webkit-text-fill-color:#172033 !important;
}

.bbs-register-form-area p,
.bbs-register-form-area label{
    color:#172033 !important;
}

.bbs-register-form-area input{
    color:#172033 !important;
    -webkit-text-fill-color:#172033 !important;
    background:#fff !important;
}

.bbs-register-form-area input::placeholder{
    color:#7a869a !important;
    -webkit-text-fill-color:#7a869a !important;
    opacity:1 !important;
}

/* Do not let global button rules recolor the eye toggle */
.bbs-register-card .bbs-password-toggle{
    background:rgba(99,102,241,.07) !important;
    color:#64748b !important;
    -webkit-text-fill-color:#64748b !important;
    box-shadow:none !important;
}

.bbs-register-card .bbs-password-toggle:hover{
    background:rgba(99,102,241,.13) !important;
    color:#4f46e5 !important;
    -webkit-text-fill-color:#4f46e5 !important;
}

/* ---------- Modal ---------- */
.bbs-modal-content{
    width:min(460px,100%) !important;
    margin:auto !important;
    padding:28px !important;
    border-radius:20px !important;
    text-align:center !important;
    box-sizing:border-box !important;
}

.bbs-modal-body h3{
    text-align:center !important;
}

.bbs-modal-body p{
    text-align:center !important;
}

.bbs-modal-ok{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:11px !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}

/* ---------- Mobile / tablet ---------- */
@media (max-width:900px){
    .bbs-register-wrapper{
        padding:24px 14px !important;
    }

    .bbs-register-card{
        width:min(680px,100%) !important;
        grid-template-columns:1fr !important;
        border-radius:22px !important;
    }

    .bbs-register-brand{
        display:none !important;
    }

    .bbs-register-form-area{
        width:100% !important;
        padding:30px 28px !important;
    }

    .bbs-register-mobile-logo{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        gap:10px !important;
        margin:0 auto 20px !important;
        text-align:center !important;
    }

    .bbs-form-row{
        grid-template-columns:1fr !important;
        gap:0 !important;
    }
}

@media (max-width:600px){
    .bbs-register-wrapper{
        min-height:100vh !important;
        padding:16px 10px !important;
        align-items:center !important;
        justify-content:center !important;
    }

    .bbs-register-card{
        width:100% !important;
        max-width:100% !important;
        margin:0 auto !important;
        border-radius:19px !important;
    }

    .bbs-register-form-area{
        padding:24px 17px !important;
    }

    .bbs-register-mobile-logo{
        margin-bottom:18px !important;
    }

    .bbs-register-header{
        text-align:center !important;
        margin-bottom:21px !important;
    }

    .bbs-register-header h2{
        font-size:25px !important;
        margin-left:auto !important;
        margin-right:auto !important;
        text-align:center !important;
    }

    .bbs-register-header > p{
        width:100% !important;
        text-align:center !important;
    }

    .bbs-form-group{
        margin-bottom:16px !important;
    }

    .bbs-input{
        height:50px !important;
        min-height:50px !important;
        font-size:14px !important;
    }

    .bbs-register-btn{
        min-height:51px !important;
        border-radius:12px !important;
    }

    .bbs-register-footer{
        width:100% !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:center !important;
        gap:5px !important;
        text-align:center !important;
    }

    .bbs-register-footer > span,
    .bbs-register-footer > a{
        width:auto !important;
        margin-left:auto !important;
        margin-right:auto !important;
        text-align:center !important;
    }

    .bbs-modal{
        padding:14px !important;
    }

    .bbs-modal-content{
        padding:25px 18px !important;
        border-radius:18px !important;
    }
}

@media (max-width:380px){
    .bbs-register-wrapper{
        padding:10px 7px !important;
    }

    .bbs-register-form-area{
        padding:21px 13px !important;
    }

    .bbs-register-card{
        border-radius:17px !important;
    }

    .bbs-register-header h2{
        font-size:23px !important;
    }

    .bbs-terms-text{
        font-size:10px !important;
    }
}


/* =========================================================
   FINAL PAGE RADIUS + BLUE TEXT FIX
   Visual only — no PHP/JS/AJAX/business logic changes.
   ========================================================= */

/* Page/card radius */
.bbs-register-wrapper{
    border-radius:0 !important;
    overflow:hidden !important;
}

.bbs-register-card{
    border-radius:28px !important;
    overflow:hidden !important;
    clip-path:inset(0 round 28px) !important;
}

.bbs-register-form-area{
    border-radius:0 !important;
    overflow:hidden !important;
}

/* Mobile card radius */
@media (max-width:900px){
    .bbs-register-card{
        border-radius:24px !important;
        clip-path:inset(0 round 24px) !important;
    }
}

@media (max-width:600px){
    .bbs-register-card{
        border-radius:20px !important;
        clip-path:inset(0 round 20px) !important;
    }
}

@media (max-width:380px){
    .bbs-register-card{
        border-radius:18px !important;
        clip-path:inset(0 round 18px) !important;
    }
}

/* ---------- Remove unwanted yellow/gold link colors ---------- */
.bbs-register-form-area a,
.bbs-register-form-area .bbs-terms-text a,
.bbs-register-form-area .bbs-register-footer a{
    color:#4f46e5 !important;
    -webkit-text-fill-color:#4f46e5 !important;
    text-decoration:none !important;
}

.bbs-register-form-area a:hover,
.bbs-register-form-area .bbs-terms-text a:hover,
.bbs-register-form-area .bbs-register-footer a:hover{
    color:#2563eb !important;
    -webkit-text-fill-color:#2563eb !important;
}

/* Terms text — keep the normal text neutral, links blue */
.bbs-register-form-area .bbs-terms-text{
    color:#4b5563 !important;
    -webkit-text-fill-color:#4b5563 !important;
}

.bbs-register-form-area .bbs-terms-text a{
    color:#4f46e5 !important;
    -webkit-text-fill-color:#4f46e5 !important;
    font-weight:750 !important;
}

/* Prevent global styles from making checkbox/terms text yellow */
.bbs-register-form-area .bbs-checkbox,
.bbs-register-form-area .bbs-terms-text,
.bbs-register-form-area .bbs-terms-text *{
    text-shadow:none !important;
}

/* Keep required/optional indicators intentional */
.bbs-register-form-area .bbs-required{
    color:#ef4444 !important;
    -webkit-text-fill-color:#ef4444 !important;
}

.bbs-register-form-area .bbs-optional{
    color:#64748b !important;
    -webkit-text-fill-color:#64748b !important;
}

/* Blue checkbox focus/checked treatment */
.bbs-register-form-area .bbs-checkbox input:checked + .bbs-checkmark{
    border-color:#4f46e5 !important;
    background:linear-gradient(135deg,#4f46e5,#6366f1,#8b5cf6) !important;
}

/* Register footer blue */
.bbs-register-form-area .bbs-register-footer > a{
    color:#4f46e5 !important;
    -webkit-text-fill-color:#4f46e5 !important;
}


/* =========================================================
   FINAL PAGE BORDER + RADIUS + TAGLINE COLOR FIX
   Visual only — PHP/JS/AJAX/business logic unchanged.
   ========================================================= */

/* Outer page/frame */
.bbs-register-wrapper{
    border:2px solid rgba(79,70,229,.18) !important;
    border-radius:24px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
}

/* Main register card */
.bbs-register-card{
    border:1px solid rgba(79,70,229,.20) !important;
    border-radius:28px !important;
    overflow:hidden !important;
    box-shadow:
        0 28px 70px rgba(31,41,55,.14),
        0 0 0 1px rgba(255,255,255,.55) inset !important;
}

/* Register header tagline:
   "আপনার তথ্য দিয়ে একটি নিরাপদ অ্যাকাউন্ট তৈরি করুন।" */
.bbs-register-header > p,
.bbs-register-header p{
    display:block !important;
    width:100% !important;
    margin:0 auto !important;
    padding:0 !important;
    color:#4f46e5 !important;
    -webkit-text-fill-color:#4f46e5 !important;
    opacity:1 !important;
    visibility:visible !important;
    text-align:center !important;
    font-weight:600 !important;
    line-height:1.65 !important;
}

/* Keep header badge/title clean and visible */
.bbs-register-header h2{
    color:#172033 !important;
    -webkit-text-fill-color:#172033 !important;
    opacity:1 !important;
}

/* Mobile frame */
@media (max-width:600px){
    .bbs-register-wrapper{
        border-width:1.5px !important;
        border-radius:18px !important;
        padding:12px 8px !important;
    }

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

    .bbs-register-header > p,
    .bbs-register-header p{
        color:#4f46e5 !important;
        -webkit-text-fill-color:#4f46e5 !important;
        text-align:center !important;
    }
}
@media (max-width:380px){
    .bbs-register-wrapper{
        border-radius:16px !important;
    }

    .bbs-register-card{
        border-radius:18px !important;
    }
}
