/* Biz API Pro · Green Glass theme (LunarDMS design family, matches InstaOrbit and Biz Auto Pro) */
:root {
  --bz-ink: #0f2a22; --bz-ink-2: #3d5a51; --bz-muted: #5f7a71;
  --bz-brand: #0fa968; --bz-brand-d: #0b7a55; --bz-teal: #0e9f9a; --bz-lime: #84cc16; --bz-wa: #25d366;
  --bz-brand-soft: rgba(15, 169, 104, .10);
  --bz-line: rgba(15, 169, 104, .14);
  --bz-glass: rgba(255, 255, 255, .78); --bz-glass-solid: rgba(255, 255, 255, .95); --bz-edge: rgba(255, 255, 255, .9);
  --bz-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 30px rgba(6, 78, 59, .10);
  --bz-grad: linear-gradient(135deg, #34d399 0%, #0fa968 45%, #0e9f9a 100%);
  --bz-side: linear-gradient(165deg, #053b30 0%, #0b7a55 52%, #0e9f9a 100%);
  --bz-ok: #15803d; --bz-bad: #be123c; --bz-warn: #b45309;
  --bz-spring: cubic-bezier(.34, 1.45, .5, 1); --bz-ease: cubic-bezier(.2, .8, .2, 1);
  --bz-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- page background ---------- */
html { background: #eafbf2; }
body.bz-app {
  font: 15px/1.55 var(--bz-font); color: var(--bz-ink); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: linear-gradient(160deg, #e6faf0 0%, #f3fdf8 45%, #e8f8fb 100%) fixed !important;
}
.bz-orb { position: fixed; border-radius: 50%; pointer-events: none; z-index: -1; opacity: .9; }
.bz-orb.o1 { width: 560px; height: 560px; top: -180px; left: -120px; background: radial-gradient(circle, rgba(52, 211, 153, .38), transparent 70%); }
.bz-orb.o2 { width: 520px; height: 520px; top: 28%; right: -140px; background: radial-gradient(circle, rgba(14, 159, 154, .28), transparent 70%); }
.bz-orb.o3 { width: 620px; height: 620px; bottom: -240px; left: 28%; background: radial-gradient(circle, rgba(132, 204, 22, .18), transparent 70%); }
body.bz-app h1, body.bz-app h2, body.bz-app h3, body.bz-app h4, body.bz-app h5, body.bz-app h6 { font-family: var(--bz-font); color: var(--bz-ink); letter-spacing: -.02em; }
body.bz-app a { color: var(--bz-brand-d); }
body.bz-app .text-primary { color: var(--bz-brand) !important; }
body.bz-app .bg-primary, body.bz-app .bg-gradient-primary, body.bz-app .bg-gradient-success { background: var(--bz-grad) !important; }
body.bz-app code { background: rgba(15, 169, 104, .08); color: #065f46; border-radius: 6px; }

/* ---------- app shell ---------- */
body.bz-app .main-content { margin-left: 284px; min-height: 100vh; display: flex; flex-direction: column; background: none !important; }
body.bz-app #sidenav-main, body.bz-app #navbar-main { display: none !important; }
body.bz-app .main-content > .header { display: none !important; }
body.bz-app .main-content > .container-fluid, body.bz-app .main-content > .container, body.bz-app .main-content > .row { padding-left: 28px; padding-right: 28px; }
body.bz-app .mt-lg--6, body.bz-app .mt--6, body.bz-app .mt--7, body.bz-app .mt--8 { margin-top: 0 !important; }
body.bz-app .lw-page-title { display: none; }

/* sidebar */
.bz-sidebar {
  position: fixed; left: 16px; top: 16px; bottom: 16px; width: 252px; z-index: 40; display: flex; flex-direction: column;
  border-radius: 24px; padding: 20px 14px 16px; color: #fff; background: var(--bz-side);
  border: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 20px 40px rgba(6, 78, 59, .3);
}
.bz-brand { display: flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none !important; font-weight: 800; font-size: 18px; letter-spacing: -.02em; padding: 2px 6px 14px; line-height: 1.2; }
.bz-brand small { display: block; font-size: 11.5px; font-weight: 500; opacity: .78; letter-spacing: 0; }
.bz-tile { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, #fff, #dcfce7);
  border: 1px solid rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 #fff, 0 8px 20px rgba(52, 211, 153, .45); transition: transform .5s var(--bz-spring); }
.bz-tile img { width: 34px; height: 34px; object-fit: contain; }
.bz-brand:hover .bz-tile { transform: rotate(-8deg) scale(1.06); }
.bz-nav { position: relative; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; scrollbar-width: none; flex: 1; min-height: 0; padding-bottom: 6px; }
.bz-nav::-webkit-scrollbar { display: none; }
.bz-nav-group { color: rgba(255, 255, 255, .62); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 14px 12px 4px; }
.bz-nav a, .bz-nav summary {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 8px 12px; border-radius: 14px;
  color: rgba(255, 255, 255, .92) !important; font-weight: 550; font-size: 14.5px; text-decoration: none !important; cursor: pointer;
  transition: color .35s, transform .15s, background .2s; -webkit-tap-highlight-color: transparent; list-style: none; user-select: none;
}
.bz-nav summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .bz-nav a:not(.active):hover, .bz-nav summary:hover { background: rgba(255, 255, 255, .1); color: #fff !important; } }
.bz-nav a:active, .bz-nav summary:active { transform: scale(.96); }
.bz-nav a.active { color: var(--bz-brand-d) !important; font-weight: 750; }
.bz-nav .ic { flex: 0 0 22px; width: 22px; text-align: center; font-size: 16px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); transition: transform .3s var(--bz-spring); }
.bz-nav a.active .ic { transform: scale(1.12); filter: none; }
.bz-chev { margin-left: auto; font-size: 11px; opacity: .7; transition: transform .35s var(--bz-spring); }
.bz-group[open] > summary .bz-chev { transform: rotate(180deg); }
.bz-group[open] > summary { background: rgba(255, 255, 255, .08); }
.bz-sub { display: flex; flex-direction: column; gap: 2px; padding: 2px 0 4px 22px; margin-left: 11px; border-left: 1px solid rgba(255, 255, 255, .18); }
.bz-group[open] .bz-sub { animation: bz-pill .35s var(--bz-spring) both; }
.bz-sub a { min-height: 36px; font-size: 13.5px; padding: 6px 10px; }
.bz-sub .ic-s { width: 16px; text-align: center; font-size: 14px; opacity: .9; }
.bz-group.needs-setup > summary { color: #fde68a !important; }
.bz-badge { margin-left: auto; min-width: 20px; padding: 0 7px; border-radius: 999px; background: #fde68a; color: #7a4a00; font: 800 11px/18px var(--bz-font); text-align: center; font-style: normal; }
.bz-badge + .bz-chev { margin-left: 6px; }
.bz-badge.warn { background: #fbbf24; color: #78350f; }
.bz-nav a.active .bz-badge { background: var(--bz-brand); color: #fff; }
.bz-bubble { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 14px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .86));
  box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(2, 44, 34, .28), 0 0 0 1px rgba(255, 255, 255, .6);
  transition: translate .6s var(--bz-spring), height .3s, width .3s, opacity .2s; }
.bz-bubble.still { transition: none; }
.bz-bubble.jelly { animation: bz-jelly .6s cubic-bezier(.3, .7, .4, 1); }
.bz-sidebar-foot { margin-top: 6px; border-top: 1px solid rgba(255, 255, 255, .2); padding: 12px 8px 0; font-size: 13px; }
.bz-plan-chip { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .14); margin-bottom: 10px; font-weight: 700; }
.bz-plan-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bz-plan-chip a { color: #fde68a !important; font-weight: 700; text-decoration: none !important; }
.bz-who { display: flex; flex-direction: column; margin-bottom: 6px; min-width: 0; text-decoration: none !important; }
.bz-who b { color: #fff; } .bz-who small { opacity: .78; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
.bz-logout { display: inline-flex; align-items: center; gap: 6px; color: #fff !important; font-weight: 650; opacity: .88; text-decoration: none !important; }
.bz-logout:hover { opacity: 1; }
.bz-powered { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, .85) !important; text-decoration: none !important; }
.bz-powered b { color: #fff; }
.bz-moon { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 8px rgba(167, 139, 250, .55); }
.bz-nav-overlay { display: none; }

/* top bar */
.bz-topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 22px 28px 10px; transition: background .25s, box-shadow .25s; }
.bz-topbar.scrolled { background: rgba(240, 252, 246, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 6px 20px rgba(6, 78, 59, .08); padding-top: 12px; }
.bz-title { margin: 0; flex: 1; min-width: 0; font-size: 28px !important; font-weight: 800; letter-spacing: -.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bz-menu-btn { display: none; width: 44px; height: 44px; padding: 0; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .95); background: rgba(255, 255, 255, .75); color: var(--bz-ink); box-shadow: 0 2px 8px rgba(6, 78, 59, .08); }
.bz-as-chip { display: inline-flex; align-items: center; gap: 8px; max-width: 46%; padding: 8px 14px; border-radius: 999px; background: #fef3c7; color: #92400e !important; font-weight: 700; font-size: 13px; text-decoration: none !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: bz-pop .45s var(--bz-spring) both; }
.bz-top-actions { display: flex; flex-direction: row !important; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bz-top-actions > li { list-style: none; }
.bz-top-actions .nav-link { color: var(--bz-ink) !important; padding: 9px 12px !important; border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .95); font-weight: 650; }
.bz-icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: var(--bz-ink) !important; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 2px 8px rgba(6, 78, 59, .08); }
.bz-user-btn { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .95); color: var(--bz-ink) !important; font-weight: 700; text-decoration: none !important; box-shadow: 0 2px 8px rgba(6, 78, 59, .08); }
.bz-user-btn .fa-chevron-down { font-size: 10px; opacity: .6; }
.bz-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bz-grad); color: #fff; font-weight: 800; box-shadow: 0 6px 14px rgba(15, 169, 104, .3); }
.bz-tabbar { display: none; }

/* ---------- glass surfaces (cards, panels) ---------- */
body.bz-app .card, body.bz-app .modern-table-container, body.bz-app .lw-card {
  background: var(--bz-glass) !important; border: 1px solid var(--bz-edge) !important; border-radius: 22px !important; box-shadow: var(--bz-shadow) !important;
}
body.bz-app .card .card { border-radius: 16px !important; }
body.bz-app .card-header, body.bz-app .card-footer { background: transparent !important; border-color: var(--bz-line) !important; }
body.bz-app .card-header { border-radius: 22px 22px 0 0 !important; font-weight: 750; }
body.bz-app .card-stats, body.bz-app .bz-lift { transition: transform .35s var(--bz-spring), box-shadow .3s; }
body.bz-app .card-stats:hover { transform: translateY(-3px); }
body.bz-app .shadow, body.bz-app .shadow-sm, body.bz-app .shadow-lg { box-shadow: var(--bz-shadow) !important; }
body.bz-app .bg-white { background: var(--bz-glass-solid) !important; }
body.bz-app .border-dark { border-color: var(--bz-edge) !important; }
body.bz-app legend { background: var(--bz-brand-soft) !important; color: var(--bz-ink); border-radius: 12px; font-weight: 750; font-size: 15px; padding: 6px 12px; width: auto; }
body.bz-app fieldset { border: 1px solid var(--bz-line); border-radius: 18px; padding: 14px 16px; background: rgba(255, 255, 255, .45); }

/* ---------- buttons ---------- */
body.bz-app .btn {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 14px; font-weight: 650; letter-spacing: 0; text-transform: none;
  transition: transform .15s, background .2s, box-shadow .25s, filter .2s; -webkit-tap-highlight-color: transparent;
}
body.bz-app .btn:not(:disabled):not(.disabled):active { transform: scale(.96); }
body.bz-app .btn-primary, body.bz-app .btn-success, body.bz-app .btn-modern-primary, body.bz-app .btn-modern-green, body.bz-app .lw-btn.btn-primary {
  color: #fff !important; border: 0 !important; background: var(--bz-grad) !important; box-shadow: 0 10px 24px rgba(15, 169, 104, .3) !important;
}
body.bz-app .btn-primary:hover, body.bz-app .btn-success:hover, body.bz-app .btn-modern-primary:hover, body.bz-app .btn-modern-green:hover { filter: brightness(1.06); }
body.bz-app .btn-primary::after, body.bz-app .btn-success::after, body.bz-app .btn-modern-green::after, body.bz-app .btn-modern-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: bz-sweep 6s ease-in-out infinite;
}
body.bz-app .btn-secondary, body.bz-app .btn-light, body.bz-app .btn-default, body.bz-app .btn-neutral, body.bz-app .btn-white {
  color: var(--bz-ink) !important; background: rgba(255, 255, 255, .78) !important; border: 1px solid rgba(255, 255, 255, .95) !important; box-shadow: 0 2px 8px rgba(6, 78, 59, .08) !important;
}
body.bz-app .btn-secondary:hover, body.bz-app .btn-light:hover, body.bz-app .btn-default:hover { background: #fff !important; }
body.bz-app .btn-dark { color: #fff !important; background: #0f2a22 !important; border: 0 !important; }
body.bz-app .btn-info { color: #fff !important; background: linear-gradient(135deg, #22d3ee, #0e9f9a) !important; border: 0 !important; }
body.bz-app .btn-warning { color: #78350f !important; background: linear-gradient(135deg, #fde68a, #fbbf24) !important; border: 0 !important; }
body.bz-app .btn-danger { color: #fff !important; background: linear-gradient(135deg, #fb7185, #e11d48) !important; border: 0 !important; box-shadow: 0 8px 18px rgba(225, 29, 72, .25) !important; }
body.bz-app .btn-outline-primary, body.bz-app .btn-outline-success { color: var(--bz-brand-d) !important; border: 1px solid rgba(15, 169, 104, .4) !important; background: rgba(255, 255, 255, .6) !important; }
body.bz-app .btn-outline-primary:hover, body.bz-app .btn-outline-success:hover { color: #fff !important; background: var(--bz-grad) !important; }
body.bz-app .btn-outline-danger { color: var(--bz-bad) !important; border-color: rgba(190, 18, 60, .35) !important; background: rgba(255, 255, 255, .6) !important; }
body.bz-app .btn-outline-danger:hover { color: #fff !important; background: #e11d48 !important; }
body.bz-app a.lw-btn { color: #fff !important; }
.bz-rip { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; transform: scale(0); animation: bz-rip .65s var(--bz-ease) forwards;
  background: radial-gradient(circle, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, .2) 45%, transparent 70%); }
.btn-secondary .bz-rip, .btn-light .bz-rip, .btn-default .bz-rip, .btn-white .bz-rip, .btn-outline-primary .bz-rip {
  background: radial-gradient(circle, rgba(15, 169, 104, .22) 0%, rgba(15, 169, 104, .06) 45%, transparent 70%); }

/* ---------- inputs ---------- */
body.bz-app .form-control, body.bz-app .custom-select, body.bz-app .selectize-input, body.bz-app .input-group-text {
  background: rgba(255, 255, 255, .82) !important; border: 1px solid rgba(15, 169, 104, .2) !important; border-radius: 14px !important; color: var(--bz-ink) !important;
  box-shadow: inset 0 1px 2px rgba(15, 42, 34, .05) !important; transition: border-color .2s, box-shadow .25s var(--bz-ease), background .2s;
}
body.bz-app .input-group > .form-control:not(:last-child), body.bz-app .input-group > .input-group-prepend > .input-group-text { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
body.bz-app .input-group > .input-group-append > .btn, body.bz-app .input-group > .input-group-append > .input-group-text { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
body.bz-app .form-control:focus, body.bz-app .custom-select:focus, body.bz-app .selectize-input.focus {
  background: #fff !important; border-color: var(--bz-brand) !important; box-shadow: 0 0 0 4px rgba(15, 169, 104, .15) !important;
}
body.bz-app label, body.bz-app .form-control-label { color: var(--bz-ink-2); font-weight: 650; }
body.bz-app input[type=checkbox], body.bz-app input[type=radio] { accent-color: var(--bz-brand); }
body.bz-app .custom-control-input:checked ~ .custom-control-label::before { background: var(--bz-brand) !important; border-color: var(--bz-brand) !important; }
body.bz-app .selectize-dropdown { border-radius: 14px; border: 1px solid var(--bz-line); box-shadow: 0 16px 36px rgba(6, 78, 59, .16); overflow: hidden; }
body.bz-app .selectize-dropdown .active { background: var(--bz-brand-soft) !important; color: var(--bz-brand-d) !important; }

/* ---------- tables ---------- */
body.bz-app .table { color: var(--bz-ink); }
body.bz-app .table th, body.bz-app table.dataTable thead th, body.bz-app th {
  background: transparent !important; color: var(--bz-muted) !important; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  border-top: 0 !important; border-bottom: 1px solid var(--bz-line) !important;
}
body.bz-app .table td, body.bz-app td { background: transparent !important; border-color: var(--bz-line) !important; color: var(--bz-ink); vertical-align: middle; }
body.bz-app .table tbody tr { transition: background .2s; }
body.bz-app .table tbody tr:hover td { background: rgba(255, 255, 255, .6) !important; }
body.bz-app .table-striped tbody tr:nth-of-type(odd) { background: rgba(255, 255, 255, .28); }
body.bz-app td a { color: var(--bz-brand-d) !important; }
body.bz-app .dtr-control::before { background-color: var(--bz-brand) !important; }
body.bz-app .page-item .page-link { border-radius: 10px !important; margin: 0 2px; border-color: var(--bz-line); color: var(--bz-brand-d); }
body.bz-app .page-item.active .page-link { background: var(--bz-grad) !important; border-color: transparent !important; color: #fff; }

/* ---------- badges, alerts, tabs ---------- */
body.bz-app .badge { border-radius: 999px; font-weight: 750; padding: .4em .75em; }
body.bz-app .badge-success, body.bz-app .badge-primary { background: rgba(15, 169, 104, .14) !important; color: #065f46 !important; }
body.bz-app .badge-danger { background: rgba(225, 29, 72, .12) !important; color: #9f1239 !important; }
body.bz-app .badge-warning { background: rgba(245, 158, 11, .16) !important; color: #92400e !important; }
body.bz-app .badge-info { background: rgba(14, 159, 154, .14) !important; color: #115e59 !important; }
body.bz-app .alert { border: 1px solid transparent; border-radius: 16px; font-weight: 600; animation: bz-pop .45s var(--bz-spring) both; }
body.bz-app .alert-success { background: rgba(220, 252, 231, .92) !important; border-color: rgba(21, 128, 61, .18) !important; color: var(--bz-ok) !important; }
body.bz-app .alert-danger { background: rgba(255, 228, 230, .94) !important; border-color: rgba(190, 18, 60, .18) !important; color: var(--bz-bad) !important; }
body.bz-app .alert-warning { background: rgba(254, 243, 199, .94) !important; border-color: rgba(180, 83, 9, .18) !important; color: #92400e !important; }
body.bz-app .alert-info, body.bz-app .alert-dark, body.bz-app .alert-light { background: rgba(255, 255, 255, .8) !important; border-color: var(--bz-line) !important; color: var(--bz-ink) !important; }
body.bz-app .nav-tabs, body.bz-app .nav-pills { position: relative; isolation: isolate; display: inline-flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; gap: 4px; padding: 5px;
  border: 1px solid var(--bz-edge) !important; border-radius: 16px; background: rgba(255, 255, 255, .55); scrollbar-width: none; }
body.bz-app .nav-tabs .nav-link, body.bz-app .nav-pills .nav-link { position: relative; z-index: 1; border: 0 !important; border-radius: 12px !important; color: var(--bz-muted) !important; font-weight: 650; white-space: nowrap; background: none !important; box-shadow: none !important; transition: color .3s; }
body.bz-app .nav-tabs .nav-link.active, body.bz-app .nav-pills .nav-link.active { color: var(--bz-brand-d) !important; }
body.bz-app .nav-tabs:not(.bz-lq-on) .nav-link.active, body.bz-app .nav-pills:not(.bz-lq-on) .nav-link.active { background: #fff !important; }
.bz-lq { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; border-radius: 12px; opacity: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(255, 255, 255, .86)); box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(6, 78, 59, .18);
  transition: translate .55s var(--bz-spring), width .55s var(--bz-spring), height .55s var(--bz-spring), opacity .2s; }
.bz-lq.still { transition: none; }
.bz-lq.jelly { animation: bz-lqj .7s cubic-bezier(.3, .7, .4, 1); }

/* ---------- dropdowns & modals ---------- */
body.bz-app .dropdown-menu { border: 1px solid var(--bz-edge); border-radius: 16px; padding: 6px; background: rgba(255, 255, 255, .97); box-shadow: 0 18px 40px rgba(6, 78, 59, .18); animation: bz-pop .3s var(--bz-spring) both; }
body.bz-app .dropdown-item { border-radius: 10px; padding: 8px 12px; font-weight: 600; color: var(--bz-ink); }
body.bz-app .dropdown-item:hover, body.bz-app .dropdown-item:focus { background: var(--bz-brand-soft); color: var(--bz-brand-d); }
body.bz-app .dropdown-item i { width: 18px; color: var(--bz-brand); margin-right: 6px; }
body.bz-app .dropdown-header { font-weight: 800; color: var(--bz-ink); }
body.bz-app .dropdown-header small { display: block; font-weight: 500; color: var(--bz-muted); }
body.bz-app .modal-content { border: 1px solid var(--bz-edge); border-radius: 26px; background: rgba(255, 255, 255, .97); box-shadow: 0 30px 80px rgba(2, 44, 34, .32); }
body.bz-app .modal-header, body.bz-app .modal-footer { border-color: var(--bz-line); }
body.bz-app .modal.fade .modal-dialog { transform: translateY(18px) scale(.96); transition: transform .45s var(--bz-spring), opacity .2s; }
body.bz-app .modal.show .modal-dialog { transform: none; }
body.bz-app .modal-backdrop.show { background: #0f2a22; opacity: .38; }
body.bz-app .swal2-popup { border-radius: 26px !important; font-family: var(--bz-font) !important; }
body.bz-app .swal2-confirm { border-radius: 14px !important; background: var(--bz-grad) !important; }

/* ---------- motion ---------- */
@keyframes bz-pop { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes bz-pill { from { opacity: 0; transform: translateY(6px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes bz-sweep { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes bz-rip { to { transform: scale(2.6); opacity: 0; } }
@keyframes bz-jelly { 0% { scale: 1 1; } 25% { scale: .93 1.22; } 55% { scale: 1.04 .93; } 80% { scale: .99 1.03; } 100% { scale: 1 1; } }
@keyframes bz-lqj { 0% { scale: 1 1; } 22% { scale: 1.02 .88; } 48% { scale: .99 1.07; } 75% { scale: 1 .97; } 100% { scale: 1 1; } }
@keyframes bz-grow { from { transform: scaleY(0); } }
@keyframes bz-sheet { from { transform: translateY(100%); } to { transform: none; } }
.bz-pre { opacity: 0; }
.bz-flipping { will-change: transform, opacity; }

/* ---------- toast ---------- */
.bz-toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 2000; max-width: 90vw; padding: 11px 18px; border-radius: 14px;
  background: rgba(15, 42, 34, .92); color: #fff; font-weight: 600; opacity: 0; pointer-events: none; transition: all .25s; }
.bz-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- tablets & phones ---------- */
@media (max-width: 991.98px) {
  body.bz-app .main-content { margin-left: 0; }
  .bz-sidebar { left: 0; top: 0; bottom: 0; height: 100vh; height: 100dvh; width: 282px; border-radius: 0 24px 24px 0; transform: translateX(-105%); transition: transform .32s var(--bz-ease);
    padding-top: calc(env(safe-area-inset-top) + 18px); padding-bottom: calc(env(safe-area-inset-bottom) + 16px); }
  body.bz-nav-open .bz-sidebar { transform: none; }
  body.bz-nav-open { overflow: hidden; }
  body.bz-nav-open .bz-nav-overlay { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(15, 42, 34, .45); }
  .bz-menu-btn { display: inline-grid; place-items: center; }
  .bz-topbar { padding: calc(env(safe-area-inset-top) + 10px) 14px 10px; gap: 10px; background: rgba(236, 252, 245, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .bz-title { font-size: 21px !important; }
  .bz-user-name { display: none; }
  .bz-user-btn { padding: 4px 8px 4px 4px; }
  .bz-as-chip { position: fixed; top: calc(env(safe-area-inset-top) + 66px); left: 14px; right: 14px; max-width: none; justify-content: center; z-index: 29; }
  body.bz-app .main-content > .container-fluid, body.bz-app .main-content > .container, body.bz-app .main-content > .row { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 820px) {
  body.bz-app .main-content { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .bz-top-actions .bz-icon-btn { display: none; }
  body.bz-app .card { border-radius: 20px !important; }
  .bz-tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; position: fixed; z-index: 34; left: 0; right: 0; bottom: 0;
    padding: 6px 8px calc(env(safe-area-inset-bottom) + 6px); border-radius: 22px 22px 0 0; background: #fff; border-top: 1px solid var(--bz-line); box-shadow: 0 -8px 24px rgba(6, 78, 59, .1); }
  .bz-tabbar a, .bz-tabbar button { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; padding: 4px 2px;
    border: 0; background: none; box-shadow: none; border-radius: 18px; font: 650 11px/1.1 var(--bz-font); color: #5f7a71 !important; text-decoration: none !important; }
  .bz-tabbar .ic { font-size: 20px; transition: transform .35s var(--bz-spring); }
  .bz-tabbar .active { color: var(--bz-brand-d) !important; }
  .bz-tabbar .active .ic { transform: translateY(-1px) scale(1.08); }
  .bz-tabbar .bz-lq { border-radius: 18px; background: linear-gradient(160deg, #ecfdf5, #d1fae5); box-shadow: 0 4px 12px rgba(15, 169, 104, .18), inset 0 1px 0 #fff; }
  .bz-tb-new .bz-plus { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: var(--bz-grad); color: #fff; font-size: 20px;
    box-shadow: 0 10px 22px rgba(15, 169, 104, .4), 0 0 0 5px #fff; }
  body.bz-nav-open .bz-tabbar { visibility: hidden; }
  .bz-toast { bottom: calc(env(safe-area-inset-bottom) + 90px); }
  body.bz-app .modal-content { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .bz-pre { opacity: 1; }
}
@media print { .bz-sidebar, .bz-topbar, .bz-tabbar, .bz-orb { display: none !important; } body.bz-app .main-content { margin: 0; } }
