@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* =========================================================
   WhatsApp Center — Modern Theme (scoped)
   Scope: .auth-modern (login/otp), .dash-modern (dashboard)
   ========================================================= */

:root {
    --wc-green: #25D366;
    --wc-teal: #128C7E;
    --wc-dark: #075E54;
    --wc-ink: #0f172a;
    --wc-muted: #64748b;
    --wc-line: #e2e8f0;
    --wc-bg: #f1f5f9;
    --wc-grad: linear-gradient(135deg, #075E54 0%, #128C7E 55%, #25D366 100%);
}

/* =========================================================
   AUTH (login + OTP)
   ========================================================= */
.auth-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
    background: var(--wc-bg);
    font-family: 'Inter', 'Poppins', sans-serif;
}

/* animated decorative background */
.auth-modern::before,
.auth-modern::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .45;
    z-index: 0;
    pointer-events: none;
}
.auth-modern::before {
    width: 480px; height: 480px;
    background: #25D366;
    top: -160px; right: -120px;
    animation: wcFloat 14s ease-in-out infinite;
}
.auth-modern::after {
    width: 420px; height: 420px;
    background: #128C7E;
    bottom: -160px; left: -100px;
    animation: wcFloat 18s ease-in-out infinite reverse;
}
@keyframes wcFloat {
    0%,100% { transform: translate(0,0) scale(1); }
    50%     { transform: translate(30px,-30px) scale(1.08); }
}

/* Brand / left panel */
.auth-modern__brand {
    flex: 1 1 52%;
    position: relative;
    background: var(--wc-grad);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px;
    overflow: hidden;
    z-index: 1;
}
.auth-modern__brand::before,
.auth-modern__brand::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
}
.auth-modern__brand::before { width: 320px; height: 320px; top: -90px; left: -90px; }
.auth-modern__brand::after  { width: 220px; height: 220px; bottom: -70px; right: -50px; }

.auth-modern__brand-inner { position: relative; z-index: 2; max-width: 440px; }
.auth-modern__brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.25);
    padding: 10px 18px;
    border-radius: 999px;
    margin-bottom: 36px;
    font-weight: 600;
    letter-spacing: .3px;
}
.auth-modern__brand-logo i { font-size: 26px; }
.auth-modern__brand h1 {
    font-size: 46px;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 20px;
    letter-spacing: -.5px;
}
.auth-modern__brand p {
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
    color: rgba(255,255,255,.85);
}
.auth-modern__brand-features {
    list-style: none;
    margin: 36px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.auth-modern__brand-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255,255,255,.92);
}
.auth-modern__brand-features li i {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.18);
    border-radius: 10px;
    font-size: 18px;
}

/* Form / right panel */
.auth-modern__form-wrap {
    flex: 1 1 48%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}
.auth-modern__card {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 24px;
    padding: 44px 40px;
    box-shadow: 0 30px 60px -25px rgba(7,94,84,.45);
    animation: wcRise .6s cubic-bezier(.2,.8,.2,1);
}
@keyframes wcRise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.auth-modern__logo-img {
    height: 46px;
    margin: 0 auto 18px;
    display: block;
}
.auth-modern__title {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    color: var(--wc-ink);
    margin: 0 0 6px;
    letter-spacing: -.3px;
}
.auth-modern__subtitle {
    text-align: center;
    color: var(--wc-muted);
    font-size: 14.5px;
    margin: 0 0 30px;
}

