/* ============================================================
   BHUARJAN — Immersive split-screen login  (/web/login)
   Left  : animated feature panel with auto-rotating slider
   Right : clean, minimal login form
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── Design tokens ── */
:root {
    --lp-dark:     #160b06;
    --lp-mid:      #4a1e0e;
    --lp-med:      #7a3b28;
    --lp-light:    #a05030;
    --lp-accent:   #ff7a1a;
    --lp-accent2:  #ffa857;
    --rp-bg:       #ffffff;
    --rp-text:     #1a1d24;
    --rp-muted:    #6b7280;
    --rp-border:   #e5e0da;
    --rp-inp-bg:   #f7f4f1;
}

/* ─────────────────────────────────────────────────
   RESET ODOO WRAPPERS (card / container / main)
   ───────────────────────────────────────────────── */
body.bhu-login-body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    margin: 0 !important; padding: 0 !important;
    background: var(--lp-dark) !important;
    overflow-x: hidden !important;
    min-height: 100vh !important;
}
body.bhu-login-body #wrapwrap {
    background: transparent !important;
    min-height: 100vh !important;
}
body.bhu-login-body #wrapwrap > header,
body.bhu-login-body #wrapwrap > footer { display: none !important; }

body.bhu-login-body main {
    display: block !important;
    padding: 0 !important; margin: 0 !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    max-width: 100vw !important; width: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}
body.bhu-login-body main > .container,
body.bhu-login-body .container.py-5 {
    max-width: 100% !important; width: 100% !important;
    padding: 0 !important; margin: 0 !important;
    min-height: 100vh !important;
}
body.bhu-login-body .card,
body.bhu-login-body .o_database_list {
    max-width: 100% !important; width: 100% !important;
    min-height: 100vh !important; height: auto !important;
    border-radius: 0 !important; border: none !important;
    box-shadow: none !important; background: transparent !important;
    margin: 0 !important; overflow: visible !important;
}
body.bhu-login-body .card-body {
    padding: 0 !important;
    min-height: 100vh !important;
}
body.bhu-login-body .card-body > div.text-center.pb-3.border-bottom,
body.bhu-login-body .card-body > div.border-top.small.mt-4 { display: none !important; }
body.bhu-login-body .card-body > :not(#bhu-login-root)      { display: none !important; }
body.bhu-login-body .o_skip_to_content                      { display: none !important; }
body.bhu-login-body main form:not([role="form"])             { display: none !important; }
body.bhu-login-body input[placeholder*="Search"],
body.bhu-login-body .o_searchbar_form                        { display: none !important; }

/* Hide backend Redmelon strip on login (custom footer used instead) */
body.bhu-login-body .bhuarjan-footer {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* ─────────────────────────────────────────────────
   ROOT — two-column grid
   ───────────────────────────────────────────────── */
#bhu-login-root {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: 100vh !important;
    width: 100% !important; max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
@media (min-width: 900px) {
    #bhu-login-root { grid-template-columns: 58% 42% !important; }
}

/* ═════════════════════════════════════════════════
   LEFT PANEL
   ═════════════════════════════════════════════════ */
.bhu-lp-left {
    position: relative;
    background: linear-gradient(150deg,
        var(--lp-dark)  0%,
        #2e1208       25%,
        var(--lp-mid)  55%,
        var(--lp-light)100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 38px 44px 32px;
    min-height: 100vh;
}

/* Animated glow blobs */
.bhu-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
    animation: blobDrift 10s ease-in-out infinite;
}
.bhu-blob-1 {
    width: 420px; height: 420px;
    top: -140px; left: -100px;
    background: radial-gradient(circle, var(--lp-accent) 0%, transparent 70%);
    opacity: 0.18;
    animation-delay: 0s;
}
.bhu-blob-2 {
    width: 320px; height: 320px;
    bottom: 40px; right: -80px;
    background: radial-gradient(circle, #ffcc66 0%, transparent 70%);
    opacity: 0.14;
    animation-delay: -4s;
}
.bhu-blob-3 {
    width: 240px; height: 240px;
    top: 45%; left: 40%;
    background: radial-gradient(circle, var(--lp-accent2) 0%, transparent 70%);
    opacity: 0.10;
    animation-delay: -7s;
}
@keyframes blobDrift {
    0%,100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(18px,-28px) scale(1.07); }
    66%      { transform: translate(-12px, 16px) scale(0.95); }
}

/* Subtle grid lines */
.bhu-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
    z-index: 0;
}

/* All real content above blobs */
.bhu-lp-left > *:not(.bhu-blob):not(.bhu-grid-overlay) { position: relative; z-index: 1; }

/* Brand row */
.bhu-lp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 42px;
}
.bhu-lp-logo {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.3);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.bhu-lp-brand-text { display: flex; flex-direction: column; }
.bhu-lp-brand-name {
    font-size: 0.96rem; font-weight: 800;
    color: #fff; letter-spacing: 2px; line-height: 1;
}
.bhu-lp-brand-sub {
    font-size: 0.63rem; font-weight: 500;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.3px; margin-top: 4px;
}

