:root{
  --red:#c1121f;
  --red-dark:#8f1019;
  --red-soft:#fff1f2;
  --black:#121212;
  --black-2:#1d1d1f;
  --bg:#f6f7f9;
  --surface:#ffffff;
  --text:#171717;
  --muted:#6b7280;
  --line:#e6e8ec;
  --line-dark:#d1d5db;
  --success:#15803d;
  --warning:#b45309;
  --radius:16px;
  --shadow:0 10px 28px rgba(17,24,39,.07);
  --shadow-lg:0 24px 60px rgba(17,24,39,.16);
}
*{box-sizing:border-box}
html,body{min-height:100%}
html{background:var(--bg)}
body{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--text);font-size:14px;line-height:1.55;background:
  url('assets/herbal-watermark.svg') no-repeat right 42px bottom 28px/420px auto,
  radial-gradient(circle at 85% 4%,rgba(193,18,31,.045),transparent 24%),
  linear-gradient(180deg,#fbfbfc 0%,#f5f6f8 100%);background-attachment:fixed}
a{color:var(--red-dark);text-decoration:none;transition:.18s ease}a:hover{color:var(--red)}button,input,select,textarea{font:inherit}

/* Header */
.app-header{position:sticky;top:0;z-index:70;min-height:74px;padding:13px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(115deg,#0e0e0f 0%,#171719 68%,#32090d 100%);border-bottom:3px solid var(--red);box-shadow:0 10px 28px rgba(0,0,0,.16)}
.header-left,.header-right{display:flex;align-items:center;gap:15px;min-width:0}.nav-toggle{display:none;width:42px;height:42px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#fff;border-radius:11px;cursor:pointer}
.brand{display:flex;align-items:center;gap:13px;color:#fff}.brand:hover{color:#fff}.brand-mark{width:46px;height:46px;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 10px 24px rgba(193,18,31,.25);border:1px solid rgba(255,255,255,.18)}.brand-mark img{display:block;width:100%;height:100%;object-fit:cover}.brand-name{font-size:19px;font-weight:900;letter-spacing:-.35px}.brand-subtitle{font-size:11px;color:#d1d5db;margin-top:2px}
.user-menu{display:flex;align-items:center;gap:11px}.user-avatar{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:#fff;color:#111;font-weight:900;box-shadow:0 8px 18px rgba(0,0,0,.18)}.user-copy{text-align:right;line-height:1.2}.user-name{color:#fff;font-size:13px;font-weight:800}.user-role{color:#d1d5db;font-size:11px;margin-top:3px}.logout-link{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:0 14px;border-radius:10px;background:#fff;color:#111!important;font-size:12px;font-weight:850;border:1px solid #fff}.logout-link:hover{background:#ffe4e6;color:var(--red-dark)!important}

/* Layout / sidebar */
.app-layout{display:flex;min-height:calc(100vh - 74px)}.sidebar{width:260px;flex:0 0 260px;background:rgba(255,255,255,.97);border-right:1px solid #eadde0;padding:18px 13px 15px;display:flex;flex-direction:column;gap:13px;position:sticky;top:74px;height:calc(100vh - 74px);overflow:auto;box-shadow:6px 0 28px rgba(17,24,39,.035)}
.sidebar-head{padding:7px 10px 13px;border-bottom:1px solid #f0dfe2}.sidebar-title{font-size:12px;font-weight:900;color:#111;text-transform:uppercase;letter-spacing:.55px}.sidebar-subtitle{font-size:11px;color:#8a8f98;margin-top:4px}.side-nav{display:flex;flex-direction:column;gap:4px}.nav-section{margin:14px 10px 4px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.9px;color:#9ca3af}
.side-link{display:flex;align-items:center;gap:11px;padding:10px 11px;border-radius:10px;color:#30343a;font-size:13px;font-weight:750;border:1px solid transparent}.side-link:hover{background:#fafafa;border-color:#eceff2;color:#111;transform:translateX(1px)}.side-link.active{background:linear-gradient(90deg,#fff1f2,#ffffff);border-color:#fecdd3;color:#a10f1a;box-shadow:inset 3px 0 0 var(--red),0 7px 18px rgba(193,18,31,.07)}.nav-icon{width:19px;height:19px;flex:0 0 19px;display:grid;place-items:center;color:#24272c;transition:color .16s ease,transform .16s ease}.nav-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.side-link:hover .nav-icon{color:#111;transform:scale(1.04)}.side-link.active .nav-icon{color:var(--red)}.nav-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-foot{margin-top:auto}.support-box{padding:14px;border-radius:13px;background:linear-gradient(145deg,#111,#242426);color:#fff;box-shadow:0 9px 22px rgba(0,0,0,.13)}.support-box strong{display:block;font-size:12px;margin-bottom:5px}.support-box span{display:block;color:#d1d5db;font-size:11px;line-height:1.5}.sidebar-backdrop{display:none}
.main-shell{flex:1;min-width:0;display:flex;flex-direction:column;background:transparent}.container{max-width:1460px;width:100%;margin:0 auto;padding:28px}.footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 28px;border-top:1px solid var(--line);background:rgba(255,255,255,.92);color:#7b8089;font-size:11px}

/* Typography */
h1,h2,h3{margin-top:0;color:#111;letter-spacing:-.32px}h1{display:flex;align-items:center;gap:12px;font-size:29px;font-weight:900;margin-bottom:21px}h1:before{content:"";width:5px;height:31px;border-radius:99px;background:linear-gradient(180deg,var(--red),#111)}h2{font-size:22px;font-weight:850;margin-bottom:12px}h3{font-size:16px;font-weight:820;margin-bottom:11px}p{margin-top:0}.muted,small{color:var(--muted)}

/* Cards */
.card{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:var(--radius);padding:19px;box-shadow:var(--shadow);margin-bottom:17px;color:var(--text);backdrop-filter:blur(3px)}.card:hover{border-color:#dddfe4;box-shadow:0 15px 38px rgba(17,24,39,.08)}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-bottom:17px}.grid>.card{margin-bottom:0;position:relative;overflow:hidden}.grid>.card:after{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--red),#111 72%,transparent)}.grid>.card>.muted:first-child{font-size:11px;text-transform:uppercase;letter-spacing:.62px;font-weight:800;color:#7c828b}.stat{margin-top:8px;font-size:31px;line-height:1;font-weight:900;color:#111;letter-spacing:-1px}

/* Tables */
table{width:100%;border-collapse:separate;border-spacing:0 7px;background:transparent;color:var(--text)}th{padding:11px 13px;color:#6b7280;font-size:10px;text-transform:uppercase;letter-spacing:.64px;font-weight:900;text-align:left;border:0;background:transparent}td{padding:13px;background:#fff;border-top:1px solid #eceff2;border-bottom:1px solid #eceff2;vertical-align:middle;color:#292d33}tr td:first-child{border-left:1px solid #eceff2;border-top-left-radius:10px;border-bottom-left-radius:10px}tr td:last-child{border-right:1px solid #eceff2;border-top-right-radius:10px;border-bottom-right-radius:10px}tbody tr:hover td{background:#fff9fa;border-color:#f3d9dd}td a{font-weight:800;color:#a4101b}td a:hover{color:var(--red)}

/* Forms */
.row{display:flex;flex-wrap:wrap;gap:13px;align-items:flex-end}.field{flex:1;min-width:175px}label{display:block;margin-bottom:6px;color:#4b5563;font-size:11px;font-weight:800;letter-spacing:.1px}input,select,textarea{width:100%;min-height:43px;padding:10px 12px;border:1px solid var(--line-dark);border-radius:10px;background:#fff;color:#171717;outline:none;transition:border-color .16s,box-shadow .16s,background .16s}textarea{min-height:105px;resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af}input:hover,select:hover,textarea:hover{border-color:#aeb4bd}input:focus,select:focus,textarea:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(193,18,31,.10)}input[readonly],input:disabled,select:disabled,textarea:disabled{background:#f3f4f6;color:#737983;border-color:#e1e4e8;cursor:not-allowed}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 15px;border:1px solid #b81321;border-radius:10px;background:linear-gradient(145deg,#d71929,#a90d19);color:#fff!important;font-size:12px;font-weight:850;cursor:pointer;box-shadow:0 8px 20px rgba(193,18,31,.14);transition:transform .14s,box-shadow .14s,filter .14s}.btn:hover{filter:brightness(1.04);transform:translateY(-1px);box-shadow:0 10px 24px rgba(193,18,31,.19)}.btn.secondary{background:linear-gradient(145deg,#111,#2a2a2c);border-color:#111;box-shadow:none}.btn.light{background:#fff;color:#111!important;border-color:#d7dbe1;box-shadow:none}.btn.light:hover{background:#fafafa;color:var(--red-dark)!important;border-color:#f2b7bf}.btn.danger{background:linear-gradient(145deg,#dc2626,#991b1b);border-color:#b91c1c}

/* Alerts / badges */
.alert{padding:12px 14px;border-radius:11px;margin:0 0 17px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;font-weight:700;box-shadow:0 8px 20px rgba(17,24,39,.05)}.alert.success{background:#ecfdf3;border-color:#bbf7d0;color:#166534}.alert.error{background:#fff1f2;border-color:#fecaca;color:#991b1b}.badge{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#f3f4f6;color:#374151;border:1px solid #e5e7eb;font-size:11px;font-weight:800;line-height:1.15}.badge.warn{background:#fff7ed;color:#9a3412;border-color:#fed7aa}.badge.danger{background:#fee2e2;color:#991b1b;border-color:#fecaca}.badge.status-done,span.badge.status-done{background:#facc15!important;color:#3d2d00!important;border-color:#eab308!important;box-shadow:0 2px 10px rgba(234,179,8,.16)!important}.badge.status-pending,span.badge.status-pending{background:#e5e7eb!important;color:#374151!important;border-color:#d1d5db!important}.badge.status-confirmed,span.badge.status-confirmed{background:#f97316!important;color:#fff!important;border-color:#ea580c!important;box-shadow:0 2px 10px rgba(249,115,22,.18)!important}.badge.status-delivered,span.badge.status-delivered{background:#16a34a!important;color:#fff!important;border-color:#15803d!important;box-shadow:0 2px 10px rgba(22,163,74,.18)!important}.badge.status-cancelled,span.badge.status-cancelled,.badge.danger{background:#dc2626!important;color:#fff!important;border-color:#b91c1c!important;box-shadow:0 2px 10px rgba(220,38,38,.16)!important}.right{text-align:right}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}

/* Modal */
.modal{position:fixed;inset:0;z-index:150;background:rgba(17,17,17,.58);display:none;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(4px)}.modal.open{display:flex}.modal-box{width:100%;max-width:780px;max-height:88vh;overflow:auto;background:#fff;border-radius:18px;padding:22px;border:1px solid #eceff2;box-shadow:var(--shadow-lg)}.order-line{display:grid;grid-template-columns:2fr 100px 120px 120px 44px;gap:10px;margin-bottom:10px}hr{border:0;border-top:1px solid var(--line);margin:20px 0}code{background:#f3f4f6;padding:3px 6px;border-radius:6px}

/* Login */
.login-page{min-height:100vh;display:grid;place-items:center;padding:30px;background:url('assets/herbal-watermark.svg') no-repeat left 8% bottom 8%/430px auto,radial-gradient(circle at top right,rgba(193,18,31,.10),transparent 30%),linear-gradient(135deg,#fafafa,#fff 50%,#f3f4f6)}.login-panel{width:100%;max-width:980px;background:#fff;border:1px solid #e8eaee;border-radius:26px;overflow:hidden;display:grid;grid-template-columns:1.05fr .95fr;box-shadow:var(--shadow-lg)}.login-side{padding:44px 38px;background:linear-gradient(155deg,#101011 0%,#1d1d20 62%,#4b0c13 100%);color:#fff;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-side:after{content:"";position:absolute;right:-80px;bottom:-100px;width:300px;height:300px;background:url('assets/herbal-watermark.svg') center/contain no-repeat;opacity:.27}.login-logo{position:relative;z-index:1;width:68px;height:68px;border-radius:18px;background:#fff;overflow:hidden;margin-bottom:20px;box-shadow:0 14px 30px rgba(193,18,31,.24)}.login-logo img{width:100%;height:100%;object-fit:cover;display:block}.login-side h1{position:relative;z-index:1;font-size:34px;font-weight:900;line-height:1.08;margin:0 0 14px;color:#fff}.login-side h1:before{display:none}.login-side p,.login-points{position:relative;z-index:1}.login-side p{font-size:15px;color:#d1d5db;max-width:420px;margin-bottom:20px}.login-points{padding-left:18px;margin:0;display:grid;gap:10px;color:#f3f4f6}.login-card{padding:42px 38px;display:flex;flex-direction:column;justify-content:center}.eyebrow{display:inline-flex;align-self:flex-start;padding:6px 10px;border-radius:999px;background:#fff1f2;color:#a20f1a;font-size:11px;font-weight:900;letter-spacing:.7px;margin-bottom:14px}.login-card h2{margin-bottom:8px}.login-card form{margin-top:10px}.login-card .field+.field{margin-top:14px}.login-card .btn{width:100%;margin-top:16px;min-height:46px;font-size:14px}.login-foot{text-align:center;color:#9ca3af;font-size:12px;margin-top:18px}

/* Keep embedded dashboard on light surface even if index has own styles */
.el-dashboard .db-panel,.el-dashboard .db-filter,.el-dashboard .db-money-card,.el-dashboard .db-status-card{color:#111}.el-dashboard table,.el-dashboard td,.el-dashboard th{color:#111}

@media(max-width:960px){.nav-toggle{display:inline-grid;place-items:center}.sidebar{position:fixed;left:0;top:74px;bottom:0;height:auto;transform:translateX(-105%);transition:transform .22s ease;z-index:95;box-shadow:var(--shadow-lg)}.sidebar-backdrop{display:block;position:fixed;inset:74px 0 0;background:rgba(0,0,0,.42);opacity:0;pointer-events:none;transition:.2s;z-index:90}body.sidebar-open .sidebar{transform:translateX(0)}body.sidebar-open .sidebar-backdrop{opacity:1;pointer-events:auto}.app-layout{display:block}.container{padding:22px 16px}.footer{padding:16px;flex-direction:column;align-items:flex-start}.user-copy{display:none}}
@media(max-width:820px){.login-panel{grid-template-columns:1fr}.login-side{padding:30px 24px}.login-card{padding:30px 24px}}
@media(max-width:700px){.app-header{padding:12px 14px;min-height:72px}.brand-name{font-size:17px}.brand-subtitle{display:none}h1{font-size:25px}.grid{grid-template-columns:1fr 1fr}.row>.field{min-width:100%}.row>.btn{width:100%}.order-line{grid-template-columns:1fr 1fr}.card{padding:16px;overflow-x:auto}table{min-width:650px}}
@media(max-width:520px){.grid{grid-template-columns:1fr}.brand-mark{width:40px;height:40px}.logout-link{padding:0 10px;min-height:38px}.login-side h1{font-size:28px}body{background-size:260px auto,auto,auto}}

/* Smart universal order search */
.app-header{display:grid;grid-template-columns:auto minmax(300px,680px) auto}
.header-search-wrap{position:relative;width:100%;max-width:680px;justify-self:center;z-index:95}
.header-search-box{height:44px;display:flex;align-items:center;gap:10px;padding:0 11px 0 14px;border-radius:13px;background:rgba(255,255,255,.97);border:1px solid rgba(255,255,255,.22);box-shadow:0 8px 24px rgba(0,0,0,.16)}
.header-search-box:focus-within{box-shadow:0 0 0 3px rgba(193,18,31,.22),0 10px 26px rgba(0,0,0,.18)}
.header-search-box .search-mark{color:#991b1b;font-size:21px;font-weight:900;line-height:1}
.header-search-box input{height:40px;min-height:40px;padding:0;border:0!important;box-shadow:none!important;background:transparent;flex:1;min-width:0;color:#151515;font-weight:650}
.header-search-box input::placeholder{color:#8a8a8a;font-weight:500}
.search-shortcut{white-space:nowrap;padding:5px 8px;border-radius:8px;background:#fff1f2;border:1px solid #fecdd3;color:#9f1239;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.35px}
.smart-search-results{position:absolute;left:0;right:0;top:calc(100% + 9px);background:#fff;border:1px solid #eadde0;border-radius:15px;box-shadow:0 22px 60px rgba(0,0,0,.2);overflow:hidden;max-height:520px;overflow-y:auto;color:#171717}
.smart-search-head{padding:10px 14px;background:#faf7f7;border-bottom:1px solid #eee3e4;color:#6b7280;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.5px}
.smart-search-empty,.smart-search-loading{padding:18px 15px;color:#6b7280;text-align:center;font-size:13px}
.smart-result{display:grid;grid-template-columns:minmax(0,1.5fr) auto;gap:12px;padding:12px 14px;border-bottom:1px solid #f0e8e9;color:#171717!important;background:#fff}
.smart-result:last-child{border-bottom:0}
.smart-result:hover,.smart-result.active{background:#fff6f6;color:#171717!important}
.smart-result-main{min-width:0}
.smart-result-title{display:flex;align-items:center;gap:8px;min-width:0;font-weight:900;color:#171717}
.smart-order-no{display:inline-flex;padding:3px 7px;border-radius:7px;background:#171717;color:#fff;font-size:11px;letter-spacing:.25px}
.smart-customer{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.smart-result-meta{margin-top:5px;display:flex;gap:9px;flex-wrap:wrap;color:#6b7280;font-size:11px}
.smart-result-right{text-align:right;white-space:nowrap}
.smart-result-amount{font-weight:900;color:#991b1b}
.smart-status-row{display:flex;justify-content:flex-end;gap:5px;margin-top:6px}
.smart-mini-badge{display:inline-flex;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:900;border:1px solid #e5e7eb;background:#f3f4f6;color:#4b5563}
.smart-mini-badge.done{background:#fef3c7;border-color:#fcd34d;color:#92400e}
.smart-mini-badge.confirmed{background:#ffedd5;border-color:#fdba74;color:#9a3412}
.smart-mini-badge.cancelled{background:#fee2e2;border-color:#fca5a5;color:#991b1b}
.smart-search-tip{padding:9px 14px;background:#111;color:#e5e7eb;font-size:10px;text-align:center}
@media(max-width:1050px){.app-header{grid-template-columns:auto 1fr auto}.brand-copy{display:none}.header-search-wrap{max-width:none}.search-shortcut{display:none}}
@media(max-width:760px){.app-header{grid-template-columns:auto 1fr}.header-right{display:none}.header-search-box{height:42px}.header-search-wrap{min-width:0}.smart-result{grid-template-columns:1fr}.smart-result-right{text-align:left}.smart-status-row{justify-content:flex-start}}

/* =========================================================
   HR LOVE THEME — applies only to the single selected account
   ========================================================= */
body.hr-love-theme{
  --red:#be185d;
  --red-dark:#831843;
  --red-soft:#fff1f7;
  --line:#f1d8e4;
  --line-dark:#e8bfd2;
  background:
    radial-gradient(circle at 92% 12%,rgba(244,114,182,.13),transparent 25%),
    radial-gradient(circle at 18% 82%,rgba(190,24,93,.08),transparent 28%),
    linear-gradient(180deg,#fffafd 0%,#fff 45%,#fff7fb 100%);
}
.hr-love-theme .app-header{
  background:linear-gradient(118deg,#2b0b18 0%,#5f1237 55%,#9d174d 100%);
  border-bottom-color:#ec4899;
  box-shadow:0 12px 32px rgba(131,24,67,.18);
}
.hr-love-theme .brand-mark{background:linear-gradient(145deg,#fff,#ffe7f1);border:1px solid rgba(255,255,255,.7)}
.hr-love-theme .brand-mark:after{content:"♥";position:absolute;right:-4px;bottom:-5px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#ec4899;color:#fff;font-size:10px;border:2px solid #fff;box-shadow:0 4px 10px rgba(190,24,93,.2)}
.hr-love-theme .brand-mark{position:relative}
.hr-love-theme .brand-subtitle{color:#fbcfe8}
.hr-love-theme .user-avatar{background:linear-gradient(145deg,#fff,#ffe4ef);color:#9d174d}
.hr-love-theme .logout-link{background:#fff5f9;color:#831843!important;border-color:#f9a8d4}
.hr-love-theme .header-search-box{border-color:#fbcfe8;box-shadow:0 8px 24px rgba(131,24,67,.14)}
.hr-love-theme .search-mark{color:#be185d!important}
.hr-love-theme .search-shortcut{background:#fff1f7;border-color:#f9a8d4;color:#9d174d}
.hr-love-theme .sidebar{background:linear-gradient(180deg,#fff 0%,#fff7fb 58%,#fff1f7 100%);border-right-color:#f0ccdc}
.hr-love-theme .sidebar:before{content:"♥";position:absolute;right:18px;top:18px;color:#f9a8d4;font-size:22px;opacity:.8}
.hr-love-theme .sidebar-title{color:#831843}
.hr-love-theme .side-link:hover{background:#fff1f7;border-color:#fbcfe8;color:#9d174d}
.hr-love-theme .side-link.active{background:linear-gradient(90deg,#ffe4ef,#fff 88%);border-color:#f9a8d4;color:#831843;box-shadow:0 8px 20px rgba(190,24,93,.10)}
.hr-love-theme .side-link.active .nav-icon{color:#db2777}
.hr-love-theme .support-box{background:linear-gradient(145deg,#58112f,#9d174d);box-shadow:0 14px 30px rgba(131,24,67,.16)}
.hr-love-theme .container{position:relative}
.hr-love-theme .container:before{content:"♥";position:fixed;right:3vw;bottom:3vh;font-size:180px;line-height:1;color:rgba(236,72,153,.045);z-index:-1;transform:rotate(-10deg);pointer-events:none}
.hr-love-theme h1:before{background:linear-gradient(180deg,#ec4899,#831843)}
.hr-love-theme .card{border-color:#f1d8e4;box-shadow:0 10px 28px rgba(131,24,67,.055)}
.hr-love-theme .card:hover{box-shadow:0 14px 34px rgba(131,24,67,.075)}
.hr-love-theme .grid>.card:after{background:linear-gradient(90deg,#ec4899,#831843)}
.hr-love-theme input:focus,.hr-love-theme select:focus,.hr-love-theme textarea:focus{border-color:#db2777;box-shadow:0 0 0 4px rgba(219,39,119,.10)}
.hr-love-theme .btn{background:linear-gradient(135deg,#db2777,#9d174d);border-color:#9d174d;box-shadow:0 10px 20px rgba(190,24,93,.16)}
.hr-love-theme .btn:hover{box-shadow:0 12px 24px rgba(190,24,93,.22)}
.hr-love-theme .btn.secondary{background:linear-gradient(135deg,#4a102a,#831843)}
.hr-love-theme .badge:not(.status-done):not(.status-confirmed):not(.status-delivered):not(.status-cancelled):not(.danger){background:#fff1f7;color:#831843;border-color:#f9a8d4}
.hr-love-theme tbody tr:hover td{background:#fff7fb}
.hr-love-theme .footer{background:#fffafd;border-top-color:#f1d8e4;color:#9f667d}

/* Dashboard overrides for the selected HR Love Theme account */
.hr-love-theme .el-dashboard{--db-red:#db2777;--db-red-dark:#831843;--db-black:#3b1025;--db-line:#f1d8e4;--db-shadow:0 12px 28px rgba(131,24,67,.07)}
.hr-love-theme .el-dashboard .db-hero{background:linear-gradient(120deg,#3b1025 0%,#701a45 58%,#be185d 100%);box-shadow:0 16px 38px rgba(131,24,67,.16)}
.hr-love-theme .el-dashboard .db-hero:after{background:rgba(244,114,182,.24)}
.hr-love-theme .el-dashboard .db-eyebrow{color:#fbcfe8}
.hr-love-theme .el-dashboard .db-filter,.hr-love-theme .el-dashboard .db-panel,.hr-love-theme .el-dashboard .db-money-card,.hr-love-theme .el-dashboard .db-status-card{border-color:#f1d8e4}
.hr-love-theme .el-dashboard .db-period-chip{background:#fff1f7;border-color:#f9a8d4;color:#9d174d}
.hr-love-theme .el-dashboard .db-money-card:before{background:#db2777}
.hr-love-theme .el-dashboard .db-money-card.dark{background:linear-gradient(145deg,#3b1025,#701a45);border-color:#701a45}
.hr-love-theme .el-dashboard .db-money-card.red{background:linear-gradient(145deg,#9d174d,#db2777);border-color:#9d174d}
.hr-love-theme .el-dashboard .db-money-card.soft{background:linear-gradient(145deg,#fff,#fff4f9)}
.hr-love-theme .el-dashboard .db-icon{background:#fff1f7;color:#9d174d;border-color:#fbcfe8}
.hr-love-theme .el-dashboard .db-top-performer{background:linear-gradient(120deg,#fff0f7,#fff 55%,#fff4f9);border-color:#f9a8d4}
.hr-love-theme .el-dashboard .db-trophy{background:linear-gradient(145deg,#ec4899,#be185d);box-shadow:0 10px 22px rgba(190,24,93,.2)}
.hr-love-theme .el-dashboard .db-top-kicker,.hr-love-theme .el-dashboard .db-top-amount small{color:#9d174d}
.hr-love-theme .el-dashboard .db-top-amount strong{color:#be185d}
.hr-love-theme .el-dashboard tbody tr:hover td{background:#fff7fb}


/* =========================================================
   PROFESSIONAL COLORFUL SIDEBAR ICONS
   Each module gets its own controlled accent color.
   ========================================================= */
.side-link .nav-icon{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  display:inline-grid!important;
  place-items:center!important;
  border-radius:9px!important;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease!important;
  border:1px solid transparent!important;
}
.side-link .nav-icon svg{
  width:17px!important;
  height:17px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

.side-link.nav-index .nav-icon{color:#2563eb!important;background:#eff6ff!important;border-color:#bfdbfe!important}
.side-link.nav-orders .nav-icon{color:#ea580c!important;background:#fff7ed!important;border-color:#fed7aa!important}
.side-link.nav-products .nav-icon{color:#7c3aed!important;background:#f5f3ff!important;border-color:#ddd6fe!important}
.side-link.nav-customers .nav-icon{color:#0891b2!important;background:#ecfeff!important;border-color:#a5f3fc!important}
.side-link.nav-leads .nav-icon{color:#dc2626!important;background:#fef2f2!important;border-color:#fecaca!important}
.side-link.nav-attendance .nav-icon{color:#16a34a!important;background:#f0fdf4!important;border-color:#bbf7d0!important}
.side-link.nav-tasks .nav-icon{color:#4f46e5!important;background:#eef2ff!important;border-color:#c7d2fe!important}
.side-link.nav-chat .nav-icon{color:#0284c7!important;background:#f0f9ff!important;border-color:#bae6fd!important}
.side-link.nav-shipping .nav-icon{color:#d97706!important;background:#fffbeb!important;border-color:#fde68a!important}
.side-link.nav-users .nav-icon{color:#9333ea!important;background:#faf5ff!important;border-color:#e9d5ff!important}
.side-link.nav-departments .nav-icon{color:#0f766e!important;background:#f0fdfa!important;border-color:#99f6e4!important}
.side-link.nav-leaderboard .nav-icon{color:#ca8a04!important;background:#fefce8!important;border-color:#fef08a!important}
.side-link.nav-salary .nav-icon{color:#15803d!important;background:#f0fdf4!important;border-color:#bbf7d0!important}
.side-link.nav-ip-whitelist .nav-icon{color:#1d4ed8!important;background:#eff6ff!important;border-color:#bfdbfe!important}
.side-link.nav-lead-assignment-rules .nav-icon{color:#db2777!important;background:#fdf2f8!important;border-color:#fbcfe8!important}
.side-link.nav-daily-incentives .nav-icon{color:#b45309!important;background:#fff7ed!important;border-color:#fed7aa!important}

.side-link:hover .nav-icon{
  transform:translateY(-1px) scale(1.04)!important;
  box-shadow:0 5px 12px rgba(17,24,39,.10)!important;
}
.side-link.active .nav-icon{
  box-shadow:0 5px 14px rgba(17,24,39,.13)!important;
}

/* Keep HR Love Theme beautiful while preserving module colors */
.hr-love-theme .side-link .nav-icon{filter:saturate(.92)}
.hr-love-theme .side-link.active .nav-icon{box-shadow:0 5px 14px rgba(190,24,93,.12)!important}


/* Delhi order visual highlight */
.order-row-delhi td{background:#eff6ff!important;border-top-color:#bfdbfe!important;border-bottom-color:#bfdbfe!important}
.order-row-delhi td:first-child{border-left:4px solid #2563eb!important}
.order-row-delhi:hover td{background:#dbeafe!important}
.delhi-badge{background:#2563eb!important;color:#fff!important;border-color:#1d4ed8!important;box-shadow:0 2px 9px rgba(37,99,235,.18)!important}

/* =========================================================
   EL ENTERPRISES — LUXURY COLOR CRM THEME
   Resale/demo-ready polish. UI only; no business logic changes.
   ========================================================= */

body.app-body:not(.hr-love-theme){
  --lux-red:#d6122b;
  --lux-red-deep:#8d0d1b;
  --lux-gold:#c99018;
  --lux-blue:#2563eb;
  --lux-cyan:#0891b2;
  --lux-violet:#7c3aed;
  --lux-green:#059669;
  --lux-orange:#ea580c;
  --lux-pink:#db2777;
  --lux-ink:#101114;
  --lux-soft:#f7f8fb;
  background:
    url('assets/herbal-watermark.svg') no-repeat right 34px bottom 24px/470px auto,
    radial-gradient(circle at 88% 5%,rgba(214,18,43,.075),transparent 22%),
    radial-gradient(circle at 18% 82%,rgba(37,99,235,.045),transparent 23%),
    linear-gradient(145deg,#fcfcfd 0%,#f6f7fa 45%,#fffafa 100%);
  background-attachment:fixed;
}

/* Premium topbar */
body.app-body:not(.hr-love-theme) .app-header{
  min-height:78px;
  background:
    radial-gradient(circle at 82% -30%,rgba(214,18,43,.34),transparent 34%),
    linear-gradient(115deg,#090a0c 0%,#17181c 54%,#26090e 100%);
  border-bottom:1px solid rgba(255,255,255,.06);
  box-shadow:0 13px 34px rgba(9,10,12,.24), inset 0 -2px 0 rgba(214,18,43,.9);
}
body.app-body:not(.hr-love-theme) .app-header:after{
  content:"";
  position:absolute;left:18%;right:18%;bottom:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent);
  pointer-events:none;
}
body.app-body:not(.hr-love-theme) .brand-mark{
  border-radius:16px;
  box-shadow:0 10px 28px rgba(214,18,43,.3),0 0 0 1px rgba(255,255,255,.18);
  transform:translateZ(0);
}
body.app-body:not(.hr-love-theme) .brand-name{
  font-size:20px;letter-spacing:-.45px;
  text-shadow:0 1px 12px rgba(255,255,255,.08);
}
body.app-body:not(.hr-love-theme) .brand-subtitle{
  color:#d7d9df;letter-spacing:.25px;
}
body.app-body:not(.hr-love-theme) .header-search-box{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.965);
  box-shadow:0 10px 26px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.9);
}
body.app-body:not(.hr-love-theme) .header-search-box:focus-within{
  box-shadow:0 0 0 3px rgba(214,18,43,.15),0 14px 32px rgba(0,0,0,.22);
  border-color:rgba(214,18,43,.48);
}
body.app-body:not(.hr-love-theme) .search-shortcut{
  background:linear-gradient(135deg,#fff4f6,#ffe7eb);
  color:#a80f21;border:1px solid #ffd0d8;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
body.app-body:not(.hr-love-theme) .user-avatar{
  border-radius:14px;
  background:linear-gradient(145deg,#ffffff,#f2f3f6);
  box-shadow:0 10px 24px rgba(0,0,0,.22),0 0 0 1px rgba(255,255,255,.14);
}
body.app-body:not(.hr-love-theme) .logout-link{
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.96);
  color:#111319;
  box-shadow:0 8px 18px rgba(0,0,0,.16);
}
body.app-body:not(.hr-love-theme) .logout-link:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(0,0,0,.22);
}

/* Luxury sidebar */
body.app-body:not(.hr-love-theme) .sidebar{
  background:
    linear-gradient(180deg,rgba(255,255,255,.985),rgba(250,250,252,.985)),
    radial-gradient(circle at 20% 0%,rgba(214,18,43,.05),transparent 30%);
  border-right:1px solid #e9eaf0;
  box-shadow:12px 0 34px rgba(15,23,42,.045);
}
body.app-body:not(.hr-love-theme) .sidebar-head{
  position:relative;
}
body.app-body:not(.hr-love-theme) .sidebar-head:after{
  content:"";display:block;height:2px;margin-top:14px;border-radius:99px;
  background:linear-gradient(90deg,#d6122b,#f59e0b,#7c3aed,#2563eb,transparent);
  opacity:.85;
}
body.app-body:not(.hr-love-theme) .sidebar-title{
  color:#111827;letter-spacing:.9px;font-weight:900;
}
body.app-body:not(.hr-love-theme) .side-link{
  min-height:47px;
  border:1px solid transparent;
  border-radius:13px;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
}
body.app-body:not(.hr-love-theme) .side-link:hover{
  transform:translateX(3px);
  background:#fff;
  border-color:#eceef3;
  box-shadow:0 8px 20px rgba(15,23,42,.07);
}
body.app-body:not(.hr-love-theme) .side-link.active{
  background:linear-gradient(90deg,#fff0f3 0%,#fff 78%);
  border-color:#ffcbd4;
  box-shadow:0 10px 25px rgba(214,18,43,.095);
}
body.app-body:not(.hr-love-theme) .side-link.active:before{
  width:4px;border-radius:0 6px 6px 0;
  background:linear-gradient(180deg,#f02b43,#9d1020);
  box-shadow:0 0 18px rgba(214,18,43,.35);
}

/* Colorful professional icon tiles */
body.app-body:not(.hr-love-theme) .side-link .nav-icon{
  --nav-accent:#64748b;
  --nav-bg:#f1f5f9;
  color:var(--nav-accent)!important;
  background:var(--nav-bg)!important;
  border-color:color-mix(in srgb,var(--nav-accent) 24%,white)!important;
  border-radius:11px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 5px 12px color-mix(in srgb,var(--nav-accent) 13%,transparent);
}
body.app-body:not(.hr-love-theme) .side-link .nav-icon svg{stroke:currentColor!important}
body.app-body:not(.hr-love-theme) .nav-index .nav-icon{--nav-accent:#2563eb;--nav-bg:#eef5ff}
body.app-body:not(.hr-love-theme) .nav-orders .nav-icon{--nav-accent:#ea580c;--nav-bg:#fff4e9}
body.app-body:not(.hr-love-theme) .nav-products .nav-icon{--nav-accent:#7c3aed;--nav-bg:#f4efff}
body.app-body:not(.hr-love-theme) .nav-customers .nav-icon{--nav-accent:#0891b2;--nav-bg:#ebfbff}
body.app-body:not(.hr-love-theme) .nav-leads .nav-icon{--nav-accent:#e11d48;--nav-bg:#fff0f4}
body.app-body:not(.hr-love-theme) .nav-attendance .nav-icon{--nav-accent:#16a34a;--nav-bg:#effdf4}
body.app-body:not(.hr-love-theme) .nav-tasks .nav-icon{--nav-accent:#4f46e5;--nav-bg:#f0f1ff}
body.app-body:not(.hr-love-theme) .nav-chat .nav-icon{--nav-accent:#0284c7;--nav-bg:#edf9ff}
body.app-body:not(.hr-love-theme) .nav-shipping .nav-icon{--nav-accent:#d97706;--nav-bg:#fff7e8}
body.app-body:not(.hr-love-theme) .nav-delhivery-tracking .nav-icon{--nav-accent:#475569;--nav-bg:#f1f5f9}
body.app-body:not(.hr-love-theme) .nav-users .nav-icon{--nav-accent:#9333ea;--nav-bg:#f7efff}
body.app-body:not(.hr-love-theme) .nav-departments .nav-icon{--nav-accent:#0f9f9a;--nav-bg:#ecfffd}
body.app-body:not(.hr-love-theme) .nav-leaderboard .nav-icon{--nav-accent:#c58a08;--nav-bg:#fff9df}
body.app-body:not(.hr-love-theme) .nav-salary .nav-icon{--nav-accent:#15803d;--nav-bg:#effcf3}
body.app-body:not(.hr-love-theme) .nav-ip-whitelist .nav-icon{--nav-accent:#1d4ed8;--nav-bg:#edf3ff}
body.app-body:not(.hr-love-theme) .nav-lead-assignment-rules .nav-icon{--nav-accent:#db2777;--nav-bg:#fff0f8}
body.app-body:not(.hr-love-theme) .nav-daily-incentives .nav-icon{--nav-accent:#f59e0b;--nav-bg:#fff8df}
body.app-body:not(.hr-love-theme) .side-link.active .nav-icon{
  transform:scale(1.03);
  box-shadow:0 7px 16px color-mix(in srgb,var(--nav-accent) 18%,transparent),inset 0 1px 0 #fff;
}

/* Premium support block */
body.app-body:not(.hr-love-theme) .support-box{
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 88% 10%,rgba(214,18,43,.5),transparent 32%),
    linear-gradient(145deg,#111216,#1d1f25);
  box-shadow:0 14px 30px rgba(15,23,42,.18);
}
body.app-body:not(.hr-love-theme) .support-box strong:before{
  content:"✦";color:#f7c85b;margin-right:7px;
}

/* Page headings */
body.app-body:not(.hr-love-theme) .container > h1,
body.app-body:not(.hr-love-theme) .container .row > h1{
  letter-spacing:-.65px;
  color:#111318;
}
body.app-body:not(.hr-love-theme) .container > h1:before,
body.app-body:not(.hr-love-theme) .container .row > h1:before{
  background:linear-gradient(180deg,#ed1835,#7f101c);
  box-shadow:0 0 16px rgba(214,18,43,.2);
}

/* Luxury cards & panels */
body.app-body:not(.hr-love-theme) .card{
  border:1px solid rgba(226,228,235,.95);
  background:
    linear-gradient(180deg,rgba(255,255,255,.985),rgba(255,255,255,.95));
  box-shadow:
    0 14px 35px rgba(15,23,42,.07),
    inset 0 1px 0 rgba(255,255,255,.95);
  border-radius:18px;
}
body.app-body:not(.hr-love-theme) .card:hover{
  border-color:#dde0e8;
  box-shadow:0 18px 44px rgba(15,23,42,.095),inset 0 1px 0 #fff;
}
body.app-body:not(.hr-love-theme) .grid > .card:nth-child(6n+1){border-top:2px solid rgba(37,99,235,.55)}
body.app-body:not(.hr-love-theme) .grid > .card:nth-child(6n+2){border-top:2px solid rgba(234,88,12,.5)}
body.app-body:not(.hr-love-theme) .grid > .card:nth-child(6n+3){border-top:2px solid rgba(124,58,237,.48)}
body.app-body:not(.hr-love-theme) .grid > .card:nth-child(6n+4){border-top:2px solid rgba(5,150,105,.48)}
body.app-body:not(.hr-love-theme) .grid > .card:nth-child(6n+5){border-top:2px solid rgba(219,39,119,.43)}
body.app-body:not(.hr-love-theme) .grid > .card:nth-child(6n+6){border-top:2px solid rgba(201,144,24,.52)}

/* Premium buttons */
body.app-body:not(.hr-love-theme) .btn{
  border-radius:11px;
  background:linear-gradient(135deg,#df1832 0%,#b30f24 62%,#8d0d1b 100%);
  box-shadow:0 9px 20px rgba(193,18,31,.2),inset 0 1px 0 rgba(255,255,255,.24);
  border:1px solid rgba(128,9,25,.18);
  font-weight:800;
  letter-spacing:.05px;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
body.app-body:not(.hr-love-theme) .btn:hover{
  transform:translateY(-1px);
  filter:saturate(1.08);
  box-shadow:0 13px 26px rgba(193,18,31,.26),inset 0 1px 0 rgba(255,255,255,.24);
}
body.app-body:not(.hr-love-theme) .btn.secondary{
  background:linear-gradient(135deg,#202228,#111216);
  color:#fff;border-color:#24262d;
  box-shadow:0 9px 20px rgba(15,23,42,.16);
}
body.app-body:not(.hr-love-theme) .btn.light{
  background:linear-gradient(180deg,#fff,#f7f8fa);
  color:#17191e;border:1px solid #dde1e8;
  box-shadow:0 6px 15px rgba(15,23,42,.06);
}

/* Forms */
body.app-body:not(.hr-love-theme) input,
body.app-body:not(.hr-love-theme) select,
body.app-body:not(.hr-love-theme) textarea{
  border:1px solid #dfe3ea;
  background:rgba(255,255,255,.96);
  border-radius:11px;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.025);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
body.app-body:not(.hr-love-theme) input:focus,
body.app-body:not(.hr-love-theme) select:focus,
body.app-body:not(.hr-love-theme) textarea:focus{
  outline:none;
  border-color:rgba(214,18,43,.55);
  background:#fff;
  box-shadow:0 0 0 3px rgba(214,18,43,.095),0 6px 16px rgba(15,23,42,.05);
}
body.app-body:not(.hr-love-theme) label{
  color:#2b303b;font-weight:800;
}

/* Premium tables */
body.app-body:not(.hr-love-theme) table{
  border-collapse:separate;border-spacing:0;
}
body.app-body:not(.hr-love-theme) table th{
  color:#5b6474;
  background:linear-gradient(180deg,#fbfcfe,#f4f6f9);
  border-bottom:1px solid #e2e5eb;
  letter-spacing:.55px;
}
body.app-body:not(.hr-love-theme) table tr:not(:first-child) td{
  transition:background .15s ease;
}
body.app-body:not(.hr-love-theme) table tr:not(:first-child):hover td{
  background:rgba(248,250,252,.92);
}

/* Badges */
body.app-body:not(.hr-love-theme) .badge{
  border-radius:999px;
  font-weight:850;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5);
}
body.app-body:not(.hr-love-theme) .status-done{
  background:linear-gradient(135deg,#fde047,#fbbf24)!important;
  color:#4a3200!important;border-color:#efb914!important;
}
body.app-body:not(.hr-love-theme) .status-confirmed{
  background:linear-gradient(135deg,#fb923c,#f97316)!important;
  color:#fff!important;border-color:#ea580c!important;
}
body.app-body:not(.hr-love-theme) .status-delivered{
  background:linear-gradient(135deg,#22c55e,#059669)!important;
  color:#fff!important;border-color:#047857!important;
}
body.app-body:not(.hr-love-theme) .status-cancelled,
body.app-body:not(.hr-love-theme) .badge.danger{
  background:linear-gradient(135deg,#ef4444,#c81e2d)!important;
  color:#fff!important;border-color:#b91c1c!important;
}

/* Alerts */
body.app-body:not(.hr-love-theme) .alert{
  border-radius:14px;
  box-shadow:0 8px 20px rgba(15,23,42,.055);
}
body.app-body:not(.hr-love-theme) .alert.success{
  background:linear-gradient(135deg,#effcf4,#e8fff1);
  border-color:#b8efca;
}
body.app-body:not(.hr-love-theme) .alert.error{
  background:linear-gradient(135deg,#fff2f3,#ffe9ec);
  border-color:#ffc7cf;
}

/* Scrollbar polish */
body.app-body:not(.hr-love-theme) ::-webkit-scrollbar{width:10px;height:10px}
body.app-body:not(.hr-love-theme) ::-webkit-scrollbar-track{background:#f2f3f6}
body.app-body:not(.hr-love-theme) ::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,#c6c9d1,#9da3ae);
  border:2px solid #f2f3f6;border-radius:999px;
}
body.app-body:not(.hr-love-theme) ::-webkit-scrollbar-thumb:hover{background:#858c98}

/* ---------------- Premium Login ---------------- */
.login-page{
  background:
    radial-gradient(circle at 15% 14%,rgba(214,18,43,.22),transparent 27%),
    radial-gradient(circle at 85% 86%,rgba(37,99,235,.13),transparent 29%),
    linear-gradient(135deg,#08090b 0%,#15171c 48%,#2a0b11 100%)!important;
}
.login-page:before{
  content:"";position:fixed;inset:0;pointer-events:none;
  background:
    url('assets/herbal-watermark.svg') no-repeat 8% 84%/420px auto,
    linear-gradient(110deg,transparent 0%,rgba(255,255,255,.025) 42%,transparent 70%);
  opacity:.26;
}
.login-panel{
  position:relative;
  border:1px solid rgba(255,255,255,.1)!important;
  border-radius:26px!important;
  overflow:hidden;
  box-shadow:0 32px 80px rgba(0,0,0,.36),0 0 0 1px rgba(255,255,255,.025)!important;
}
.login-side{
  position:relative;
  background:
    radial-gradient(circle at 78% 12%,rgba(246,190,56,.15),transparent 30%),
    linear-gradient(145deg,#121318 0%,#1d1115 55%,#5e0d1b 130%)!important;
}
.login-side:after{
  content:"PREMIUM BUSINESS SUITE";
  position:absolute;left:34px;bottom:28px;
  font-size:10px;letter-spacing:2.2px;font-weight:900;color:#f5d378;
  opacity:.8;
}
.login-logo{
  box-shadow:0 14px 30px rgba(214,18,43,.26),0 0 0 1px rgba(255,255,255,.16)!important;
}
.login-side h1{letter-spacing:-.65px}
.login-points li:before{color:#f4c95d!important}
.login-card{
  background:
    radial-gradient(circle at 100% 0%,rgba(214,18,43,.055),transparent 30%),
    linear-gradient(180deg,#fff,#fbfbfd)!important;
}
.login-card .eyebrow{
  color:#a90f20!important;
  letter-spacing:1.8px!important;
}
.login-card .btn{
  width:100%;
  min-height:48px;
  background:linear-gradient(135deg,#df1832,#a80e20)!important;
  border-radius:12px!important;
  box-shadow:0 12px 24px rgba(193,18,31,.23)!important;
}
.login-foot{opacity:.72}

/* Slight entrance polish, respectful of motion preferences */
@media (prefers-reduced-motion:no-preference){
  body.app-body:not(.hr-love-theme) .container > .card,
  body.app-body:not(.hr-love-theme) .container > .grid,
  body.app-body:not(.hr-love-theme) .container > .row{
    animation:luxFadeUp .26s ease both;
  }
  @keyframes luxFadeUp{
    from{opacity:.86;transform:translateY(4px)}
    to{opacity:1;transform:translateY(0)}
  }
}

/* Mobile refinements */
@media (max-width:900px){
  body.app-body:not(.hr-love-theme) .app-header{padding:11px 13px;min-height:68px}
  body.app-body:not(.hr-love-theme) .brand-name{font-size:17px}
  body.app-body:not(.hr-love-theme) .card{border-radius:15px}
}

/* ===== DAILY WORK HOURLY ALERT ===== */
/* ===== DAILY WORK HOURLY ALERT ===== */
.daily-work-alert-stack{
  position:fixed;right:22px;top:96px;z-index:10020;
  width:min(410px,calc(100vw - 28px));pointer-events:none
}
.daily-work-alert{
  pointer-events:auto;position:relative;overflow:hidden;
  border:1px solid #fecaca;border-left:6px solid #c1121f;border-radius:17px;
  background:linear-gradient(145deg,#fff 0%,#fff7f7 100%);
  box-shadow:0 22px 55px rgba(71,13,22,.20),0 4px 14px rgba(15,23,42,.08);
  padding:16px 17px 15px;animation:dailyWorkAlertIn .25s ease both
}
.daily-work-alert:before{
  content:"";position:absolute;right:-38px;top:-52px;width:150px;height:150px;border-radius:50%;
  background:radial-gradient(circle,rgba(193,18,31,.12),transparent 68%);pointer-events:none
}
.daily-work-alert-head{display:flex;align-items:flex-start;gap:11px;padding-right:24px}
.daily-work-alert-icon{
  flex:0 0 40px;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;
  background:linear-gradient(135deg,#dc2626,#991b1b);color:#fff;font-size:19px;
  box-shadow:0 8px 18px rgba(193,18,31,.22)
}
.daily-work-alert-title{font-size:14px;font-weight:950;color:#7f1d1d;letter-spacing:.1px}
.daily-work-alert-sub{font-size:12px;color:#6b7280;margin-top:2px;line-height:1.4}
.daily-work-alert-close{
  position:absolute;right:10px;top:9px;width:28px;height:28px;border:0;border-radius:9px;
  background:#fff;color:#6b7280;font-size:18px;line-height:1;cursor:pointer
}
.daily-work-alert-close:hover{background:#fee2e2;color:#991b1b}
.daily-work-alert-progress{
  margin-top:13px;padding:11px 12px;border-radius:12px;background:#fff;border:1px solid #f3d7db;
  display:grid;grid-template-columns:1fr 1fr;gap:9px
}
.daily-work-alert-progress b{display:block;font-size:15px;color:#111827}
.daily-work-alert-progress span{display:block;font-size:10px;color:#7b8190;margin-top:1px;text-transform:uppercase;letter-spacing:.45px;font-weight:800}
.daily-work-alert-rule{
  margin-top:11px;padding:10px 11px;border-radius:11px;background:#fff3cd;border:1px solid #f6d887;
  color:#744b00;font-size:12px;line-height:1.5;font-weight:750
}
.daily-work-alert-note{margin-top:9px;color:#8b1b27;font-size:12px;line-height:1.5;font-weight:800}
.daily-work-alert-bar{height:6px;border-radius:999px;background:#f1f1f3;margin-top:12px;overflow:hidden}
.daily-work-alert-bar > i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#ef4444,#f59e0b);transition:width .25s ease}
@keyframes dailyWorkAlertIn{from{opacity:0;transform:translateY(-10px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:700px){.daily-work-alert-stack{right:12px;left:12px;top:82px;width:auto}.daily-work-alert-progress{grid-template-columns:1fr 1fr}}

/* ===== LUXURY V2 CLEAR REDESIGN ===== */
/* ===== LUXURY V2 CLEAR REDESIGN ===== */
body.app-body:not(.hr-love-theme){
  --v2-gold:#d4a72c;
  --v2-burgundy:#6f0f1c;
  --v2-red:#d31530;
  --v2-ink:#0c0e12;
  --v2-panel:#11141a;
  --v2-soft:#f7f8fb;
  background:
    radial-gradient(circle at 84% 5%,rgba(211,21,48,.09),transparent 25%),
    radial-gradient(circle at 10% 86%,rgba(37,99,235,.055),transparent 22%),
    linear-gradient(145deg,#f7f8fb 0%,#fff 45%,#fbf7f8 100%)!important;
}

/* HEADER — stronger premium identity */
body.app-body:not(.hr-love-theme) .app-header{
  min-height:82px!important;
  padding:13px 24px!important;
  background:
    radial-gradient(circle at 86% -40%,rgba(211,21,48,.48),transparent 34%),
    linear-gradient(105deg,#08090c 0%,#14171c 48%,#2b0c12 78%,#5f0c1a 120%)!important;
  border-bottom:0!important;
  box-shadow:0 18px 38px rgba(7,10,16,.26)!important;
}
body.app-body:not(.hr-love-theme) .app-header:after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:3px;
  background:linear-gradient(90deg,#6f0f1c 0%,#d31530 38%,#d4a72c 64%,#d31530 82%,#6f0f1c 100%);
}
body.app-body:not(.hr-love-theme) .brand-mark{
  width:50px!important;height:50px!important;border-radius:17px!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.15),0 12px 30px rgba(211,21,48,.35)!important;
}
body.app-body:not(.hr-love-theme) .brand-name{
  font-size:20px!important;font-weight:950!important;letter-spacing:-.55px!important
}
body.app-body:not(.hr-love-theme) .brand-subtitle{
  color:#e3e5e9!important;font-size:11px!important;letter-spacing:.45px!important
}
body.app-body:not(.hr-love-theme) .header-search-wrap{max-width:700px!important}
body.app-body:not(.hr-love-theme) .header-search-box{
  min-height:48px!important;border-radius:15px!important;
  background:rgba(255,255,255,.97)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.24)!important;
}
body.app-body:not(.hr-love-theme) .search-shortcut{
  border-radius:10px!important;
  background:linear-gradient(135deg,#fff5f6,#ffe4e9)!important;
  color:#9f1239!important;font-weight:900!important
}
body.app-body:not(.hr-love-theme) .logout-link{
  border-radius:12px!important;min-height:42px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 10px 22px rgba(0,0,0,.20)!important
}

/* SIDEBAR — clearly different dark luxury look */
body.app-body:not(.hr-love-theme) .sidebar{
  width:270px!important;flex-basis:270px!important;
  top:82px!important;height:calc(100vh - 82px)!important;
  padding:18px 14px!important;
  background:
    radial-gradient(circle at 20% 2%,rgba(211,21,48,.18),transparent 28%),
    linear-gradient(180deg,#0c0e12 0%,#11141a 55%,#15171d 100%)!important;
  border-right:1px solid rgba(255,255,255,.06)!important;
  box-shadow:14px 0 38px rgba(15,23,42,.12)!important;
}
body.app-body:not(.hr-love-theme) .sidebar-title{color:#fff!important;font-weight:950!important}
body.app-body:not(.hr-love-theme) .sidebar-subtitle{color:#8f97a7!important}
body.app-body:not(.hr-love-theme) .sidebar-head{
  border-bottom:1px solid rgba(255,255,255,.08)!important;padding:3px 7px 16px!important
}
body.app-body:not(.hr-love-theme) .nav-section{
  color:#8d94a3!important;border-color:rgba(255,255,255,.08)!important;
  letter-spacing:1.25px!important;margin-top:14px!important
}
body.app-body:not(.hr-love-theme) .side-link{
  min-height:49px!important;
  color:#d8dce5!important;
  border:1px solid transparent!important;
  border-radius:14px!important;
  margin:3px 0!important;
}
body.app-body:not(.hr-love-theme) .side-link:hover{
  color:#fff!important;
  background:rgba(255,255,255,.055)!important;
  border-color:rgba(255,255,255,.08)!important;
  transform:translateX(4px)!important;
  box-shadow:none!important
}
body.app-body:not(.hr-love-theme) .side-link.active{
  color:#fff!important;
  background:
    linear-gradient(90deg,rgba(211,21,48,.97),rgba(145,14,33,.92))!important;
  border-color:rgba(255,255,255,.11)!important;
  box-shadow:0 12px 28px rgba(126,11,29,.28)!important
}
body.app-body:not(.hr-love-theme) .side-link.active:before{display:none!important}
body.app-body:not(.hr-love-theme) .side-link .nav-icon{
  width:34px!important;height:34px!important;border-radius:11px!important;
  border:1px solid rgba(255,255,255,.11)!important;
  box-shadow:0 7px 14px rgba(0,0,0,.20)!important
}
body.app-body:not(.hr-love-theme) .side-link.active .nav-icon{
  background:#fff!important;color:#a60e24!important;border-color:#fff!important;
  box-shadow:0 7px 18px rgba(0,0,0,.18)!important
}
body.app-body:not(.hr-love-theme) .nav-index:not(.active) .nav-icon{background:#11264b!important;color:#60a5fa!important}
body.app-body:not(.hr-love-theme) .nav-orders:not(.active) .nav-icon{background:#40210d!important;color:#fb923c!important}
body.app-body:not(.hr-love-theme) .nav-products:not(.active) .nav-icon{background:#281b4b!important;color:#a78bfa!important}
body.app-body:not(.hr-love-theme) .nav-customers:not(.active) .nav-icon{background:#0d3340!important;color:#22d3ee!important}
body.app-body:not(.hr-love-theme) .nav-leads:not(.active) .nav-icon{background:#441322!important;color:#fb7185!important}
body.app-body:not(.hr-love-theme) .nav-attendance:not(.active) .nav-icon{background:#113720!important;color:#4ade80!important}
body.app-body:not(.hr-love-theme) .nav-tasks:not(.active) .nav-icon{background:#1c2550!important;color:#818cf8!important}
body.app-body:not(.hr-love-theme) .nav-chat:not(.active) .nav-icon{background:#0e3150!important;color:#38bdf8!important}
body.app-body:not(.hr-love-theme) .nav-shipping:not(.active) .nav-icon{background:#453006!important;color:#fbbf24!important}
body.app-body:not(.hr-love-theme) .nav-delhivery-tracking:not(.active) .nav-icon{background:#242933!important;color:#cbd5e1!important}
body.app-body:not(.hr-love-theme) .nav-users:not(.active) .nav-icon{background:#31154b!important;color:#c084fc!important}
body.app-body:not(.hr-love-theme) .nav-departments:not(.active) .nav-icon{background:#103735!important;color:#2dd4bf!important}
body.app-body:not(.hr-love-theme) .nav-leaderboard:not(.active) .nav-icon{background:#44320a!important;color:#facc15!important}
body.app-body:not(.hr-love-theme) .nav-salary:not(.active) .nav-icon{background:#12361d!important;color:#4ade80!important}
body.app-body:not(.hr-love-theme) .nav-ip-whitelist:not(.active) .nav-icon{background:#172851!important;color:#60a5fa!important}
body.app-body:not(.hr-love-theme) .nav-lead-assignment-rules:not(.active) .nav-icon{background:#43152f!important;color:#f472b6!important}
body.app-body:not(.hr-love-theme) .nav-daily-incentives:not(.active) .nav-icon{background:#46300b!important;color:#fbbf24!important}

body.app-body:not(.hr-love-theme) .support-box{
  background:
    radial-gradient(circle at 85% 5%,rgba(212,167,44,.18),transparent 32%),
    linear-gradient(145deg,#191c22,#242832)!important;
  border:1px solid rgba(212,167,44,.16)!important;
  color:#fff!important;
  box-shadow:0 16px 30px rgba(0,0,0,.26)!important
}
body.app-body:not(.hr-love-theme) .support-box strong{color:#f2d47a!important}

/* MAIN CONTENT */
body.app-body:not(.hr-love-theme) .main-shell{
  background:
    radial-gradient(circle at 86% 4%,rgba(211,21,48,.055),transparent 23%),
    linear-gradient(180deg,#f8f9fb,#f5f6f9)!important
}
body.app-body:not(.hr-love-theme) .container{padding:28px 30px 34px!important}
body.app-body:not(.hr-love-theme) .container > h1,
body.app-body:not(.hr-love-theme) .container .row > h1{
  font-size:30px!important;font-weight:950!important;letter-spacing:-.9px!important
}

/* GENERAL PANELS */
body.app-body:not(.hr-love-theme) .card{
  border-radius:20px!important;
  border:1px solid #e7e9ef!important;
  box-shadow:0 14px 35px rgba(15,23,42,.07)!important;
  background:linear-gradient(180deg,#fff,#fcfcfd)!important
}
body.app-body:not(.hr-love-theme) .card:hover{
  box-shadow:0 20px 45px rgba(15,23,42,.10)!important
}
body.app-body:not(.hr-love-theme) .btn{
  border-radius:12px!important;min-height:42px!important;
  background:linear-gradient(135deg,#e11d3a,#a40e22)!important;
  box-shadow:0 10px 22px rgba(193,18,31,.20)!important
}
body.app-body:not(.hr-love-theme) .btn.secondary{
  background:linear-gradient(135deg,#24272e,#111318)!important
}
body.app-body:not(.hr-love-theme) input,
body.app-body:not(.hr-love-theme) select,
body.app-body:not(.hr-love-theme) textarea{
  min-height:44px!important;border-radius:12px!important;background:#fff!important
}
body.app-body:not(.hr-love-theme) textarea{min-height:100px!important}

/* TABLES — strong premium container */
body.app-body:not(.hr-love-theme) table{
  border-collapse:separate!important;border-spacing:0 8px!important
}
body.app-body:not(.hr-love-theme) table th{
  background:transparent!important;border:0!important;color:#737b89!important;
  font-size:10px!important;text-transform:uppercase!important;letter-spacing:.85px!important
}
body.app-body:not(.hr-love-theme) table td{
  background:#fff!important;border-top:1px solid #eceef2!important;border-bottom:1px solid #eceef2!important;
  padding-top:13px!important;padding-bottom:13px!important
}
body.app-body:not(.hr-love-theme) table td:first-child{
  border-left:1px solid #eceef2!important;border-radius:12px 0 0 12px!important
}
body.app-body:not(.hr-love-theme) table td:last-child{
  border-right:1px solid #eceef2!important;border-radius:0 12px 12px 0!important
}
body.app-body:not(.hr-love-theme) table tr:hover td{
  background:#fff8f9!important;border-color:#f2d9de!important
}

/* DASHBOARD — unmistakably premium */
body.app-body:not(.hr-love-theme) .el-dashboard{--db-shadow:0 14px 36px rgba(15,23,42,.08)!important}
body.app-body:not(.hr-love-theme) .el-dashboard .db-hero{
  min-height:150px!important;padding:28px 30px!important;border-radius:24px!important;
  background:
    radial-gradient(circle at 83% 20%,rgba(212,167,44,.20),transparent 24%),
    radial-gradient(circle at 94% 80%,rgba(211,21,48,.34),transparent 26%),
    linear-gradient(120deg,#090b0f 0%,#16191f 50%,#4d0c17 100%)!important;
  box-shadow:0 22px 48px rgba(15,23,42,.20)!important
}
body.app-body:not(.hr-love-theme) .el-dashboard .db-hero:before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.06) 44%,transparent 63%);
}
body.app-body:not(.hr-love-theme) .el-dashboard .db-eyebrow{color:#f5d77e!important;letter-spacing:1.25px!important}
body.app-body:not(.hr-love-theme) .el-dashboard .db-hero h1{font-size:32px!important}
body.app-body:not(.hr-love-theme) .el-dashboard .db-new-order{
  min-height:46px!important;border-radius:13px!important;font-weight:900!important
}

body.app-body:not(.hr-love-theme) .el-dashboard .db-filter{
  border-radius:20px!important;border:1px solid #e8eaf0!important;
  box-shadow:0 13px 30px rgba(15,23,42,.06)!important
}
body.app-body:not(.hr-love-theme) .el-dashboard .db-top-performer{
  border-radius:20px!important;
  background:
    radial-gradient(circle at 92% 20%,rgba(212,167,44,.15),transparent 26%),
    linear-gradient(115deg,#fffaf0,#fff 52%,#fff2f4)!important;
  border-color:#f2d596!important;
  box-shadow:0 14px 34px rgba(146,91,14,.10)!important
}
body.app-body:not(.hr-love-theme) .el-dashboard .db-trophy{
  background:linear-gradient(145deg,#e7b52f,#bd7d09)!important;
  box-shadow:0 12px 25px rgba(189,125,9,.25)!important
}

body.app-body:not(.hr-love-theme) .el-dashboard .db-money-grid{gap:16px!important}
body.app-body:not(.hr-love-theme) .el-dashboard .db-money-card{
  min-height:152px!important;border-radius:20px!important;padding:19px 20px!important;
  box-shadow:0 15px 34px rgba(15,23,42,.08)!important
}
body.app-body:not(.hr-love-theme) .el-dashboard .db-money-card.dark{
  background:
    radial-gradient(circle at 90% 15%,rgba(212,167,44,.18),transparent 27%),
    linear-gradient(145deg,#0b0d11,#22262d)!important
}
body.app-body:not(.hr-love-theme) .el-dashboard .db-money-card.red{
  background:
    radial-gradient(circle at 90% 15%,rgba(255,255,255,.15),transparent 28%),
    linear-gradient(145deg,#870f20,#df1c38)!important
}
body.app-body:not(.hr-love-theme) .el-dashboard .db-money-card.soft:nth-child(3){
  background:linear-gradient(145deg,#effcf5,#fff)!important;border-color:#b9ebcc!important
}
body.app-body:not(.hr-love-theme) .el-dashboard .db-money-card.soft:nth-child(4){
  background:linear-gradient(145deg,#f3efff,#fff)!important;border-color:#ddd2ff!important
}
body.app-body:not(.hr-love-theme) .el-dashboard .db-money-card.soft:nth-child(5){
  background:linear-gradient(145deg,#fff6ec,#fff)!important;border-color:#ffdec0!important
}
body.app-body:not(.hr-love-theme) .el-dashboard .db-money-value{
  font-size:28px!important;letter-spacing:-.8px!important
}

body.app-body:not(.hr-love-theme) .el-dashboard .db-status-grid{gap:12px!important}
body.app-body:not(.hr-love-theme) .el-dashboard .db-status-card{
  border-radius:18px!important;min-height:115px!important;
  box-shadow:0 11px 26px rgba(15,23,42,.06)!important;
  border:1px solid #e9eaf0!important
}
body.app-body:not(.hr-love-theme) .el-dashboard .db-status-card.pending{background:linear-gradient(145deg,#fff8e8,#fff)!important}
body.app-body:not(.hr-love-theme) .el-dashboard .db-status-card.done{background:linear-gradient(145deg,#fff8c9,#fff)!important}
body.app-body:not(.hr-love-theme) .el-dashboard .db-status-card.confirmwait{background:linear-gradient(145deg,#f3efff,#fff)!important}
body.app-body:not(.hr-love-theme) .el-dashboard .db-status-card.confirmed{background:linear-gradient(145deg,#fff1e8,#fff)!important}
body.app-body:not(.hr-love-theme) .el-dashboard .db-status-card.delivered{background:linear-gradient(145deg,#ebfff3,#fff)!important}
body.app-body:not(.hr-love-theme) .el-dashboard .db-status-card.cancelled{background:linear-gradient(145deg,#fff0f2,#fff)!important}
body.app-body:not(.hr-love-theme) .el-dashboard .db-status-number{font-size:25px!important;font-weight:950!important}

body.app-body:not(.hr-love-theme) .el-dashboard .db-panel{
  border-radius:20px!important;border:1px solid #e8eaf0!important;
  box-shadow:0 14px 34px rgba(15,23,42,.07)!important
}

/* LOGIN — premium boutique-software look */
.login-page{
  background:
    radial-gradient(circle at 15% 15%,rgba(211,21,48,.26),transparent 26%),
    radial-gradient(circle at 88% 84%,rgba(212,167,44,.12),transparent 28%),
    linear-gradient(135deg,#05070a 0%,#11141a 52%,#3e0b14 110%)!important
}
.login-panel{
  max-width:1040px!important;
  border-radius:30px!important;
  box-shadow:0 40px 95px rgba(0,0,0,.42)!important
}
.login-side{
  background:
    radial-gradient(circle at 82% 12%,rgba(212,167,44,.18),transparent 29%),
    linear-gradient(145deg,#0b0d11 0%,#171b21 55%,#5d0d1c 125%)!important
}
.login-card{
  background:
    radial-gradient(circle at 100% 0%,rgba(211,21,48,.08),transparent 25%),
    linear-gradient(180deg,#fff,#fafbfc)!important
}
.login-side h1{font-size:34px!important}
.login-logo{width:76px!important;height:76px!important;border-radius:22px!important}
.login-card h2{font-size:29px!important;letter-spacing:-.6px!important}

/* mobile */
@media(max-width:960px){
  body.app-body:not(.hr-love-theme) .sidebar{
    top:0!important;height:100vh!important;width:285px!important;flex-basis:285px!important
  }
  body.app-body:not(.hr-love-theme) .container{padding:20px 15px 28px!important}
}

/* ===== PERSONAL LIVE THEMES: NATURE + LOVE ===== */
/* ===== PERSONAL LIVE THEMES: NATURE + LOVE ===== */
.active-theme-pill{
  display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 11px;border-radius:999px;
  font-size:10px;font-weight:950;letter-spacing:.7px;text-transform:uppercase;
  border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.09);color:#fff;
  backdrop-filter:blur(10px)
}
.personal-theme-card{background:linear-gradient(135deg,#f7fff9,#fff,#fff6fa)!important}
.theme-choice-preview{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.theme-choice{display:inline-flex;padding:8px 11px;border-radius:999px;font-size:11px;font-weight:850;border:1px solid}
.theme-choice.nature,.theme-badge-nature{background:#ecfdf3!important;color:#11603c!important;border-color:#a9e8c4!important}
.theme-choice.love,.theme-badge-love{background:#fff1f6!important;color:#9f1747!important;border-color:#f7b8d0!important}

/* rotating scene selector */
.theme-nature.theme-scene-1{--personal-scene:url('assets/theme-nature-forest.svg')}
.theme-nature.theme-scene-2{--personal-scene:url('assets/theme-nature-waterfall.svg')}
.theme-nature.theme-scene-3{--personal-scene:url('assets/theme-nature-mountain.svg')}
.theme-love.theme-scene-1{--personal-scene:url('assets/theme-love-blossom.svg')}
.theme-love.theme-scene-2{--personal-scene:url('assets/theme-love-sunset.svg')}
.theme-love.theme-scene-3{--personal-scene:url('assets/theme-love-garden.svg')}

.theme-nature .main-shell,.theme-love .main-shell{position:relative;isolation:isolate;overflow:hidden}
.theme-nature .main-shell:before,.theme-love .main-shell:before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:var(--personal-scene);background-size:cover;background-position:center;background-attachment:fixed;
  opacity:.20;transition:opacity .7s ease,filter .7s ease;filter:saturate(.95)
}
.theme-nature.theme-transitioning .main-shell:before,.theme-love.theme-transitioning .main-shell:before{opacity:.03;filter:blur(5px) saturate(.8)}
.theme-nature .container,.theme-love .container,.theme-nature .footer,.theme-love .footer{position:relative;z-index:1}

/* NATURE */
.theme-nature{
  --red:#20845e;--red-dark:#0f6848;--red-soft:#ecfdf3;--success:#15803d;
  background:#eaf5ee!important
}
.theme-nature .app-header{
  background:
    radial-gradient(circle at 84% -30%,rgba(62,180,121,.30),transparent 35%),
    linear-gradient(105deg,#061611 0%,#0b2c20 48%,#0f4f38 100%)!important;
  box-shadow:0 15px 38px rgba(3,35,24,.26)!important
}
.theme-nature .app-header:after{background:linear-gradient(90deg,#0f6b49,#42c07f,#d9c56b,#42c07f,#0f6b49)!important}
.theme-nature .active-theme-pill{background:rgba(88,200,139,.15);border-color:rgba(148,235,188,.25);color:#c9f7dd}
.theme-nature .sidebar{
  background:
    radial-gradient(circle at 20% 3%,rgba(70,181,118,.22),transparent 28%),
    linear-gradient(180deg,#071912,#0a2b20 55%,#0c3728 100%)!important
}
.theme-nature .side-link.active{background:linear-gradient(90deg,#1b8b5f,#116747)!important;box-shadow:0 12px 28px rgba(17,103,71,.28)!important}
.theme-nature .support-box{
  background:radial-gradient(circle at 85% 8%,rgba(213,196,101,.18),transparent 30%),linear-gradient(145deg,#0c3325,#164c36)!important;
  border-color:rgba(192,217,149,.18)!important
}
.theme-nature .main-shell{background:linear-gradient(180deg,rgba(239,249,242,.90),rgba(247,251,246,.94))!important}
.theme-nature .card,.theme-nature .el-dashboard .db-panel,.theme-nature .el-dashboard .db-filter{
  background:rgba(255,255,255,.90)!important;backdrop-filter:blur(8px);
  border-color:rgba(190,218,199,.75)!important
}
.theme-nature .el-dashboard .db-hero{
  background-image:linear-gradient(100deg,rgba(3,31,22,.90),rgba(4,67,45,.72),rgba(7,76,51,.30)),var(--personal-scene)!important;
  background-size:cover!important;background-position:center!important;
  box-shadow:0 22px 50px rgba(8,68,46,.23)!important
}
.theme-nature .el-dashboard .db-hero:before{background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.08) 45%,transparent 70%)!important}
.theme-nature .el-dashboard .db-eyebrow{color:#cdf8db!important}
.theme-nature .el-dashboard .db-money-card.red{background:linear-gradient(145deg,#0d6d4b,#28a56f)!important}
.theme-nature .el-dashboard .db-money-card.dark{background:linear-gradient(145deg,#071d15,#173a2c)!important}
.theme-nature .btn{background:linear-gradient(135deg,#24966a,#116646)!important;box-shadow:0 10px 22px rgba(17,102,70,.20)!important}
.theme-nature .status-confirmed{background:linear-gradient(135deg,#29a873,#11734f)!important;border-color:#0d6545!important}
.theme-nature .footer{background:rgba(244,251,246,.88)!important;border-top-color:#cfe5d6!important}
.theme-nature table td{background:rgba(255,255,255,.91)!important}
.theme-nature table tr:hover td{background:rgba(238,251,243,.95)!important}

/* LOVE */
.theme-love{
  --red:#d83d73;--red-dark:#9c1e4e;--red-soft:#fff0f5;
  background:#fff2f5!important
}
.theme-love .app-header{
  background:
    radial-gradient(circle at 83% -35%,rgba(255,151,178,.38),transparent 34%),
    linear-gradient(105deg,#2a101c 0%,#59162f 48%,#9d3157 100%)!important;
  box-shadow:0 15px 38px rgba(93,21,52,.22)!important
}
.theme-love .app-header:after{background:linear-gradient(90deg,#8b2248,#f06d9a,#f6c08b,#f06d9a,#8b2248)!important}
.theme-love .active-theme-pill{background:rgba(255,188,208,.13);border-color:rgba(255,220,230,.28);color:#ffe5ee}
.theme-love .sidebar{
  background:
    radial-gradient(circle at 22% 5%,rgba(247,112,157,.24),transparent 28%),
    linear-gradient(180deg,#35101f,#55152d 56%,#701c39 100%)!important
}
.theme-love .side-link.active{background:linear-gradient(90deg,#e04d7d,#a91f51)!important;box-shadow:0 12px 28px rgba(156,30,78,.30)!important}
.theme-love .support-box{
  background:radial-gradient(circle at 84% 5%,rgba(246,192,139,.19),transparent 30%),linear-gradient(145deg,#52152c,#7b2342)!important;
  border-color:rgba(255,214,224,.16)!important
}
.theme-love .main-shell{background:linear-gradient(180deg,rgba(255,246,248,.91),rgba(255,250,246,.94))!important}
.theme-love .card,.theme-love .el-dashboard .db-panel,.theme-love .el-dashboard .db-filter{
  background:rgba(255,255,255,.89)!important;backdrop-filter:blur(8px);
  border-color:rgba(245,196,211,.78)!important
}
.theme-love .el-dashboard .db-hero{
  background-image:linear-gradient(100deg,rgba(76,19,43,.88),rgba(148,45,82,.60),rgba(208,86,123,.22)),var(--personal-scene)!important;
  background-size:cover!important;background-position:center!important;
  box-shadow:0 22px 50px rgba(142,35,77,.22)!important
}
.theme-love .el-dashboard .db-hero:before{background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.10) 45%,transparent 70%)!important}
.theme-love .el-dashboard .db-eyebrow{color:#ffe0ea!important}
.theme-love .el-dashboard .db-money-card.red{background:linear-gradient(145deg,#a72455,#eb5c8b)!important}
.theme-love .el-dashboard .db-money-card.dark{background:linear-gradient(145deg,#35101f,#702040)!important}
.theme-love .btn{background:linear-gradient(135deg,#e34d7f,#a31f50)!important;box-shadow:0 10px 22px rgba(163,31,80,.20)!important}
.theme-love .status-confirmed{background:linear-gradient(135deg,#f28a55,#e05f45)!important}
.theme-love .footer{background:rgba(255,247,250,.88)!important;border-top-color:#f4ccd9!important}
.theme-love table td{background:rgba(255,255,255,.91)!important}
.theme-love table tr:hover td{background:rgba(255,242,247,.96)!important}

/* lightweight floating ambience */
.theme-nature .main-shell:after,.theme-love .main-shell:after{
  position:fixed;right:28px;bottom:22px;z-index:1;pointer-events:none;
  font-size:32px;opacity:.20;filter:drop-shadow(0 6px 15px rgba(0,0,0,.12));
  animation:themeFloat 5.5s ease-in-out infinite
}
.theme-nature .main-shell:after{content:"🍃"}
.theme-love .main-shell:after{content:"♥";color:#db4d7d}
@keyframes themeFloat{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-12px) rotate(5deg)}}

@media(max-width:900px){
 .active-theme-pill{display:none}
 .theme-nature .main-shell:before,.theme-love .main-shell:before{background-attachment:scroll;opacity:.15}
}



/* ===== SHARED WHATSAPP CRM INBOX ===== */
.nav-whatsapp-inbox:not(.active) .nav-icon{background:#0d3d2f!important;color:#25d366!important}
.wa-menu-badge{margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#16a34a;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:900;box-shadow:0 3px 10px rgba(22,163,74,.28)}
.wa-menu-badge[hidden]{display:none!important}
.wa-shell{display:grid;grid-template-columns:330px minmax(0,1fr);min-height:680px;border:1px solid #e5e7eb;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 18px 42px rgba(15,23,42,.08)}
.wa-list{background:#f7f8fa;border-right:1px solid #e5e7eb;overflow:auto;max-height:78vh}.wa-list-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:15px 16px;background:rgba(255,255,255,.96);border-bottom:1px solid #e7e8ec}.wa-conv{display:flex;gap:10px;padding:12px 13px;border-bottom:1px solid #eceef2;color:#1f2937}.wa-conv:hover{background:#fff}.wa-conv.active{background:#edfdf4;border-left:4px solid #16a34a;padding-left:9px}.wa-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#25d366,#0f9f56);color:#fff;font-weight:950;flex:0 0 42px}.wa-conv-copy{min-width:0;flex:1}.wa-conv-top{display:flex;gap:8px;align-items:center;justify-content:space-between}.wa-preview{font-size:12px;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:3px 0}.wa-conv small{color:#8a919e}.wa-unread{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#16a34a;color:#fff;font-size:10px;font-weight:900;display:inline-flex;align-items:center;justify-content:center}
.wa-chat{min-width:0;background:linear-gradient(180deg,#f8fbf9,#f3f6f4)}.wa-chat-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 18px;background:#fff;border-bottom:1px solid #e5e7eb}.wa-chat-head h3{margin:0}.wa-chat-head small{color:#6b7280}.wa-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.wa-messages{padding:20px;min-height:430px;max-height:58vh;overflow:auto;background-image:radial-gradient(circle at 15% 20%,rgba(37,211,102,.04),transparent 25%),radial-gradient(circle at 85% 70%,rgba(37,211,102,.04),transparent 25%)}.wa-msg{display:flex;margin:9px 0}.wa-msg.in{justify-content:flex-start}.wa-msg.out{justify-content:flex-end}.wa-bubble{max-width:min(72%,640px);padding:10px 12px;border-radius:14px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 5px 14px rgba(15,23,42,.05);line-height:1.45}.wa-msg.out .wa-bubble{background:#dcf8e8;border-color:#baeacb}.wa-meta{margin-top:6px;font-size:9px;color:#808692;text-align:right}.wa-compose{padding:14px 16px;background:#fff;border-top:1px solid #e5e7eb}.wa-send-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.wa-send-form textarea{min-height:54px;max-height:160px}.wa-template-form{display:grid;grid-template-columns:1fr 180px auto;gap:10px;align-items:end}.wa-empty,.wa-empty-chat{padding:28px;color:#6b7280;text-align:center}.wa-empty-chat{min-height:620px;display:grid;place-items:center;align-content:center}.wa-logo{width:78px;height:78px;border-radius:24px;display:grid;place-items:center;background:linear-gradient(135deg,#25d366,#128c7e);color:#fff;font-weight:950;font-size:24px;box-shadow:0 18px 36px rgba(18,140,126,.18)}.wa-empty-chat h3{margin:15px 0 5px}.wa-empty-chat p{max-width:480px}.wa-audit{padding:16px;background:#fff;border-top:1px solid #e5e7eb}.wa-audit h3{margin-top:0}
.theme-nature .wa-shell{border-color:#bcdcc8}.theme-love .wa-shell{border-color:#f0bfd0}
@media(max-width:900px){.wa-shell{grid-template-columns:1fr}.wa-list{max-height:330px;border-right:0;border-bottom:1px solid #e5e7eb}.wa-chat-head{align-items:flex-start;flex-direction:column}.wa-send-form,.wa-template-form{grid-template-columns:1fr}.wa-bubble{max-width:88%}}

/* Staff own-order live Delhivery tracking */
.order-tracking-cell{min-width:190px}
.order-tracking-cell .tracking-raw-line{margin-top:5px;font-size:11px;font-weight:750;color:#475569;line-height:1.25}
.order-tracking-cell .tracking-location-line{margin-top:4px;font-size:11px;font-weight:850;color:#0f6b49;line-height:1.25}
.order-tracking-cell .tracking-awb-line,.order-tracking-cell .tracking-updated-line{margin-top:3px;font-size:10px;color:#6b7280;line-height:1.25}
.order-tracking-cell .tracking-open-link{display:inline-block;margin-top:5px;font-size:10px;font-weight:900;text-decoration:underline}
.order-tracking-cell [hidden]{display:none!important}
.theme-love .order-tracking-cell .tracking-location-line{color:#a91f51}
