:root {
  --lab: #0f766e;
  --lab-dark: #0b4f4a;
  --lab-deep: #083b38;
  --lab-soft: #e6f4f2;
  --accent: #f59e0b;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f4f7f7;
}
body { font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color: var(--ink); background: #fff; }
a { color: var(--lab); }
.btn-lab { background: var(--lab); border-color: var(--lab); color: #fff; }
.btn-lab:hover, .btn-lab:focus { background: var(--lab-dark); border-color: var(--lab-dark); color: #fff; }
.btn-outline-lab { border-color: var(--lab); color: var(--lab); }
.btn-outline-lab:hover { background: var(--lab); color: #fff; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #1f2937; font-weight: 600; }
.btn-accent:hover { background: #d98a06; border-color: #d98a06; color: #1f2937; }
.text-lab { color: var(--lab) !important; }
.bg-lab-soft { background: var(--lab-soft); }
.form-control:focus, .form-select:focus { border-color: var(--lab); box-shadow: 0 0 0 .2rem rgba(15,118,110,.15); }
.form-check-input:checked { background-color: var(--lab); border-color: var(--lab); }

/* ---------- Public website ---------- */
.topbar { background: var(--lab-deep); color: #cfe7e4; font-size: .85rem; padding: 6px 0; }
.topbar a { color: #fff; text-decoration: none; }
.site-nav { background: #fff; border-bottom: 1px solid var(--line); }
.site-nav .navbar-brand { font-weight: 700; color: var(--lab-dark); display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--lab); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; flex: none; }
.site-nav .nav-link { color: var(--ink); font-weight: 500; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--lab); }
.hero { background: linear-gradient(120deg, var(--lab-deep), var(--lab) 70%); color: #fff; padding: 72px 0; }
.hero h1 { font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2; }
.hero p { color: #d5efec; font-size: 1.1rem; max-width: 560px; }
.hero-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 24px; box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.section { padding: 56px 0; }
.section-title { font-weight: 700; margin-bottom: 6px; }
.section-sub { color: var(--muted); margin-bottom: 28px; }
.feature { border: 1px solid var(--line); border-radius: 12px; padding: 22px; height: 100%; background: #fff; }
.feature i { font-size: 1.6rem; color: var(--lab); }
.feature h5 { margin: 12px 0 6px; font-weight: 600; font-size: 1.05rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.test-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; height: 100%; background: #fff; display: flex; flex-direction: column; }
.test-card .dept { font-size: .75rem; color: var(--lab); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.test-card .name { font-weight: 600; margin: 4px 0 10px; }
.test-card .rate { margin-top: auto; font-weight: 700; font-size: 1.1rem; }
.page-head { background: var(--lab-soft); padding: 34px 0; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 1.7rem; font-weight: 700; margin: 0; color: var(--lab-deep); }
.site-footer { background: var(--lab-deep); color: #b9d8d4; padding: 36px 0 18px; font-size: .92rem; }
.site-footer h6 { color: #fff; font-weight: 600; }
.site-footer a { color: #d5efec; text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ---------- Login ---------- */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(120deg, var(--lab-deep), var(--lab)); padding: 20px; }
.auth-card { width: 100%; max-width: 400px; background: #fff; border-radius: 14px; padding: 32px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }

/* ---------- Staff panel ---------- */
.panel-body { background: var(--bg); }
.sidebar { width: 236px; background: var(--lab-deep); color: #cfe7e4; position: fixed; top: 0; bottom: 0; left: 0; overflow-y: auto; z-index: 1030; }
.sidebar .brand { padding: 16px 18px; color: #fff; font-weight: 700; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.08); text-decoration: none; line-height: 1.2; }
.sidebar .menu-head { padding: 16px 18px 6px; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #7fb5af; }
.sidebar a.item { display: flex; align-items: center; gap: 10px; padding: 9px 18px; color: #cfe7e4; text-decoration: none; font-size: .94rem; border-left: 3px solid transparent; }
.sidebar a.item:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar a.item.active { background: rgba(255,255,255,.1); color: #fff; border-left-color: var(--accent); }
.main { margin-left: 236px; min-height: 100vh; display: flex; flex-direction: column; }
.main-top { background: #fff; border-bottom: 1px solid var(--line); padding: 10px 22px; display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 1020; }
.main-top h1 { font-size: 1.15rem; font-weight: 600; margin: 0; flex: 1; }
.content { padding: 22px; flex: 1; }
.card { border: 1px solid var(--line); border-radius: 10px; }
.card-header { background: #fff; font-weight: 600; border-bottom: 1px solid var(--line); }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; height: 100%; text-decoration: none; color: inherit; }
.stat .ico { width: 46px; height: 46px; border-radius: 10px; background: var(--lab-soft); color: var(--lab); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex: none; }
.stat > div:last-child { min-width: 0; }
.stat .num { font-size: 1.3rem; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.stat .lbl { color: var(--muted); font-size: .85rem; }
.table thead th { background: #f8fafa; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); white-space: nowrap; }
.table td { vertical-align: middle; }
.badge-Pending { background: #fef3c7; color: #92400e; }
.badge-Collected, .badge-Confirmed { background: #dbeafe; color: #1e40af; }
.badge-Completed, .badge-Done { background: #d1fae5; color: #065f46; }
.badge-New { background: #fee2e2; color: #991b1b; }
.badge-Cancelled { background: #e5e7eb; color: #374151; }
.test-pick { max-height: 380px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; }
.test-pick label { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #f1f3f4; cursor: pointer; margin: 0; }
.test-pick label:hover { background: var(--lab-soft); }
.test-pick .dept-row { background: #f8fafa; padding: 5px 12px; font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; }
.menu-toggle { display: none; }
@media (max-width: 991px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s; }
  .sidebar.open { transform: none; }
  .main { margin-left: 0; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Print (bill + report) ---------- */
.print-page { max-width: 820px; margin: 20px auto; background: #fff; padding: 28px 32px; border: 1px solid var(--line); }
.print-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 3px solid var(--lab); padding-bottom: 12px; margin-bottom: 14px; gap: 16px; }
.print-head h2 { margin: 0; font-weight: 700; color: var(--lab-deep); font-size: 1.5rem; }
.print-head .small-info { font-size: .85rem; color: #374151; text-align: right; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 24px; font-size: .92rem; margin-bottom: 14px; }
.info-grid b { display: inline-block; min-width: 96px; }
.rpt-test { margin-top: 18px; }
.rpt-test h5 { background: var(--lab-soft); padding: 6px 10px; font-size: 1rem; font-weight: 700; margin: 0 0 4px; }
.rpt-table { width: 100%; font-size: .92rem; border-collapse: collapse; }
.rpt-table th { text-align: left; border-bottom: 1px solid #9ca3af; padding: 5px 8px; font-size: .8rem; text-transform: uppercase; }
.rpt-table td { padding: 5px 8px; border-bottom: 1px dotted #d1d5db; }
.rpt-foot { margin-top: 40px; display: flex; justify-content: space-between; align-items: flex-end; font-size: .85rem; color: #374151; gap: 20px; }
@media print {
  .no-print { display: none !important; }
  body { background: #fff !important; }
  .print-page { border: 0; margin: 0; padding: 0; max-width: none; }
  .rpt-test { page-break-inside: avoid; }
}

/* ---------- Test form: parameter search ---------- */
.param-search { position: relative; max-width: 760px; }
/* the result list sits inside the card (pushes the page down, never hangs outside it) */
.param-results { position: static; margin-top: 4px; max-height: 260px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; }

/* ---------- Document report editor ---------- */
.img-preview { display: block; max-width: 100%; max-height: 110px; border: 1px solid var(--line); border-radius: 6px; padding: 4px; background: #fff; }
.img-preview.sign { max-height: 70px; }

/* ---------- Report: header image, QR, document body, signatures ---------- */
.rpt-headimg, .rpt-footimg { display: block; width: 100%; height: auto; }
.rpt-headimg { margin-bottom: 14px; }
.rpt-footimg { margin-top: 16px; }
.rpt-top { display: flex; gap: 16px; align-items: flex-start; border-bottom: 1px solid #9ca3af; padding-bottom: 8px; margin-bottom: 4px; }
.rpt-top .info-grid { flex: 1; margin-bottom: 0; }
.rpt-qr { width: 84px; flex: none; }
.rpt-qr svg { display: block; width: 100%; height: auto; }
.doc-body { padding: 6px 8px; font-size: .95rem; line-height: 1.55; }
.doc-body p { margin: 0 0 4px; }
.doc-body h1 { font-size: 1.3rem; font-weight: 700; margin: 10px 0 4px; }
.doc-body h2 { font-size: 1.15rem; font-weight: 700; margin: 10px 0 4px; }
.doc-body h3, .doc-body h4 { font-size: 1rem; font-weight: 700; margin: 8px 0 4px; }
.doc-body .ql-align-center { text-align: center; }
.doc-body .ql-align-right { text-align: right; }
.doc-body .ql-align-justify { text-align: justify; }
.doc-body .ql-size-small { font-size: .8em; }
.doc-body .ql-size-large { font-size: 1.3em; }
.doc-body .ql-size-huge { font-size: 1.8em; }
.doc-body .ql-indent-1 { padding-left: 3em; } .doc-body .ql-indent-2 { padding-left: 6em; } .doc-body .ql-indent-3 { padding-left: 9em; }
.doc-body .ql-indent-4 { padding-left: 12em; } .doc-body .ql-indent-5 { padding-left: 15em; } .doc-body .ql-indent-6 { padding-left: 18em; }
.doc-body .ql-indent-7 { padding-left: 21em; } .doc-body .ql-indent-8 { padding-left: 24em; }
.rpt-sign { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 36px; font-size: .88rem; min-height: 20px; }
.rpt-sign img { display: block; max-height: 56px; max-width: 180px; margin-bottom: 2px; }
.rpt-sign .text-end img { margin-left: auto; }
.rpt-footnote { margin-top: 14px; padding-top: 8px; border-top: 1px solid #d1d5db; font-size: .8rem; color: #374151; white-space: pre-line; }
@media print {
  .rpt-newpage { page-break-before: always; }
  .rpt-sign, .rpt-footnote { page-break-inside: avoid; }
}
.rpt-doc { page-break-inside: auto; }

/* ---------- Worklist (bill-wise) ---------- */
.wl-bill .card-header { background: var(--lab-soft); }
.wl-bill .table { table-layout: fixed; }
.wl-bill .table thead th { font-size: .72rem; padding-top: 6px; padding-bottom: 6px; }

/* ---------- Report: options bar + page-wise layout ---------- */
.rpt-tools { max-width: 820px; margin: 16px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.rpt-page { display: flex; flex-direction: column; min-height: 1060px; }
.rpt-content { flex: 1; }
.rpt-bottom { margin-top: auto; padding-top: 12px; }
.rpt-bottom .rpt-sign { margin-top: 0; }
.rpt-meta { display: flex; justify-content: space-between; font-size: .78rem; color: #4b5563; margin-top: 8px; }
.doc-body { font-family: Arial, Helvetica, sans-serif; font-size: 11pt; line-height: 1.5; overflow-wrap: anywhere; }
.doc-body table { border-collapse: collapse; max-width: 100%; }
.doc-body td, .doc-body th { padding: 3px 6px; vertical-align: top; }
.doc-body ul, .doc-body ol { margin: 0 0 4px; padding-left: 1.6em; }
@page { size: A4; margin: 9mm 10mm; }
@media print {
  html, body { background: #fff !important; }
  /* on the patient website too, the report prints on the full sheet */
  .section { padding: 0 !important; background: #fff !important; }
  .section > .container { max-width: none !important; padding: 0 !important; }
  /* each rpt-page = one sheet: header at the top, signature / footer at the bottom */
  .rpt-page { min-height: 277mm; page-break-after: always; break-after: page; }
  .rpt-page:last-of-type { page-break-after: auto; break-after: auto; }
  .rpt-test { page-break-inside: avoid; }
  .rpt-doc { page-break-inside: auto; }
}
.btn-check:checked + .btn-outline-lab { background: var(--lab); border-color: var(--lab); color: #fff; }

/* ---------- Patient lists ---------- */
.pl-table th, .pl-table td { padding: .45rem .4rem; }
.pl-table td { font-size: .85rem; }
.pl-test { margin: 0; min-height: 0; line-height: 1.35; }
.pl-test .badge { font-size: .62rem; }
.pl-actions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.pl-actions .btn { font-size: .78rem; padding: .2rem .45rem; }

/* ---------- Worklist sample dropdown, patient list print options ---------- */
.wl-sample { width: auto; display: inline-block; font-weight: 600; }
.wl-sample.is-pending { background-color: #fef3c7; border-color: #f5d782; color: #92400e; }
.wl-sample.is-collected { background-color: #dbeafe; border-color: #a9c6f5; color: #1e40af; }
.pl-print { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; width: 100%; }
.pl-plain { font-size: .76rem; color: #4b5563; margin: 0; white-space: nowrap; cursor: pointer; }
@media print {
  .main { margin-left: 0 !important; }
  .content { padding: 0 !important; }
  .card { border: 0 !important; }
}

/* ---------- Dashboard ---------- */
.dash-hello { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 28px; border-radius: 16px; margin-bottom: 20px;
  color: #fff; background: linear-gradient(120deg, #083b38, #0f766e 55%, #14b8a6); box-shadow: 0 10px 26px rgba(15,118,110,.25); }
.dash-hello h2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 2px; }
.dash-tile { position: relative; display: block; overflow: hidden; padding: 22px 24px; border-radius: 16px; color: #fff; text-decoration: none; min-height: 140px;
  box-shadow: 0 8px 22px rgba(0,0,0,.12); transition: transform .15s, box-shadow .15s; }
.dash-tile:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,.18); }
.dash-tile i { position: absolute; right: 16px; top: 10px; font-size: 4.2rem; opacity: .22; }
.dash-tile .num { font-size: 2.3rem; font-weight: 800; line-height: 1.1; margin-top: 18px; overflow-wrap: anywhere; }
.dash-tile .lbl { font-size: 1rem; font-weight: 600; opacity: .95; margin-top: 4px; }
.t-blue { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.t-green { background: linear-gradient(135deg, #059669, #34d399); }
.t-red { background: linear-gradient(135deg, #dc2626, #fb7185); }
.t-orange { background: linear-gradient(135deg, #d97706, #fbbf24); }
.t-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.t-teal { background: linear-gradient(135deg, #0e7490, #22d3ee); }

/* ---------- User permissions, bill test mode ---------- */
.perm-group { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; height: 100%; background: #fff; }
.perm-head { border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 8px; }
.pkg-block { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.pkg-block > .pkg-head { display: flex; align-items: center; gap: 10px; padding: 8px 12px; margin: 0; cursor: pointer; background: #f8fafa; font-weight: 600; }
.pkg-block.on > .pkg-head { background: var(--lab-soft); }
.pkg-tests label { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 34px; border-top: 1px solid #f1f3f4; margin: 0; cursor: pointer; }

/* =====================================================================
   THEME v2 - bright look (overrides the colours and boxes defined above)
   To change the brand colour, edit the variables in :root below.
   ===================================================================== */
:root {
  --lab: #5b4bff;
  --lab-dark: #4433e6;
  --lab-deep: #1b1464;
  --lab-soft: #eeecff;
  --accent: #ffb020;
  --line: #e7e8f3;
  --bg: #f4f5fc;
  --ink: #1c1d3a;
}
.panel-body { background: var(--bg); }
.btn-lab { background: linear-gradient(135deg, #5b4bff, #8b5cf6); border: 0; box-shadow: 0 4px 12px rgba(91,75,255,.28); }
.btn-lab:hover, .btn-lab:focus { background: linear-gradient(135deg, #4433e6, #7c3aed); }
.btn-accent { background: linear-gradient(135deg, #ffb020, #ff7a45); border: 0; color: #fff; }
.btn-accent:hover { background: linear-gradient(135deg, #f59e0b, #f9623a); color: #fff; }
.btn { border-radius: 9px; }
.form-control, .form-select { border-radius: 9px; border-color: #dcdef0; }
.form-control:focus, .form-select:focus { box-shadow: 0 0 0 .2rem rgba(91,75,255,.16); }

/* sidebar */
.sidebar { background: linear-gradient(180deg, #1b1464 0%, #3a1c9c 55%, #6d28d9 100%); color: #e4e1ff; }
.sidebar .brand { border-bottom-color: rgba(255,255,255,.12); }
.sidebar .brand-mark { background: linear-gradient(135deg, #ffb020, #ff5c8a); }
.sidebar .menu-head { color: #b9b2ff; }
.sidebar a.item { color: #e4e1ff; margin: 1px 10px; padding: 9px 12px; border-left: 0; border-radius: 10px; }
.sidebar a.item:hover { background: rgba(255,255,255,.1); }
.sidebar a.item.active { background: #fff; color: var(--lab-dark); font-weight: 600; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.sidebar a.item.active i { color: #ff5c8a; }

/* top bar, cards, tables */
.main-top { border-bottom: 0; box-shadow: 0 2px 14px rgba(27,20,100,.07); }
.main-top h1 { font-weight: 700; }
.card { border: 0; border-radius: 16px; box-shadow: 0 6px 22px rgba(27,20,100,.07); overflow: hidden; }
.card-header { border-bottom: 1px solid var(--line); font-weight: 700; padding: 14px 18px; }
.stat { border: 0; border-radius: 16px; box-shadow: 0 6px 22px rgba(27,20,100,.07); }
.table thead th { background: var(--lab-soft); color: #4338ca; border-bottom: 0; }
.table-hover > tbody > tr:hover > * { background-color: #f6f5ff; }
.badge { border-radius: 20px; padding: .4em .75em; }
.wl-bill .card-header { background: linear-gradient(90deg, #eeecff, #fdf2ff); }
.alert { border: 0; border-radius: 12px; }

/* dashboard */
.dash-hello { background: linear-gradient(120deg, #1b1464, #5b4bff 50%, #ff5c8a); box-shadow: 0 12px 30px rgba(91,75,255,.3); border-radius: 20px; }
.dash-tile { border-radius: 20px; }
.t-blue { background: linear-gradient(135deg, #2f6bff, #38bdf8); }
.t-green { background: linear-gradient(135deg, #00b37a, #5eead4); }
.t-red { background: linear-gradient(135deg, #ff4d6d, #ff9a76); }
.t-orange { background: linear-gradient(135deg, #ff8a00, #ffd000); }
.t-purple { background: linear-gradient(135deg, #7c3aed, #e879f9); }
.t-teal { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.t-pink { background: linear-gradient(135deg, #ec4899, #f9a8d4); }
.t-indigo { background: linear-gradient(135deg, #4338ca, #818cf8); }
.t-slate { background: linear-gradient(135deg, #475569, #94a3b8); }

/* reports page */
.rep-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; background: #fff; text-decoration: none; color: var(--ink);
  box-shadow: 0 6px 22px rgba(27,20,100,.07); transition: transform .15s, box-shadow .15s; height: 100%; }
.rep-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(27,20,100,.14); color: var(--ink); }
.rep-ico { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem; flex: none; }
.rep-title { display: block; font-weight: 700; font-size: 1.05rem; }
.rep-text { display: block; color: var(--muted); font-size: .86rem; }

/* bill form: test type selector */
.test-mode { background: linear-gradient(90deg, #eeecff, #fdf2ff); }
.test-mode .btn { font-size: 1.05rem; font-weight: 700; padding: 12px 8px; background: #fff; border-width: 2px; }
.test-mode .btn i { margin-right: 8px; }
.test-mode .btn-check:checked + .btn { background: linear-gradient(135deg, #5b4bff, #8b5cf6); color: #fff; border-color: #5b4bff; box-shadow: 0 6px 16px rgba(91,75,255,.35); }

/* printed bill / report keep a calm colour */
@media print {
  .card { box-shadow: none !important; }
}


/* ================= Round 10: logos, masters home, image fields, classic dashboard boxes ================= */
.brand-logo { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 10px; padding: 3px; flex: none; }
.site-logo { height: 44px; max-width: 150px; object-fit: contain; margin-right: 10px; }
.footer-logo { height: 54px; max-width: 180px; object-fit: contain; background: #fff; border-radius: 10px; padding: 5px; margin-bottom: 10px; }
.about-logo { height: 90px; max-width: 260px; object-fit: contain; display: block; margin-bottom: 18px; }
.about-text { white-space: pre-line; font-size: 1.02rem; }
.about-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 24px; margin: 20px 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.social-links a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--lab); color: #fff !important; font-size: 1.05rem; text-decoration: none; transition: transform .15s; }
.social-links a:hover { transform: translateY(-2px); }
.site-footer .social-links a { background: rgba(255,255,255,.14); }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 16px; text-align: center; height: 100%; }
.doc-card img, .doc-noimg { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; background: var(--lab-soft, #eef); color: var(--lab); font-size: 3rem; }
.doc-card h5 { font-weight: 700; font-size: 1.05rem; margin: 0 0 2px; }
.doc-deg { color: var(--muted); font-size: .9rem; }
.doc-dept { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 20px; background: var(--lab); color: #fff; font-size: .8rem; }

/* bill header with the two logos */
.print-head { align-items: center; }
.print-head .ph-logo { height: 68px; max-width: 130px; object-fit: contain; flex: none; }
.print-head .ph-name { flex: 1 1 auto; }
.print-head .ph-reg { font-size: .8rem; color: #374151; margin-top: 2px; white-space: pre-wrap; }

.hub-head { font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 4px 2px 10px; }

.img-field { display: flex; gap: 12px; align-items: flex-start; }
.img-prev { width: 84px; height: 84px; flex: none; border: 1px dashed #b9bfd6; border-radius: 12px; background: #f7f8fd; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #b9bfd6; font-size: 1.8rem; }
.img-prev.wide { width: 132px; height: 70px; }
.img-prev img { width: 100%; height: 100%; object-fit: contain; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; display: inline-flex; align-items: center; justify-content: center; background: #eceafe; color: var(--lab); font-size: 1.2rem; }
.date-pick .dp-d { max-width: 82px; }
.date-pick .dp-y { max-width: 100px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 20px; background: #eceafe; color: #2a1f8f; font-size: .9rem; font-weight: 600; }
.area-chip button { border: 0; background: #fff; color: #dc2626; width: 22px; height: 22px; border-radius: 50%; line-height: 1; font-size: 1rem; cursor: pointer; }

/* classic info boxes on the dashboard: solid colour, big number, faded icon, "More info" strip */
.small-box { position: relative; display: block; overflow: hidden; border-radius: 6px; color: #fff; text-decoration: none; box-shadow: 0 2px 4px rgba(0,0,0,.18); transition: box-shadow .15s; }
.small-box:hover { color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.28); }
.small-box .sb-inner { padding: 16px 18px 14px; position: relative; z-index: 1; }
.small-box .sb-num { font-size: 2.2rem; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; text-shadow: 0 1px 1px rgba(0,0,0,.15); }
.small-box .sb-lbl { font-size: 1rem; font-weight: 500; margin-top: 2px; }
.small-box .sb-icon { position: absolute; right: 14px; top: 8px; font-size: 4.4rem; line-height: 1; color: rgba(0,0,0,.17); transition: transform .25s; }
.small-box:hover .sb-icon { transform: scale(1.12); }
.small-box .sb-foot { background: rgba(0,0,0,.13); text-align: center; padding: 5px 0; font-size: .88rem; position: relative; z-index: 1; }
.small-box:hover .sb-foot { background: rgba(0,0,0,.22); }
.sb-blue { background: #0d6efd; } .sb-green { background: #198754; } .sb-red { background: #dc3545; } .sb-orange { background: #f39c12; }
.sb-purple { background: #6f42c1; } .sb-teal { background: #17a2b8; } .sb-maroon { background: #d81b60; } .sb-olive { background: #3d9970; } .sb-navy { background: #001f3f; }
.dash-hello { border-radius: 6px; }
.site-nav .nav-link, .site-nav .navbar-nav .btn { white-space: nowrap; }
.site-nav .navbar-brand { display: flex; align-items: center; white-space: normal; line-height: 1.15; max-width: 300px; }
@media (min-width: 992px) and (max-width: 1399px) { .site-nav .nav-link { padding-left: .45rem; padding-right: .45rem; font-size: .95rem; } }
.img-field { flex-wrap: wrap; }
.img-field > .flex-grow-1 { min-width: 0; flex-basis: 150px; }
.img-field input[type=file] { max-width: 100%; }
@media screen and (max-width: 600px) { .print-head { flex-wrap: wrap; } .print-head .small-info { text-align: left; } }
.main-top h1 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main-top > .btn, .main-top > .dropdown { flex: none; }
@media (max-width: 600px) { .main-top .dropdown .text-muted { display: none; } }

/* ================= Round 11 ================= */
/* ---- dashboard: glossy, multi-colour, bouncy boxes ---- */
.gloss-box { position: relative; display: flex; flex-direction: column; min-height: 168px; padding: 22px 24px 20px; border-radius: 24px; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate;
  box-shadow: 0 18px 30px -14px var(--gb-shadow, rgba(60,60,160,.7)), inset 0 1px 0 rgba(255,255,255,.45), inset 0 -10px 24px rgba(0,0,0,.10);
  transition: transform .45s cubic-bezier(.34, 1.7, .64, 1), box-shadow .3s; animation: gbPop .7s cubic-bezier(.34, 1.56, .64, 1) both; }
.gloss-box::before { content: ""; position: absolute; inset: 0 0 48% 0; border-radius: 24px 24px 120px 120px / 24px 24px 40px 40px; background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.04)); z-index: -1; }
.gloss-box::after { content: ""; position: absolute; top: -60%; left: -40%; width: 45%; height: 220%; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.45), rgba(255,255,255,0)); transform: rotate(22deg) translateX(-180%); transition: transform .9s ease; z-index: -1; }
.gloss-box:hover { color: #fff; transform: translateY(-10px) scale(1.035); box-shadow: 0 30px 44px -16px var(--gb-shadow, rgba(60,60,160,.8)), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -10px 24px rgba(0,0,0,.10); }
.gloss-box:hover::after { transform: rotate(22deg) translateX(520%); }
.gloss-box:active { transform: translateY(-2px) scale(.98); }
.gb-bubble { position: absolute; right: -34px; bottom: -44px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.16); z-index: -1; }
.gb-bubble.two { right: 70px; bottom: -70px; width: 110px; height: 110px; background: rgba(255,255,255,.10); }
.gb-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.gb-ico { width: 58px; height: 58px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; background: rgba(255,255,255,.26); border: 1px solid rgba(255,255,255,.55); box-shadow: inset 0 2px 6px rgba(255,255,255,.45), 0 8px 16px rgba(0,0,0,.14); backdrop-filter: blur(4px); }
.gloss-box:hover .gb-ico { animation: gbWiggle .6s ease; }
.gb-go { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.22); font-size: .95rem; transition: transform .3s, background .3s; }
.gloss-box:hover .gb-go { background: #fff; color: #111; transform: rotate(45deg); }
.gb-num { font-size: 2.35rem; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; text-shadow: 0 2px 6px rgba(0,0,0,.18); overflow-wrap: anywhere; }
.gb-lbl { font-size: 1.02rem; font-weight: 600; opacity: .96; margin-top: 4px; }
.g-blue   { background: linear-gradient(135deg, #00c6ff 0%, #0072ff 55%, #5b2bff 100%); --gb-shadow: rgba(0,114,255,.75); }
.g-green  { background: linear-gradient(135deg, #a8ff78 0%, #1fd18a 45%, #008f7a 100%); --gb-shadow: rgba(18,170,120,.75); }
.g-pink   { background: linear-gradient(135deg, #ff9a9e 0%, #ff4f9a 50%, #c2189b 100%); --gb-shadow: rgba(240,60,150,.75); }
.g-red    { background: linear-gradient(135deg, #ffb347 0%, #ff5e62 50%, #e0115f 100%); --gb-shadow: rgba(240,70,90,.75); }
.g-orange { background: linear-gradient(135deg, #ffe259 0%, #ffa751 50%, #ff6a00 100%); --gb-shadow: rgba(255,140,30,.75); }
.g-purple { background: linear-gradient(135deg, #f093fb 0%, #a55cf5 50%, #5b30e6 100%); --gb-shadow: rgba(140,80,240,.75); }
.g-teal   { background: linear-gradient(135deg, #5ef7f0 0%, #12b7d6 50%, #0a6fc2 100%); --gb-shadow: rgba(20,160,210,.75); }
.g-lime   { background: linear-gradient(135deg, #d4fc79 0%, #7ad63c 45%, #1e9e55 100%); --gb-shadow: rgba(90,180,60,.75); }
.g-indigo { background: linear-gradient(135deg, #8ea6ff 0%, #4f46e5 50%, #1e1b6e 100%); --gb-shadow: rgba(70,70,220,.75); }
.gloss-row > div:nth-child(2) .gloss-box { animation-delay: .06s; } .gloss-row > div:nth-child(3) .gloss-box { animation-delay: .12s; }
.gloss-row > div:nth-child(4) .gloss-box { animation-delay: .18s; } .gloss-row > div:nth-child(5) .gloss-box { animation-delay: .24s; }
.gloss-row > div:nth-child(6) .gloss-box { animation-delay: .30s; } .gloss-row > div:nth-child(7) .gloss-box { animation-delay: .36s; }
.gloss-row > div:nth-child(8) .gloss-box { animation-delay: .42s; } .gloss-row > div:nth-child(9) .gloss-box { animation-delay: .48s; }
@keyframes gbPop { 0% { opacity: 0; transform: translateY(26px) scale(.86); } 60% { opacity: 1; transform: translateY(-6px) scale(1.03); } 100% { opacity: 1; transform: none; } }
@keyframes gbWiggle { 0%, 100% { transform: none; } 30% { transform: translateY(-7px) rotate(-8deg); } 60% { transform: translateY(2px) rotate(6deg); } }
.dash-hello { border-radius: 24px; }
@media (prefers-reduced-motion: reduce) { .gloss-box, .gloss-box:hover .gb-ico { animation: none; } .gloss-box, .gloss-box::after { transition: none; } }

/* ---- login ---- */
.login-body { min-height: 100vh; margin: 0; display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; overflow: hidden; background: radial-gradient(circle at 15% 15%, #3a2bd6 0, transparent 45%), radial-gradient(circle at 85% 85%, #b0249b 0, transparent 45%), linear-gradient(135deg, #120b4a, #2a1a8a 55%, #5a1e86); }
.login-blob { position: fixed; border-radius: 50%; filter: blur(50px); opacity: .55; animation: blobFloat 14s ease-in-out infinite alternate; }
.login-blob.b1 { width: 340px; height: 340px; background: #ff5c8a; top: -90px; right: 8%; }
.login-blob.b2 { width: 300px; height: 300px; background: #22d3ee; bottom: -110px; left: 6%; animation-delay: -5s; }
.login-blob.b3 { width: 220px; height: 220px; background: #ffb020; top: 42%; left: 44%; opacity: .32; animation-delay: -9s; }
@keyframes blobFloat { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, -30px) scale(1.15); } }
.login-shell { position: relative; z-index: 1; width: 100%; max-width: 940px; display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 28px; overflow: hidden; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 40px 80px rgba(5,2,40,.55); backdrop-filter: blur(18px); }
.login-art { padding: 48px 40px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.login-logo { width: 92px; height: 92px; border-radius: 24px; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; box-shadow: 0 14px 30px rgba(0,0,0,.3); font-size: 2.6rem; color: #5b4bff; overflow: hidden; }
.login-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.login-art h1 { font-size: 1.9rem; font-weight: 800; line-height: 1.2; margin: 0 0 6px; }
.login-tag { color: #d9d4ff; font-size: 1.02rem; margin-bottom: 22px; }
.login-points { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; }
.login-points li { display: flex; align-items: center; gap: 12px; color: #efeaff; font-size: .97rem; }
.login-points i { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex: none; }
.login-card { background: #fff; padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.login-hello { font-size: 1.6rem; font-weight: 800; color: #1b1464; }
.login-field { position: relative; }
.login-field > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8b86b8; font-size: 1.1rem; }
.login-field .form-control { height: 50px; padding-left: 44px; padding-right: 46px; border-radius: 14px; border: 1.5px solid #dcd9f2; background: #f8f7ff; }
.login-field .form-control:focus { border-color: #5b4bff; background: #fff; box-shadow: 0 0 0 4px rgba(91,75,255,.14); }
.login-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: #8b86b8; font-size: 1.15rem; padding: 6px 8px; }
.login-btn { height: 52px; border-radius: 14px; border: 0; color: #fff; font-weight: 700; font-size: 1.05rem; background: linear-gradient(135deg, #5b4bff, #b04bff 60%, #ff5c8a); box-shadow: 0 14px 26px -10px rgba(120,70,255,.8); transition: transform .2s, box-shadow .2s; }
.login-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 30px -10px rgba(120,70,255,.9); }
@media (max-width: 760px) { .login-shell { grid-template-columns: 1fr; } .login-art { padding: 30px 28px 22px; } .login-points { display: none; } .login-card { padding: 30px 28px; } .login-logo { width: 72px; height: 72px; } }

/* ---- website header ---- */
.topbar .social-links { margin: 0; gap: 6px; }
.topbar .social-links a { width: 28px; height: 28px; font-size: .85rem; }
.site-head { background: #fff; padding: 14px 0; }
.site-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.site-brand img { height: 76px; max-width: 200px; object-fit: contain; }
.site-brand .brand-mark { width: 64px; height: 64px; font-size: 1.9rem; border-radius: 18px; }
.site-name { display: block; font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.1; color: var(--lab-deep); letter-spacing: -.01em; }
.site-tag { display: block; color: var(--muted); font-size: .95rem; margin-top: 3px; }
.site-call { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lab-deep); font-weight: 800; font-size: 1.15rem; }
.site-call > i { width: 44px; height: 44px; border-radius: 50%; background: var(--lab); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.site-call small { display: block; font-weight: 500; font-size: .75rem; color: var(--muted); line-height: 1; margin-bottom: 2px; }
.site-menu { background: linear-gradient(90deg, var(--lab-deep), var(--lab)); padding-top: 0; padding-bottom: 0; box-shadow: 0 6px 18px rgba(27,20,100,.18); }
.site-menu .nav-link { color: rgba(255,255,255,.9); font-weight: 600; padding: 14px 16px !important; white-space: nowrap; }
.site-menu .nav-link:hover, .site-menu .nav-link.active { color: #fff; background: rgba(255,255,255,.16); }
.site-menu .navbar-toggler { border: 0; padding: 4px 6px; }
.social-links a.s-fb { background: #1877f2; } .social-links a.s-ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); } .social-links a.s-yt { background: #ff0000; }
.social-links a.s-gg { background: #ea4335; } .social-links a.s-map { background: #34a853; }
.site-footer .social-links a.s-fb { background: #1877f2; } .site-footer .social-links a.s-yt { background: #ff0000; } .site-footer .social-links a.s-gg { background: #ea4335; } .site-footer .social-links a.s-map { background: #34a853; }
.site-footer .social-links a.s-ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }

/* ---- home slider, gallery, doctors, map ---- */
.home-slider .carousel-item { height: clamp(240px, 42vw, 520px); background: #111; }
.home-slider .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.home-slider .slide-text { position: absolute; inset: auto 0 0 0; padding: 60px 0 46px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(10,6,50,.78)); color: #fff; }
.home-slider .slide-text h2 { font-weight: 800; font-size: clamp(1.3rem, 3.4vw, 2.6rem); margin: 0 0 4px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.home-slider .slide-text p { font-size: clamp(.9rem, 1.6vw, 1.15rem); margin: 0; max-width: 720px; }
.after-slider { background: linear-gradient(120deg, var(--lab-deep), var(--lab) 70%); color: #fff; padding: 36px 0; }
.after-slider h1 { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0; }
.after-slider p { color: #e3deff; font-size: 1.05rem; }
.gal-item { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: #e9e7fb; box-shadow: 0 8px 20px rgba(27,20,100,.10); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gal-item:hover img { transform: scale(1.08); }
.gal-item span { position: absolute; inset: auto 0 0 0; padding: 26px 14px 10px; color: #fff; font-size: .92rem; font-weight: 600; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.72)); }
.doc-card { border-radius: 18px; box-shadow: 0 8px 22px rgba(27,20,100,.08); transition: transform .25s, box-shadow .25s; }
.doc-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(27,20,100,.16); }
.doc-photo { width: 124px; height: 124px; margin: 0 auto 12px; border-radius: 50%; padding: 4px; background: linear-gradient(135deg, var(--lab), #ff5c8a); }
.doc-photo img, .doc-photo .doc-noimg { width: 100%; height: 100%; margin: 0; border: 3px solid #fff; border-radius: 50%; }
.doc-avail { margin-top: 10px; font-size: .85rem; font-weight: 700; }
.doc-avail.yes { color: #0f9d58; } .doc-avail.no { color: #d93025; }
.map-box { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 26px rgba(27,20,100,.12); background: #e9e7fb; }
.map-box iframe { display: block; width: 100%; height: 340px; border: 0; }
.map-box .map-open { position: absolute; left: 12px; bottom: 12px; }

/* ---- admin: slider / gallery ---- */
.slide-prev { height: 170px; border-radius: 12px; overflow: hidden; background: #f1f0fb; border: 1px dashed #b9bfd6; display: flex; align-items: center; justify-content: center; color: #9aa0bd; }
.slide-prev img { width: 100%; height: 100%; object-fit: cover; }
.gal-admin { position: relative; height: 170px; background: #f1f0fb; border-radius: 16px 16px 0 0; overflow: hidden; }
.gal-admin img { width: 100%; height: 100%; object-fit: cover; }
.gal-sl { position: absolute; left: 8px; top: 8px; z-index: 1; background: rgba(0,0,0,.6); color: #fff; border-radius: 20px; padding: 1px 10px; font-size: .8rem; font-weight: 700; }

/* ---- reports ---- */
.rpt-title { text-align: center; margin-bottom: 14px; }
.rpt-title h4 { font-weight: 800; margin: 0; color: var(--lab-deep); text-transform: uppercase; letter-spacing: .02em; }
.chg-del { background: #fde2e1; color: #a1160c; text-decoration: line-through; border-radius: 4px; }
td.chg-del, .snap-amt .chg-del { text-decoration: none; }
.chg-add { background: #d9f7e3; color: #0b6b33; border-radius: 4px; font-weight: 600; }
.snap-tests { margin: 6px 0; padding: 6px 0; border-top: 1px dashed #c9cde0; border-bottom: 1px dashed #c9cde0; }
.snap-tests > div, .snap-amt { display: flex; justify-content: space-between; gap: 10px; padding: 1px 4px; }
.snap-amt span:first-child { color: var(--muted); }
.edit-log td { vertical-align: top; }
.att-table input[readonly] { background: #f3f4f8; color: #9aa0bd; }

/* ---- bill (money receipt) ---- */
.bill-box { border: 1.5px solid #1f2937; color: #1d5fa8; font-size: .86rem; font-weight: 600; }
.bill-box > * + * { border-top: 1.5px solid #1f2937; }
.bill-head { display: flex; align-items: center; gap: 12px; padding: 8px 12px; }
.bill-logo { width: 150px; flex: none; display: flex; justify-content: center; }
.bill-logo img { max-width: 150px; max-height: 96px; object-fit: contain; }
.bill-co { flex: 1; text-align: center; line-height: 1.45; }
.bill-name { font-size: 1.45rem; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.2; }
.bill-addr { text-transform: uppercase; }
.bill-reg { font-size: .78rem; white-space: pre-wrap; }
.bill-row { display: flex; }
.bill-row > div { padding: 4px 10px; }
.bill-row > div + div { border-left: 1.5px solid #1f2937; }
.bill-title > div { flex: 1; text-align: center; }
.bill-title .bill-mid { flex: 0 0 22%; font-size: 1.05rem; font-weight: 800; }
.bill-patient { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0 16px; padding: 5px 10px; line-height: 1.5; }
.bill-tests, .bill-amounts { width: 100%; border-collapse: collapse; }
.bill-tests th { padding: 4px 10px; border-bottom: 1.5px solid #1f2937; text-align: left; }
.bill-tests td { padding: 3px 10px; font-weight: 500; }
.bill-tests tbody tr:last-child td { padding-bottom: 6px; }
.bill-words > div:first-child { flex: 1; text-transform: uppercase; }
.bill-total { flex: 0 0 30%; display: flex; justify-content: space-between; font-weight: 800; }
.bill-amounts th, .bill-amounts td { text-align: center; padding: 3px 6px; width: 20%; }
.bill-amounts th + th, .bill-amounts td + td { border-left: 1.5px solid #1f2937; }
.bill-amounts tr + tr td { border-top: 1.5px solid #1f2937; font-weight: 800; }
.bill-foot > div:first-child { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.bill-online { font-weight: 500; font-size: .78rem; margin-top: 2px; }
.bill-printed { flex: 0 0 32%; padding: 0 !important; font-size: .76rem; color: #1f2937; }
.bill-printed > div { padding: 3px 10px; }
.bill-printed > div + div { border-top: 1.5px solid #1f2937; }
@media (max-width: 640px) { .bill-head { flex-wrap: wrap; justify-content: center; } .bill-logo { width: auto; } .bill-row { flex-wrap: wrap; } .bill-row > div { flex: 1 1 100% !important; border-left: 0 !important; } .bill-patient { grid-template-columns: 1fr; } }
@media print { .bill-box { -webkit-print-color-adjust: exact; print-color-adjust: exact; } .rpt-title { display: block; } }

/* ================= Round 12 ================= */
/* dashboard boxes: same glossy look, smaller */
.gloss-row { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
.gloss-box { min-height: 0; padding: 14px 16px 14px; border-radius: 18px; }
.gloss-box::before { border-radius: 18px 18px 90px 90px / 18px 18px 30px 30px; }
.gloss-box:hover { transform: translateY(-6px) scale(1.025); }
.gb-top { margin-bottom: 8px; }
.gb-ico { width: 42px; height: 42px; border-radius: 13px; font-size: 1.25rem; }
.gb-go { width: 26px; height: 26px; font-size: .78rem; }
.gb-num { font-size: 1.6rem; }
.gb-lbl { font-size: .9rem; margin-top: 2px; }
.gb-bubble { width: 104px; height: 104px; right: -26px; bottom: -34px; }
.gb-bubble.two { width: 76px; height: 76px; right: 48px; bottom: -50px; }
.dash-hello { padding: 18px 22px; border-radius: 18px; margin-bottom: 18px; }
.dash-hello h2 { font-size: 1.25rem; }

/* employee request bell + pop-up */
.bell-btn { position: relative; }
.bell-count { position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #e11d48; color: #fff; font-size: .7rem; font-weight: 700; line-height: 19px; text-align: center; }
.req-toast { position: fixed; right: 22px; top: 70px; z-index: 2000; display: flex; align-items: center; gap: 12px; max-width: 360px; padding: 14px 18px 14px 14px; border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; border-left: 6px solid #5b4bff;
  box-shadow: 0 20px 44px rgba(27,20,100,.28); animation: toastIn .5s cubic-bezier(.34, 1.56, .64, 1) both; transition: opacity .5s, transform .5s; }
.req-toast:hover { color: var(--ink); transform: translateY(-2px); }
.req-toast.hide { opacity: 0; transform: translateX(40px); pointer-events: none; }
.req-toast b { display: block; font-size: .95rem; line-height: 1.25; }
.req-toast small { color: var(--muted); }
.req-toast-ico { width: 42px; height: 42px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.15rem; background: linear-gradient(135deg, #5b4bff, #ff5c8a); animation: bellRing 1s ease 2; }
@keyframes toastIn { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes bellRing { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-18deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-10deg); } 80% { transform: rotate(6deg); } }
.req-note { width: 150px; }

/* employee dashboard */
.emp-body { background: #f3f2fb; min-height: 100vh; }
.emp-nav { background: linear-gradient(90deg, #1b1464, #5b4bff 70%, #b04bff); box-shadow: 0 6px 18px rgba(27,20,100,.2); }
.emp-nav .navbar-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; line-height: 1.1; }
.emp-nav .navbar-brand img { height: 40px; max-width: 90px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; }
.emp-nav .navbar-brand small { display: block; font-size: .7rem; font-weight: 500; opacity: .8; letter-spacing: .06em; text-transform: uppercase; }
.emp-nav .nav-link { color: rgba(255,255,255,.88); font-weight: 600; border-radius: 10px; padding: 8px 12px !important; white-space: nowrap; }
.emp-nav .nav-link:hover, .emp-nav .nav-link.active { color: #fff; background: rgba(255,255,255,.18); }
.emp-nav .navbar-toggler { border: 0; }
.emp-hello { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; margin-bottom: 18px; border-radius: 20px; color: #fff; background: linear-gradient(120deg, #1b1464, #5b4bff 55%, #ff5c8a); box-shadow: 0 12px 28px rgba(91,75,255,.28); }
.emp-hello h2 { font-size: 1.3rem; font-weight: 800; margin: 0; }
.emp-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.7); background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 2rem; flex: none; }
.emp-today { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); border-radius: 16px; padding: 10px 18px; }
.emp-tile { position: relative; border-radius: 18px; padding: 14px 16px; color: #fff; overflow: hidden; box-shadow: 0 12px 22px -12px var(--gb-shadow, rgba(60,60,160,.7)), inset 0 1px 0 rgba(255,255,255,.4); }
.emp-tile i { position: absolute; right: 12px; top: 8px; font-size: 2.2rem; opacity: .3; }
.emp-tile b { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.15; }
.emp-tile span { font-size: .85rem; font-weight: 600; opacity: .95; }
.emp-line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed #dcd9f2; }
.emp-line span { color: var(--muted); }
.emp-login .login-btn { background: linear-gradient(135deg, #0aa37f, #1fb6d9 60%, #5b4bff); box-shadow: 0 14px 26px -10px rgba(20,160,200,.8); }

/* employee identity card */
.id-cards { display: flex; flex-wrap: wrap; gap: 22px; }
.id-card { width: 300px; min-height: 470px; border-radius: 20px; background: #fff; overflow: hidden; box-shadow: 0 14px 34px rgba(27,20,100,.16); text-align: center; padding-bottom: 16px; border: 1px solid #e3e0f7; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.id-top { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 14px 56px; color: #fff; background: linear-gradient(135deg, #1b1464, #5b4bff 60%, #b04bff); text-align: left; }
.id-top img { height: 44px; max-width: 70px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; }
.id-lab { font-weight: 800; font-size: 1rem; line-height: 1.15; text-transform: uppercase; }
.id-sub { font-size: .68rem; letter-spacing: .12em; font-weight: 700; opacity: .9; }
.id-photo { width: 116px; height: 116px; margin: -46px auto 10px; border-radius: 50%; border: 5px solid #fff; background: #eceafe; color: #5b4bff; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 3.4rem; box-shadow: 0 8px 18px rgba(27,20,100,.2); }
.id-photo img { width: 100%; height: 100%; object-fit: cover; }
.id-name { font-weight: 800; font-size: 1.2rem; color: #1b1464; padding: 0 12px; }
.id-role { color: var(--muted); font-weight: 600; }
.id-code { display: inline-block; margin: 8px 0 12px; padding: 4px 18px; border-radius: 20px; color: #fff; font-weight: 800; letter-spacing: .08em; background: linear-gradient(135deg, #5b4bff, #ff5c8a); }
.id-rows { text-align: left; padding: 0 20px; font-size: .88rem; }
.id-rows > div { display: flex; gap: 10px; padding: 5px 0; border-bottom: 1px dashed #dcd9f2; }
.id-rows span { flex: 0 0 96px; color: var(--muted); }
.id-rows b { font-weight: 600; overflow-wrap: anywhere; }
.id-back { padding: 22px 0 0; display: flex; flex-direction: column; }
.id-back .id-sub { color: #5b4bff; }
.id-sign { margin: 18px 20px 0; border-top: 1px solid #9aa0bd; padding-top: 4px; font-size: .75rem; color: var(--muted); position: relative; min-height: 20px; }
.id-sign img { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); max-height: 46px; max-width: 150px; }
.id-foot { margin-top: auto; padding: 14px 18px; font-size: .76rem; color: #fff; background: linear-gradient(135deg, #1b1464, #5b4bff); }
@media print { .emp-body { background: #fff; } .id-card { box-shadow: none; break-inside: avoid; } }

/* ================= Round 13: punch screen, arrival status ================= */
.arr-delay { background: #ffe1cf; color: #b3410a; }
.punch-card { border-radius: 22px; padding: 28px 26px; color: #fff; background: linear-gradient(135deg, #1b1464, #5b4bff 60%, #b04bff); box-shadow: 0 18px 36px rgba(91,75,255,.3); }
.punch-clock { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: .02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.punch-date { opacity: .85; }
.punch-card .form-control { border: 0; border-radius: 14px; }

/* ================= Round 14: USB fingerprint scanner ================= */
.finger-slot { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid #e3e0f7; border-radius: 16px; background: #faf9ff; height: 100%; }
.finger-pic { width: 84px; height: 104px; flex: none; border-radius: 12px; border: 1px dashed #b9bfd6; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: #b9bfd6; overflow: hidden; }
.finger-pic img { width: 100%; height: 100%; object-fit: cover; }
.finger-zone { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); }
.finger-ring { width: 76px; height: 76px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; background: rgba(255,255,255,.2); border: 3px solid rgba(255,255,255,.5); transition: background .3s, border-color .3s; }
.finger-ring.ready { animation: fingerPulse 1.6s ease-in-out infinite; }
.finger-ring.busy { border-color: #ffe259; }
.finger-ring.ok { background: #16a34a; border-color: #bbf7d0; }
.finger-ring.out { background: #2563eb; border-color: #bfdbfe; }
.finger-ring.bad { background: #dc2626; border-color: #fecaca; }
.finger-ring.off { opacity: .55; }
@keyframes fingerPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 50% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } }
.punch-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 6px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.punch-or::before, .punch-or::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.4); }
.punch-new { animation: rowFlash 2.5s ease; }
@keyframes rowFlash { from { background: #d9f7e3; } to { background: transparent; } }

/* ---------- Round 15: stock / inventory ---------- */
.stock-alert { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink);
    border: 1px solid #e6e9f5; border-left: 5px solid #cfd5ea; box-shadow: 0 4px 14px rgba(27,20,100,.06); transition: transform .15s, box-shadow .15s; height: 100%; }
.stock-alert:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(27,20,100,.12); color: var(--ink); }
.stock-alert b { font-size: 1.7rem; line-height: 1; min-width: 34px; text-align: center; }
.stock-alert span { font-size: .88rem; color: #5b6480; }
.stock-alert.al-red { border-left-color: #e5484d; background: #fff5f5; } .stock-alert.al-red b { color: #c62828; }
.stock-alert.al-orange { border-left-color: #f59f00; background: #fff9ec; } .stock-alert.al-orange b { color: #b96a00; }
.stock-alert.al-blue { border-left-color: #3b82f6; background: #f1f6ff; } .stock-alert.al-blue b { color: #1d4ed8; }
.stock-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.stock-tabs a { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid #dfe3f3; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.stock-tabs a.active { background: linear-gradient(135deg, #5b4bff, #8b5cf6); border-color: transparent; color: #fff; }
.fefo-hint { font-size: .85rem; border-radius: 10px; padding: 8px 12px; background: #eefbf3; color: #17663a; border: 1px solid #c6ecd4; }
.fefo-hint.warn { background: #fff9ec; color: #8a5300; border-color: #f6dfae; }
tr.row-expired td { background: #fff1f1; } tr.row-near td { background: #fffaf0; }
#lines td { padding-left: 3px; padding-right: 3px; } #lines .form-control-sm, #lines .form-select-sm { padding-left: 6px; padding-right: 6px; font-size: .84rem; } #lines .form-select-sm { padding-right: 22px; background-position: right 5px center; }
#lines input[type=date] { padding-right: 2px; }
.stock-alert b.sm { font-size: 1.25rem; white-space: nowrap; }
.pur-total td { border: 0; padding: 3px 4px; vertical-align: middle; }
.pur-total tr.fw-bold td { border-top: 2px solid #dfe3f3; padding-top: 8px; }
.kv-row { display: flex; flex-wrap: wrap; gap: 6px 28px; } .kv-row > div { min-width: 150px; } .kv-row small { display: block; color: #6b7391; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
@media (min-width: 1200px) and (max-width: 1499px) { .emp-nav .navbar-nav .nav-link { font-size: .88rem; padding: 8px 7px !important; } .emp-nav .navbar-nav .nav-link i { display: none; } }
.emp-nav form .btn { white-space: nowrap; }

/* ---------- Round 17: doctor schedule on the website, lab appointment ---------- */
.doc-sched { margin-top: 10px; font-size: .84rem; line-height: 1.35; text-align: left; background: #f6f5ff; border-radius: 10px; padding: 8px 10px; }
.doc-sched > div + div { margin-top: 6px; padding-top: 6px; border-top: 1px dashed #d9d6f5; }
.doc-special { margin-top: 6px; font-size: .8rem; background: #eaf3ff; color: #1d4ed8; border-radius: 8px; padding: 3px 8px; }
.doc-special.off { background: #fff1f1; color: #c62828; }
.doc-about { margin-top: 8px; font-size: .82rem; color: #5b6480; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.appt-step { display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 22px 0 10px; }
.appt-step:first-child { margin-top: 0; }
.appt-step > span:first-child { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #5b4bff, #8b5cf6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .9rem; flex: none; }
.test-pick { max-height: 260px; overflow: auto; border: 1px solid #e3e6f3; border-radius: 12px; padding: 8px 12px; background: #fff; }
.test-pick label { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; cursor: pointer; font-size: .93rem; }
.test-pick small { display: block; color: #6b7391; }
.slot-list { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-list label { border: 1px solid #cfd5ea; border-radius: 999px; padding: 7px 14px; cursor: pointer; font-size: .9rem; background: #fff; }
.slot-list input { display: none; }
.slot-list input:checked + span { font-weight: 700; }
.slot-list label:has(input:checked) { background: linear-gradient(135deg, #5b4bff, #8b5cf6); color: #fff; border-color: transparent; }
.slot-list label.full { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.booking-id { font-size: 1.8rem; font-weight: 800; letter-spacing: .04em; color: #4f46e5; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 6px; }
.timeline li { position: relative; padding: 0 0 14px 22px; border-left: 2px solid #dcd9fb; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #6d5cff; box-shadow: 0 0 0 3px #eceaff; }
.timeline b { display: block; font-size: .93rem; } .timeline small { color: #6b7391; display: block; }
@media (min-width: 1200px) and (max-width: 1399px) { .site-menu .nav-link { padding: 14px 8px !important; font-size: .93rem; } }
.table.tight td, .table.tight th { padding-left: 4px; padding-right: 4px; }
@media (max-width: 575px) { .bell-btn ~ .dropdown .dropdown-toggle { font-size: 0; } .bell-btn ~ .dropdown .dropdown-toggle i { font-size: 1.1rem; margin: 0 !important; } }
.site-menu .btn { white-space: nowrap; }
.form-select.locked, .form-control.locked { pointer-events: none; background-color: #eef0f6; color: #555; }

/* ---------- Round 18: reports divided into groups ---------- */
.rep-group { background: #fff; border-radius: 16px; overflow: hidden; height: 100%; border: 1px solid #e6e9f5; box-shadow: 0 6px 18px rgba(27,20,100,.07); }
.rep-group-head { padding: 12px 18px; color: #fff; font-weight: 700; font-size: 1.02rem; display: flex; align-items: center; }
.rep-group-head span { margin-left: auto; font-weight: 500; font-size: .8rem; opacity: .9; }
.rep-group.g-green .rep-group-head { background: linear-gradient(135deg, #0f9d58, #34c38f); }
.rep-group.g-pink .rep-group-head { background: linear-gradient(135deg, #d6336c, #f06595); }
.rep-group.g-blue .rep-group-head { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.rep-group.g-orange .rep-group-head { background: linear-gradient(135deg, #e8590c, #ffa94d); }
.rep-group.g-purple .rep-group-head { background: linear-gradient(135deg, #5b4bff, #a78bfa); }
.rep-group.g-teal .rep-group-head { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.rep-group-list a { display: flex; align-items: center; gap: 12px; padding: 10px 18px; text-decoration: none; color: var(--ink); border-top: 1px solid #f0f1f8; transition: background .15s, padding-left .15s; }
.rep-group-list a:first-child { border-top: 0; }
.rep-group-list a:hover { background: #f6f5ff; padding-left: 24px; }
.rep-group-list a > .bi:not(.bi-chevron-right) { font-size: 1.15rem; color: #6d5cff; width: 22px; text-align: center; }
.rep-group-list .no { width: 22px; font-size: .8rem; color: #8a90a8; }
.rep-group-list b { display: block; font-size: .95rem; } .rep-group-list small { display: block; color: #6b7391; font-size: .8rem; }
.rate-note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: linear-gradient(135deg, #fff7e0, #ffeccc); border: 1px solid #ffd58a; color: #7a4b00; margin-bottom: 18px; }
.rate-note > .bi { font-size: 1.5rem; color: #f59f00; }
.rate-note b { display: block; } .rate-note span { font-size: .95rem; }
.col-card { border: 2px solid #e3e6f3; border-radius: 14px; padding: 12px 14px; background: #fff; height: 100%; transition: border-color .15s, box-shadow .15s; }
.col-card.any { cursor: pointer; }
.col-card.picked { border-color: #6d5cff; box-shadow: 0 0 0 4px #eceaff; background: #faf9ff; }
.col-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; background: #eef; color: #6d5cff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.col-more { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #dcd9fb; }
.star-pick { display: inline-flex; flex-direction: row-reverse; gap: 4px; font-size: 2.4rem; line-height: 1; }
.star-pick input { display: none; } .star-pick label { color: #d5d8e6; cursor: pointer; }
.star-pick label:hover, .star-pick label:hover ~ label, .star-pick input:checked ~ label { color: #f59f00; }
.job-card.job-new { border: 2px solid #f59f00; }
.badge-Denied { background: #fde8e8; color: #b42318; } .badge-New { background: #fff3cd; color: #8a5300; }
.job-card .card-header > span, .job-card .kv-row > div, .job-card .small { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
/* voice search: microphone inside the search box */
.voice-wrap { position: relative; display: block; }
.voice-wrap > input { padding-right: 38px; }
.voice-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #6b7391; display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; }
.voice-btn:hover { background: var(--lab-soft, #eef); color: var(--lab, #5b4bff); }
.voice-btn.listening { background: #e11d48; color: #fff; animation: voicePulse 1s infinite; }
@keyframes voicePulse { 0% { box-shadow: 0 0 0 0 rgba(225,29,72,.45); } 100% { box-shadow: 0 0 0 10px rgba(225,29,72,0); } }
.input-group .voice-wrap { flex: 1 1 auto; }
#lines .need { border-color: #e11d48; background: #fff5f7; }

/* ---- Employee login: clean, simple, light ---- */
.elogin-body { min-height: 100vh; margin: 0; background: #f4f6fb; display: flex; align-items: center; justify-content: center; padding: 24px; font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif; }
.elogin-wrap { width: 100%; max-width: 420px; }
.elogin-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.elogin-brand img, .elogin-mark { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid #e3e6f0; }
.elogin-mark { display: flex; align-items: center; justify-content: center; color: #0aa37f; font-size: 1.5rem; }
.elogin-brand b { display: block; color: #1b2340; font-size: 1.05rem; } .elogin-brand small { color: #6b7391; }
.elogin-card { background: #fff; border: 1px solid #e3e6f0; border-radius: 16px; padding: 30px 28px; box-shadow: 0 10px 30px rgba(20,30,70,.06); }
.elogin-card h1 { font-size: 1.45rem; font-weight: 700; color: #1b2340; margin-bottom: 4px; }
.elogin-card .form-control { border-radius: 10px; border-color: #d7dbe8; } .elogin-card .form-control:focus { border-color: #0aa37f; box-shadow: 0 0 0 4px rgba(10,163,127,.14); }
.elogin-pass { position: relative; } .elogin-pass .form-control { padding-right: 46px; }
.elogin-btn { background: #0aa37f; color: #fff; border: 0; border-radius: 10px; font-weight: 600; } .elogin-btn:hover { background: #078a6b; color: #fff; }
.elogin-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 0 6px; }

/* ---- Home collection staff login: healthcare teal, phone-first ---- */
.hlogin-body { min-height: 100vh; margin: 0; background: #eef7f6; display: flex; flex-direction: column; align-items: center; padding: 0 0 32px; }
.hlogin-top { width: 100%; background: linear-gradient(135deg, #0f766e, #14b8a6 60%, #5eead4); color: #fff; padding: 28px 20px 70px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hlogin-brand { display: flex; align-items: center; gap: 12px; }
.hlogin-brand img, .hlogin-mark { width: 54px; height: 54px; border-radius: 14px; background: #fff; object-fit: contain; }
.hlogin-mark { display: flex; align-items: center; justify-content: center; color: #0f766e; font-size: 1.7rem; }
.hlogin-brand b { display: block; font-size: 1.15rem; } .hlogin-brand small { opacity: .9; }
.hlogin-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: .88rem; opacity: .95; }
.hlogin-steps span { display: flex; align-items: center; gap: 6px; } .hlogin-steps i { font-size: 1rem; }
.hlogin-card { width: calc(100% - 32px); max-width: 440px; margin-top: -46px; background: #fff; border-radius: 20px; padding: 56px 28px 26px; box-shadow: 0 18px 40px rgba(15,118,110,.18); position: relative; }
.hlogin-icon { position: absolute; top: -32px; left: 50%; transform: translateX(-50%); width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 4px solid #eef7f6; color: #0f766e; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 8px 20px rgba(15,118,110,.2); }
.hlogin-card h1 { font-size: 1.35rem; font-weight: 700; color: #134e4a; text-align: center; }
.hlogin-card p { text-align: center; font-size: .92rem; }
.hlogin-field { display: flex; } .hlogin-field > span { display: flex; align-items: center; padding: 0 12px; background: #f0fdfa; border: 1px solid #d7dbe8; border-right: 0; border-radius: 10px 0 0 10px; color: #0f766e; font-weight: 600; }
.hlogin-field .form-control { border-radius: 0 10px 10px 0; }
.hlogin-card .form-control { border-color: #d7dbe8; } .hlogin-card .form-control:focus { border-color: #14b8a6; box-shadow: 0 0 0 4px rgba(20,184,166,.16); }
.hlogin-btn { background: linear-gradient(135deg, #0f766e, #14b8a6); color: #fff; border: 0; border-radius: 12px; font-weight: 700; } .hlogin-btn:hover { color: #fff; filter: brightness(1.05); }
.hlogin-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }

/* Ready Test Box (Test Master, Calculated report type) */
.tpl-card { border-color: #b8a5e3; }
.tpl-card > .card-header { background: #f4effc; }
#tplItems .table-secondary td { color: #888; }
#tplItems input.form-control-sm { max-width: 110px; }

/* Bill: commission tick boxes (doctor = amber, agent = green) and the test-wise commission panel */
.comm-tick { margin-top: 6px; padding: 8px 12px; border-radius: 8px; border: 1px solid; }
.comm-tick.comm-doc { background: #fff7e6; border-color: #f0b429; color: #7a4b00; }
.comm-tick.comm-ag { background: #e9f8ef; border-color: #3cb371; color: #145a32; }
.comm-tick .form-check-input { width: 1.25em; height: 1.25em; margin-top: .1em; }
.comm-tick .form-check-input:checked { background-color: #d97706; border-color: #d97706; }
.comm-tick.comm-ag .form-check-input:checked { background-color: #198754; border-color: #198754; }
.comm-panel .comm-head-doc { background: #fff7e6; color: #7a4b00; }
.comm-panel .comm-head-ag { background: #e9f8ef; color: #145a32; }
.comm-panel input.form-control-sm, .comm-panel select.form-select-sm { max-width: 120px; }

/* Test Master: new parameter box */
.np-box { background: #fafafa; }
.np-list { max-height: 240px; overflow: auto; }
.np-list .list-group-item.active { background: var(--lab); border-color: var(--lab); }
.np-list .list-group-item.active .text-success, .np-list .list-group-item.active .text-warning { color: #fff !important; }

/* =====================================================================
   LOOK v3 - colourful, 3D icons, graphic tiles (public site + panel)
   ===================================================================== */
/* ---- 3D icon badge: background colour comes from a t-* tone class ---- */
.ico3d { position: relative; width: 60px; height: 60px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.65rem; flex: none; overflow: hidden;
  box-shadow: 0 12px 22px -8px rgba(27,20,100,.45), inset 0 2px 0 rgba(255,255,255,.55), inset 0 -5px 10px rgba(0,0,0,.18); text-shadow: 0 2px 4px rgba(0,0,0,.28); }
.ico3d::before { content: ""; position: absolute; left: 4px; right: 4px; top: 3px; height: 46%; border-radius: 14px 14px 50% 50%; background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0)); pointer-events: none; }
.ico3d::after { content: ""; position: absolute; right: -14px; bottom: -16px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18); }
.ico3d i { position: relative; z-index: 1; }
.ico3d.sm { width: 42px; height: 42px; border-radius: 13px; font-size: 1.15rem; }
.ico3d.xl { width: 84px; height: 84px; border-radius: 26px; font-size: 2.4rem; }
.dot-ico { display: inline-flex; width: 26px; height: 26px; border-radius: 8px; align-items: center; justify-content: center; color: #fff; font-size: .8rem; margin-right: 8px; vertical-align: middle; }

/* ---- colourful gradient buttons ---- */
.btn-grad-blue, .btn-grad-green, .btn-grad-pink, .btn-grad-orange, .btn-grad-purple { color: #fff !important; border: 0; font-weight: 700; letter-spacing: .01em;
  box-shadow: 0 10px 20px -8px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .15s, box-shadow .15s; }
.btn-grad-blue { background: linear-gradient(135deg, #2f6bff, #38bdf8); }
.btn-grad-green { background: linear-gradient(135deg, #00a86b, #5eead4); }
.btn-grad-pink { background: linear-gradient(135deg, #ec4899, #f97316); }
.btn-grad-orange { background: linear-gradient(135deg, #ff8a00, #ffd000); }
.btn-grad-purple { background: linear-gradient(135deg, #7c3aed, #e879f9); }
.btn-grad-blue:hover, .btn-grad-green:hover, .btn-grad-pink:hover, .btn-grad-orange:hover, .btn-grad-purple:hover { transform: translateY(-2px); box-shadow: 0 16px 26px -10px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.35); filter: saturate(1.1); }

/* ---- public: header & menu ---- */
.site-head { background: linear-gradient(180deg, #fff, #f6f5ff); }
.site-menu { background: linear-gradient(90deg, #1b1464, #5b4bff 55%, #ff5c8a); }
.site-menu .nav-link.active { background: rgba(255,255,255,.22); border-radius: 0; box-shadow: inset 0 -3px 0 #ffd000; }
.site-menu .btn-light { border-radius: 20px; font-weight: 700; }
.site-menu .dropdown-menu { border: 0; border-radius: 14px; box-shadow: 0 16px 36px rgba(27,20,100,.18); padding: 8px; }
.site-menu .dropdown-item { border-radius: 10px; padding: 9px 12px; font-weight: 600; }

/* ---- public: slider in a box + promise strip ---- */
.hero-wrap { background: radial-gradient(1200px 400px at 10% 0%, #eef0ff 0%, #f7f7ff 45%, #fff 100%); padding: 22px 0 0; }
.slider-box { border-radius: 28px; overflow: hidden; box-shadow: 0 24px 50px -18px rgba(27,20,100,.45), 0 0 0 6px #fff, 0 0 0 7px #e3e0ff; position: relative; }
.home-slider.slider-box .carousel-item { height: clamp(260px, 40vw, 520px); background: #1b1464; }
.home-slider.slider-box .slide-text { position: absolute; inset: 0; padding: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(14,8,60,.82) 0%, rgba(14,8,60,.55) 45%, rgba(14,8,60,0) 80%); }
.slide-inner { padding: 24px clamp(18px, 5vw, 56px); max-width: 640px; color: #fff; }
.slide-pill { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); padding: 6px 14px; border-radius: 30px; font-size: .82rem; font-weight: 700; letter-spacing: .03em; margin-bottom: 14px; }
.slide-inner h2 { font-weight: 900; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.1; margin: 0 0 10px; text-shadow: 0 4px 18px rgba(0,0,0,.35);
  background: linear-gradient(90deg, #fff, #ffd9a8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide-inner p { font-size: clamp(.95rem, 1.6vw, 1.15rem); color: #e9e6ff; margin: 0 0 18px; max-width: 520px; }
.slide-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-plain { background: linear-gradient(120deg, #1b1464, #5b4bff 60%, #ff5c8a); min-height: 320px; display: flex; align-items: center; }
.hero-plain .slide-inner h2 { -webkit-text-fill-color: #fff; color: #fff; background: none; }
.home-slider .carousel-indicators { margin-bottom: 0; bottom: 52px; }
@media (max-width: 991px) { .home-slider .carousel-indicators { bottom: 10px; } }
.rs-field .form-control::placeholder { text-transform: none; }
.home-slider .carousel-indicators button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; opacity: 1; margin: 0 4px; }
.home-slider .carousel-indicators button.active { background: #ffd000; border-color: #ffd000; }
.home-slider .carousel-control-prev-icon, .home-slider .carousel-control-next-icon { background-color: rgba(255,255,255,.22); border-radius: 50%; padding: 22px; background-size: 50%; backdrop-filter: blur(4px); }
.promise-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: -34px 24px 0; position: relative; z-index: 2; }
.promise { background: #fff; border-radius: 18px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .92rem; line-height: 1.2; color: #1c1d3a;
  box-shadow: 0 14px 30px -14px rgba(27,20,100,.4); border: 1px solid #ecebff; transition: transform .2s; }
.promise:hover { transform: translateY(-4px); }
.promise .ico3d { width: 48px; height: 48px; border-radius: 15px; font-size: 1.3rem; }
@media (max-width: 991px) { .promise-row { grid-template-columns: repeat(2, 1fr); margin: 14px 0 0; } }
@media (max-width: 575px) { .promise-row { grid-template-columns: 1fr 1fr; gap: 10px; } .promise { padding: 10px 12px; font-size: .82rem; } .promise .ico3d { width: 40px; height: 40px; font-size: 1.1rem; } .home-slider.slider-box .slide-text { background: linear-gradient(180deg, rgba(14,8,60,.1), rgba(14,8,60,.85)); align-items: flex-end; } .slide-inner { padding: 16px; } }

/* ---- public: PLEASE NOTE ---- */
.note-box { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: 22px; background: linear-gradient(135deg, #fff1f1, #fff7ed); border: 2px solid #ffb3b3;
  box-shadow: 0 16px 36px -18px rgba(255,77,109,.5), inset 0 0 0 6px #fff; position: relative; overflow: hidden; }
.note-box::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,77,109,.14), rgba(255,77,109,0) 70%); }
.note-box h4 { font-weight: 900; letter-spacing: .06em; color: #d61f3a; margin: 0 0 8px; font-size: 1.5rem; text-shadow: 0 2px 0 #fff, 0 3px 6px rgba(214,31,58,.25); }
.note-box ul { margin: 0; padding: 0; list-style: none; }
.note-box li { font-weight: 800; color: #3b1d1d; font-size: .9rem; letter-spacing: .02em; padding: 6px 0 6px 30px; position: relative; border-bottom: 1px dashed #ffd1d1; }
.note-box li:last-child { border-bottom: 0; }
.note-box li::before { content: "\2713"; position: absolute; left: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #ff4d6d, #ff9a76); color: #fff; font-size: .8rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 8px -2px rgba(255,77,109,.6); }

/* ---- public: My Report box ---- */
.rs-card { background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 18px 40px -16px rgba(27,20,100,.35); border: 1px solid #e9e7ff; height: 100%; position: relative; overflow: hidden; }
.rs-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, #2f6bff, #38bdf8, #5eead4); }
.rs-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rs-head h5 { margin: 0; font-weight: 900; font-size: 1.3rem; }
.rs-head .small { color: #5b5f84; }
.rs-tabs { display: flex; gap: 6px; background: #eef0ff; padding: 5px; border-radius: 14px; margin-bottom: 12px; }
.rs-tabs label { flex: 1; text-align: center; padding: 9px 10px; border-radius: 10px; font-weight: 800; cursor: pointer; color: #4338ca; transition: all .15s; }
.rs-tabs label input { display: none; }
.rs-tabs label.on { background: linear-gradient(135deg, #2f6bff, #38bdf8); color: #fff; box-shadow: 0 8px 16px -8px rgba(47,107,255,.8); }
.rs-field { position: relative; margin-bottom: 10px; }
.rs-field i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #7c7fa6; }
.rs-field .form-control { padding: 12px 12px 12px 40px; border-radius: 12px; border: 2px solid #e4e4f5; font-weight: 600; }
.rs-field .form-control:focus { border-color: #2f6bff; box-shadow: 0 0 0 .2rem rgba(47,107,255,.14); }
.rs-list { background: #fff; border-radius: 22px; padding: 20px; box-shadow: 0 18px 40px -16px rgba(27,20,100,.35); }
.rs-bill-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid #ecebff; margin-bottom: 8px; text-decoration: none; color: #1c1d3a; transition: all .15s; }
.rs-bill-row:hover { background: #f6f5ff; transform: translateX(4px); color: #1c1d3a; }

/* ---- public: services & gallery ---- */
.feature { border: 0; border-radius: 22px; padding: 24px 22px; box-shadow: 0 14px 32px -16px rgba(27,20,100,.35); position: relative; overflow: hidden; transition: transform .2s; }
.feature:hover { transform: translateY(-5px); }
.feature::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; opacity: .14; }
.feature.f-blue { background: linear-gradient(160deg, #fff, #eef4ff); } .feature.f-blue::after { background: #2f6bff; }
.feature.f-green { background: linear-gradient(160deg, #fff, #eafbf4); } .feature.f-green::after { background: #00a86b; }
.feature.f-orange { background: linear-gradient(160deg, #fff, #fff6e8); } .feature.f-orange::after { background: #ff8a00; }
.feature.f-pink { background: linear-gradient(160deg, #fff, #fff0f7); } .feature.f-pink::after { background: #ec4899; }
.feature h5 { margin: 14px 0 6px; font-weight: 800; }
.gal-frame { border-radius: 20px; padding: 6px; background: linear-gradient(135deg, #2f6bff, #ec4899, #ffd000); box-shadow: 0 18px 36px -16px rgba(27,20,100,.5); aspect-ratio: auto; }
.gal-frame img { border-radius: 15px; aspect-ratio: 4 / 3; }
.gal-frame span:not(.gal-zoom) { left: 6px; right: 6px; bottom: 6px; border-radius: 0 0 15px 15px; }
.gal-zoom { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.9); color: #5b4bff; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; padding: 0 !important; inset: 14px 14px auto auto !important; font-size: 1rem !important; }
.gal-frame:hover .gal-zoom { opacity: 1; }
.section-title { font-weight: 900; }
.section-title::after { content: ""; display: block; width: 56px; height: 5px; border-radius: 3px; margin-top: 6px; background: linear-gradient(90deg, #5b4bff, #ff5c8a, #ffd000); }

/* ---- public: social icons with brand colours (bigger in the footer, with names) ---- */
.social-links a { width: 40px; height: 40px; font-size: 1.1rem; box-shadow: 0 8px 16px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.35); }
.social-big a { width: auto; height: 40px; border-radius: 20px; padding: 0 14px 0 10px; gap: 8px; font-weight: 700; font-size: .9rem; }
.social-big a i { font-size: 1.15rem; }
.site-footer { background: linear-gradient(135deg, #0f0b3d, #1b1464 60%, #3a1c9c); }

/* ---- panel: dashboard tiles ---- */
.tile3d { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 24px; background: #fff; text-decoration: none; color: #1c1d3a; min-height: 160px; overflow: hidden;
  box-shadow: 0 14px 34px -16px rgba(27,20,100,.35); border: 1px solid #ecebff; transition: transform .2s, box-shadow .2s; }
.tile3d:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -18px rgba(27,20,100,.45); color: #1c1d3a; }
.tile3d .tile-blob { position: absolute; right: -40px; top: -50px; width: 170px; height: 170px; border-radius: 50%; opacity: .16; background: inherit; }
.tile3d .tile-blob.two { right: 40px; top: 60px; width: 70px; height: 70px; opacity: .10; }
.tile3d.t-blue, .tile3d.t-green, .tile3d.t-red, .tile3d.t-orange, .tile3d.t-purple, .tile3d.t-teal, .tile3d.t-pink, .tile3d.t-indigo, .tile3d.t-lime, .tile3d.t-slate { background: #fff; }
.tile3d.t-blue .tile-blob { background: linear-gradient(135deg, #2f6bff, #38bdf8); } .tile3d.t-green .tile-blob { background: linear-gradient(135deg, #00b37a, #5eead4); }
.tile3d.t-red .tile-blob { background: linear-gradient(135deg, #ff4d6d, #ff9a76); } .tile3d.t-orange .tile-blob { background: linear-gradient(135deg, #ff8a00, #ffd000); }
.tile3d.t-purple .tile-blob { background: linear-gradient(135deg, #7c3aed, #e879f9); } .tile3d.t-teal .tile-blob { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.tile3d.t-pink .tile-blob { background: linear-gradient(135deg, #ec4899, #f9a8d4); } .tile3d.t-indigo .tile-blob { background: linear-gradient(135deg, #4338ca, #818cf8); }
.tile3d.t-lime .tile-blob { background: linear-gradient(135deg, #65a30d, #bef264); } .tile3d.t-slate .tile-blob { background: linear-gradient(135deg, #475569, #94a3b8); }
.t-lime { background: linear-gradient(135deg, #65a30d, #bef264); }
.tile3d .tile-num { font-size: 2rem; font-weight: 900; line-height: 1.1; margin-top: 8px; letter-spacing: -.02em; }
.tile3d .tile-lbl { color: #5b5f84; font-weight: 700; font-size: .92rem; }
.tile3d .tile-bars { position: absolute; right: 22px; bottom: 20px; display: flex; align-items: flex-end; gap: 4px; height: 34px; opacity: .9; }
.tile3d .tile-bars i { width: 7px; border-radius: 4px; background: currentColor; opacity: .25; }
.tile3d .tile-bars i:nth-child(1) { height: 35%; } .tile3d .tile-bars i:nth-child(2) { height: 60%; } .tile3d .tile-bars i:nth-child(3) { height: 45%; } .tile3d .tile-bars i:nth-child(4) { height: 80%; } .tile3d .tile-bars i:nth-child(5) { height: 55%; } .tile3d .tile-bars i:nth-child(6) { height: 100%; opacity: .6; }
.tile3d.t-blue .tile-bars { color: #2f6bff; } .tile3d.t-green .tile-bars { color: #00b37a; } .tile3d.t-red .tile-bars { color: #ff4d6d; } .tile3d.t-orange .tile-bars { color: #ff8a00; } .tile3d.t-purple .tile-bars { color: #7c3aed; }
.tile3d.t-teal .tile-bars { color: #0891b2; } .tile3d.t-pink .tile-bars { color: #ec4899; } .tile3d.t-indigo .tile-bars { color: #4338ca; } .tile3d.t-lime .tile-bars { color: #65a30d; }
.tile3d .tile-go { position: absolute; right: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: #f1f0ff; color: #5b4bff; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.tile3d:hover .tile-go { background: #5b4bff; color: #fff; transform: rotate(-45deg); }
.tile-row > div .tile3d { animation: tileIn .5s ease both; }
.tile-row > div:nth-child(2) .tile3d { animation-delay: .05s; } .tile-row > div:nth-child(3) .tile3d { animation-delay: .1s; } .tile-row > div:nth-child(4) .tile3d { animation-delay: .15s; }
.tile-row > div:nth-child(5) .tile3d { animation-delay: .2s; } .tile-row > div:nth-child(6) .tile3d { animation-delay: .25s; } .tile-row > div:nth-child(7) .tile3d { animation-delay: .3s; }
.tile-row > div:nth-child(8) .tile3d { animation-delay: .35s; } .tile-row > div:nth-child(9) .tile3d { animation-delay: .4s; }
@keyframes tileIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.quick-head { display: flex; align-items: baseline; gap: 12px; margin: 28px 0 12px; }
.quick-head h5 { font-weight: 900; margin: 0; }
.quick-head span { color: #5b5f84; font-size: .9rem; }
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1400px) { .quick-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }
.quick-tile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 18px 12px 16px; border-radius: 20px; text-decoration: none; color: #1c1d3a; font-weight: 800; font-size: .9rem; line-height: 1.2;
  background: #fff; border: 1px solid #ecebff; box-shadow: 0 12px 28px -16px rgba(27,20,100,.35); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.quick-tile::before { content: ""; position: absolute; inset: 0; opacity: .10; background: inherit; }
.quick-tile.t-blue { background: linear-gradient(160deg, #eaf1ff, #fff); } .quick-tile.t-green { background: linear-gradient(160deg, #e6faf1, #fff); } .quick-tile.t-orange { background: linear-gradient(160deg, #fff3e0, #fff); }
.quick-tile.t-pink { background: linear-gradient(160deg, #ffe9f3, #fff); } .quick-tile.t-purple { background: linear-gradient(160deg, #f1e8ff, #fff); } .quick-tile.t-teal { background: linear-gradient(160deg, #e3f8fb, #fff); }
.quick-tile.t-indigo { background: linear-gradient(160deg, #e9e8ff, #fff); } .quick-tile.t-red { background: linear-gradient(160deg, #ffe9ec, #fff); } .quick-tile.t-slate { background: linear-gradient(160deg, #eef1f5, #fff); }
.quick-tile:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 20px 36px -16px rgba(27,20,100,.45); color: #1c1d3a; }
.quick-tile .ico3d { width: 56px; height: 56px; font-size: 1.5rem; }
.quick-tile .qt-go { position: absolute; right: 10px; bottom: 8px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #5b4bff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px -4px rgba(27,20,100,.5); font-size: 1.1rem; }
.dash-hello { background: linear-gradient(120deg, #1b1464, #5b4bff 45%, #ff5c8a 85%, #ffb020); position: relative; overflow: hidden; }
.dash-hello::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.08); }

/* ---- panel: master hubs (Test / Doctor / Staff ...) ---- */
.hub-card { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 22px; background: #fff; text-decoration: none; color: #1c1d3a; height: 100%; overflow: hidden;
  border: 1px solid #ecebff; box-shadow: 0 14px 32px -16px rgba(27,20,100,.35); transition: transform .2s, box-shadow .2s; }
.hub-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -18px rgba(27,20,100,.45); color: #1c1d3a; }
.hub-card .hub-blob { position: absolute; left: -30px; top: -40px; width: 130px; height: 130px; border-radius: 50%; opacity: .13; }
.hub-card.t-blue .hub-blob { background: #2f6bff; } .hub-card.t-green .hub-blob { background: #00b37a; } .hub-card.t-red .hub-blob { background: #ff4d6d; } .hub-card.t-orange .hub-blob { background: #ff8a00; }
.hub-card.t-purple .hub-blob { background: #7c3aed; } .hub-card.t-teal .hub-blob { background: #0891b2; } .hub-card.t-pink .hub-blob { background: #ec4899; } .hub-card.t-indigo .hub-blob { background: #4338ca; } .hub-card.t-slate .hub-blob { background: #475569; }
.hub-card.t-blue, .hub-card.t-green, .hub-card.t-red, .hub-card.t-orange, .hub-card.t-purple, .hub-card.t-teal, .hub-card.t-pink, .hub-card.t-indigo, .hub-card.t-slate { background: #fff; }
.hub-card .hub-text { flex: 1; min-width: 0; position: relative; }
.hub-card .rep-title { font-weight: 800; }
.hub-card .hub-go { width: 34px; height: 34px; border-radius: 50%; background: #f1f0ff; color: #5b4bff; display: flex; align-items: center; justify-content: center; flex: none; transition: all .2s; }
.hub-card:hover .hub-go { background: linear-gradient(135deg, #5b4bff, #ff5c8a); color: #fff; }
.hub-card .ico3d { position: relative; }

/* ---- panel: cash book / bank book ---- */
.book-stat { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; color: #fff; height: 100%; position: relative; overflow: hidden; box-shadow: 0 14px 30px -14px rgba(27,20,100,.5); }
.book-stat::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.14); }
.book-stat .ico3d { box-shadow: 0 10px 20px -8px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.6), inset 0 -5px 10px rgba(0,0,0,.2); background: rgba(255,255,255,.22) !important; }
.book-stat .num { font-size: 1.25rem; font-weight: 900; line-height: 1.1; text-shadow: 0 2px 6px rgba(0,0,0,.2); }
.book-stat .lbl { font-size: .85rem; font-weight: 700; opacity: .92; }
.book-card .card-header { color: #fff; border: 0; }
.book-cash .card-header { background: linear-gradient(90deg, #00a86b, #0891b2); }
.book-bank .card-header { background: linear-gradient(90deg, #4338ca, #2f6bff); }
.book-table thead th { background: #f6f5ff; }
.book-table tr.row-in td { background: #f3fcf7; } .book-table tr.row-out td { background: #fff3f5; }
.book-table tr.row-in:hover td { background: #e8f9ef; } .book-table tr.row-out:hover td { background: #ffe9ed; }
.book-table td.text-success { font-weight: 800; color: #0f9d58 !important; } .book-table td.text-danger { font-weight: 800; }
.kind-dot { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; font-size: .75rem; margin-right: 6px; }
.kind-dot.in { background: linear-gradient(135deg, #00b37a, #5eead4); } .kind-dot.out { background: linear-gradient(135deg, #ff4d6d, #ff9a76); }
.book-table tfoot tr { background: #eef0ff; }
@media print { .book-stat { color: #000; box-shadow: none; border: 1px solid #ccc; background: #fff !important; } .book-stat .ico3d { display: none; } }
/* public: test cards with colour */
.test-card { border: 0; border-radius: 18px; box-shadow: 0 12px 28px -16px rgba(27,20,100,.35); border-top: 5px solid #2f6bff; transition: transform .2s; }
.test-card:hover { transform: translateY(-4px); }
.row > div:nth-child(4n+2) .test-card { border-top-color: #00b37a; } .row > div:nth-child(4n+3) .test-card { border-top-color: #ff8a00; } .row > div:nth-child(4n+4) .test-card { border-top-color: #ec4899; }
.test-card .rate { background: #eef0ff; display: inline-block; padding: 4px 12px; border-radius: 20px; align-self: flex-start; }
@media (max-width: 575px) { .note-box { padding: 16px; gap: 12px; } .note-box .ico3d.xl { width: 56px; height: 56px; font-size: 1.6rem; border-radius: 18px; } .note-box h4 { font-size: 1.2rem; } }

/* =====================================================================
   LOOK v4 - module themes, sidebar, header, website part 2
   ===================================================================== */
/* ---- module colours: every area of the software has its own identity ---- */
.mod-dash      { --m1: #5b4bff; --m2: #8b5cf6; --msoft: #eeecff; --mink: #4338ca; }
.mod-reception { --m1: #2f6bff; --m2: #38bdf8; --msoft: #e9f1ff; --mink: #1d4ed8; }
.mod-home      { --m1: #00a86b; --m2: #5eead4; --msoft: #e6f8ef; --mink: #047857; }
.mod-appt      { --m1: #0891b2; --m2: #22d3ee; --msoft: #e3f7fb; --mink: #0e7490; }
.mod-lab       { --m1: #7c3aed; --m2: #e879f9; --msoft: #f3e8ff; --mink: #6d28d9; }
.mod-cash      { --m1: #00a86b; --m2: #0891b2; --msoft: #e6f8ef; --mink: #047857; }
.mod-bank      { --m1: #4338ca; --m2: #2f6bff; --msoft: #e9e8ff; --mink: #3730a3; }
.mod-reports   { --m1: #4338ca; --m2: #818cf8; --msoft: #e9e8ff; --mink: #3730a3; }
.mod-expense   { --m1: #ff4d6d; --m2: #ff8a00; --msoft: #fff0ea; --mink: #c2410c; }
.mod-stock     { --m1: #d97706; --m2: #fbbf24; --msoft: #fff6e0; --mink: #b45309; }
.mod-test      { --m1: #ec4899; --m2: #f97316; --msoft: #ffe9f3; --mink: #be185d; }
.mod-doctor    { --m1: #ff4d6d; --m2: #ff9a76; --msoft: #ffe9ec; --mink: #be123c; }
.mod-staff     { --m1: #ff8a00; --m2: #ffd000; --msoft: #fff3e0; --mink: #c2410c; }
.mod-company   { --m1: #0891b2; --m2: #22d3ee; --msoft: #e3f7fb; --mink: #0e7490; }
.mod-users     { --m1: #475569; --m2: #94a3b8; --msoft: #eef1f5; --mink: #334155; }
.mod-account   { --m1: #4338ca; --m2: #818cf8; --msoft: #e9e8ff; --mink: #3730a3; }
body { --m1: #5b4bff; --m2: #8b5cf6; --msoft: #eeecff; --mink: #4338ca; }
/* the theme is applied to the pieces every page is built from */
.panel-body .main-top { border-bottom: 3px solid; border-image: linear-gradient(90deg, var(--m1), var(--m2)) 1; }
.panel-body .main-top h1 { display: flex; align-items: center; gap: 10px; color: #1c1d3a; }
.mod-chip { width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.05rem; background: linear-gradient(135deg, var(--m1), var(--m2));
  box-shadow: 0 8px 16px -8px var(--m1), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -3px 6px rgba(0,0,0,.15); }
.panel-body .card { border: 1px solid #ecebff; }
.panel-body .card > .card-header { background: linear-gradient(90deg, var(--msoft), #fff 70%); border-left: 4px solid var(--m1); color: #1c1d3a; }
.panel-body .table thead th { background: var(--msoft); color: var(--mink); }
.panel-body .btn-lab { background: linear-gradient(135deg, var(--m1), var(--m2)); box-shadow: 0 8px 16px -8px var(--m1); }
.panel-body .btn-lab:hover, .panel-body .btn-lab:focus { background: linear-gradient(135deg, var(--m1), var(--m2)); filter: brightness(.94); }
.panel-body .btn-outline-lab { color: var(--mink); border-color: var(--m1); }
.panel-body .btn-outline-lab:hover { background: linear-gradient(135deg, var(--m1), var(--m2)); border-color: transparent; color: #fff; }
.panel-body .form-control:focus, .panel-body .form-select:focus { border-color: var(--m1); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--m1) 18%, transparent); }
.panel-body .form-check-input:checked { background-color: var(--m1); border-color: var(--m1); }
.panel-body .text-lab { color: var(--mink) !important; }
.panel-body .nav-pills .nav-link.active { background: linear-gradient(135deg, var(--m1), var(--m2)); }
.panel-body .stock-tabs a.active { background: linear-gradient(135deg, var(--m1), var(--m2)); color: #fff; }
.mod-expense .table thead th { background: #fff0ea; color: #c2410c; }

/* ---- sidebar: coloured icon chips per group, button-style items ---- */
.sidebar a.item { padding: 8px 10px; margin: 2px 10px; gap: 11px; font-weight: 600; font-size: .9rem; border-radius: 12px; transition: all .15s; }
.sidebar a.item i { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; color: #fff; flex: none;
  box-shadow: 0 6px 12px -6px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.45), inset 0 -3px 5px rgba(0,0,0,.2); }
.sidebar a.item.g-Dashboard i { background: linear-gradient(135deg, #5b4bff, #8b5cf6); }
.sidebar a.item.g-Reception i { background: linear-gradient(135deg, #2f6bff, #38bdf8); }
.sidebar a.item.g-Laboratory i { background: linear-gradient(135deg, #7c3aed, #e879f9); }
.sidebar a.item.g-Accounts i { background: linear-gradient(135deg, #00a86b, #5eead4); }
.sidebar a.item.g-Stock i { background: linear-gradient(135deg, #d97706, #fbbf24); }
.sidebar a.item.g-Masters i { background: linear-gradient(135deg, #ec4899, #f97316); }
.sidebar a.item.g-Admin i { background: linear-gradient(135deg, #475569, #94a3b8); }
.sidebar a.item:hover { background: rgba(255,255,255,.12); transform: translateX(3px); }
.sidebar a.item.active { background: #fff; color: #1b1464; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
.sidebar a.item.active i { color: #fff; }
.sidebar .menu-head { padding: 14px 20px 4px; font-size: .66rem; letter-spacing: .12em; }
.sidebar .brand { padding: 14px 16px; font-size: 1rem; }
/* ---- top bar: user menu ---- */
.user-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #e3e0ff; background: #fff; border-radius: 30px; padding: 3px 12px 3px 3px; font-weight: 600; color: #1c1d3a; }
.user-btn:hover { background: #f6f5ff; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; color: #fff; background: linear-gradient(135deg, var(--m1), var(--m2)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.avatar.lg { width: 46px; height: 46px; font-size: 1.05rem; }
.user-menu { border: 0; border-radius: 16px; box-shadow: 0 18px 40px -14px rgba(27,20,100,.4); padding: 8px; min-width: 250px; }
.um-head { display: flex; align-items: center; gap: 12px; padding: 10px 10px 12px; border-bottom: 1px solid #eef0ff; margin-bottom: 6px; }
.um-head small { display: block; color: #6b6f93; }
.user-menu .dropdown-item { border-radius: 10px; padding: 9px 10px; font-weight: 600; display: flex; align-items: center; }
.user-menu .dropdown-item:hover { background: #f3f2ff; }
.user-menu .um-logout { color: #d61f3a; }
.user-menu .um-logout:hover { background: #ffe9ec; }

/* ---- module dashboards (stats strip on top of a master / module page) ---- */
.mod-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 18px; }
.mod-stat { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid #ecebff; box-shadow: 0 12px 26px -16px rgba(27,20,100,.35); transition: transform .2s; }
.mod-stat:hover { transform: translateY(-3px); }
.mod-stat .ico3d { width: 48px; height: 48px; border-radius: 15px; font-size: 1.3rem; }
.mod-stat .num { font-size: 1.35rem; font-weight: 900; line-height: 1.1; }
.mod-stat .lbl { font-size: .8rem; color: #5b5f84; font-weight: 600; }
.count-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.count-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 40px; background: #fff; border: 1px solid #ecebff; text-decoration: none; color: #1c1d3a; box-shadow: 0 10px 22px -14px rgba(27,20,100,.4); transition: transform .15s; }
.count-pill:hover { transform: translateY(-2px); color: #1c1d3a; }
.count-pill b { display: block; font-size: 1.05rem; line-height: 1; }
.count-pill small { color: #5b5f84; font-weight: 600; }
.break-row { margin-bottom: 10px; font-size: .9rem; }
.break-bar { height: 8px; border-radius: 4px; background: #eef0ff; overflow: hidden; margin-top: 4px; }
.break-bar span { display: block; height: 100%; border-radius: 4px; }

/* ---- report settings, change password ---- */
.rs-h1 { display: flex; align-items: center; gap: 10px; }
.social-in .input-group-text { color: #fff; border: 0; min-width: 44px; justify-content: center; }
.social-in.s-fb .input-group-text { background: #1877f2; } .social-in.s-ig .input-group-text { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); } .social-in.s-yt .input-group-text { background: #ff0000; } .social-in.s-gg .input-group-text { background: #ea4335; } .social-in.s-map .input-group-text { background: #34a853; }
.pw-wrap { max-width: 520px; margin: 0 auto; }
.pw-card { border-radius: 24px; overflow: hidden; }
.pw-head { display: flex; align-items: center; gap: 16px; padding: 22px 24px; color: #fff; background: linear-gradient(120deg, #1b1464, #5b4bff 60%, #8b5cf6); }
.pw-head h4 { margin: 0 0 2px; font-weight: 900; }
.pw-head div div { opacity: .85; font-size: .9rem; }
.pw-field { position: relative; }
.pw-field > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #7c7fa6; }
.pw-field .form-control { padding: 12px 44px 12px 40px; border-radius: 12px; border: 2px solid #e4e4f5; font-weight: 600; }
.pw-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #7c7fa6; padding: 4px 8px; }
.pw-meter { height: 6px; border-radius: 3px; background: #eef0ff; margin-top: 8px; overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; border-radius: 3px; transition: width .2s; }

/* ---- expense: its own look (warm, voucher style) ---- */
.mod-expense .card > .card-header { background: linear-gradient(90deg, #fff0ea, #fff 70%); }
.mod-expense .stat { border-left: 5px solid #ff8a00; }
.mod-expense .table tbody td.text-danger, .mod-expense .table tfoot .text-danger { font-weight: 800; }
.mod-expense .btn-lab { background: linear-gradient(135deg, #ff4d6d, #ff8a00); }

/* ---- website part 2: bigger header + slider, 3D nav, login dropdown, gallery 3D ---- */
.site-head { padding: 16px 0; }
.site-brand img { height: 74px; max-width: 240px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(27,20,100,.18)); }
.site-brand .brand-mark { width: 64px; height: 64px; font-size: 1.8rem; border-radius: 20px; background: linear-gradient(135deg, #5b4bff, #ff5c8a); box-shadow: 0 10px 20px -8px rgba(91,75,255,.6), inset 0 1px 0 rgba(255,255,255,.5); }
.site-name { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.05; background: linear-gradient(90deg, #1b1464, #5b4bff 60%, #ff5c8a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-tag { font-size: .95rem; color: #5b5f84; font-weight: 600; letter-spacing: .02em; }
.site-call { background: #fff; border: 1px solid #e3e0ff; border-radius: 40px; padding: 6px 16px 6px 6px; }
.site-call i { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #00a86b, #5eead4); box-shadow: 0 8px 16px -8px #00a86b; }
.home-slider.slider-box .carousel-item { height: clamp(320px, 46vw, 640px); }
.slide-inner { max-width: 720px; }
.slide-inner h2 { font-size: clamp(1.8rem, 4.6vw, 3.6rem); }
.promise-row { margin-top: -40px; }
.site-menu { padding: 8px 0; }
.site-menu .navbar-nav { gap: 6px; }
.site-menu .nav-link { border-radius: 14px; padding: 9px 16px !important; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 4px 10px -6px rgba(0,0,0,.5); transition: all .15s; }
.site-menu .nav-link:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 18px -8px rgba(0,0,0,.6); }
.site-menu .nav-link.active { background: linear-gradient(180deg, #ffd000, #ffb020); color: #1b1464 !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -3px 0 rgba(0,0,0,.12), 0 8px 16px -8px #ffb020; border-color: transparent; }
.site-menu .nav-link:active { transform: translateY(1px); }
.login-dd { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 0; border-radius: 30px; padding: 4px 16px 4px 4px; font-weight: 800; color: #1b1464; box-shadow: 0 10px 20px -8px rgba(0,0,0,.5); }
.login-dd:hover { background: #fff7e6; }
.login-dd .ico3d { width: 34px; height: 34px; border-radius: 50%; font-size: 1rem; }
.login-dd-head { padding: 6px 12px 4px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8a8db3; }
.site-menu .dropdown-menu { min-width: 300px; }
.site-menu .dropdown-item.ld-staff, .site-menu .dropdown-item.ld-collect, .site-menu .dropdown-item.ld-emp { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid transparent; margin-bottom: 4px; }
.site-menu .dropdown-item small { display: block; color: #6b6f93; font-weight: 500; font-size: .78rem; }
.site-menu .dropdown-item.ld-staff:hover { background: #e9f1ff; border-color: #cfe0ff; }
.site-menu .dropdown-item.ld-collect:hover { background: #e6f8ef; border-color: #b9f0d8; }
.site-menu .dropdown-item.ld-emp:hover { background: #f3e8ff; border-color: #e3ccff; }
.note-list li { padding: 8px 0; display: flex; align-items: center; gap: 12px; }
.note-list li::before { display: none; }
.note-list .ico3d.sm { width: 36px; height: 36px; border-radius: 11px; font-size: 1rem; }
.rs-err { background: #fff1f1; border: 1px solid #ffb3b3; color: #b91c1c; border-radius: 12px; padding: 10px 12px; font-size: .88rem; font-weight: 600; margin-bottom: 10px; }
.gal3d { display: block; background: #fff; border-radius: 22px; padding: 10px; text-decoration: none; color: #1c1d3a; box-shadow: 0 14px 30px -14px rgba(27,20,100,.45), 0 2px 0 #fff, 0 10px 0 -4px #e6e4ff, 0 22px 30px -18px rgba(27,20,100,.3); transition: transform .3s, box-shadow .3s; transform-style: preserve-3d; }
.gal3d:hover { transform: translateY(-8px) rotateX(2deg); box-shadow: 0 28px 44px -16px rgba(27,20,100,.5), 0 2px 0 #fff, 0 10px 0 -4px #e6e4ff; color: #1c1d3a; }
.gal3d-img { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: #eef0ff; }
.gal3d-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gal3d:hover .gal3d-img img { transform: scale(1.08); }
.gal3d .gal-zoom { opacity: 0; }
.gal3d:hover .gal-zoom { opacity: 1; }
.gal3d-cap { display: block; padding: 10px 6px 2px; font-weight: 700; font-size: .92rem; color: #4338ca; }
@media (max-width: 575px) { .site-brand img { height: 54px; } .site-name { font-size: 1.35rem; } .site-menu .navbar-nav { gap: 4px; padding: 8px 0; } .site-menu .nav-link { border-radius: 10px; } }

/* ---- patient lists ---- */
.pl-head { background: linear-gradient(120deg, #1d4ed8, #2f6bff 55%, #38bdf8); color: #fff; border: 0 !important; box-shadow: 0 16px 34px -16px rgba(47,107,255,.6) !important; }
.pl-head .text-muted { color: #dbe7ff !important; }
.pl-head .form-label { color: #e8f0ff; font-weight: 600; }
.pl-head .btn-outline-secondary { color: #fff; border-color: rgba(255,255,255,.5); }
.pl-head .btn-outline-secondary:hover { background: #fff; color: #1d4ed8; }
.pl-head .btn-excel { background: #fff; color: #047857; border-color: #fff; }
.pl-head .btn-lab { background: linear-gradient(135deg, #ff8a00, #ffd000); color: #1b1464; box-shadow: 0 8px 16px -8px #ff8a00; }
.pl-name { display: inline-flex; align-items: center; gap: 8px; }
.pl-av { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; color: #fff; background: linear-gradient(135deg, #2f6bff, #38bdf8); flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.pl-uhid { display: inline-block; background: #e9f1ff; color: #1d4ed8; font-weight: 700; padding: 2px 10px; border-radius: 20px; font-size: .85rem; }
.pl-due { display: inline-block; background: #ffe9ec; color: #be123c; font-weight: 800; padding: 2px 10px; border-radius: 20px; }
.pl-paid { color: #047857; font-weight: 700; }
.mod-reception .table tbody tr:hover > * { background: #f3f7ff; }

/* ---- expenses: voucher look ---- */
.exp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
@media (max-width: 991px) { .exp-stats { grid-template-columns: repeat(2, 1fr); } }
.exp-stat { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; color: #fff; box-shadow: 0 14px 28px -14px rgba(0,0,0,.45); position: relative; overflow: hidden; }
.exp-stat::after { content: ""; position: absolute; right: -24px; bottom: -34px; width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,.14); }
.exp-stat .ico3d { background: rgba(255,255,255,.22) !important; width: 48px; height: 48px; border-radius: 15px; font-size: 1.3rem; }
.exp-stat .num { font-size: 1.3rem; font-weight: 900; line-height: 1.1; }
.exp-stat .lbl { font-size: .8rem; font-weight: 700; opacity: .9; }
.es-total { background: linear-gradient(135deg, #ff4d6d, #ff8a00); } .es-cash { background: linear-gradient(135deg, #ff8a00, #ffd000); } .es-bank { background: linear-gradient(135deg, #4338ca, #2f6bff); } .es-count { background: linear-gradient(135deg, #475569, #94a3b8); }
.exp-form-head { display: flex; align-items: center; gap: 10px; }
.exp-card .table tbody tr:hover > * { background: #fff6f1; }
.exp-mode { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 20px; font-weight: 700; font-size: .82rem; }
.exp-mode.cash { background: #fff3e0; color: #c2410c; } .exp-mode.bank { background: #e9e8ff; color: #3730a3; }

.exp-amt { color: #be123c; font-size: 1.02rem; }
.rt-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.rt-param { background: #e9f1ff; color: #1d4ed8; } .rt-calc { background: #f3e8ff; color: #6d28d9; } .rt-doc { background: #fff3e0; color: #c2410c; } .rt-none { background: #eef1f5; color: #64748b; }
.social-links a.s-off { opacity: .55; cursor: default; filter: saturate(.7); }
.social-links a.s-off:hover { transform: none; }

/* =====================================================================
   LOGIN PAGES v2 - full screen, one structure, three themes (blue / green / purple)
   ===================================================================== */
.lgn { margin: 0; min-height: 100vh; font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color: #1c1d3a; position: relative; overflow-x: hidden; }
.lg-blue   { --l1: #1d4ed8; --l2: #2f6bff; --l3: #38bdf8; --lsoft: #e8f1ff; --lbg1: #0b2a7a; --lbg2: #2f6bff; }
.lg-green  { --l1: #047857; --l2: #00a86b; --l3: #5eead4; --lsoft: #e6f8ef; --lbg1: #064e3b; --lbg2: #00a86b; }
.lg-purple { --l1: #5b21b6; --l2: #7c3aed; --l3: #e879f9; --lsoft: #f3e8ff; --lbg1: #2e1065; --lbg2: #7c3aed; }
.lgn-bg { position: fixed; inset: 0; z-index: -1; background: radial-gradient(900px 500px at 0% 0%, var(--lbg2) 0%, transparent 60%), radial-gradient(800px 600px at 100% 100%, var(--l3) 0%, transparent 55%), linear-gradient(135deg, var(--lbg1), var(--lbg2) 55%, var(--l3)); }
.lgn-bg .hex { position: absolute; width: 120px; height: 104px; background: rgba(255,255,255,.07); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.lgn-bg .h1 { right: 8%; top: 6%; } .lgn-bg .h2 { right: 16%; top: 20%; width: 80px; height: 70px; } .lgn-bg .h3 { left: 30%; bottom: 8%; width: 90px; height: 78px; }
.lgn-bg .wave { position: absolute; left: -10%; right: -10%; bottom: -120px; height: 300px; border-radius: 50% 50% 0 0; background: rgba(255,255,255,.10); }
.lgn-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr .9fr; max-width: 1400px; margin: 0 auto; }
.lgn-left { color: #fff; padding: clamp(24px, 4vw, 56px) clamp(20px, 4vw, 56px); display: flex; flex-direction: column; gap: 22px; }
.lgn-brand { display: flex; align-items: center; gap: 18px; }
.lgn-logo { width: 96px; height: 96px; border-radius: 28px; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 18px 36px -14px rgba(0,0,0,.5), inset 0 -6px 12px rgba(0,0,0,.08); overflow: hidden; font-size: 2.6rem; color: var(--l2); }
.lgn-logo img { width: 86%; height: 86%; object-fit: contain; }
.lgn-brand h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 900; letter-spacing: .02em; line-height: 1; text-shadow: 0 6px 20px rgba(0,0,0,.35); }
.lgn-sub { font-size: 1.05rem; font-weight: 600; opacity: .92; margin-top: 6px; }
.lgn-scene { position: relative; flex: 1; min-height: 260px; display: flex; align-items: center; justify-content: center; }
.scene-ring { width: min(360px, 70%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.28), rgba(255,255,255,.06) 70%); box-shadow: inset 0 0 0 14px rgba(255,255,255,.08), 0 30px 60px -30px rgba(0,0,0,.6); }
.scene-main { position: absolute; font-size: clamp(7rem, 16vw, 12rem); color: #fff; text-shadow: 0 20px 40px rgba(0,0,0,.4); filter: drop-shadow(0 0 2px rgba(255,255,255,.4)); }
.scene-float { position: absolute; width: 64px; height: 64px; border-radius: 20px; font-size: 1.7rem; animation: floaty 4s ease-in-out infinite; }
.scene-float.f1 { left: 12%; top: 10%; } .scene-float.f2 { right: 12%; top: 16%; animation-delay: .8s; } .scene-float.f3 { left: 16%; bottom: 12%; animation-delay: 1.6s; } .scene-float.f4 { right: 14%; bottom: 8%; animation-delay: 2.4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.scene-road { position: absolute; left: 10%; right: 10%; bottom: 4%; border-top: 4px dashed rgba(255,255,255,.4); }
.scene-plant { position: absolute; right: 22%; bottom: 10%; font-size: 3rem; color: #a7f3d0; }
.lgn-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lgn-feats li { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); border-radius: 40px; padding: 8px 16px 8px 8px; font-weight: 700; font-size: .95rem; }
.lgn-feats .ico3d.sm { width: 40px; height: 40px; border-radius: 50%; font-size: 1.1rem; }
.lgn-right { display: flex; align-items: center; justify-content: center; padding: clamp(24px, 4vw, 56px) clamp(16px, 3vw, 48px); }
.lgn-card { position: relative; width: 100%; max-width: 480px; background: #fff; border-radius: 28px; padding: 64px 36px 28px; margin-top: 44px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), 0 0 0 8px rgba(255,255,255,.18); }
.lgn-ribbon { position: absolute; right: 0; top: 0; width: 104px; height: 104px; border-radius: 0 28px 0 0; background: linear-gradient(135deg, var(--l2), var(--l3)); clip-path: polygon(100% 0, 28% 0, 100% 72%); }
.lgn-badge { position: absolute; left: 50%; top: -44px; transform: translateX(-50%); width: 92px; height: 92px; border-radius: 50%; font-size: 2.6rem; box-shadow: 0 0 0 8px #fff, 0 18px 34px -12px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.6), inset 0 -6px 12px rgba(0,0,0,.18); }
.lgn-card h2 { text-align: center; font-weight: 900; font-size: 2rem; margin: 0 0 8px; color: #1c1d3a; }
.lgn-for { display: block; margin: 0 auto 22px; width: fit-content; background: var(--lsoft); color: var(--l1); font-weight: 700; padding: 6px 18px; border-radius: 30px; font-size: .95rem; }
.lgn-field { position: relative; margin-bottom: 14px; display: flex; align-items: center; }
.lgn-field > i { position: absolute; left: 16px; color: #8a8db3; font-size: 1.1rem; z-index: 2; }
.lgn-field .form-control { height: 54px; border-radius: 14px; border: 2px solid #e4e4f5; padding-left: 46px; font-size: 1rem; font-weight: 600; background: #fbfbff; }
.lgn-field .form-control:focus { border-color: var(--l2); box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--l2) 18%, transparent); background: #fff; }
.lgn-field .lgn-prefix { position: absolute; left: 42px; font-weight: 800; color: var(--l1); z-index: 2; }
.lgn-field .lgn-prefix + .form-control { padding-left: 78px; }
.lgn-field .login-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #8a8db3; padding: 6px 10px; font-size: 1.1rem; }
.lgn-row { display: flex; justify-content: space-between; align-items: center; margin: 2px 2px 18px; }
.lgn-forgot { color: var(--l1); font-weight: 700; font-size: .9rem; cursor: help; }
.lgn-btn { height: 56px; border-radius: 16px; font-size: 1.15rem; font-weight: 800; color: #fff; border: 0; background: linear-gradient(135deg, var(--l1), var(--l2) 60%, var(--l3)); box-shadow: 0 16px 28px -12px var(--l2), inset 0 2px 0 rgba(255,255,255,.4), inset 0 -4px 0 rgba(0,0,0,.14); transition: transform .15s, box-shadow .15s; }
.lgn-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 34px -12px var(--l2), inset 0 2px 0 rgba(255,255,255,.4), inset 0 -4px 0 rgba(0,0,0,.14); }
.lgn-btn:active { transform: translateY(1px); }
.lgn-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 22px; font-size: .9rem; }
.lgn-links a { color: var(--l1); font-weight: 700; text-decoration: none; }
.lgn-links a:hover { text-decoration: underline; }
.lgn .alert { border-radius: 12px; }
@media (max-width: 991px) {
  .lgn-wrap { grid-template-columns: 1fr; }
  .lgn-left { padding-bottom: 0; gap: 14px; }
  .lgn-scene { min-height: 150px; } .scene-ring { width: 150px; } .scene-main { font-size: 4.5rem; } .scene-float { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 14px; }
  .lgn-feats { grid-template-columns: 1fr 1fr; } .lgn-feats li { font-size: .82rem; padding: 6px 10px 6px 6px; } .lgn-feats .ico3d.sm { width: 32px; height: 32px; font-size: .9rem; }
  .lgn-logo { width: 64px; height: 64px; border-radius: 18px; font-size: 1.8rem; }
  .lgn-right { padding-top: 60px; }
  .lgn-card { padding: 60px 22px 22px; }
}
@media (max-width: 575px) { .lgn-feats { grid-template-columns: 1fr; } .lgn-scene { display: none; } .lgn-brand h1 { font-size: 1.7rem; } }
.lgn-clip { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; pointer-events: none; }
.lgn-ribbon { border-radius: 0; }

/* ============================================================
   HOME PAGE v3 (reference design): header, 3D nav, slider panel,
   note / report / mini gallery row, test cards, gallery strip, footer
   ============================================================ */
.site-top .top-follow{font-weight:700;letter-spacing:.3px;opacity:.95}
.site-top .top-sep{border-left:1px solid rgba(255,255,255,.35);padding-left:14px}
.site-top .social-links a{width:28px;height:28px;border-radius:50%;background:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:15px;box-shadow:0 3px 8px rgba(0,0,0,.18)}
.site-top .social-links a.s-fb{color:#1877f2}.site-top .social-links a.s-ig{color:#e1306c}.site-top .social-links a.s-yt{color:#ff0000}
.site-top .social-links a.s-gg{color:#4285f4}.site-top .social-links a.s-map{color:#34a853}
.site-top .social-links a.s-off{opacity:.55}
.site-head .site-brand img{height:76px;max-width:220px}
.site-head .site-brand .brand-mark{width:72px;height:72px;font-size:38px}
.site-head .site-name{font-size:30px;line-height:1.05;letter-spacing:.3px}
.site-head .site-tag{font-size:13px;font-weight:600;color:#5b4bff;letter-spacing:.5px;text-transform:uppercase;margin-top:3px}
.site-motto{align-items:center;gap:12px;margin-left:28px;padding-left:28px;border-left:2px solid #e5e7eb;color:#334155;font-size:17px;font-weight:600}
.site-motto em{font-style:italic}
.site-call{box-shadow:0 8px 18px rgba(14,165,233,.25)}
.site-call span{font-size:18px}
.site-menu{background:linear-gradient(90deg,#0b3d91,#0ea5e9)}
.site-menu .nav-link{display:inline-flex;align-items:center;gap:7px;margin:7px 3px;padding:8px 14px!important;border-radius:11px;background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.28);box-shadow:0 4px 10px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.35);color:#fff!important;font-weight:700;font-size:14px;transition:.15s}
.site-menu .nav-link i{font-size:15px;color:#ffe066;filter:drop-shadow(0 1px 1px rgba(0,0,0,.3))}
.site-menu .nav-link:hover{transform:translateY(-2px);background:linear-gradient(180deg,rgba(255,255,255,.34),rgba(255,255,255,.12))}
.site-menu .nav-link.active{background:linear-gradient(180deg,#ffd43b,#f59e0b);color:#1e293b!important;border-color:#fbbf24}
.site-menu .nav-link.active i{color:#7c2d12}

/* ---- slider v2: picture full width, message panel floating on the left ---- */
.slider-v2{position:relative;border-radius:24px;overflow:hidden;box-shadow:0 22px 50px rgba(2,6,23,.28);border:6px solid #fff;min-height:520px;background:#0b3d91}
.slider-v2 .carousel-inner,.slider-v2 .carousel-item{height:520px}
.slider-v2 .slide-img{height:100%;background-size:cover;background-position:center;position:relative}
.slider-v2 .slide-img::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.9) 38%,rgba(255,255,255,.25) 58%,rgba(255,255,255,0) 75%)}
.slider-v2 .slide-noimg{background:linear-gradient(135deg,#0ea5e9,#6366f1);display:flex;align-items:center;justify-content:flex-end;padding-right:12%;color:rgba(255,255,255,.35);font-size:200px}
.slide-panel{position:absolute;left:0;top:0;bottom:0;width:52%;padding:38px 20px 70px 44px;display:flex;flex-direction:column;justify-content:center;z-index:3}
.slide-panel .slide-pill{display:inline-flex;align-items:center;align-self:flex-start;background:linear-gradient(90deg,#0ea5e9,#6366f1);color:#fff;font-weight:700;font-size:13px;padding:7px 16px;border-radius:30px;box-shadow:0 6px 14px rgba(99,102,241,.3);margin-bottom:14px}
.slide-panel h2{font-size:52px;font-weight:900;letter-spacing:.5px;color:#0b3d91;margin:0 0 6px;line-height:1.05}
.slide-panel p{font-size:19px;color:#334155;font-weight:600;margin:0 0 20px}
.slide-promises{display:flex;flex-wrap:wrap;gap:12px 22px;margin-bottom:22px}
.slide-promises>div{display:flex;align-items:center;gap:9px;font-weight:700;font-size:13px;line-height:1.15;color:#1e293b}
.slide-promises .ico3d{width:46px;height:46px;font-size:20px;flex:0 0 auto}
.slide-btns{display:flex;flex-wrap:wrap;gap:12px}
.slide-btns .btn{font-weight:800;border-radius:14px;padding:12px 22px;box-shadow:0 10px 22px rgba(0,0,0,.18)}
.btn-grad-orange{background:linear-gradient(135deg,#fbbf24,#f97316);color:#1e293b!important;border:0}
.btn-grad-orange:hover{filter:brightness(1.06);color:#1e293b!important}
.slider-v2 .carousel-indicators{margin-bottom:14px;z-index:4}
.slider-v2 .carousel-indicators button{width:12px;height:12px;border-radius:50%;background:#fff;opacity:.6;border:2px solid #0ea5e9;margin:0 5px}
.slider-v2 .carousel-indicators button.active{opacity:1;background:#f59e0b;border-color:#fff;transform:scale(1.2)}
.slide-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:52px;height:52px;border-radius:50%;border:0;background:linear-gradient(135deg,#ffffff,#e0f2fe);color:#0b3d91;font-size:24px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 20px rgba(2,6,23,.3),inset 0 1px 0 #fff;transition:.15s}
.slide-nav:hover{background:linear-gradient(135deg,#0ea5e9,#6366f1);color:#fff;transform:translateY(-50%) scale(1.08)}
.slide-nav.prev{left:16px}.slide-nav.next{right:16px}
.ico3d.xl{width:70px;height:70px;font-size:34px;border-radius:20px}

/* ---- please note v2 ---- */
.note-v2{display:flex;gap:18px;align-items:center;background:linear-gradient(135deg,#fff5f5,#ffe4e6);border:2px solid #fecaca;border-radius:22px;padding:22px;box-shadow:0 14px 30px rgba(220,38,38,.12);position:relative;overflow:hidden}
.note-v2::before{content:"";position:absolute;left:0;top:0;bottom:0;width:8px;background:linear-gradient(180deg,#ef4444,#b91c1c)}
.note-stamp{display:flex;flex-direction:column;align-items:center;gap:8px;flex:0 0 auto;padding-right:18px;border-right:2px dashed #fca5a5}
.note-stamp b{color:#b91c1c;font-size:22px;line-height:1;text-align:center;letter-spacing:1px;font-weight:900}
.note-v2 .note-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.note-v2 .note-list li{display:flex;gap:10px;align-items:flex-start;font-weight:800;color:#991b1b;font-size:13.5px;line-height:1.35}
.note-tick{flex:0 0 auto;width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#ef4444,#b91c1c);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:14px;box-shadow:0 4px 8px rgba(185,28,28,.35)}

/* ---- my report (3 tabs) ---- */
.rs-card .rs-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:#e2e8f0;border-radius:12px;padding:4px;margin-bottom:12px}
.rs-card .rs-tabs label{text-align:center;padding:8px 4px;border-radius:9px;font-weight:800;font-size:13px;color:#475569;cursor:pointer;margin:0}
.rs-card .rs-tabs label.on{background:linear-gradient(135deg,#0ea5e9,#6366f1);color:#fff;box-shadow:0 4px 10px rgba(99,102,241,.3)}
.rs-card .rs-tabs input{display:none}

/* ---- mini gallery beside my report ---- */
.mini-gal{position:relative;background:#fff;border-radius:22px;box-shadow:0 14px 30px rgba(2,6,23,.1);border:1px solid #e5e7eb;padding:16px 16px 18px}
.mini-gal-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.mini-gal-head h5{margin:0;font-weight:900;color:#0b3d91;flex:1}
.mini-gal-head a{color:#6366f1;font-size:20px}
.mini-gal-strip,.gal-strip{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:6px 2px 10px}
.mini-gal-strip::-webkit-scrollbar,.gal-strip::-webkit-scrollbar{display:none}
.mini-gal-item{flex:0 0 46%;scroll-snap-align:start;border-radius:16px;overflow:hidden;box-shadow:0 10px 22px rgba(2,6,23,.18);border:4px solid #fff;transform:perspective(600px) rotateY(0);transition:.2s;background:#f1f5f9}
.mini-gal-item img{width:100%;height:150px;object-fit:cover;display:block}
.mini-gal-item:hover{transform:translateY(-4px) scale(1.02)}
.mini-nav{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:0;background:linear-gradient(135deg,#0ea5e9,#6366f1);color:#fff;font-size:18px;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 14px rgba(99,102,241,.35);z-index:2}
.mini-nav.prev{left:-6px}.mini-nav.next{right:-6px}
.mini-nav:hover{filter:brightness(1.1)}

/* ---- section heads / services / tests ---- */
.sec-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.sec-head h2{margin:0;font-weight:900;color:#0b3d91;font-size:28px}
.sec-head .sec-sub{color:#64748b;font-weight:600}
.feature{position:relative;overflow:hidden;border-radius:22px;padding:24px 20px;color:#fff;min-height:200px;box-shadow:0 16px 34px rgba(2,6,23,.18);transition:.2s}
.feature::after{content:"";position:absolute;right:-30px;bottom:-30px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.12)}
.feature:hover{transform:translateY(-5px)}
.feature .ico3d{width:62px;height:62px;font-size:28px;margin-bottom:14px;background:rgba(255,255,255,.95)!important;box-shadow:0 10px 20px rgba(0,0,0,.25)}
.feature h5{font-weight:900;font-size:18px}
.feature p{margin:0;opacity:.95;font-weight:500}
.f-blue{background:linear-gradient(135deg,#0ea5e9,#2563eb)}.f-green{background:linear-gradient(135deg,#34d399,#059669)}
.f-orange{background:linear-gradient(135deg,#fbbf24,#ea580c)}.f-pink{background:linear-gradient(135deg,#f472b6,#be185d)}
.tests-panel{background:linear-gradient(180deg,#f8fafc,#eef2ff);border-radius:26px;padding:26px 22px;border:1px solid #e0e7ff}
.test-card2{display:flex;gap:14px;align-items:flex-start;background:#fff;border-radius:20px;padding:18px 16px;height:100%;border:1px solid #e5e7eb;border-top:5px solid var(--tc,#0ea5e9);box-shadow:0 12px 26px rgba(2,6,23,.1);transition:.2s;position:relative}
.test-card2:hover{transform:translateY(-4px);box-shadow:0 18px 34px rgba(2,6,23,.16)}
.test-card2.t-red{--tc:#ef4444}.test-card2.t-green{--tc:#10b981}.test-card2.t-orange{--tc:#f59e0b}.test-card2.t-purple{--tc:#8b5cf6}
.test-card2.t-blue{--tc:#0ea5e9}.test-card2.t-pink{--tc:#ec4899}.test-card2.t-teal{--tc:#14b8a6}.test-card2.t-indigo{--tc:#6366f1}
.test-card2 .ico3d{flex:0 0 auto;width:52px;height:52px;font-size:24px}
.test-card2 .dept{font-size:11px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:var(--tc)}
.test-card2 .name{font-weight:900;color:#0f172a;font-size:16px;line-height:1.2;margin:2px 0 4px}
.test-card2 .price{display:inline-block;margin-top:8px;background:linear-gradient(135deg,#dcfce7,#bbf7d0);color:#166534;font-weight:900;padding:4px 14px;border-radius:30px;font-size:15px;border:1px solid #86efac}

/* ---- gallery strip + find us ---- */
.gal-panel,.find-panel{background:#fff;border-radius:26px;padding:22px;border:1px solid #e5e7eb;box-shadow:0 14px 30px rgba(2,6,23,.08)}
.gal-strip-wrap{position:relative}
.gal-strip .gal3d{flex:0 0 48%;scroll-snap-align:start;margin:0}
.gal-strip .gal3d-img img{height:190px}
.find-row{display:flex;gap:12px;align-items:center;margin-bottom:12px;font-weight:600;color:#1e293b}
.find-row .ico3d.sm{width:40px;height:40px;font-size:18px;flex:0 0 auto}
.find-row a{color:#0b3d91;text-decoration:none}
.find-panel .map-box iframe,.find-panel iframe{border-radius:18px;min-height:260px}

/* ---- footer with wave ---- */
.site-footer{position:relative;background:linear-gradient(180deg,#0b3d91,#071f4d);color:#dbeafe;padding:70px 0 20px;margin-top:40px}
.foot-wave{position:absolute;left:0;right:0;top:-1px;height:48px;background:#f1f5f9;clip-path:ellipse(55% 100% at 50% 0%)}
.site-footer h6{color:#fff;font-weight:900;text-transform:uppercase;letter-spacing:.8px;margin-bottom:14px;font-size:14px}
.foot-brand{display:flex;align-items:center;gap:14px;margin-bottom:10px}
.foot-logo{width:70px;height:70px;border-radius:16px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 8px 18px rgba(0,0,0,.3);font-size:34px;color:#0ea5e9}
.foot-logo img{max-width:100%;max-height:100%;object-fit:contain}
.foot-brand h5{margin:0;color:#fff;font-weight:900;font-size:22px}
.foot-tag{font-style:italic;color:#bfdbfe;margin:8px 0}
.foot-links{display:flex;flex-direction:column;gap:7px}
.foot-links a{color:#dbeafe;text-decoration:none;font-weight:600;font-size:14px}
.foot-links a::before{content:"\203A";margin-right:7px;color:#fbbf24;font-weight:900}
.foot-links a:hover{color:#fbbf24}
.foot-contact>div{display:flex;gap:10px;align-items:flex-start;margin-bottom:9px;font-size:14px;font-weight:600}
.foot-contact i{color:#fbbf24;margin-top:2px}
.foot-contact a{color:#dbeafe;text-decoration:none}
.site-footer .social-links.social-big a{background:#fff;color:#1e293b;border-radius:12px;padding:8px 12px;font-weight:800;box-shadow:0 6px 14px rgba(0,0,0,.25)}
.site-footer .social-links.social-big a i{font-size:22px}
.site-footer .social-links.social-big a.s-fb i{color:#1877f2}.site-footer .social-links.social-big a.s-ig i{color:#e1306c}.site-footer .social-links.social-big a.s-yt i{color:#ff0000}
.site-footer .social-links.social-big a.s-gg i{color:#4285f4}.site-footer .social-links.social-big a.s-map i{color:#34a853}
.foot-copy{border-top:1px solid rgba(255,255,255,.15);margin-top:30px;padding-top:16px;text-align:center;font-size:13px;color:#bfdbfe}

@media (max-width:991.98px){
  .slider-v2,.slider-v2 .carousel-inner,.slider-v2 .carousel-item{height:auto;min-height:0}
  .slider-v2 .carousel-inner{height:230px}.slider-v2 .carousel-item{height:230px}
  .slider-v2 .slide-img::after{background:linear-gradient(180deg,rgba(255,255,255,0) 40%,rgba(255,255,255,.9))}
  .slide-panel{position:static;width:100%;padding:18px 18px 50px;background:#fff}
  .slide-panel h2{font-size:32px}.slide-panel p{font-size:16px}
  .slide-nav{top:115px;transform:none;width:42px;height:42px}
  .slide-nav:hover{transform:scale(1.05)}
  .slider-v2 .carousel-indicators{top:195px;bottom:auto}
  .site-head .site-name{font-size:24px}.site-head .site-brand img{height:56px}
  .note-v2{flex-direction:column;align-items:flex-start}
  .note-stamp{flex-direction:row;border-right:0;border-bottom:2px dashed #fca5a5;padding:0 0 10px;width:100%}
  .site-menu .nav-link{margin:4px 0}
}
/* home v3 fixes */
.feature.f-blue{background:linear-gradient(135deg,#0ea5e9,#2563eb)}.feature.f-green{background:linear-gradient(135deg,#34d399,#059669)}
.feature.f-orange{background:linear-gradient(135deg,#fbbf24,#ea580c)}.feature.f-pink{background:linear-gradient(135deg,#f472b6,#be185d)}
.feature h5,.feature p{color:#fff}
.site-menu .nav-link i{margin-right:6px}
.site-menu .navbar-nav .nav-link{font-size:13px;padding:8px 11px!important}
.slide-promises{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.slide-promises>div{font-size:12px}
.slide-promises .ico3d{width:42px;height:42px;font-size:18px}
@media (max-width:991.98px){.slide-promises{grid-template-columns:repeat(2,1fr)}}
.site-footer .social-links.social-big a{display:inline-flex;align-items:center;gap:9px;height:auto}
.site-footer .social-links.social-big a span{color:#1e293b;font-weight:800}
.site-footer .social-links.social-big a.s-off{opacity:.7}
/* public website: use the full screen width (content was a narrow column on wide / zoomed-out screens) */
.site-body .container{max-width:1500px;width:94%}
@media (min-width:1600px){
  .site-body .container{max-width:1700px}
  .site-body{font-size:17px}
  .slider-v2,.slider-v2 .carousel-inner,.slider-v2 .carousel-item{height:600px}
  .slide-panel h2{font-size:60px}.slide-panel p{font-size:22px}
  .slide-promises>div{font-size:14px}.slide-promises .ico3d{width:52px;height:52px;font-size:22px}
  .site-menu .navbar-nav .nav-link{font-size:15px;padding:10px 16px!important}
  .site-head .site-name{font-size:36px}.site-head .site-brand img{height:90px}
  .note-v2 .note-list li{font-size:15px}.sec-head h2{font-size:32px}
}
@media (min-width:2200px){
  .site-body .container{max-width:2000px}
  .site-body{font-size:19px}
  .slider-v2,.slider-v2 .carousel-inner,.slider-v2 .carousel-item{height:720px}
  .slide-panel h2{font-size:72px}
  .site-menu .navbar-nav .nav-link{font-size:17px;padding:12px 20px!important}
}

/* ============================================================
   HOME GLOSSY v4 — bright, shiny, saturated look (reference image)
   ============================================================ */
:root{--g-ind:#2b1fa8;--g-vio:#6d28d9;--g-blue:#1d6ff2;--g-sky:#38bdf8;--g-yel:#ffd60a;--g-grn:#22c55e}
.site-body{background:linear-gradient(180deg,#eef1ff 0%,#f7f8ff 40%,#eef6ff 100%)}
.site-body .container{max-width:1800px;width:96%}
/* glossy shine helper: a soft white highlight on the top half */
.gl{position:relative;overflow:hidden}
.gl::before{content:"";position:absolute;left:0;right:0;top:0;height:50%;background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,.08));pointer-events:none;border-radius:inherit}

/* top bar + header */
.site-top{background:linear-gradient(90deg,#2b1fa8,#6d28d9 55%,#1d6ff2);color:#fff;font-weight:600;font-size:13.5px;box-shadow:0 2px 0 rgba(255,255,255,.25) inset}
.site-top a{color:#fff}
.site-top .social-links a{width:30px;height:30px;box-shadow:0 4px 10px rgba(0,0,0,.3),inset 0 2px 0 #fff}
.site-head{background:linear-gradient(180deg,#ffffff,#eef2ff);border-bottom:1px solid #dfe3ff;box-shadow:0 10px 24px -14px rgba(43,31,168,.35)}
.site-head .site-name{font-size:34px;font-weight:900;background:linear-gradient(90deg,#1e3a8a,#6d28d9 60%,#2563eb);-webkit-background-clip:text;background-clip:text;color:transparent;letter-spacing:.5px}
.site-head .site-tag{color:#4f46e5;font-size:12.5px}
.site-head .site-brand img{height:84px;max-width:240px;filter:drop-shadow(0 6px 10px rgba(43,31,168,.25))}
.site-head .brand-mark{background:linear-gradient(135deg,#2563eb,#6d28d9);color:#fff;border-radius:50%;box-shadow:0 10px 22px rgba(43,31,168,.4),inset 0 3px 0 rgba(255,255,255,.5)}
.site-motto{color:#1e293b;font-size:18px;border-left-color:#c7d2fe}
.site-call{background:linear-gradient(180deg,#ffffff,#f1f5f9);border:1px solid #cbd5e1;border-radius:50px;padding:6px 20px 6px 6px;box-shadow:0 10px 24px -8px rgba(2,6,23,.3),inset 0 2px 0 #fff}
.site-call i{width:46px;height:46px;background:linear-gradient(180deg,#4ade80,#16a34a);box-shadow:0 6px 14px rgba(22,163,74,.45),inset 0 2px 0 rgba(255,255,255,.6);color:#fff;font-size:20px}
.site-call span{font-size:19px;font-weight:900;color:#1e1b4b}
.site-call small{color:#64748b}
.site-head .btn-grad-orange,.site-head .btn.btn-report{background:linear-gradient(180deg,#ffb347,#f97316);color:#fff!important;border:0;border-radius:14px;font-weight:800;padding:10px 18px;box-shadow:0 8px 18px rgba(249,115,22,.45),inset 0 2px 0 rgba(255,255,255,.55);text-shadow:0 1px 1px rgba(0,0,0,.2)}

/* menu bar */
.site-menu{background:linear-gradient(90deg,#1d4ed8 0%,#4f46e5 45%,#7c3aed 75%,#2563eb 100%);position:relative;padding:9px 0;box-shadow:0 12px 26px -12px rgba(30,27,138,.7)}
.site-menu::after{content:"";position:absolute;left:0;right:0;top:0;height:50%;background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,0));pointer-events:none}
.site-menu .container{position:relative;z-index:1}
.site-menu .navbar-nav{gap:8px}
.site-menu .navbar-nav .nav-link{font-size:14.5px;padding:10px 16px!important;border-radius:13px;background:linear-gradient(180deg,rgba(255,255,255,.42) 0%,rgba(255,255,255,.14) 50%,rgba(255,255,255,.04) 52%,rgba(255,255,255,.12) 100%);border:1px solid rgba(255,255,255,.55);box-shadow:0 6px 14px rgba(15,23,42,.35),inset 0 1px 0 rgba(255,255,255,.7),inset 0 -2px 0 rgba(0,0,0,.12);color:#fff!important;font-weight:800;text-shadow:0 1px 1px rgba(0,0,0,.25)}
.site-menu .navbar-nav .nav-link i{color:#ffe066;font-size:16px;margin-right:7px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.35))}
.site-menu .navbar-nav .nav-link:hover{background:linear-gradient(180deg,rgba(255,255,255,.6),rgba(255,255,255,.25) 50%,rgba(255,255,255,.12) 52%,rgba(255,255,255,.22));transform:translateY(-2px)}
.site-menu .navbar-nav .nav-link.active{background:linear-gradient(180deg,#fff3a8 0%,#ffd60a 48%,#f5b800 52%,#ffc93c 100%);color:#1e1b4b!important;border-color:#fff2a8;text-shadow:0 1px 0 rgba(255,255,255,.6);box-shadow:0 8px 18px rgba(245,184,0,.5),inset 0 1px 0 #fff,inset 0 -2px 0 rgba(0,0,0,.15)}
.site-menu .navbar-nav .nav-link.active i{color:#7c2d12}
.login-dd{background:linear-gradient(180deg,#fff,#eef2ff);border-radius:30px;padding:5px 18px 5px 5px;font-weight:900;color:#2b1fa8;box-shadow:0 8px 18px rgba(15,23,42,.35),inset 0 2px 0 #fff;font-size:15px}
.login-dd .ico3d{width:36px;height:36px;background:linear-gradient(180deg,#ffe066,#f59e0b)!important;color:#7c2d12!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.7),0 4px 10px rgba(245,158,11,.45)!important}

/* slider */
.home-slider.slider-v2{border:5px solid #fff;border-radius:26px;box-shadow:0 0 0 2px #c7d2fe,0 30px 60px -20px rgba(43,31,168,.6),0 10px 24px rgba(43,31,168,.25);background:#1e1b8a;min-height:0}
.home-slider.slider-v2 .carousel-inner,.home-slider.slider-v2 .carousel-item{height:560px}
.home-slider.slider-v2 .slide-img{height:100%}
.home-slider.slider-v2 .slide-img::after{background:linear-gradient(90deg,rgba(30,27,138,.96) 0%,rgba(67,56,202,.88) 30%,rgba(79,70,229,.55) 52%,rgba(79,70,229,0) 72%)}
.home-slider.slider-v2 .slide-noimg{background:linear-gradient(135deg,#1d6ff2,#7c3aed)}
.slide-panel{width:56%;padding:34px 20px 70px 46px}
.slide-panel .slide-pill{background:linear-gradient(180deg,#ffffff,#e0e7ff);color:#1e1b8a;font-weight:800;box-shadow:0 8px 18px rgba(0,0,0,.25),inset 0 1px 0 #fff;font-size:13.5px}
.slide-panel .slide-pill i{color:#16a34a}
.slide-panel h2{color:#fff;font-size:58px;text-shadow:0 3px 0 rgba(0,0,0,.18),0 10px 24px rgba(0,0,0,.35);letter-spacing:1px}
.slide-panel p{color:#eef2ff;font-size:20px;text-shadow:0 2px 6px rgba(0,0,0,.35)}
.slide-promises>div{color:#fff;font-size:12.5px;text-shadow:0 1px 3px rgba(0,0,0,.5);flex-direction:column;text-align:center;gap:7px}
.slide-promises .ico3d{width:56px;height:56px;font-size:24px;border-radius:16px;box-shadow:0 10px 20px rgba(0,0,0,.35),inset 0 3px 0 rgba(255,255,255,.55),inset 0 -3px 0 rgba(0,0,0,.15)}
.slide-promises{grid-template-columns:repeat(4,minmax(0,110px));gap:14px}
.slide-btns .btn{border-radius:12px;padding:11px 22px;font-size:16px;text-shadow:0 1px 1px rgba(255,255,255,.3)}
.slide-btns .btn-grad-orange{background:linear-gradient(180deg,#fff4a3 0%,#ffd60a 48%,#f3b500 52%,#ffc400 100%);color:#1e1b4b!important;box-shadow:0 10px 22px rgba(245,184,0,.5),inset 0 1px 0 #fff,inset 0 -2px 0 rgba(0,0,0,.15)}
.slide-btns .btn-grad-green{background:linear-gradient(180deg,#86efac 0%,#22c55e 48%,#16a34a 52%,#22c55e 100%);color:#fff!important;text-shadow:0 1px 1px rgba(0,0,0,.3);box-shadow:0 10px 22px rgba(22,163,74,.5),inset 0 1px 0 rgba(255,255,255,.6),inset 0 -2px 0 rgba(0,0,0,.15);border:0}
.slide-nav{width:54px;height:54px;background:linear-gradient(180deg,#ffffff,#dbeafe);color:#2b1fa8;box-shadow:0 10px 22px rgba(0,0,0,.4),inset 0 2px 0 #fff}
.slide-nav:hover{background:linear-gradient(180deg,#ffe066,#f59e0b);color:#1e1b4b}
.home-slider.slider-v2 .carousel-indicators button{background:#fff;border:2px solid #fff;opacity:.7;box-shadow:0 2px 6px rgba(0,0,0,.4)}
.home-slider.slider-v2 .carousel-indicators button.active{background:#ffd60a;border-color:#fff;opacity:1}

/* please note */
.note-v2{background:linear-gradient(135deg,#fff1f2,#ffffff 60%,#fff1f2);border:2px solid #fda4af;box-shadow:0 18px 40px -14px rgba(225,29,72,.35),inset 0 2px 0 #fff;border-radius:24px}
.note-v2::before{width:10px;background:linear-gradient(180deg,#fb7185,#e11d48)}
.note-stamp{border-right:0;padding-right:16px}
.note-stamp .ico3d.xl{width:78px;height:78px;font-size:38px;border-radius:50%;background:linear-gradient(180deg,#fb7185,#dc2626)!important;color:#fff!important;box-shadow:0 14px 26px rgba(220,38,38,.45),inset 0 4px 0 rgba(255,255,255,.55),inset 0 -4px 0 rgba(0,0,0,.15)!important;transform:rotate(-12deg)}
.note-stamp b{background:linear-gradient(180deg,#ff6b6b,#dc2626);color:#fff;padding:8px 14px;border-radius:12px;font-size:20px;box-shadow:0 8px 18px rgba(220,38,38,.45),inset 0 2px 0 rgba(255,255,255,.5);transform:rotate(-6deg);text-shadow:0 1px 2px rgba(0,0,0,.3)}
.note-v2 .note-list li{color:#1e1b4b;font-weight:700;font-size:14.5px;text-transform:none;padding-bottom:9px;border-bottom:1px dashed #fecdd3}
.note-v2 .note-list li:last-child{border-bottom:0;padding-bottom:0}
.note-tick{width:26px;height:26px;background:linear-gradient(180deg,#fb7185,#dc2626);box-shadow:0 5px 10px rgba(220,38,38,.4),inset 0 2px 0 rgba(255,255,255,.55)}

/* my report + gallery cards */
.rs-card{border-radius:24px;box-shadow:0 18px 40px -14px rgba(43,31,168,.4),inset 0 2px 0 #fff;border:1px solid #dfe3ff;background:linear-gradient(180deg,#fff,#f5f7ff)}
.rs-card .rs-tabs{background:#e0e7ff;border:1px solid #c7d2fe}
.rs-card .rs-tabs label{font-size:13.5px;color:#312e81}
.rs-card .rs-tabs label.on{background:linear-gradient(180deg,#60a5fa,#1d4ed8);box-shadow:0 6px 12px rgba(29,78,216,.45),inset 0 1px 0 rgba(255,255,255,.6)}
.rs-card .btn-grad-blue{background:linear-gradient(180deg,#60a5fa 0%,#2563eb 50%,#1d4ed8 52%,#2563eb 100%);border:0;box-shadow:0 10px 22px rgba(37,99,235,.5),inset 0 1px 0 rgba(255,255,255,.6),inset 0 -2px 0 rgba(0,0,0,.15);font-weight:900;text-shadow:0 1px 1px rgba(0,0,0,.25)}
.mini-gal{border-radius:24px;box-shadow:0 18px 40px -14px rgba(43,31,168,.4),inset 0 2px 0 #fff;border:1px solid #dfe3ff;background:linear-gradient(180deg,#fff,#f5f7ff)}
.mini-gal-head h5{color:#1e1b8a;font-size:20px}
.mini-gal-item{border:5px solid #fff;border-radius:18px;box-shadow:0 0 0 2px #c7d2fe,0 14px 28px rgba(43,31,168,.3);background:#eef2ff}
.mini-gal-item img{height:160px}
.mini-nav{width:42px;height:42px;background:linear-gradient(180deg,#60a5fa,#1d4ed8);box-shadow:0 8px 16px rgba(29,78,216,.45),inset 0 2px 0 rgba(255,255,255,.55)}

/* services / tests / gallery / find us */
.sec-head h2{background:linear-gradient(90deg,#1e3a8a,#6d28d9);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:30px}
.feature{border-radius:24px;box-shadow:0 20px 40px -14px rgba(2,6,23,.45),inset 0 2px 0 rgba(255,255,255,.5),inset 0 -4px 0 rgba(0,0,0,.12)}
.feature::before{content:"";position:absolute;left:0;right:0;top:0;height:46%;background:linear-gradient(180deg,rgba(255,255,255,.28),rgba(255,255,255,0));pointer-events:none}
.feature .ico3d{box-shadow:0 12px 22px rgba(0,0,0,.3),inset 0 3px 0 #fff}
.feature h5{font-size:19px;text-shadow:0 1px 2px rgba(0,0,0,.25)}
.tests-panel{background:linear-gradient(180deg,#ffffff,#eef2ff);border:1px solid #dfe3ff;box-shadow:0 18px 40px -16px rgba(43,31,168,.35);border-radius:28px}
.test-card2{border-radius:20px;box-shadow:0 14px 28px -10px rgba(43,31,168,.3),inset 0 2px 0 #fff;border-top-width:6px}
.test-card2 .ico3d{box-shadow:0 8px 16px rgba(0,0,0,.25),inset 0 3px 0 rgba(255,255,255,.55)}
.test-card2 .price{background:linear-gradient(180deg,#bbf7d0,#4ade80);color:#14532d;border:1px solid #86efac;box-shadow:0 6px 12px rgba(34,197,94,.35),inset 0 1px 0 #fff}
.tests-panel .btn-grad-blue,.btn-grad-pink,.gal-panel .btn-grad-blue{border:0;box-shadow:0 10px 20px rgba(37,99,235,.4),inset 0 1px 0 rgba(255,255,255,.6),inset 0 -2px 0 rgba(0,0,0,.15);font-weight:900;border-radius:14px}
.gal-panel,.find-panel{border-radius:28px;border:1px solid #dfe3ff;box-shadow:0 18px 40px -16px rgba(43,31,168,.35),inset 0 2px 0 #fff;background:linear-gradient(180deg,#fff,#f5f7ff)}
.gal-strip .gal3d{border:5px solid #fff;border-radius:18px;box-shadow:0 0 0 2px #c7d2fe,0 16px 30px rgba(43,31,168,.3)}
.find-row .ico3d.sm{box-shadow:0 8px 14px rgba(0,0,0,.22),inset 0 2px 0 rgba(255,255,255,.55)}

/* footer */
.site-footer{background:linear-gradient(180deg,#1d4ed8 0%,#2b1fa8 55%,#141257 100%)}
.foot-wave{background:#eef6ff}
.site-footer h6{color:#ffe066}
.foot-links a::before,.foot-contact i{color:#ffe066}
.site-footer .social-links.social-big a{box-shadow:0 8px 18px rgba(0,0,0,.35),inset 0 2px 0 #fff;background:linear-gradient(180deg,#fff,#eef2ff)}

/* 3D icon badges everywhere on the site: a shinier top highlight */
.site-body .ico3d{box-shadow:0 10px 20px -6px rgba(2,6,23,.45),inset 0 3px 0 rgba(255,255,255,.55),inset 0 -3px 0 rgba(0,0,0,.15)}

@media (min-width:1600px){
  .home-slider.slider-v2 .carousel-inner,.home-slider.slider-v2 .carousel-item{height:640px}
  .slide-panel h2{font-size:68px}
  .site-menu .navbar-nav .nav-link{font-size:16px;padding:11px 20px!important}
}
@media (max-width:991.98px){
  .home-slider.slider-v2 .carousel-inner,.home-slider.slider-v2 .carousel-item{height:240px}
  .home-slider.slider-v2 .slide-img::after{background:linear-gradient(180deg,rgba(30,27,138,0) 30%,rgba(30,27,138,.95))}
  .slide-panel{background:linear-gradient(180deg,#1e1b8a,#4338ca);width:100%;padding:18px 18px 46px}
  .slide-promises{grid-template-columns:repeat(4,1fr);gap:8px}
  .slide-promises .ico3d{width:46px;height:46px;font-size:20px}
  .slide-promises>div{font-size:11px}
  .note-stamp{flex-direction:row;justify-content:center;gap:16px}
}
@media (min-width:1200px) and (max-width:1599.98px){
  .site-menu .navbar-nav{gap:5px}
  .site-menu .navbar-nav .nav-link{font-size:12.5px;padding:8px 9px!important;border-radius:11px}
  .site-menu .navbar-nav .nav-link i{margin-right:4px;font-size:14px}
  .login-dd{padding:3px 12px 3px 3px;font-size:13px}
  .login-dd .ico3d{width:32px;height:32px}
}
.site-body{overflow-x:hidden}
@media (max-width:575.98px){.slide-panel h2{font-size:34px;word-break:break-word}.slide-panel p{font-size:15px}}


/* ============================================================
   PUBLIC PAGES v5 — premium slider, page heads, forms, notice,
   gallery grid, about, contact
   ============================================================ */
/* ---- page head band (below the menu) ---- */
.site-body .page-head{background:linear-gradient(120deg,#1e1b8a 0%,#4f46e5 55%,#7c3aed 100%);border:0;padding:26px 0;position:relative;overflow:hidden;box-shadow:0 14px 30px -16px rgba(30,27,138,.6)}
.site-body .page-head::before{content:"";position:absolute;right:-80px;top:-120px;width:360px;height:360px;border-radius:50%;background:rgba(255,255,255,.08)}
.site-body .page-head::after{content:"";position:absolute;left:0;right:0;top:0;height:50%;background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,0));pointer-events:none}
.site-body .page-head .container{position:relative;z-index:1}
.site-body .page-head h1{color:#fff;font-size:30px;font-weight:900;display:flex;align-items:center;gap:12px;text-shadow:0 2px 8px rgba(0,0,0,.3)}
.site-body .page-head h1 .ico3d.sm{width:46px;height:46px;font-size:22px;flex:0 0 auto}
.site-body .page-head p{margin:6px 0 0;color:#e0e7ff;font-weight:600;font-size:15px}
.site-body .page-head.ph-green{background:linear-gradient(120deg,#065f46,#059669 55%,#34d399)}
.site-body .page-head.ph-purple{background:linear-gradient(120deg,#4c1d95,#7c3aed 55%,#c084fc)}
.site-body .page-head.ph-blue{background:linear-gradient(120deg,#1e3a8a,#2563eb 55%,#38bdf8)}
.site-body .page-head.ph-indigo{background:linear-gradient(120deg,#1e1b8a,#4f46e5 55%,#818cf8)}

/* ---- premium slider container ---- */
.home-slider.slider-prem{border:0;border-radius:34px 14px 34px 14px;padding:6px;background:linear-gradient(135deg,#ffd60a 0%,#f472b6 30%,#6d28d9 60%,#38bdf8 100%);box-shadow:0 30px 60px -18px rgba(43,31,168,.65),0 0 0 1px rgba(255,255,255,.6) inset;position:relative;overflow:visible}
.home-slider.slider-prem::before{content:"";position:absolute;inset:-22px -22px auto auto;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle,rgba(255,214,10,.55),rgba(255,214,10,0) 70%);pointer-events:none;z-index:0}
.home-slider.slider-prem::after{content:"";position:absolute;left:-18px;bottom:-18px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(56,189,248,.55),rgba(56,189,248,0) 70%);pointer-events:none;z-index:0}
.home-slider.slider-prem .carousel-inner{border-radius:30px 10px 30px 10px;overflow:hidden;position:relative;z-index:1;box-shadow:inset 0 0 0 3px #fff}
.home-slider.slider-prem .carousel-inner::after{content:"";position:absolute;left:0;right:0;top:0;height:38%;background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,0));pointer-events:none;z-index:2}
.home-slider.slider-prem .slide-img::after{background:linear-gradient(90deg,rgba(23,20,90,.78) 0%,rgba(49,46,180,.6) 32%,rgba(79,70,229,.25) 55%,rgba(79,70,229,0) 72%)}
.home-slider.slider-prem .slide-panel{z-index:3;padding:28px 20px 60px 36px}
.slide-glass{background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.35);border-radius:26px;padding:24px 26px 22px;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 20px 40px -16px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.5);max-width:640px}
.slide-glass .slide-pill{margin-bottom:12px}
.slide-name{position:relative;display:inline-block;margin:0 0 6px;font-size:58px;font-weight:900;letter-spacing:1.5px;line-height:1.05;text-transform:uppercase;background:linear-gradient(180deg,#fff9c4 0%,#ffd60a 45%,#ff9f1c 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 3px 0 rgba(120,53,15,.55)) drop-shadow(0 10px 22px rgba(0,0,0,.5));text-shadow:none}
.slide-name::after{content:attr(data-text);position:absolute;left:0;top:0;z-index:-1;color:transparent;-webkit-text-stroke:6px rgba(30,27,138,.85);background:none}
.slide-glass p{color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.6);font-size:19px}
.slide-glass .slide-promises{margin-bottom:18px}
.slide-glass .slide-promises>div{text-shadow:0 1px 4px rgba(0,0,0,.7)}
.home-slider.slider-prem .carousel-indicators{margin-bottom:16px}
.home-slider.slider-prem .carousel-indicators button{width:28px;height:8px;border-radius:8px;border:0;background:rgba(255,255,255,.75);opacity:1;box-shadow:0 2px 6px rgba(0,0,0,.4);transition:.2s}
.home-slider.slider-prem .carousel-indicators button.active{width:44px;background:linear-gradient(90deg,#ffd60a,#ff9f1c);transform:none}
.home-slider.slider-prem .slide-nav{z-index:6;width:56px;height:56px;background:linear-gradient(180deg,#ffffff,#e0e7ff);border:3px solid rgba(255,255,255,.9);color:#2b1fa8;box-shadow:0 12px 26px rgba(0,0,0,.45),0 0 0 6px rgba(255,255,255,.25),inset 0 2px 0 #fff}
.home-slider.slider-prem .slide-nav.prev{left:-6px}.home-slider.slider-prem .slide-nav.next{right:-6px}
.home-slider.slider-prem .slide-nav:hover{background:linear-gradient(180deg,#ffe066,#f59e0b)}
@media (max-width:991.98px){
  .home-slider.slider-prem{border-radius:24px 10px 24px 10px;padding:4px}
  .home-slider.slider-prem .carousel-inner{border-radius:20px 8px 0 0}
  .home-slider.slider-prem .slide-panel{padding:14px 12px 44px}
  .slide-glass{padding:16px 14px;border-radius:18px;background:rgba(255,255,255,.1)}
  .slide-name{font-size:36px}
  .home-slider.slider-prem .slide-nav.prev{left:8px}.home-slider.slider-prem .slide-nav.next{right:8px}
}
@media (min-width:1600px){.slide-name{font-size:68px}}

/* ---- PLEASE NOTE (tests page) ---- */
.notice-big{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:0 0 22px;padding:18px 22px;border-radius:22px;background:linear-gradient(120deg,#fff1f2 0%,#ffe4e6 50%,#fff7ed 100%);border:2px solid #fca5a5;box-shadow:0 18px 40px -16px rgba(225,29,72,.45),inset 0 2px 0 #fff;position:relative;overflow:hidden}
.notice-big::before{content:"";position:absolute;left:0;top:0;bottom:0;width:10px;background:linear-gradient(180deg,#fb7185,#dc2626)}
.notice-big .nb-badge .ico3d.xl{width:74px;height:74px;font-size:36px;border-radius:50%;background:linear-gradient(180deg,#fb7185,#dc2626)!important;color:#fff!important;transform:rotate(-12deg);box-shadow:0 14px 26px rgba(220,38,38,.45),inset 0 4px 0 rgba(255,255,255,.5)!important;animation:nbShake 2.4s ease-in-out infinite}
@keyframes nbShake{0%,80%,100%{transform:rotate(-12deg)}85%{transform:rotate(-20deg)}90%{transform:rotate(-4deg)}95%{transform:rotate(-16deg)}}
.notice-big .nb-body{flex:1;min-width:240px}
.notice-big .nb-title{display:inline-flex;align-items:center;gap:8px;font-size:22px;font-weight:900;letter-spacing:2px;color:#fff;background:linear-gradient(180deg,#ff6b6b,#dc2626);padding:6px 16px;border-radius:12px;box-shadow:0 8px 18px rgba(220,38,38,.45),inset 0 2px 0 rgba(255,255,255,.5);text-shadow:0 1px 2px rgba(0,0,0,.3);margin-bottom:8px}
.notice-big .nb-title i{color:#ffe066}
.notice-big .nb-text{font-size:16px;font-weight:700;color:#7f1d1d;line-height:1.45}
.notice-big .nb-call{background:linear-gradient(180deg,#86efac,#16a34a);color:#fff;font-weight:900;border-radius:16px;padding:10px 20px;text-align:center;line-height:1.2;box-shadow:0 10px 22px rgba(22,163,74,.45),inset 0 2px 0 rgba(255,255,255,.6);text-shadow:0 1px 1px rgba(0,0,0,.3);border:0}
.notice-big .nb-call small{font-weight:700;opacity:.95}
.search-bar .form-control-lg{border-radius:14px;border:2px solid #c7d2fe;box-shadow:inset 0 2px 4px rgba(2,6,23,.06)}
.search-bar .btn-lg{border-radius:14px;border:0;box-shadow:0 8px 18px rgba(37,99,235,.4),inset 0 1px 0 rgba(255,255,255,.6)}
.rate-table{background:#fff;border-radius:20px;border:1px solid #dfe3ff;box-shadow:0 16px 36px -18px rgba(43,31,168,.4);padding:6px 14px}
.rate-table thead th{background:linear-gradient(180deg,#eef2ff,#e0e7ff);color:#1e1b8a;font-size:12px;letter-spacing:.6px;text-transform:uppercase;border:0}
.rate-table tbody td{font-size:15px}
.rate-table .text-lab{color:#1d4ed8!important;font-size:16px}

/* ---- forms (appointment / home collection): white card, dark text ---- */
.form-card{background:#fff;border-radius:26px;padding:28px 26px;border:1px solid #dfe3ff;box-shadow:0 24px 50px -20px rgba(43,31,168,.45),inset 0 2px 0 #fff;position:relative;overflow:hidden;color:#1e293b}
.form-card::before{content:"";position:absolute;left:0;right:0;top:0;height:8px;background:linear-gradient(90deg,var(--fc1,#2563eb),var(--fc2,#7c3aed))}
.form-card.fc-blue{--fc1:#2563eb;--fc2:#38bdf8}
.form-card.fc-green{--fc1:#059669;--fc2:#34d399;background:linear-gradient(180deg,#fff,#f0fdf4)}
.form-card .form-label{font-weight:700;color:#334155;font-size:13.5px;margin-bottom:4px}
.form-card .form-control,.form-card .form-select{border:1.5px solid #cbd5e1;border-radius:11px;padding:9px 12px;color:#0f172a;background:#fff;box-shadow:inset 0 1px 2px rgba(2,6,23,.05)}
.form-card .form-control:focus,.form-card .form-select:focus{border-color:var(--fc1);box-shadow:0 0 0 4px color-mix(in srgb,var(--fc1) 18%,transparent)}
.form-card .appt-step{font-size:17px;color:#1e1b4b;margin:26px 0 12px;padding-bottom:8px;border-bottom:2px dashed #e2e8f0}
.form-card .appt-step>span:first-child{width:34px;height:34px;background:linear-gradient(180deg,var(--fc2),var(--fc1));box-shadow:0 6px 12px color-mix(in srgb,var(--fc1) 40%,transparent),inset 0 2px 0 rgba(255,255,255,.5);font-weight:900}
.form-card .text-muted,.form-card small{color:#64748b!important}
.form-card .test-pick{border:1.5px solid #cbd5e1;border-radius:14px;background:#f8fafc}
.form-card .test-pick label:hover{background:#eef2ff}
.form-card .col-card{border-color:#cbd5e1;background:#fff}
.form-card .col-card.picked{border-color:var(--fc1);box-shadow:0 0 0 4px color-mix(in srgb,var(--fc1) 15%,transparent);background:#fff}
.form-card .fc-submit{border:0;border-radius:16px;font-weight:900;box-shadow:0 12px 26px rgba(2,6,23,.3),inset 0 1px 0 rgba(255,255,255,.6),inset 0 -2px 0 rgba(0,0,0,.15)}
.form-card .btn-lab{background:linear-gradient(180deg,var(--fc2),var(--fc1));border:0;color:#fff;font-weight:700}
.form-card .btn-outline-secondary{color:#334155;border-color:#cbd5e1}
.form-card h5,.form-card h6,.form-card p{color:#1e293b}
@media (max-width:575.98px){.form-card{padding:18px 14px;border-radius:18px}}

/* ---- gallery grid ---- */
.gal-tile{position:relative;display:block;aspect-ratio:4/3;border-radius:18px;overflow:hidden;background:#eef2ff;border:4px solid #fff;box-shadow:0 0 0 2px #c7d2fe,0 16px 30px -12px rgba(43,31,168,.45);transform:perspective(900px) rotateX(0) rotateY(0);transition:transform .25s,box-shadow .25s}
.gal-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.gal-tile-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.25) 0%,rgba(0,0,0,0) 35%,rgba(30,27,138,.7) 100%);opacity:.85;transition:.25s}
.gal-tile-zoom{position:absolute;right:10px;top:10px;width:36px;height:36px;border-radius:50%;background:linear-gradient(180deg,#fff,#e0e7ff);color:#2b1fa8;display:flex;align-items:center;justify-content:center;font-size:15px;box-shadow:0 6px 12px rgba(0,0,0,.35);opacity:0;transform:scale(.6);transition:.25s}
.gal-tile-cap{position:absolute;left:0;right:0;bottom:0;padding:10px 12px;color:#fff;font-weight:700;font-size:13px;text-shadow:0 1px 3px rgba(0,0,0,.6);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gal-tile:hover{transform:perspective(900px) rotateX(3deg) rotateY(-4deg) translateY(-6px);box-shadow:0 0 0 2px #a5b4fc,0 26px 44px -14px rgba(43,31,168,.6)}
.gal-tile:hover img{transform:scale(1.08)}
.gal-tile:hover .gal-tile-zoom{opacity:1;transform:scale(1)}
.gal-tile:hover .gal-tile-shade{opacity:1}

/* ---- about / contact ---- */
.about-hero{display:flex;align-items:center;gap:28px;flex-wrap:wrap;padding:30px 32px;border-radius:30px;background:linear-gradient(120deg,#1e1b8a 0%,#4f46e5 50%,#7c3aed 100%);color:#fff;box-shadow:0 28px 56px -22px rgba(43,31,168,.7),inset 0 2px 0 rgba(255,255,255,.3);position:relative;overflow:hidden}
.about-hero::before{content:"";position:absolute;right:-60px;bottom:-120px;width:320px;height:320px;border-radius:50%;background:rgba(255,255,255,.08)}
.about-hero::after{content:"";position:absolute;left:0;right:0;top:0;height:45%;background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,0));pointer-events:none}
.about-hero-logo{width:150px;height:150px;border-radius:30px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 18px 36px rgba(0,0,0,.35),inset 0 2px 0 #fff;flex:0 0 auto;font-size:70px;color:#4f46e5;position:relative;z-index:1}
.about-hero-logo img{max-width:88%;max-height:88%;object-fit:contain}
.about-hero-text{position:relative;z-index:1;flex:1;min-width:260px}
.about-hero-text h2{font-size:42px;font-weight:900;margin:4px 0;letter-spacing:.5px;text-shadow:0 3px 10px rgba(0,0,0,.35)}
.about-hero-text .lead{color:#e0e7ff;font-weight:600;margin-bottom:12px}
.about-chips{display:flex;flex-wrap:wrap;gap:8px}
.about-chips span{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.35);border-radius:30px;padding:6px 14px;font-size:13.5px;font-weight:600}
.about-chips span i{color:#ffe066}
.about-card{background:#fff;border-radius:26px;padding:26px;border:1px solid #dfe3ff;box-shadow:0 20px 44px -20px rgba(43,31,168,.4),inset 0 2px 0 #fff}
.about-card .about-text{white-space:pre-line;font-size:16.5px;line-height:1.7;color:#1e293b;margin:0}
.about-promise{background:linear-gradient(180deg,#fff,#f5f3ff)}
.about-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.about-list li{display:flex;gap:12px;align-items:center}
.about-list li .ico3d.sm{width:46px;height:46px;font-size:20px;flex:0 0 auto}
.about-list b{display:block;color:#1e1b4b;font-size:15.5px}
.about-list small{color:#64748b;font-size:13px}
.info-tile{position:relative;overflow:hidden;background:#fff;border-radius:22px;padding:22px 20px;height:100%;border:1px solid #dfe3ff;box-shadow:0 18px 40px -18px rgba(43,31,168,.4),inset 0 2px 0 #fff;transition:.2s;color:#1e293b}
.info-tile::before{content:"";position:absolute;left:0;right:0;top:0;height:7px;background:linear-gradient(90deg,var(--it1),var(--it2))}
.info-tile::after{content:"";position:absolute;right:-40px;bottom:-40px;width:120px;height:120px;border-radius:50%;background:color-mix(in srgb,var(--it1) 10%,transparent)}
.info-tile:hover{transform:translateY(-5px)}
.info-tile .ico3d{width:56px;height:56px;font-size:26px;margin-bottom:12px}
.info-tile h6{font-weight:900;color:#1e1b4b;font-size:16px;text-transform:uppercase;letter-spacing:.6px;margin-bottom:6px}
.info-tile p{margin:0 0 6px;color:#1e293b;font-weight:600;font-size:15px;line-height:1.5}
.info-tile a{color:var(--it1);font-weight:800;text-decoration:none}
.it-blue{--it1:#2563eb;--it2:#38bdf8}.it-green{--it1:#059669;--it2:#34d399}.it-pink{--it1:#db2777;--it2:#f472b6}.it-orange{--it1:#ea580c;--it2:#fbbf24}
.about-cta{margin-top:26px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;padding:24px 28px;border-radius:26px;background:linear-gradient(120deg,#eef2ff,#fdf4ff);border:1px solid #e0e7ff;box-shadow:0 18px 40px -20px rgba(43,31,168,.35)}
.about-cta h4{font-weight:900;color:#1e1b8a;margin:0 0 4px}
.about-cta p{margin:0;color:#475569;font-weight:600}
.about-cta .btn{border:0;border-radius:14px;font-weight:900;box-shadow:0 10px 22px rgba(2,6,23,.25),inset 0 1px 0 rgba(255,255,255,.6)}
.map-card{background:#fff;border-radius:26px;padding:22px;border:1px solid #dfe3ff;box-shadow:0 20px 44px -20px rgba(43,31,168,.4),inset 0 2px 0 #fff}
.map-card iframe{border-radius:18px;width:100%;min-height:380px}
.contact-side .btn{border:0;border-radius:14px;font-weight:900;box-shadow:0 8px 18px rgba(2,6,23,.25),inset 0 1px 0 rgba(255,255,255,.6)}
.contact-side .social-links.social-big a{background:linear-gradient(180deg,#fff,#eef2ff);border:1px solid #dfe3ff;border-radius:12px;padding:8px 12px;color:#1e293b;box-shadow:0 6px 14px rgba(43,31,168,.18)}
.contact-side .social-links.social-big a.s-fb i{color:#1877f2}.contact-side .social-links.social-big a.s-ig i{color:#e1306c}.contact-side .social-links.social-big a.s-yt i{color:#ff0000}
.about-cta .social-links.social-big a{background:#fff;border:1px solid #dfe3ff;border-radius:12px;padding:8px 12px;color:#1e293b;box-shadow:0 6px 14px rgba(43,31,168,.18)}
.about-cta .social-links.social-big a.s-fb i{color:#1877f2}.about-cta .social-links.social-big a.s-ig i{color:#e1306c}.about-cta .social-links.social-big a.s-yt i{color:#ff0000}
@media (max-width:767.98px){.about-hero{padding:22px 18px;border-radius:22px}.about-hero-logo{width:110px;height:110px;border-radius:22px}.about-hero-text h2{font-size:30px}}


/* ============================================================
   SLIDER v6 — reference look: white frame, wave strokes, light
   frosted glass panel, brand row + tagline ribbon, flat icons
   ============================================================ */
.home-slider.slider-prem.slider-ref{padding:0;background:#fff;border:6px solid #fff;border-radius:30px;box-shadow:0 0 0 1px #dbe4ff,0 30px 60px -22px rgba(30,58,138,.55),0 12px 28px -10px rgba(30,58,138,.25);overflow:hidden}
.home-slider.slider-prem.slider-ref::before,.home-slider.slider-prem.slider-ref::after{content:none}
.home-slider.slider-prem.slider-ref .carousel-inner{border-radius:24px;box-shadow:none}
.home-slider.slider-prem.slider-ref .carousel-inner::after{content:none}
.home-slider.slider-prem.slider-ref .slide-img::after{background:linear-gradient(90deg,rgba(226,232,255,.55) 0%,rgba(226,232,255,.25) 30%,rgba(255,255,255,0) 55%)}
.home-slider.slider-prem.slider-ref .slide-noimg{background:linear-gradient(135deg,#dbeafe,#e0e7ff 50%,#f5f3ff);color:rgba(99,102,241,.25)}
.sl-wave{position:absolute;pointer-events:none;z-index:2}
.sl-wave-top{left:0;top:0;width:min(42%,520px);height:62%}
.sl-wave-bottom{left:0;right:0;bottom:0;width:100%;height:110px}
.home-slider.slider-prem.slider-ref .slide-panel{z-index:4;width:54%;padding:26px 16px 96px 34px}
.slider-ref .slide-glass{background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(255,255,255,.48));border:1.5px solid rgba(255,255,255,.95);border-radius:26px 90px 26px 26px;padding:20px 24px 22px;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 24px 50px -20px rgba(30,58,138,.45),inset 0 1px 0 #fff,inset 0 0 0 1px rgba(255,255,255,.4);max-width:720px}
.sl-brand{display:inline-flex;align-items:center;gap:12px;background:linear-gradient(180deg,#ffffff,#f1f5ff);border:1px solid #e0e7ff;border-radius:60px 40px 40px 60px;padding:8px 22px 8px 10px;box-shadow:0 10px 22px -10px rgba(30,58,138,.35),inset 0 1px 0 #fff;margin-bottom:14px}
.sl-brand img{height:58px;max-width:120px;object-fit:contain}
.sl-brand-mark{width:54px;height:54px;border-radius:50%;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:26px}
.sl-brand-text{display:flex;flex-direction:column;line-height:1.05}
.sl-brand-name{font-size:36px;font-weight:900;letter-spacing:.5px;text-transform:uppercase;background:linear-gradient(90deg,#1e3a8a 0%,#1d4ed8 45%,#7c3aed 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.sl-brand-sub{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:800;color:#312e81;letter-spacing:.3px;margin-top:3px}
.sl-ribbon{position:relative;display:inline-block;margin:0 0 16px 10px;padding:8px 26px 8px 22px;background:linear-gradient(90deg,#1e3a8a,#2563eb 60%,#4f46e5);color:#fff;font-weight:900;font-size:21px;letter-spacing:.3px;clip-path:polygon(0 0,100% 0,calc(100% - 14px) 100%,10px 100%);box-shadow:0 10px 22px -10px rgba(30,58,138,.6);text-shadow:0 1px 2px rgba(0,0,0,.25)}
.sl-promises{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.9);border-radius:18px;padding:12px 6px;margin-bottom:16px;box-shadow:inset 0 1px 0 #fff}
.sl-promises>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:4px 6px;font-weight:800;font-size:14px;line-height:1.15;color:#1e1b4b;border-right:2px solid #c7d2fe}
.sl-promises>div:last-child{border-right:0}
.sl-promises i{font-size:40px;line-height:1;filter:drop-shadow(0 4px 6px rgba(30,58,138,.25))}
.sl-promises .c-purple{color:#7c3aed}.sl-promises .c-cyan{color:#0ea5e9}.sl-promises .c-violet{color:#8b5cf6}.sl-promises .c-green{color:#16a34a}
.sl-btns{display:flex;flex-wrap:wrap;gap:12px}
.sl-btns .btn{border:0;border-radius:40px;padding:11px 24px;font-size:16px;font-weight:900;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 12px 24px -8px rgba(0,0,0,.45),inset 0 2px 0 rgba(255,255,255,.45),inset 0 -2px 0 rgba(0,0,0,.15)}
.sl-btn-purple{background:linear-gradient(180deg,#a855f7,#7e22ce 55%,#6b21a8)}
.sl-btn-green{background:linear-gradient(180deg,#34d399,#059669 55%,#047857)}
.sl-btns .btn:hover{color:#fff;filter:brightness(1.08);transform:translateY(-2px)}
.home-slider.slider-prem.slider-ref .carousel-indicators{margin-bottom:22px;z-index:5}
.home-slider.slider-prem.slider-ref .carousel-indicators button{width:30px;height:10px;border-radius:10px;background:#fff;opacity:1;border:0;box-shadow:0 2px 6px rgba(0,0,0,.35)}
.home-slider.slider-prem.slider-ref .carousel-indicators button.active{width:46px;background:linear-gradient(90deg,#a855f7,#7c3aed)}
.home-slider.slider-prem.slider-ref .slide-nav{width:46px;height:46px;background:linear-gradient(180deg,#1e3a8a,#1e1b4b);color:#fff;border:3px solid #fff;box-shadow:0 10px 22px rgba(30,27,75,.5);font-size:22px}
.home-slider.slider-prem.slider-ref .slide-nav.prev{left:10px}.home-slider.slider-prem.slider-ref .slide-nav.next{right:10px}
.home-slider.slider-prem.slider-ref .slide-nav:hover{background:linear-gradient(180deg,#7c3aed,#4c1d95);color:#fff}
@media (min-width:1600px){.sl-brand-name{font-size:42px}.sl-brand img{height:66px}.sl-ribbon{font-size:24px}.sl-promises i{font-size:46px}.sl-promises>div{font-size:15px}}
@media (max-width:991.98px){
  .home-slider.slider-prem.slider-ref .carousel-inner{border-radius:20px 20px 0 0}
  .home-slider.slider-prem.slider-ref .slide-panel{width:100%;padding:14px 12px 16px;background:linear-gradient(180deg,#eef2ff,#fff)}
  .slider-ref .slide-glass{border-radius:20px 50px 20px 20px;padding:14px;background:rgba(255,255,255,.85)}
  .sl-brand{padding:6px 14px 6px 8px;gap:8px}.sl-brand img{height:44px}.sl-brand-name{font-size:24px}.sl-brand-sub{font-size:11px}
  .sl-ribbon{font-size:16px;margin-left:4px;padding:6px 18px}
  .sl-promises>div{font-size:11.5px}.sl-promises i{font-size:28px}
  .sl-btns .btn{padding:9px 16px;font-size:14px}
  .sl-wave-top{height:120px;width:60%}
  .sl-wave-bottom{height:60px;top:180px;bottom:auto}
  .home-slider.slider-prem.slider-ref .carousel-indicators{top:196px;bottom:auto;margin:0}
  .home-slider.slider-prem.slider-ref .slide-nav{top:120px;width:40px;height:40px}
}
@media (max-width:575.98px){.sl-promises{grid-template-columns:repeat(2,1fr);gap:6px}.sl-promises>div:nth-child(2){border-right:0}}

/* ============================================================
   WEBSITE SIZE (public website only, not the staff panel)
   Change this ONE number: 1 = normal, 1.2 = 20% bigger, 1.4 = 40% bigger.
   Laptop (1366 px) par 1.15 – 1.3 theek hai; 1.3 se upar menu 2 lines mein aa sakta hai.
   ============================================================ */
.site-body{zoom:1.2}
/* jagah kam ho to menu buttons agli line mein aa jaate hain (kat-te nahi) */
.site-menu .navbar-collapse,.site-menu .navbar-nav{flex-wrap:wrap;row-gap:6px}
/* slider name: gradient gold text that reads on any photo; tighter glass panel */
.slide-panel h2.slide-name{color:transparent;-webkit-text-fill-color:transparent;font-size:clamp(34px,3.6vw,54px);line-height:1.02;margin:0 0 4px}
.slide-panel h2.slide-name::after{-webkit-text-fill-color:transparent}
.home-slider.slider-prem .slide-panel{width:60%;padding:20px 16px 56px 30px}
.slide-glass{max-width:none;padding:18px 22px 18px}
.slide-glass p{font-size:17px;margin-bottom:12px}
.slide-glass .slide-promises{margin-bottom:14px;gap:10px}
.slide-glass .slide-promises .ico3d{width:48px;height:48px;font-size:21px}
.slide-glass .slide-btns .btn{padding:9px 18px;font-size:15px}
@media (min-width:1600px){.slide-panel h2.slide-name{font-size:62px}.slide-glass .slide-promises .ico3d{width:56px;height:56px}}
@media (max-width:991.98px){.slide-panel h2.slide-name{font-size:32px}.home-slider.slider-prem .slide-panel{width:100%}}
.slide-name::after{content:none}
.slide-panel h2.slide-name{filter:drop-shadow(0 3px 0 #5b21b6) drop-shadow(0 0 1px #1e1b8a) drop-shadow(0 12px 22px rgba(0,0,0,.6))}
.about-cta .social-links.social-big a,.contact-side .social-links.social-big a{display:inline-flex;align-items:center;gap:8px;height:auto}
.about-cta .social-links.social-big a span,.contact-side .social-links.social-big a span{color:#1e293b;font-weight:800}
.about-cta .social-links.social-big a.s-gg i,.contact-side .social-links.social-big a.s-gg i{color:#4285f4}
.about-cta .social-links.social-big a.s-map i,.contact-side .social-links.social-big a.s-map i{color:#34a853}
.sl-brand-name{font-size:clamp(22px,2.1vw,34px);white-space:nowrap}
.sl-brand{padding:6px 18px 6px 8px}
.sl-brand img{height:52px}
.slider-ref .slide-glass{padding:16px 20px 18px}
.sl-btns .btn{padding:10px 20px;font-size:15px}
.sl-promises{padding:10px 4px;margin-bottom:14px}
.sl-promises i{font-size:36px}
.sl-ribbon{margin-bottom:14px;font-size:20px}
@media (min-width:1600px){.sl-brand-name{font-size:40px}}
@media (max-width:991.98px){.sl-brand-name{font-size:22px;white-space:normal}}
@media (max-width:991.98px){.sl-brand{display:flex;width:100%;border-radius:40px 20px 20px 40px}.sl-brand img{height:40px;max-width:70px}.sl-brand-name{font-size:19px;line-height:1.1}.sl-brand-sub svg{display:none}.sl-brand-text{min-width:0}}

/* ---- department-wise billing / packages ---- */
.dept-hide{display:none!important}
.bill-mode{background:linear-gradient(135deg,#eef2ff,#f5f3ff)}
.bill-mode .btn-check:checked+.btn{background:linear-gradient(135deg,#4f46e5,#7c3aed);border-color:#4f46e5;color:#fff;box-shadow:0 6px 14px rgba(79,70,229,.35)}
.sum-dept{background:#eef2ff;border:1px solid #c7d2fe;border-radius:10px;padding:6px 10px;color:#312e81;font-size:.9rem}
.pkg-type .btn-check:checked+.btn{background:linear-gradient(135deg,#0ea5e9,#6366f1);border-color:#0ea5e9;color:#fff}
.dept-mode .btn-check:checked+.btn{background:linear-gradient(135deg,#4f46e5,#7c3aed);border-color:#4f46e5;color:#fff}
.dept-table tr.bill-first td{border-top:2px solid #c7d2fe}
/* patient lookup candidates */
.lookup-list{margin-top:8px;border:1px solid #c7d2fe;border-radius:14px;background:#fff;box-shadow:0 14px 30px -14px rgba(43,31,168,.35);overflow:hidden;max-width:720px}
.lookup-list .lk-head{padding:8px 12px;background:#eef2ff;color:#312e81;font-weight:700;font-size:.85rem}
.lookup-list .lk-item{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;width:100%;text-align:left;border:0;border-top:1px solid #eef2ff;background:#fff;padding:9px 12px;cursor:pointer}
.lookup-list .lk-item:hover{background:#f5f3ff}
.lookup-list .lk-item.exact{background:#f0fdf4}
.lookup-list .lk-name{font-weight:800;color:#1e1b4b;font-size:1rem}
.lookup-list .lk-meta{color:#475569;font-size:.85rem;flex:1}
.lookup-list .lk-tag{font-size:.7rem;font-weight:800;letter-spacing:.5px;text-transform:uppercase;background:#16a34a;color:#fff;border-radius:20px;padding:2px 8px}
.lookup-list .lk-tag.alt{background:#f59e0b}
button.saving{opacity:.7;cursor:progress}

/* ============================================================
   ROUND 32: dashboard cash position, cash ledger, receipts,
   cash receive form, users & permissions redesign
   ============================================================ */
.cash-pos{background:#fff;border-radius:22px;border:1px solid #e5e7eb;box-shadow:0 14px 30px -16px rgba(2,6,23,.25);padding:18px 20px;margin:0 0 22px}
.cash-pos-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.cash-pos-head h5{margin:0;font-weight:900;color:#1e293b}
.cash-pos-head span{color:#64748b;font-size:.85rem}
.cash-pos-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.cash-pos .cp{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:16px;border:1px solid #e5e7eb;background:linear-gradient(180deg,#fff,#f8fafc)}
.cash-pos .cp b{display:block;font-size:1.25rem;font-weight:900;color:#0f172a;line-height:1.1}
.cash-pos .cp small{display:block;color:#64748b;font-weight:600;font-size:.78rem;margin-top:2px}
.cash-pos .cp em{display:block;font-style:normal;color:#94a3b8;font-size:.72rem;margin-top:4px;line-height:1.3}
.cash-pos .c-in{border-color:#bbf7d0;background:linear-gradient(180deg,#fff,#f0fdf4)}.cash-pos .c-in b{color:#15803d}
.cash-pos .c-out{border-color:#fecaca;background:linear-gradient(180deg,#fff,#fef2f2)}.cash-pos .c-out b{color:#b91c1c}
.cash-pos .c-exp{border-color:#fed7aa;background:linear-gradient(180deg,#fff,#fff7ed)}
.cash-pos .c-close{border-color:#bef264;background:linear-gradient(180deg,#f7fee7,#ecfccb);box-shadow:inset 0 0 0 1px #d9f99d}.cash-pos .c-close b{color:#3f6212;font-size:1.45rem}
.cash-pos .c-close.neg{border-color:#fca5a5;background:linear-gradient(180deg,#fff1f2,#ffe4e6)}.cash-pos .c-close.neg b{color:#b91c1c}
.cash-pos .c-bank{border-color:#c7d2fe;background:linear-gradient(180deg,#fff,#eef2ff)}.cash-pos .c-bank b{color:#3730a3}
.cl-card .card-header{background:linear-gradient(90deg,#365314,#65a30d);color:#fff;font-weight:700}
.cl-formula td{padding:8px 16px;font-weight:600}
.cl-formula tr.row-in td{color:#15803d}.cl-formula tr.row-out td{color:#b91c1c}
.cl-formula tr.cl-total td{font-size:1.1rem;background:#f7fee7;border-top:2px solid #65a30d}
.cl-days td,.cl-days th{white-space:nowrap}

/* receipts (expense / money) */
.rcpt-page{max-width:820px;margin:0 auto}
.rcpt{background:#fff;border:1px solid #cbd5e1;border-radius:14px;padding:22px 26px;position:relative;box-shadow:0 10px 30px -14px rgba(2,6,23,.3);font-size:14px;color:#0f172a}
.rcpt-head{display:grid;grid-template-columns:120px 1fr 120px;align-items:center;gap:10px;border-bottom:3px double #1e3a8a;padding-bottom:10px;margin-bottom:12px}
.rcpt-logo img{max-height:80px;max-width:120px;object-fit:contain}
.rcpt-co{text-align:center;line-height:1.35}
.rcpt-name{font-size:22px;font-weight:900;color:#1e3a8a;letter-spacing:.5px}
.rcpt-title{display:flex;align-items:baseline;justify-content:center;gap:12px;margin:6px 0 14px}
.rcpt-title span{font-size:18px;font-weight:900;letter-spacing:2px;padding:6px 22px;border-radius:30px;color:#fff;background:linear-gradient(90deg,#1e3a8a,#2563eb)}
.rcpt-exp .rcpt-title span{background:linear-gradient(90deg,#9f1239,#e11d48)}
.rcpt-in .rcpt-title span{background:linear-gradient(90deg,#14532d,#16a34a)}
.rcpt-title small{color:#64748b;font-weight:600}
.rcpt-grid{width:100%;border-collapse:collapse}
.rcpt-grid th,.rcpt-grid td{border:1px solid #e2e8f0;padding:8px 10px;vertical-align:top}
.rcpt-grid th{width:18%;background:#f8fafc;color:#475569;font-weight:700;text-align:left;white-space:nowrap}
.rcpt-grid tr.rcpt-amt td{background:#fefce8;font-size:18px}
.rcpt-words{font-size:13px;color:#475569;font-weight:600;font-style:italic}
.rcpt-sign{display:flex;justify-content:space-between;margin:46px 10px 10px;font-weight:700;color:#334155;font-size:13px}
.rcpt-sign div{text-align:center;min-width:180px}
.rcpt-sign span{display:block;border-top:1px solid #64748b;margin-bottom:6px}
.rcpt-foot{border-top:1px dashed #cbd5e1;margin-top:10px;padding-top:8px;font-size:11.5px;color:#64748b;text-align:center}
.rcpt-stamp{position:absolute;right:30px;top:120px;transform:rotate(-14deg);border:4px solid #dc2626;color:#dc2626;font-weight:900;padding:6px 14px;border-radius:8px;font-size:15px;opacity:.85;background:rgba(255,255,255,.85)}
.rcpt-deleted .rcpt-grid{opacity:.8}
@media print{.rcpt{border:0;box-shadow:none;padding:0}.rcpt-page{max-width:none}}

/* cash receive form */
.rcv-kinds{display:grid;grid-template-columns:1fr;gap:6px}
.rcv-kinds label{display:flex;align-items:center;gap:8px;border:2px solid #e2e8f0;border-radius:12px;padding:8px 10px;font-weight:700;cursor:pointer;font-size:.9rem;color:#334155;background:#fff}
.rcv-kinds label input{display:none}
.rcv-kinds label i{font-size:1.1rem}
.rcv-kinds label.k-receive i{color:#16a34a}.rcv-kinds label.k-transfer i{color:#2563eb}.rcv-kinds label.k-adjust i{color:#d97706}
.rcv-kinds label.on{border-color:#4f46e5;background:#eef2ff;color:#1e1b4b;box-shadow:0 0 0 3px #e0e7ff}
.rcv-box{border:1px dashed #c7d2fe;border-radius:12px;padding:10px 12px;background:#f8fafc}
.rcv-box .pay-box{margin:0}

/* users & permissions */
.users-head{display:flex;flex-wrap:wrap;align-items:center;gap:16px;background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:16px 20px;margin-bottom:18px;box-shadow:0 12px 28px -18px rgba(2,6,23,.3)}
.users-stats{display:flex;flex-wrap:wrap;gap:8px;flex:1;justify-content:center}
.users-stats span{background:#f1f5f9;border-radius:30px;padding:5px 12px;font-size:.85rem;color:#475569;display:inline-flex;gap:6px;align-items:center}
.users-stats span.rs{background:var(--msoft,#eef2ff);color:#1e293b}
.users-stats span.rs.t-red{background:#fee2e2}.users-stats span.rs.t-blue{background:#dbeafe}.users-stats span.rs.t-green{background:#dcfce7}.users-stats span.rs.t-orange{background:#ffedd5}
.user-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:16px;height:100%;display:flex;flex-direction:column;gap:12px;box-shadow:0 14px 30px -18px rgba(2,6,23,.3);position:relative;overflow:hidden;transition:.2s}
.user-card::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:linear-gradient(90deg,var(--uc1,#2563eb),var(--uc2,#7c3aed))}
.user-card.t-red{--uc1:#ef4444;--uc2:#be123c}.user-card.t-blue{--uc1:#0ea5e9;--uc2:#2563eb}.user-card.t-green{--uc1:#34d399;--uc2:#059669}.user-card.t-orange{--uc1:#fbbf24;--uc2:#ea580c}.user-card.t-slate{--uc1:#94a3b8;--uc2:#475569}
.user-card:hover{transform:translateY(-4px);box-shadow:0 22px 40px -18px rgba(2,6,23,.4)}
.user-card.inactive{opacity:.75;filter:saturate(.6)}
.uc-top{display:flex;align-items:center;gap:12px}
.uc-avatar{width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,var(--uc1),var(--uc2));color:#fff;font-weight:900;font-size:1.1rem;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 16px -6px var(--uc2),inset 0 2px 0 rgba(255,255,255,.5);flex:0 0 auto}
.uc-name{font-weight:900;color:#0f172a;font-size:1.05rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.uc-user{color:#64748b;font-size:.82rem}
.uc-status{font-size:.75rem;font-weight:800;border-radius:30px;padding:4px 10px;display:inline-flex;gap:4px;align-items:center;white-space:nowrap}
.uc-status.on{background:#dcfce7;color:#166534}.uc-status.off{background:#f1f5f9;color:#64748b}
.uc-role{display:flex;align-items:center;gap:10px;background:#f8fafc;border:1px solid #eef2f7;border-radius:14px;padding:8px 10px}
.uc-role b{display:block;color:#1e293b}.uc-role small{color:#64748b;font-size:.78rem}
.uc-bar{height:8px;border-radius:8px;background:#e2e8f0;overflow:hidden}
.uc-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--uc1),var(--uc2));border-radius:8px}
.uc-chips{display:flex;flex-wrap:wrap;gap:5px}
.uc-chips span{background:#eef2ff;color:#312e81;border-radius:20px;padding:2px 9px;font-size:.74rem;font-weight:600}
.uc-chips span b{color:#1e1b4b}
.uc-full{background:linear-gradient(90deg,#fee2e2,#ffe4e6);color:#9f1239;font-weight:800;border-radius:12px;padding:8px 12px;font-size:.9rem}
.uc-foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:8px;border-top:1px dashed #e5e7eb}
.uf-card .card-header{display:flex;align-items:center;gap:10px;font-weight:800}
.uf-card .form-control,.uf-card .form-select{border-radius:11px;border:1.5px solid #cbd5e1;padding:9px 12px}
.uf-card .form-label{font-weight:700;color:#334155}
.role-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.role-tile{position:relative;text-align:left;border:2px solid #e2e8f0;border-radius:16px;background:#fff;padding:12px;display:flex;flex-direction:column;gap:6px;cursor:pointer;transition:.15s}
.role-tile .ico3d{width:42px;height:42px;font-size:19px}
.role-tile b{color:#0f172a;font-size:1rem}
.role-tile small{color:#64748b;font-size:.75rem;line-height:1.25}
.role-tile .rt-check{position:absolute;right:10px;top:10px;color:#16a34a;font-size:1.2rem;opacity:0;transform:scale(.6);transition:.15s}
.role-tile:hover{border-color:#c7d2fe;transform:translateY(-2px)}
.role-tile.on{border-color:#4f46e5;background:linear-gradient(180deg,#eef2ff,#fff);box-shadow:0 10px 22px -12px rgba(79,70,229,.6)}
.role-tile.on .rt-check{opacity:1;transform:scale(1)}
.perm-group{border:1px solid #e5e7eb;border-radius:18px;padding:0;overflow:hidden;background:#fff;height:100%;box-shadow:0 10px 24px -18px rgba(2,6,23,.3)}
.perm-group.has{border-color:#c7d2fe}
.perm-head{display:flex;align-items:center;gap:10px;padding:10px 12px;margin:0;border-bottom:1px solid #eef2f7;background:linear-gradient(180deg,#f8fafc,#fff)}
.perm-head label{margin:0;color:#1e293b;cursor:pointer}
.pg-count{font-size:.72rem;font-weight:800;border-radius:20px;padding:2px 8px;background:#f1f5f9;color:#64748b}
.pg-count.full{background:#dcfce7;color:#166534}.pg-count.none{background:#f1f5f9}
.perm-head .form-check-input{width:2.4em;height:1.25em;cursor:pointer}
.perm-list{padding:8px}
.perm-item{display:flex;align-items:flex-start;gap:8px;padding:6px 8px;border-radius:10px;margin:0;cursor:pointer;font-size:.88rem;color:#334155;transition:.12s}
.perm-item:hover{background:#f8fafc}
.perm-item.on{background:#eef2ff;color:#1e1b4b;font-weight:600}
.perm-item .form-check-input{margin:3px 0 0;flex:0 0 auto}
.uf-actions{display:flex;gap:10px;flex-wrap:wrap;padding:14px 0 6px}
.uf-actions .btn{border-radius:14px;font-weight:800}
.books-card .card-header{display:flex;align-items:center;gap:10px;font-weight:800}
/* collector credentials + PIN browse */
.cred-card .card-header{display:flex;align-items:center;gap:10px;font-weight:800}
.cred-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.cred-grid>div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:10px 12px}
.cred-grid>div.hi{background:linear-gradient(135deg,#eef2ff,#e0e7ff);border-color:#c7d2fe}
.cred-grid small{display:block;color:#64748b;font-size:.72rem;text-transform:uppercase;letter-spacing:.5px;font-weight:700}
.cred-grid b{display:block;color:#0f172a;font-size:1rem;word-break:break-all}
.cred-grid em{display:block;color:#64748b;font-size:.75rem;font-style:normal}
.br-pins{max-height:260px;overflow:auto;border:1px dashed #c7d2fe;border-radius:10px;padding:6px 8px}
.br-pins:empty{display:none}
.br-row{display:flex;align-items:flex-start;gap:4px;padding:4px 0;border-bottom:1px solid #f1f5f9}
.br-area{display:inline-block;margin:2px 6px 2px 0;padding:1px 8px;border-radius:20px;background:#eef2ff;color:#312e81;text-decoration:none;font-size:.78rem}
.br-area:hover{background:#4f46e5;color:#fff}
.lgn-wrap.lgn-single{grid-template-columns:1fr;max-width:560px;margin:0 auto}
.lgn-wrap.lgn-single .lgn-right{width:100%}
/* map location pick / preview */
.map-pick{border:1px dashed #c7d2fe;border-radius:14px;padding:12px;background:#f8fafc}
.mp-map{height:320px;border-radius:12px;border:1px solid #cbd5e1;z-index:0}
.mp-frame{width:100%;height:220px;border:0;border-radius:12px}
.loc-card{border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff}
.loc-card iframe{width:100%;height:200px;border:0;display:block}
.loc-actions{display:flex;flex-wrap:wrap;gap:6px;padding:8px}
.req-toast.hc-toast{background:linear-gradient(135deg,#065f46,#059669);box-shadow:0 20px 40px -12px rgba(5,150,105,.6);animation:hcPulse 1s ease-in-out 3}
.req-toast.hc-toast .hc-open{display:block;color:#bbf7d0;font-weight:700;margin-top:4px}
@keyframes hcPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.03)}}
.ev-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.ev-item{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#fff}
.ev-item img{width:100%;height:120px;object-fit:cover;display:block}
.ev-none{height:120px;display:flex;align-items:center;justify-content:center;gap:8px;background:#fff7ed;color:#9a3412;padding:8px;text-align:left}
.ev-none i{font-size:1.6rem}.ev-none small{display:block;font-size:.72rem}
.ev-meta{padding:6px 8px;font-size:.75rem;color:#475569}

/* ============================================================
   COLLECTOR DASHBOARD v2
   ============================================================ */
.col-hello{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;background:linear-gradient(120deg,#065f46,#059669 55%,#34d399);color:#fff;border-radius:22px;padding:18px 22px;margin-bottom:16px;box-shadow:0 18px 40px -18px rgba(5,150,105,.6)}
.col-hello h2{margin:0;font-weight:900;font-size:1.4rem}
.col-hello .emp-photo{width:64px;height:64px;border-radius:18px;object-fit:cover;background:rgba(255,255,255,.25);display:flex;align-items:center;justify-content:center;font-size:28px;border:3px solid rgba(255,255,255,.7)}
.col-hello-date{text-align:right;line-height:1.1}.col-hello-date b{display:block;font-size:1.2rem}.col-hello-date span{font-size:.85rem;opacity:.9}
.col-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:16px}
.col-stat{display:flex;flex-direction:column;align-items:flex-start;gap:6px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:12px 14px;text-decoration:none;color:#0f172a;box-shadow:0 10px 24px -16px rgba(2,6,23,.35);transition:.15s}
.col-stat:hover{transform:translateY(-3px);color:#0f172a}
.col-stat .ico3d{width:40px;height:40px;font-size:18px}
.col-stat b{font-size:1.6rem;font-weight:900;line-height:1}
.col-stat small{color:#64748b;font-weight:600;font-size:.74rem;line-height:1.2}
.col-stat.zero b{color:#94a3b8}
.col-tabs .nav-link{border-radius:30px;font-weight:700;color:#065f46;background:#ecfdf5;margin-right:6px}
.col-tabs .nav-link.active{background:linear-gradient(135deg,#059669,#10b981);color:#fff}
.col-sec{font-weight:900;color:#1e293b;margin-bottom:10px}
.col-sec small{color:#64748b;font-weight:600;font-size:.8rem}
.col-empty{background:#fff;border:1px dashed #cbd5e1;border-radius:18px;padding:30px;text-align:center;color:#64748b}
.col-empty i{display:block;font-size:2rem;margin-bottom:6px;color:#94a3b8}
.col-notes .list-group-item{font-size:.85rem}
/* job card */
.job2{background:#fff;border:1px solid #e5e7eb;border-left:6px solid #94a3b8;border-radius:18px;margin-bottom:14px;box-shadow:0 12px 28px -18px rgba(2,6,23,.35);overflow:hidden}
.job2.jc-new{border-left-color:#f59e0b;background:linear-gradient(180deg,#fffbeb,#fff 40%)}
.job2.jc-acc{border-left-color:#0ea5e9}.job2.jc-way{border-left-color:#6366f1}.job2.jc-reached{border-left-color:#8b5cf6}.job2.jc-done{border-left-color:#16a34a}.job2.jc-off{border-left-color:#cbd5e1;opacity:.85}
.job2-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px 6px}
.job2-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.job2-title b{font-size:1.05rem;color:#0f172a}
.job2-no{background:#1e293b;color:#fff;border-radius:8px;padding:2px 8px;font-size:.75rem;font-weight:800;letter-spacing:.3px}
.job2-status{font-size:.78rem}
.job2-steps{display:flex;gap:0;padding:4px 14px 8px;overflow-x:auto}
.job2-steps span{flex:1;min-width:64px;text-align:center;font-size:.62rem;font-weight:700;color:#94a3b8;position:relative;padding-top:14px;white-space:nowrap}
.job2-steps span i{position:absolute;left:50%;top:0;width:10px;height:10px;margin-left:-5px;border-radius:50%;background:#e2e8f0;border:2px solid #fff;box-shadow:0 0 0 1px #cbd5e1}
.job2-steps span::before{content:"";position:absolute;left:0;right:0;top:4px;height:2px;background:#e2e8f0;z-index:0}
.job2-steps span:first-child::before{left:50%}.job2-steps span:last-child::before{right:50%}
.job2-steps span.done{color:#16a34a}.job2-steps span.done i,.job2-steps span.done::before{background:#16a34a;box-shadow:none}
.job2-steps span.now{color:#1d4ed8}.job2-steps span.now i{background:#1d4ed8;box-shadow:0 0 0 3px #bfdbfe}
.job2-body{display:grid;grid-template-columns:1fr 220px;gap:10px;padding:4px 14px 8px}
.job2-info{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;font-size:.88rem}
.job2-info>div{display:flex;gap:7px;align-items:flex-start}
.job2-info>div.wide{grid-column:1/-1}
.job2-info i{color:#059669;margin-top:2px}
.job2-side{display:flex;flex-direction:column}
.job2-map{width:100%;height:120px;border:0;border-radius:12px}
.job2-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 14px;border-top:1px dashed #e5e7eb}
.job2-actions{display:flex;flex-wrap:wrap;gap:8px;padding:10px 14px 14px;border-top:1px solid #f1f5f9;background:#f8fafc}
.job2-quick{display:flex;flex-wrap:wrap;gap:8px}
.job2-quick .btn{font-weight:700}
.job2-collect{background:#fff;border:1px solid #fecaca;border-radius:14px;padding:10px 12px}
.job2-more{width:100%}
.btn-cam{padding:.375rem .6rem}
@media (max-width:767.98px){.job2-body{grid-template-columns:1fr}.job2-info{grid-template-columns:1fr}.job2-map{height:150px}.col-stats{grid-template-columns:repeat(2,1fr)}}
.fb-photo{width:92px;height:92px;border-radius:50%;object-fit:cover;display:inline-flex;align-items:center;justify-content:center;background:#ecfdf5;color:#059669;font-size:40px;border:4px solid #fff;box-shadow:0 10px 22px -10px rgba(5,150,105,.6)}
.fb-q{border:1px solid #e5e7eb;border-radius:14px;padding:12px 14px;margin-bottom:10px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;background:#fff}
.fb-q.fb-main{background:linear-gradient(135deg,#ecfdf5,#fff);border-color:#a7f3d0}
.fb-ql{font-weight:700;color:#1e293b}
.fb-yn{display:flex;gap:8px}
.fb-yn label{cursor:pointer}.fb-yn input{display:none}
.fb-yn span{display:inline-block;border:2px solid #e2e8f0;border-radius:30px;padding:6px 14px;font-weight:700;color:#475569}
.fb-yn input:checked+span{border-color:#059669;background:#059669;color:#fff}
.star-pick.sp-sm label{font-size:1.6rem}

/* ============================================================ ROUND 34: parameter applicability, Treatment-wise billing ============================================================ */
.apply-card .btn-group .btn{font-size:.9rem}
.param-view .btn .badge{font-size:.72rem}
#resTable tr.na-row td{background:#fffbeb}
#resTable tr.na-off td{opacity:.45}
#resTable tr.na-off td:first-child{opacity:1}
.treat-table{font-size:.86rem}
.treat-table th{font-weight:600;color:#475569;white-space:nowrap}
.treat-table td{vertical-align:middle;padding:.25rem .3rem}
.treat-table input{min-width:72px;padding:.2rem .35rem;font-size:.86rem}
.treat-ro .form-control{background:#f1f5f9;color:#475569}
.pl-line-money{margin-left:6px;font-size:.78rem;font-weight:700}
.pl-treat td:first-child{border-left:3px solid #7c3aed}
.pay-head .pl-av{width:40px;height:40px;font-size:1.1rem}
.pay-totals{display:flex;gap:10px;justify-content:flex-end}
.pay-totals>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:6px 14px;text-align:center;min-width:90px}
.pay-totals small{display:block;color:#64748b;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em}
.pay-totals b{font-size:1.05rem}
.pay-lines th{font-weight:600;color:#475569;white-space:nowrap}
.pay-lines input{min-width:80px}
.pay-lines tr.text-muted td{background:#f8fafc}
.rcpt-parts{width:100%;border-collapse:collapse;margin:10px 0}
.rcpt-parts th,.rcpt-parts td{border:1px solid #e2e8f0;padding:6px 10px;font-size:13px}
.rcpt-parts th{background:#f8fafc;color:#475569;text-align:left}
.rcpt-out .rcpt-title span{background:linear-gradient(90deg,#7f1d1d,#dc2626)}
.bill-mode-note{font-size:11px;font-weight:700;color:#4c1d95;margin:4px 0 2px;text-transform:uppercase;letter-spacing:.04em}

/* ============================================================ ABDM / ABHA (M1 / M2 / M3) ============================================================ */
.reg-mode{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.abha-panel{border:1px solid #c7d2fe;background:linear-gradient(135deg,#eef2ff,#f5f3ff);border-radius:12px;padding:12px 14px;margin-bottom:14px}
.abha-done{display:flex;align-items:center;gap:12px;background:#ecfdf5;border:1px solid #6ee7b7;border-radius:10px;padding:8px 12px}
.abha-photo{width:52px;height:52px;border-radius:10px;object-fit:cover;border:1px solid #cbd5e1;background:#fff}
.abha-tabs .nav-link{padding:.3rem .8rem;font-size:.9rem;color:#4c1d95}
.abha-tabs .nav-link.active{background:#6d28d9;color:#fff}
.abha-locked{background:#f1f5f9!important;color:#475569}
.abha-accounts{max-height:220px;overflow:auto}
.cb-list{padding-left:18px;font-family:Consolas,monospace;font-size:.78rem}
.abdm-pre{white-space:pre-wrap;word-break:break-all;font-size:.74rem;max-height:260px;overflow:auto;background:#fff;border:1px solid #e2e8f0;padding:6px;border-radius:6px}
.abdm-log td{vertical-align:top}
.rec-card .table td{font-size:.9rem}