.auth-modern__field { position: relative; margin-bottom: 18px; }
.auth-modern__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 7px;
}
.auth-modern__input-wrap { position: relative; }
.auth-modern__input-wrap > i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
    pointer-events: none;
    transition: color .2s;
}
.auth-modern__input {
    width: 100%;
    height: 50px;
    padding: 0 16px 0 46px;
    border-radius: 13px;
    border: 1.5px solid var(--wc-line);
    background: #fff;
    font-size: 15px;
    color: var(--wc-ink);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.auth-modern__input::placeholder { color: #94a3b8; }
.auth-modern__input:focus {
    border-color: var(--wc-green);
    box-shadow: 0 0 0 4px rgba(37,211,102,.15);
}
.auth-modern__input:focus + i,
.auth-modern__input-wrap:focus-within > i { color: var(--wc-teal); }
.auth-modern__input[readonly] { background: #f8fafc; color: #475569; }

.auth-modern__btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 13px;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .15s, box-shadow .2s, background .2s;
    text-decoration: none;
}
.auth-modern__btn--primary {
    background: var(--wc-grad);
    color: #fff;
    box-shadow: 0 12px 24px -8px rgba(18,140,126,.6);
}
.auth-modern__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -8px rgba(18,140,126,.7);
}
.auth-modern__btn--ghost {
    background: #fff;
    color: var(--wc-dark);
    border: 1.5px solid var(--wc-line);
    margin-top: 12px;
}
.auth-modern__btn--ghost:hover {
    border-color: var(--wc-green);
    color: var(--wc-teal);
    background: #f0fdf4;
}

.auth-modern__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}
.auth-modern__link {
    color: var(--wc-teal);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
}
.auth-modern__link:hover { text-decoration: underline; }

.auth-modern__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    font-size: 12px;
    margin: 26px 0 0;
}
.auth-modern__divider::before,
.auth-modern__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--wc-line);
}

.auth-modern__footer {
    text-align: center;
    margin-top: 28px;
    color: #94a3b8;
    font-size: 12.5px;
}
.auth-modern__footer i { color: #ef4444; }

/* OTP large input */
.auth-modern__otp {
    width: 100%;
    height: 62px;
    text-align: center;
    letter-spacing: 14px;
    font-size: 26px;
    font-weight: 700;
    padding: 0 8px;
    border-radius: 14px;
    border: 1.5px solid var(--wc-line);
    background: #fff;
    color: var(--wc-ink);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.auth-modern__otp:focus {
    border-color: var(--wc-green);
    box-shadow: 0 0 0 4px rgba(37,211,102,.15);
}
.auth-modern__otp-note {
    text-align: center;
    color: var(--wc-muted);
    font-size: 13px;
    margin: 10px 0 18px;
}
.auth-modern__otp-note strong { color: var(--wc-dark); }

.auth-modern__alert {
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13.5px;
    margin-bottom: 18px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Responsive */
@media (max-width: 900px) {
    .auth-modern__brand { display: none; }
    .auth-modern__form-wrap { flex: 1 1 100%; }
}

/* =========================================================
   DASHBOARD
   ========================================================= */
.dash-modern { padding: 6px 4px 30px; font-family: 'Inter','Poppins',sans-serif; }

.dash-modern__hello { margin-bottom: 26px; }
.dash-modern__hello h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--wc-ink);
    margin: 0 0 4px;
    letter-spacing: -.3px;
}
.dash-modern__hello p { margin: 0; color: var(--wc-muted); font-size: 14.5px; }

.dash-modern__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.stat-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--wc-line);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.stat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--wc-grad);
    opacity: 0;
    transition: opacity .2s;
    z-index: 0;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -18px rgba(15,23,42,.35);
    border-color: transparent;
}
.stat-card > * { position: relative; z-index: 1; }

.stat-card__icon {
    width: 54px; height: 54px;
    border-radius: 15px;
    display: grid; place-items: center;
    font-size: 26px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 10px 20px -8px rgba(0,0,0,.25);
}
.stat-card__value {
    font-size: 26px;
    font-weight: 800;
    color: var(--wc-ink);
    line-height: 1.1;
    letter-spacing: -.5px;
}
.stat-card__label {
    font-size: 13px;
    color: var(--wc-muted);
    margin-top: 2px;
    font-weight: 500;
}