/* ── Slider ── */
.bhu-slider-container {
    flex: 1;
    position: relative;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bhu-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
}
.bhu-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.bhu-slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,122,26,0.18);
    border: 1px solid rgba(255,122,26,0.4);
    color: var(--lp-accent2);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
    width: fit-content;
}
.bhu-slide-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.22;
    margin: 0 0 14px;
    text-shadow: 0 2px 14px rgba(0,0,0,0.35);
    letter-spacing: -0.3px;
}
.bhu-slide-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    margin: 0 0 28px;
    max-width: 400px;
}

/* Slide 1 – stat boxes */
.bhu-slide-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.bhu-slide-stat {
    flex: 1 1 0;
    min-width: 70px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    padding: 12px 14px;
    backdrop-filter: blur(10px);
    transition: background 0.2s;
}
.bhu-slide-stat:hover { background: rgba(255,255,255,0.12); }
.bhu-stat-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--lp-accent2);
    line-height: 1;
    margin-bottom: 5px;
    font-variant-numeric: tabular-nums;
}
.bhu-stat-lbl {
    display: block;
    font-size: 0.66rem;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Slide 2 – workflow pills */
.bhu-slide-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.bhu-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.88);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 13px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    transition: background 0.2s, border-color 0.2s;
}
.bhu-pill:hover {
    background: rgba(255,122,26,0.2);
    border-color: rgba(255,122,26,0.45);
}

/* Slide 3 – impact rows */
.bhu-slide-impacts { display: flex; flex-direction: column; gap: 14px; }
.bhu-impact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 12px 16px;
    backdrop-filter: blur(6px);
    transition: background 0.2s;
}
.bhu-impact-row:hover { background: rgba(255,255,255,0.11); }
.bhu-impact-ico {
    font-size: 1.35rem;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255,122,26,0.2);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.bhu-impact-val {
    font-size: 0.92rem; font-weight: 700;
    color: var(--lp-accent2); margin-bottom: 2px;
}
.bhu-impact-lbl { font-size: 0.75rem; color: rgba(255,255,255,0.6); }

/* Slider dots */
.bhu-slider-dots {
    display: flex;
    gap: 7px;
    margin-top: 26px; margin-bottom: 22px;
}
.bhu-slider-dot {
    width: 8px; height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.28);
    border: none; cursor: pointer; padding: 0;
    transition: all 0.35s ease;
}
.bhu-slider-dot.active {
    background: var(--lp-accent);
    width: 26px;
}
.bhu-slider-dot:hover { background: rgba(255,255,255,0.55); }

/* Trust badges */
.bhu-lp-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.bhu-lp-trust span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}

/* ═════════════════════════════════════════════════
   RIGHT PANEL
   ═════════════════════════════════════════════════ */
.bhu-lp-right {
    background: var(--rp-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 28px max(28px, env(safe-area-inset-bottom));
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
}
/* Subtle warm tint top-right corner */
.bhu-lp-right::before {
    content: "";
    position: absolute;
    top: -60px; right: -60px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,170,80,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.bhu-rp-inner {
    width: 100%;
    max-width: 380px;
    position: relative;
    z-index: 1;
}

/* Logos */
.bhu-login-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-bottom: 22px;
}
.bhu-login-logos img {
    display: block;
    object-fit: cover;
    background: #fff;
    border-radius: 50%;
    border: 2px solid rgba(15,23,42,0.09);
    box-shadow: 0 6px 20px rgba(15,23,42,0.12);
    height: 66px; width: 66px;
}
.bhu-login-logos .bhu-logo-left { max-width: none; }
.bhu-logo-divider { width: 1px; height: 38px; background: rgba(15,23,42,0.13); }

/* Heading */
.bhu-login-head { margin-bottom: 22px; }
.bhu-login-head h1 {
    margin: 0 0 5px;
    color: var(--rp-text);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}
.bhu-login-head p {
    margin: 0;
    color: var(--rp-muted);
    font-size: 0.875rem;
}

/* Form resets */
.bhu-lp-right form.oe_login_form,
.bhu-lp-right form[role="form"] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 100% !important;
    margin: 0 !important;
}
.bhu-lp-right form .mb-3 { margin-bottom: 14px !important; }

