/* =====================================================================
   Nafha CRM — shared white theme (2026-12-03)
   Sob page এই file নেয় (nafha_ui.php → nf_head())। Page-এর নিজের <style> এর আগে load হয়,
   তাই page-এর rule আগের মতোই কাজ করে; শুধু রং/font/মেনু এখান থেকে আসে।
   Brand: সাদা মূল, কালো লেখা, সবুজ ব্র্যান্ড; লাল/সোনালি শুধু status-এর জন্য।
   ===================================================================== */
:root {
    /* Nafha tokens */
    --bg: #F6F8F3; --surface: #FFFFFF; --line: #E2E9DD; --line2: #CFDCC8;
    --text: #111111; --muted: #56614F; --faint: #66705F;
    --g100: #EBF3E8; --g200: #D1E0CB; --g300: #ADC5A3; --g400: #84A377; --g500: #4A6B3A; --g600: #3A582A; --g700: #2A461D;
    --red: #B83A2E; --red100: #FFECE8; --red200: #FFD3CB;
    --gold: #D19A1C; --gold100: #FAF1E1; --gold200: #F0DDBC; --goldtx: #6E5110;
    --r: 14px;
    --shadow: 0 1px 2px rgba(28, 50, 16, .05), 0 4px 14px rgba(28, 50, 16, .04);

    /* পুরনো page-গুলোর variable নাম → নতুন রং */
    --surface-raised: #F3F7F0; --surface2: #F3F7F0; --surface3: #EBF3E8;
    --border: #E2E9DD; --border2: #CFDCC8;
    --accent: #4A6B3A; --accent-dim: #EBF3E8; --accent2: #3A582A;
    --good: #3A582A; --good-dim: #EBF3E8;
    --warn: #8C6410; --warn-dim: #FAF1E1;
    --bad: #B83A2E; --bad-dim: #FFECE8; --risk: #B83A2E; --risk-dim: #FFECE8; --danger: #B83A2E;
    --info: #35617A; --info-dim: #EAF0F3;
    --purple: #5B4A8A; --purple-dim: #F0ECF7;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.nf {
    font-family: 'Poppins', 'Hind Siliguri', system-ui, sans-serif;
    font-size: 14px; line-height: 1.5; background: var(--bg); color: var(--text);
    margin: 0; padding: 0 0 84px; font-variant-numeric: tabular-nums;
}
.nf ::selection { background: var(--g200); color: var(--text); }
.nf :focus-visible { outline: 2px solid var(--g500); outline-offset: 2px; }
.nf input, .nf select, .nf textarea, .nf button { font-family: inherit; }
.nf input::placeholder, .nf textarea::placeholder { color: #66705F; }
.nf input[type=checkbox], .nf input[type=radio] { accent-color: var(--g500); }
.nf select option { background: #fff; color: var(--text); }
.nf h1, .nf h2, .nf h3 { letter-spacing: -.01em; }

/* ---------- Icon ---------- */
.nf .i { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
/* CSS icon (PHP/JS string-এর ভেতরেও বসানো যায়: <i class=nf-i-phone></i>) */
[class^="nf-i-"], [class*=" nf-i-"] {
    display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -.17em; flex: none;
    background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}

/* ---------- Shell: sidebar (desktop) ---------- */
.nf-side { display: none; }
.nf-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nf-brand img { height: 22px; width: auto; display: block; }
.nf-brand span { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .08em; padding-top: 3px; }
.nf-group { margin-top: 18px; }
.nf-group h2 { font-size: 12px; font-weight: 500; color: var(--faint); margin: 0 0 4px; padding: 0 12px; letter-spacing: .04em; }
.nf-side a, .nf-side .nf-off, .nf-sheet a, .nf-sheet .nf-off {
    display: flex; align-items: center; gap: 11px; padding: 8px 12px; border-radius: 10px; min-height: 38px;
    font-size: 13.5px; font-weight: 500; color: var(--muted); text-decoration: none; transition: background .15s, color .15s;
}
.nf-side a:hover, .nf-sheet a:hover { background: var(--g100); color: var(--text); }
.nf-side a.on, .nf-sheet a.on { background: var(--g100); color: var(--g700); font-weight: 600; }
.nf-off { color: var(--faint) !important; cursor: default; }
.nf-off em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--faint); border: 1px solid var(--line2); border-radius: 6px; padding: 0 6px; }
.nf-rb { margin-left: auto; background: var(--red); color: #fff; font-size: 11px; font-weight: 600; border-radius: 9px; padding: 0 7px; line-height: 18px; }
.nf-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.nf-who { font-size: 12px; color: var(--faint); padding: 0 12px 6px; }

/* ---------- Shell: mobile top + bottom nav + "আরো" sheet ---------- */
.nf-mtop { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px 2px; }
.nf-mtop .nf-page { font-size: 13px; color: var(--muted); font-weight: 500; }
.nf-bnav { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
    display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); z-index: 50; }
.nf-bnav a, .nf-bnav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px;
    font: 500 12px/1.2 'Poppins', 'Hind Siliguri', sans-serif; color: var(--muted); background: none; border: 0; border-radius: 12px; cursor: pointer; text-decoration: none; }