/* accent colors */
.stat-card--green .stat-card__icon   { background: linear-gradient(135deg,#25D366,#128C7E); }
.stat-card--indigo .stat-card__icon  { background: linear-gradient(135deg,#6366f1,#4f46e5); }
.stat-card--blue .stat-card__icon    { background: linear-gradient(135deg,#3b82f6,#2563eb); }
.stat-card--emerald .stat-card__icon { background: linear-gradient(135deg,#10b981,#059669); }
.stat-card--red .stat-card__icon     { background: linear-gradient(135deg,#ef4444,#dc2626); }
.stat-card--amber .stat-card__icon   { background: linear-gradient(135deg,#f59e0b,#d97706); }

/* connection status banner cards */
.dash-modern__status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.status-card {
    position: relative;
    border-radius: 20px;
    padding: 26px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 20px 35px -20px rgba(0,0,0,.4);
}
.status-card::before {
    content: "";
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    top: -80px; right: -60px;
}
.status-card--ok { background: linear-gradient(135deg,#0f766e,#25D366); }
.status-card--bad { background: linear-gradient(135deg,#b91c1c,#ef4444); }
.status-card__icon { font-size: 40px; margin-bottom: 10px; }
.status-card__title { font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.status-card__text { font-size: 13.5px; color: rgba(255,255,255,.9); margin: 0 0 16px; }
.status-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--wc-dark);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 11px;
    font-weight: 700;
    font-size: 14px;
    transition: transform .15s;
}
.status-card__btn:hover { transform: translateY(-2px); }
.status-card--bad .status-card__btn { color: #b91c1c; }

/* =========================================================
   APP CHROME (sidebar + topbar + footer) — global
   ========================================================= */
.app-body { margin: 0; background: #f4f6f9; font-family: 'Inter', 'Poppins', sans-serif; }
.app-shell { min-height: 100vh; }

/* ---------- Sidebar ---------- */
.app-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; width: 264px;
    background: linear-gradient(180deg, #0b3d35 0%, #075E54 100%);
    color: #cbd5e1; display: flex; flex-direction: column; z-index: 1040;
    transition: transform .28s cubic-bezier(.2,.8,.2,1);
    box-shadow: 4px 0 26px rgba(0,0,0,.10);
}
.app-sidebar__brand {
    display: flex; align-items: center; gap: 10px;
    padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.app-sidebar__brand img { height: 32px; }
.app-sidebar__brand-text { color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .2px; }

.app-sidebar__nav { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 14px 14px 24px; }
.app-sidebar__nav::-webkit-scrollbar { width: 6px; }
.app-sidebar__nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 3px; }

.app-sidebar__title {
    font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
    color: rgba(203,213,225,.5); font-weight: 600;
    margin: 18px 12px 8px;
}
.app-sidebar__title:first-child { margin-top: 8px; }

.app-sidebar__link {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px; margin-bottom: 2px; border-radius: 11px;
    color: #cbd5e1; text-decoration: none; font-size: 14px; font-weight: 500;
    transition: background .18s, color .18s;
}
.app-sidebar__link i { font-size: 19px; width: 22px; text-align: center; flex-shrink: 0; }
.app-sidebar__link:hover { background: rgba(255,255,255,.08); color: #fff; }
.app-sidebar__link--active {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff; box-shadow: 0 8px 18px -6px rgba(37,211,102,.55);
}
.app-sidebar__link--logout { color: #fca5a5; margin-top: 10px; }
.app-sidebar__link--logout:hover { background: rgba(239,68,68,.16); color: #fecaca; }

/* ---------- Main column ---------- */
.app-main { margin-left: 264px; min-height: 100vh; display: flex; flex-direction: column; transition: margin .28s; }

.app-topbar {
    position: sticky; top: 0; z-index: 1020;
    height: 66px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
    border-bottom: 1px solid #eef2f7;
    display: flex; align-items: center; gap: 14px; padding: 0 22px;
}
.app-topbar__toggle {
    width: 40px; height: 40px; border: none; background: #f1f5f9; border-radius: 11px;
    display: grid; place-items: center; font-size: 22px; color: #0f172a; cursor: pointer;
}
.app-topbar__toggle:hover { background: #e2e8f0; }
.app-topbar__title h1, .app-topbar__title h2, .app-topbar__title h3, .app-topbar__title .page-title {
    margin: 0; font-size: 18px; font-weight: 700; color: #0f172a; letter-spacing: -.2px;
}
.app-topbar__spacer { flex: 1; }
.app-topbar__user {
    display: flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px;
    background: #f1f5f9; border-radius: 999px; text-decoration: none;
}
.app-topbar__user img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.app-topbar__user-name { display: block; font-size: 13.5px; font-weight: 600; color: #0f172a; line-height: 1.15; }
.app-topbar__user-role { display: block; font-size: 11px; color: #64748b; }

.app-topbar__logout {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; border-radius: 11px; text-decoration: none;
    background: #fef2f2; color: #dc2626; border: 1px solid #fecaca;
    font-size: 14px; font-weight: 600; white-space: nowrap;
    transition: background .18s, color .18s, transform .12s, border-color .18s;
}
.app-topbar__logout i { font-size: 18px; }
.app-topbar__logout:hover { background: #dc2626; color: #fff; border-color: #dc2626; transform: translateY(-1px); }

/* ---------- Toggle switch ---------- */
.wc-toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; }
.wc-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.wc-toggle__track { position: relative; width: 46px; height: 26px; background: #cbd5e1; border-radius: 999px; transition: background .2s; flex-shrink: 0; }
.wc-toggle__thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.wc-toggle input:checked + .wc-toggle__track { background: linear-gradient(135deg, #25D366, #128C7E); }
.wc-toggle input:checked + .wc-toggle__track .wc-toggle__thumb { transform: translateX(20px); }
.wc-toggle input:focus + .wc-toggle__track { box-shadow: 0 0 0 4px rgba(37,211,102,.18); }
.wc-toggle__label { font-size: 14px; color: #334155; font-weight: 500; line-height: 1.35; }
.wc-toggle__hint { font-size: 12.5px; color: #94a3b8; font-weight: 400; display: block; margin-top: 2px; }
.wc-security-card { background: #fff; border: 1px solid var(--wc-line); border-radius: 16px; padding: 20px; display: flex; align-items: center; gap: 16px; }
.wc-security-card__icon { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; font-size: 24px; color: #fff; background: linear-gradient(135deg,#25D366,#128C7E); flex-shrink: 0; }
.wc-security-card__title { font-size: 15px; font-weight: 700; color: var(--wc-ink); margin: 0; }
.wc-security-card__state { font-size: 12.5px; font-weight: 600; }
.wc-security-card__state--on { color: #128C7E; }
.wc-security-card__state--off { color: #dc2626; }

/* ---------- Info banner ---------- */
.wc-info {
    display: flex; align-items: center; gap: 14px;
    background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
    border: 1px solid #a7f3d0; border-left: 4px solid #25D366;
    border-radius: 14px; padding: 14px 18px; color: #065f46; font-size: 14px;
}
.wc-info__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; font-size: 20px; flex-shrink: 0; }
.wc-info__body { flex: 1; line-height: 1.45; }
.wc-info__body strong { color: #064e3b; }
.wc-info a { color: #075E54; font-weight: 600; text-decoration: none; }
.wc-info a:hover { text-decoration: underline; }

/* ---------- Pricing / plan cards ---------- */
.wc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.wc-plan {
    background: #fff; border: 1px solid var(--wc-line); border-radius: 18px; padding: 22px;
    box-shadow: 0 6px 18px -12px rgba(15,23,42,.18);
}
.wc-plan__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.wc-plan__title { font-size: 16px; font-weight: 700; color: var(--wc-ink); margin: 0; }
.wc-plan__badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #ecfdf5; color: #075E54; }
.wc-plan__row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #f1f5f9; font-size: 14px; }
.wc-plan__row:last-child { border-bottom: none; }
.wc-plan__row > span:first-child { color: #64748b; }
.wc-plan__row > span:last-child { font-weight: 600; color: var(--wc-ink); }

.wc-price-card {
    background: #fff; border: 1px solid var(--wc-line); border-radius: 18px; padding: 24px;
    text-align: center; display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.wc-price-card:hover { transform: translateY(-5px); box-shadow: 0 22px 38px -18px rgba(15,23,42,.3); border-color: #a7f3d0; }
.wc-price-card__name { font-size: 16px; font-weight: 700; color: var(--wc-ink); margin: 0 0 6px; }
.wc-price-card__price { font-size: 30px; font-weight: 800; color: #128C7E; margin: 0 0 14px; }
.wc-price-card__feat { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 13.5px; color: #475569; padding: 7px 0; border-top: 1px solid #f1f5f9; }
.wc-price-card__feat i { color: #25D366; font-size: 16px; }
.wc-price-card .auth-modern__btn { margin-top: 14px; }

.wc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 18px; border-radius: 12px; text-decoration: none; font-size: 14px; font-weight: 600;
    border: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
}
.wc-btn--grad { background: linear-gradient(135deg,#25D366,#128C7E); color: #fff; box-shadow: 0 10px 20px -8px rgba(18,140,126,.55); }
.wc-btn--grad:hover { transform: translateY(-2px); color:#fff; }
.wc-btn--ghost { background: #fff; color: var(--wc-dark); border: 1px solid var(--wc-line); }
.wc-btn--ghost:hover { border-color: var(--wc-green); color: var(--wc-teal); }
.wc-btn--block { width: 100%; }

/* ---------- Bank account cards ---------- */
.wc-bank {
    display: flex; align-items: center; gap: 14px;
    background: #fff; border: 1px solid var(--wc-line); border-radius: 14px; padding: 14px 16px;
}
.wc-bank__logo {
    width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
    color: #fff; font-weight: 800; font-size: 15px; flex-shrink: 0; text-transform: uppercase;
}
.wc-bank__name { font-weight: 700; color: var(--wc-ink); font-size: 14px; margin: 0; }
.wc-bank__num { font-size: 17px; font-weight: 800; color: var(--wc-ink); letter-spacing: .5px; }
.wc-bank__holder { font-size: 12.5px; color: #64748b; }
.wc-bank__copy {
    margin-left: auto; border: 1px solid var(--wc-line); background: #f1f5f9; color: var(--wc-dark);
    border-radius: 9px; padding: 7px 12px; font-size: 12.5px; font-weight: 600; cursor: pointer;
    transition: background .15s, color .15s; white-space: nowrap;
}
.wc-bank__copy:hover { background: var(--wc-dark); color: #fff; }

.wc-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.wc-badge--pending { background: #fef3c7; color: #b45309; }
.wc-badge--success { background: #dcfce7; color: #15803d; }
.wc-badge--failed { background: #fee2e2; color: #b91c1c; }

.app-content { flex: 1; padding: 24px 24px 34px; width: 100%; }

.app-footer {
    text-align: center; padding: 14px 24px; color: #94a3b8; font-size: 12.5px;
    border-top: 1px solid #eef2f7; background: #fff;
}
.app-footer__ver { color: #cbd5e1; margin-left: 6px; }

/* mobile sidebar */
.app-sidebar__backdrop {
    position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 1035;
    opacity: 0; visibility: hidden; transition: opacity .25s;
}
.app-sidebar__backdrop--show { opacity: 1; visibility: visible; }

@media (min-width: 992px) {
    .app-body--collapse .app-sidebar { transform: translateX(-100%); }
    .app-body--collapse .app-main { margin-left: 0; }
}
@media (max-width: 991.98px) {
    .app-sidebar { transform: translateX(-100%); }
    .app-sidebar--open { transform: translateX(0); }
    .app-main { margin-left: 0; }
}
@media (max-width: 575.98px) {
    .app-topbar__user-role { display: none; }
    .app-topbar__logout span { display: none; }
    .app-content { padding: 18px 14px 28px; }
}