/* Labels */
.bhu-lp-right form label,
.bhu-lp-right form .form-label {
    display: block !important;
    font-size: 0.81rem !important;
    font-weight: 600 !important;
    color: var(--rp-text) !important;
    margin-bottom: 7px !important;
}

/* Input rows */
.bhu-lp-right .bhu-input-row { display: block; width: 100%; box-sizing: border-box; }
.bhu-lp-right form .mb-3.field-login,
.bhu-lp-right form .mb-3.field-password {
    width: 100% !important; max-width: 100% !important; box-sizing: border-box !important;
}

/* Inputs */
.bhu-lp-right form .form-control,
.bhu-lp-right form input.form-control {
    display: block !important;
    width: 100% !important;
    border-radius: 10px !important;
    border: 1.5px solid var(--rp-border) !important;
    padding: 10px 13px !important;
    font-size: 0.9rem !important;
    font-family: inherit !important;
    background: var(--rp-inp-bg) !important;
    color: var(--rp-text) !important;
    box-sizing: border-box !important;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s !important;
    min-width: 0 !important;
}
.bhu-lp-right form .form-control:focus {
    border-color: var(--lp-accent) !important;
    box-shadow: 0 0 0 3px rgba(255,122,26,0.13) !important;
    background: #fff !important;
    outline: none !important;
}

/* Submit button */
.bhu-lp-right .btn-primary,
.bhu-lp-right button[type="submit"].btn-primary {
    width: 100% !important;
    padding: 11px 16px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    border-radius: 10px !important;
    border: none !important;
    background: linear-gradient(135deg, var(--lp-accent) 0%, #ff9a3d 100%) !important;
    box-shadow: 0 8px 22px rgba(255,122,26,0.38) !important;
    color: #fff !important;
    letter-spacing: 0.2px;
    transition: filter 0.2s, transform 0.18s !important;
}
.bhu-lp-right .btn-primary:hover,
.bhu-lp-right button[type="submit"].btn-primary:hover {
    filter: brightness(1.08) !important;
    transform: translateY(-1px) !important;
}
.bhu-lp-right .oe_login_buttons { padding-top: 6px !important; }
.bhu-lp-right .o_login_auth     { display: none !important; }

/* Alerts */
.bhu-lp-right .alert { border-radius: 10px !important; font-size: 0.86rem !important; }

/* Secure badge */
.bhu-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 12px;
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Back link */
.bhu-lp-right .o_login_redirect_back { text-align: center; margin-top: 18px; }
.bhu-lp-right .o_login_redirect_back a {
    color: #8a4f20;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}
.bhu-lp-right .o_login_redirect_back a:hover {
    color: var(--lp-accent);
    text-decoration: underline;
}

/* ─────────────────────────────────────────────────
   PASSWORD TOGGLE
   ───────────────────────────────────────────────── */
#bhu-login-root .bhu-password-wrap {
    position: relative !important;
    width: 100% !important; max-width: 100% !important;
    box-sizing: border-box !important;
    isolation: isolate;
}
#bhu-login-root .bhu-password-wrap .form-control { padding-right: 2.75rem !important; }

#bhu-login-root .bhu-password-toggle {
    position: absolute !important;
    left: auto !important; right: 6px !important;
    top: 50% !important; bottom: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important; cursor: pointer !important;
    z-index: 2 !important;
    color: var(--rp-muted) !important;
    line-height: 0 !important;
    padding: 4px !important;
    background: transparent !important; border: none !important;
    display: flex !important;
    align-items: center !important; justify-content: center !important;
    width: 2.25rem !important; height: 2.25rem !important;
    border-radius: 6px !important; box-sizing: border-box !important;
    -webkit-tap-highlight-color: transparent;
}
#bhu-login-root .bhu-password-toggle svg { display: block !important; width: 20px !important; height: 20px !important; }
#bhu-login-root .bhu-password-toggle .bhu-toggle-icon-visible { display: none !important; }
#bhu-login-root .bhu-password-toggle.bhu-password-showing .bhu-toggle-icon-hidden { display: none !important; }
#bhu-login-root .bhu-password-toggle.bhu-password-showing .bhu-toggle-icon-visible { display: block !important; }
#bhu-login-root .bhu-password-toggle:hover,
#bhu-login-root .bhu-password-toggle:focus {
    color: var(--lp-accent) !important;
    outline: none !important;
    background: rgba(255,122,26,0.09) !important;
}