.nf-bnav .i { width: 21px; height: 21px; }
.nf-bnav .on { color: var(--g700); font-weight: 600; }
.nf-bnav .on .i { stroke-width: 2; }
.nf-badge { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff;
    font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.nf-back { position: fixed; inset: 0; background: rgba(17,17,17,.28); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s; }
.nf-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; background: var(--surface); border-radius: 18px 18px 0 0;
    padding: 8px 14px calc(18px + env(safe-area-inset-bottom)); max-height: 82vh; overflow: auto; transform: translateY(100%); visibility: hidden;
    box-shadow: 0 -8px 30px rgba(17,17,17,.12); transition: transform .28s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .28s; }
.nf-sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 2px 0; }
.nf-sheet-head b { font-size: 14px; font-weight: 600; }
.nf-close { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line2); background: var(--surface);
    border-radius: 11px; font: 500 13px 'Poppins', 'Hind Siliguri', sans-serif; color: var(--text); cursor: pointer; }
body.nf-open .nf-back { opacity: 1; pointer-events: auto; }
body.nf-open .nf-sheet { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
.nf-sheet .nf-group { margin-top: 12px; }

@media (min-width: 900px) {
    body.nf { display: flex; padding-bottom: 0; }
    .nf-bnav, .nf-sheet, .nf-back, .nf-mtop { display: none !important; }
    .nf-side { display: flex; flex-direction: column; width: 232px; height: 100vh; background: var(--surface); border-right: 1px solid var(--line);
        padding: 22px 12px 16px; position: sticky; top: 0; overflow-y: auto; flex: none; }
    .nf-side .nf-brand { padding: 0 12px 6px; }
    .nf-content { flex: 1; min-width: 0; padding: 8px 20px 48px; }
}
@media (max-width: 899px) {
    .nf-content { padding: 0 2px; }
}

/* ---------- পুরনো page-গুলোর জন্য মিল রাখা ---------- */
/* brand এখন sidebar / mobile top-এ থাকে — page-এর নিজের brand লুকানো */
.nf .topbar > .brand, .nf .top > .brand, .nf header > .brand, .nf .topbar > a.brand { display: none; }
.nf .topbar { min-height: 0; }
.nf .topbar:empty { display: none; }
/* Dashboard-এ ফেরার পুরনো link: sidebar আর নিচের মেনুতে Home আছে, তাই দরকার নেই */
.nf a.back[href="index.php"], .nf a.back[href="employee_dashboard.php"], .nf a.nf-home-link { display: none; }
.nf a.back { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; background: var(--surface); color: var(--muted); border: 1px solid var(--line2); }
.nf a.back:hover { color: var(--text); background: var(--g100); }

/* card / panel: আলাদা হয়ে চোখে পড়ার জন্য হালকা shadow */
.nf .card, .nf .panel, .nf .box, .nf .section, .nf .o-card, .nf .stat, .nf .stat-card, .nf .kpi { box-shadow: var(--shadow); }

/* table */
.nf table { border-color: var(--line); }
.nf th { color: var(--muted); }

/* ছোট লেখা যেন ১২px-এর নিচে না নামে (Bangla পড়তে কষ্ট) */
.nf small { font-size: 12px; }

/* নিচের fixed bar (bulk action ইত্যাদি) যেন মেনুর ওপর না পড়ে */
@media (max-width: 899px) {
    .nf .bulk-bar, .nf .sticky-bar, .nf .fixed-bar, .nf .bottom-bar { bottom: calc(64px + env(safe-area-inset-bottom)) !important; }
}
@media (min-width: 900px) {
    .nf .bulk-bar, .nf .sticky-bar, .nf .fixed-bar, .nf .bottom-bar { left: 232px !important; }
}

/* ---------- ছোট info বাটন (tooltip) — 44px ছোঁয়ার জায়গা ---------- */
.nf .nf-hint { position: relative; display: inline-grid; place-items: center; width: 22px; height: 22px; margin: -3px 0; padding: 0; border: 0; border-radius: 50%;
    background: none; color: var(--faint); cursor: help; }
.nf .nf-hint::before { content: ''; position: absolute; inset: -11px; }
.nf .nf-hint .i { width: 15px; height: 15px; }
.nf .nf-hint::after { content: attr(data-tip); display: none; position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(calc(-50% + var(--tx, 0px)));
    width: max-content; max-width: min(240px, calc(100vw - 32px)); background: #111; color: #fff; font-size: 13px; line-height: 1.45; font-weight: 400;
    padding: 7px 10px; border-radius: 8px; white-space: normal; text-align: left; z-index: 30; pointer-events: none; }
.nf .nf-hint:hover::after, .nf .nf-hint:focus-visible::after, .nf .nf-hint.open::after { display: block; }

@media (prefers-reduced-motion: reduce) { .nf * { transition: none !important; animation: none !important; } }

/* ---------- Icons (mask) ---------- */
.nf-i-phone { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.nf-i-check { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.nf-i-x { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m15 9-6 6M9 9l6 6'/%3E%3C/svg%3E"); }
.nf-i-alert { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E"); }
.nf-i-package { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z'/%3E%3Cpath d='M12 22V12M3.3 7l8.7 5 8.7-5'/%3E%3C/svg%3E"); }
.nf-i-trash { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M10 11v6M14 11v6'/%3E%3C/svg%3E"); }
.nf-i-receipt { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z'/%3E%3Cpath d='M16 8h-6M16 12H8M13 16H8'/%3E%3C/svg%3E"); }
.nf-i-undo { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 0 11H11'/%3E%3C/svg%3E"); }
.nf-i-truck { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2M15 18H9M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E"); }
.nf-i-clipboard { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3C/svg%3E"); }
.nf-i-gift { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7M7.5 8a2.5 2.5 0 0 1 0-5C10 3 12 8 12 8s2-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E"); }
.nf-i-dot { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5' fill='black'/%3E%3C/svg%3E"); }
.nf-i-pin { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.99-5.54 10.19-7.4 11.8a1 1 0 0 1-1.2 0C9.54 20.19 4 14.99 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.nf-i-factory { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-7 5V8l-7 5V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z'/%3E%3C/svg%3E"); }
.nf-i-wallet { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1'/%3E%3Cpath d='M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4'/%3E%3C/svg%3E"); }
.nf-i-bot { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8V4H8'/%3E%3Crect x='4' y='8' width='16' height='12' rx='2'/%3E%3Cpath d='M2 14h2M20 14h2M15 13v2M9 13v2'/%3E%3C/svg%3E"); }
.nf-i-search { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); }
.nf-i-chat { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E"); }
.nf-i-money { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M6 12h.01M18 12h.01'/%3E%3C/svg%3E"); }
.nf-i-clock { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.nf-i-plus { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E"); }
.nf-i-card { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E"); }
.nf-i-user { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3C/svg%3E"); }
.nf-i-users { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.nf-i-repeat { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m17 2 4 4-4 4M3 11v-1a4 4 0 0 1 4-4h14M7 22l-4-4 4-4M21 13v1a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E"); }
.nf-i-upload { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12'/%3E%3C/svg%3E"); }
.nf-i-download { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3'/%3E%3C/svg%3E"); }
.nf-i-globe { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20M2 12h20'/%3E%3C/svg%3E"); }
.nf-i-cart { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E"); }
.nf-i-bank { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 22h18M6 18v-7M10 18v-7M14 18v-7M18 18v-7M12 2l8 5H4Z'/%3E%3C/svg%3E"); }
.nf-i-phone-off { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.68 13.31a16 16 0 0 0 3.41 2.6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.42 19.42 0 0 1-3.33-2.67M5.32 13.88a19.79 19.79 0 0 1-3.07-8.63A2 2 0 0 1 4.11 3h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 10.91M22 2 2 22'/%3E%3C/svg%3E"); }
.nf-i-ticket { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z'/%3E%3Cpath d='M13 5v2M13 17v2M13 11v2'/%3E%3C/svg%3E"); }
.nf-i-edit { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.17 6.81a1 1 0 0 0-3.98-3.98L3.84 16.17a2 2 0 0 0-.5.83l-1.32 4.35a.5.5 0 0 0 .62.62l4.35-1.32a2 2 0 0 0 .83-.5zM15 5l4 4'/%3E%3C/svg%3E"); }
.nf-i-printer { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6'/%3E%3Crect x='6' y='14' width='12' height='8' rx='1'/%3E%3C/svg%3E"); }
.nf-i-refresh { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8M21 3v5h-5M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16M8 16H3v5'/%3E%3C/svg%3E"); }
.nf-i-chart { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v16a2 2 0 0 0 2 2h16M18 17V9M13 17V5M8 17v-3'/%3E%3C/svg%3E"); }
.nf-i-thread { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E"); }
.nf-i-party { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.nf-i-flask { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v7.4a2 2 0 0 1-.5 1.3L4.7 18a2 2 0 0 0 1.5 3.3h11.6a2 2 0 0 0 1.5-3.3l-4.8-6.3a2 2 0 0 1-.5-1.3V3'/%3E%3C/svg%3E"); }
.nf-i-down { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 17-8.5-8.5-5 5L2 7M16 17h6v-6'/%3E%3C/svg%3E"); }
.nf-i-tag { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.59 2.59A2 2 0 0 0 11.17 2H4a2 2 0 0 0-2 2v7.17a2 2 0 0 0 .59 1.42l8.7 8.7a2.43 2.43 0 0 0 3.42 0l6.58-6.58a2.43 2.43 0 0 0 0-3.42z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1'/%3E%3C/svg%3E"); }
.nf-i-rocket { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.54 21.69a.5.5 0 0 0 .94-.03l6.5-19a.5.5 0 0 0-.64-.63l-19 6.5a.5.5 0 0 0-.02.93l7.93 3.18a2 2 0 0 1 1.11 1.11zM21.85 2.15 10.91 13.09'/%3E%3C/svg%3E"); }
.nf-i-save { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z'/%3E%3Cpath d='M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7M7 3v4a1 1 0 0 0 1 1h7'/%3E%3C/svg%3E"); }
.nf-i-pause { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='4' width='4' height='16' rx='1'/%3E%3Crect x='14' y='4' width='4' height='16' rx='1'/%3E%3C/svg%3E"); }
.nf-i-hand { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E"); }
.nf-i-megaphone { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 18-5v12L3 14v-3zM11.6 16.8a3 3 0 1 1-5.8-1.6'/%3E%3C/svg%3E"); }
.nf-i-shield { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3C/svg%3E"); }
.nf-i-trophy { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9H4.5a2.5 2.5 0 0 1 0-5H6M18 9h1.5a2.5 2.5 0 0 0 0-5H18M4 22h16M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22M18 2H6v7a6 6 0 0 0 12 0V2Z'/%3E%3C/svg%3E"); }
.nf-i-calendar { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); }
.nf-i-file { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3C/svg%3E"); }
.nf-i-eye { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.06 12.35a1 1 0 0 1 0-.7 10.75 10.75 0 0 1 19.88 0 1 1 0 0 1 0 .7 10.75 10.75 0 0 1-19.88 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.nf-i-settings { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 4h-7M10 4H3M21 12h-9M8 12H3M21 20h-5M12 20H3M14 2v4M8 10v4M16 18v4'/%3E%3C/svg%3E"); }
.nf-i-home { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8'/%3E%3Cpath d='M3 10a2 2 0 0 1 .71-1.53l7-6a2 2 0 0 1 2.58 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
.nf-i-heart-off { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E"); }
.nf-i-link { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E"); }

.nf-skip:focus { left: 8px !important; top: 8px; z-index: 100; background: var(--g500); color: #fff; padding: 8px 12px; border-radius: 8px; }

/* ---------- মেনু যেন page-এর নিজের a / button style-এ না বদলায় ---------- */
body.nf .nf-bnav > a, body.nf .nf-bnav > button {
    padding: 0; margin: 0; width: auto; height: auto; min-height: 52px; border: 0; border-radius: 12px; background: none; box-shadow: none;
    font: 500 12px/1.2 'Poppins', 'Hind Siliguri', sans-serif; color: var(--muted); text-transform: none; letter-spacing: 0;
}
body.nf .nf-bnav > .on { color: var(--g700); font-weight: 600; }
body.nf .nf-side a, body.nf .nf-sheet a, body.nf .nf-sheet .nf-off, body.nf .nf-side .nf-off { margin: 0; border: 0; box-shadow: none; text-transform: none; letter-spacing: 0; width: auto; }
body.nf .nf-close { margin: 0; width: auto; }
body.nf .nf-side h2, body.nf .nf-sheet h2 { font-size: 12px; font-weight: 500; text-transform: none; border: 0; background: none; }