/* ─────────────────────────────────────────────────
   MOBILE APP SHELL — unified single-screen login
   ───────────────────────────────────────────────── */
.bhu-login-appbar {
    display: none;
}
.bhu-login-mobile-shell {
    display: contents;
}

@media (max-width: 899px) {
    body.bhu-login-body {
        background: #0f1a2e !important;
    }

    .bhu-lp-left { display: none !important; }

    #bhu-login-root {
        grid-template-columns: 1fr !important;
        min-height: 100dvh !important;
    }

    .bhu-lp-right {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: stretch;
        width: 100%;
        min-height: 100dvh;
        padding: 0;
        background: #0f1a2e;
        box-sizing: border-box;
        overflow: hidden;
    }

    .bhu-lp-right::before { display: none; }

    /* One unified app surface */
    .bhu-login-mobile-shell {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 480px;
        min-height: 100dvh;
        margin: 0 auto;
        background: #ffffff;
        box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
        overflow: hidden;
    }

    /* App top bar */
    .bhu-login-appbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: max(12px, env(safe-area-inset-top)) 14px 12px;
        background: linear-gradient(120deg, #0c1929 0%, #172d4f 100%);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        flex-shrink: 0;
    }
    .bhu-login-appbar-back {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.12);
        color: #fff;
        text-decoration: none;
        flex-shrink: 0;
        -webkit-tap-highlight-color: transparent;
    }
    .bhu-login-appbar-back:active {
        background: rgba(255,255,255,0.14);
    }
    .bhu-login-appbar-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }
    .bhu-login-appbar-brand img {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: #fff;
        padding: 4px;
        object-fit: contain;
        flex-shrink: 0;
    }
    .bhu-login-appbar-brand span {
        font-size: 0.92rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        color: #fff;
        white-space: nowrap;
    }
    .bhu-login-appbar-spacer {
        width: 40px;
        flex-shrink: 0;
    }

    /* Scrollable main content */
    .bhu-rp-inner {
        flex: 1;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 28px 22px 20px;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        box-sizing: border-box;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .bhu-login-logos--desktop,
    .bhu-login-back--desktop {
        display: none !important;
    }

    .bhu-login-head {
        text-align: left;
        margin-bottom: 26px;
    }
    .bhu-login-head h1 {
        font-size: 1.65rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        color: #0f172a;
    }
    .bhu-login-head p {
        font-size: 0.88rem;
        color: #64748b;
        margin-top: 6px;
        line-height: 1.45;
    }

    .bhu-lp-right form label,
    .bhu-lp-right form .form-label {
        font-size: 0.8rem !important;
        color: #475569 !important;
        margin-bottom: 8px !important;
    }

    .bhu-lp-right form .form-control,
    .bhu-lp-right form input.form-control {
        padding: 14px 15px !important;
        font-size: 16px !important;
        border-radius: 14px !important;
        background: #f8fafc !important;
        border: 1.5px solid #e2e8f0 !important;
    }
    .bhu-lp-right form .form-control:focus {
        background: #fff !important;
        border-color: #ff7a1a !important;
        box-shadow: 0 0 0 4px rgba(255,122,26,0.12) !important;
    }

    .bhu-lp-right .btn-primary,
    .bhu-lp-right button[type="submit"].btn-primary {
        padding: 15px 16px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        border-radius: 14px !important;
        margin-top: 8px;
        box-shadow: 0 10px 28px rgba(255,122,26,0.35) !important;
    }

    .bhu-secure-note {
        margin-top: 16px;
        padding: 10px 12px;
        background: #f8fafc;
        border-radius: 10px;
        font-size: 0.72rem;
        color: #64748b;
        border: 1px solid #eef2f6;
    }

    /* Bottom action bar — clean, no nested boxes */
    .bhu-login-footer {
        position: relative;
        width: 100%;
        margin: 0;
        padding: 16px 20px max(20px, env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #eef2f6;
        border-radius: 0;
        box-shadow: none;
        flex-shrink: 0;
        box-sizing: border-box;
        text-align: center;
    }
    .bhu-login-footer::before {
        display: none;
    }

    .bhu-login-footer-brand {
        display: block;
        font-size: 0.72rem;
        font-weight: 500;
        margin: 0 0 16px;
        color: #94a3b8;
        letter-spacing: 0.02em;
    }
    .bhu-login-footer-brand a {
        color: #8A4531;
        font-weight: 700;
        text-decoration: none !important;
    }

    .bhu-login-footer-links {
        display: flex !important;
        align-items: stretch;
        justify-content: center;
        gap: 0 !important;
        width: 100% !important;
        max-width: 320px;
        margin: 0 auto;
        background: #f8fafc;
        border-radius: 16px;
        padding: 4px;
        border: 1px solid #eef2f6;
    }

    .bhu-login-footer-chip {
        display: flex !important;
        flex: 1 1 0;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        min-width: 0 !important;
        padding: 12px 6px !important;
        border-radius: 12px !important;
        background: transparent !important;
        border: none !important;
        color: #334155 !important;
        font-size: 0.68rem !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
        transition: background .15s ease;
        -webkit-tap-highlight-color: transparent;
    }
    .bhu-login-footer-chip:not(:last-child) {
        border-right: 1px solid #e8edf2 !important;
    }
    .bhu-login-footer-chip:active {
        background: rgba(255, 122, 26, 0.08) !important;
        transform: none;
    }

    .bhu-login-footer-ico {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #fff;
        color: #ea580c;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.07);
        flex-shrink: 0;
    }
    .bhu-login-footer-ico svg {
        width: 20px;
        height: 20px;
    }
    .bhu-login-footer-chip--wa .bhu-login-footer-ico {
        color: #16a34a;
        background: #fff;
        box-shadow: 0 2px 8px rgba(22, 163, 74, 0.12);
    }
    .bhu-login-footer-label {
        font-size: 0.68rem;
        font-weight: 600;
        color: #64748b;
        text-decoration: none !important;
        line-height: 1.2;
    }
}

@media (max-width: 899px) and (max-height: 700px) {
    .bhu-rp-inner {
        padding: 20px 18px 16px;
    }
    .bhu-login-head h1 {
        font-size: 1.4rem;
    }
    .bhu-login-footer {
        padding: 12px 14px max(12px, env(safe-area-inset-bottom));
    }
    .bhu-login-footer-chip {
        padding: 10px 6px !important;
    }
}

/* ── Login footer — shared ── */
.bhu-login-footer {
    width: 100%;
    max-width: 380px;
    margin: 24px auto 0;
    padding: 16px 0 0;
    border-top: 1px solid rgba(138, 69, 49, 0.12);
    text-align: center;
    flex-shrink: 0;
    box-sizing: border-box;
}
.bhu-login-footer-brand {
    margin: 0 0 14px;
    font-size: .82rem;
    font-weight: 500;
    color: #7a6558;
    line-height: 1.5;
}
.bhu-login-footer-brand a {
    color: #8A4531;
    font-weight: 800;
    text-decoration: none;
    transition: color .2s;
}
.bhu-login-footer-brand a:hover {
    color: #c45a2a;
}

.bhu-login-legal-links {
    margin-top: 14px;
    font-size: .78rem;
    line-height: 1.55;
    color: #8a7568;
    text-align: center;
    padding: 0 8px;
}
.bhu-login-legal-links a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}
.bhu-login-legal-links a:hover {
    text-decoration: underline;
}

/* Desktop footer chips — row layout */
@media (min-width: 900px) {
.bhu-login-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.bhu-login-footer-chip {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(138, 69, 49, 0.16);
    color: #5c4a3e !important;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(138, 69, 49, 0.08);
    transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.bhu-login-footer-ico {
    display: inline-flex;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
}
.bhu-login-footer-chip--wa .bhu-login-footer-ico {
    background: transparent;
    color: #128C7E;
}
.bhu-login-footer-chip:hover {
    background: #fff;
    border-color: rgba(255, 122, 26, 0.35);
    color: #8A4531 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(138, 69, 49, 0.12);
}
}

.bhu-login-footer-chip,
.bhu-login-footer-chip:visited,
.bhu-login-footer-chip:hover,
.bhu-login-footer-chip:active,
.bhu-login-footer-label {
    text-decoration: none !important;
}
.bhu-login-footer-ico {
    color: #8A4531;
}
.bhu-login-footer-ico svg {
    display: block;
}
