/*
 * 2026-11-29 NexBills look for the ISP Manager (user: "manager er page ta aro easy and new UI look"). Loaded after style.css and
 * only restyles: grouped menu, white top bar with search, light tables, rounded cards and buttons. Solid colours only (no gradients).
 */
:root {
  --nx-ink: #0e2238; --nx-blue: #1d5fd1; --nx-blue-d: #174eae; --nx-mint: #12a77a; --nx-violet: #6d4bd8; --nx-slate: #475569; --nx-teal: #0e8f86;
  --nx-bg: #f3f6fb; --nx-line: #e4e9f2; --nx-text: #1e2a3b; --nx-muted: #66768a;
  --navy: #0e2238; --teal: #1d5fd1;
}
body.mgr { background: var(--nx-bg); color: var(--nx-text); font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; }
.mgr a:not([class]) { color: var(--nx-blue); }

/* side menu: ink, grouped, the open page is a blue pill */
.mgr .mgr-side { width: 240px; flex: 0 0 240px; background: var(--nx-ink); padding: 14px 0 20px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.mgr .mgr-brand { padding: 4px 20px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: 6px; }
.mgr .mgr-logo small { color: #7f95b0; }
.mgr .nav-cap { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #6f86a3; padding: 14px 22px 6px; }
.mgr .mgr-side nav a { display: flex; align-items: center; gap: 10px; margin: 2px 12px; padding: 7px 10px; border-radius: 10px; color: #c3d0e0; font-weight: 500; transition: background .12s, color .12s; }
.mgr .mgr-side nav a i { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; background: rgba(255, 255, 255, .06); display: inline-flex; align-items: center; justify-content: center; font-size: 13.5px; }
.mgr .mgr-side nav a:hover { background: #16304f; color: #fff; }
.mgr .mgr-side nav a.active { background: var(--nx-blue); color: #fff; }
.mgr .mgr-side nav a.active i { background: rgba(255, 255, 255, .18); }
.mgr .mgr-side nav a .badge { margin-left: auto; border-radius: 999px; background: #f03e3e !important; font-size: 11px; padding: .35em .6em; }

/* white top bar: title, search, order form link, user */
.mgr .mgr-main { padding: 0 26px 30px; }
.mgr .mgr-top { position: sticky; top: 0; z-index: 1010; background: #fff; border-bottom: 1px solid var(--nx-line); margin: 0 -26px 22px; padding: 12px 26px; gap: 14px; }
.mgr .mgr-top h1 { font-size: 20px; font-weight: 700; color: var(--nx-ink); white-space: nowrap; }
.mgr .nx-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mgr .nx-search { position: relative; }
.mgr .nx-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #8a99ab; font-size: 13px; }
.mgr .nx-search input { width: 250px; height: 38px; border: 1px solid var(--nx-line); background: var(--nx-bg); border-radius: 10px; padding: 0 12px 0 34px; font-size: 13.5px; outline: 0; }
.mgr .nx-search input:focus { border-color: var(--nx-blue); background: #fff; box-shadow: 0 0 0 3px rgba(29, 95, 209, .15); }
.mgr .nx-orderlink { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 10px; background: #eaf1ff; color: var(--nx-blue); font-weight: 600; font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.mgr .nx-orderlink:hover { background: #dbe7ff; color: var(--nx-blue-d); }
.mgr .mgr-user { box-shadow: none; border: 1px solid var(--nx-line); background: #fff; }
.mgr .mgr-avatar { background: var(--nx-blue); }
.mgr .mgr-logout { background: #e5484d; border-radius: 10px; }
.mgr .mgr-logout:hover { background: #cf3a40; box-shadow: none; }

/* cards */
.mgr .card { border: 1px solid var(--nx-line); border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .06); padding: 18px; }
.mgr .card > h2, .mgr .card > .p-3 > h2 { font-size: 15.5px !important; font-weight: 700; color: var(--nx-ink); }

/* tables: light header, soft lines, row hover */
.mgr .table { --bs-table-border-color: #e8edf4; }
.mgr .table thead th, .mgr .table > thead > tr > th { background: #f1f5fb; color: #44546a; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; border-color: #e4e9f2; padding-top: 10px; padding-bottom: 10px; }
.mgr .table > tbody > tr:hover > td { background-color: #f5f9ff; }
.mgr .table-bordered > :not(caption) > * > * { border-color: #e8edf4; }
.mgr .table a.isp-name { color: var(--nx-ink); font-size: 15.5px; }
.mgr .table a.isp-name:hover { color: var(--nx-blue); }

/* badges, buttons, inputs */
.mgr .badge { border-radius: 999px; font-weight: 600; padding: .42em .75em; }
.mgr .btn { border-radius: 9px; font-weight: 600; }
.mgr .btn-sm { border-radius: 8px; }
.mgr .btn-primary { --bs-btn-bg: var(--nx-blue); --bs-btn-border-color: var(--nx-blue); --bs-btn-hover-bg: var(--nx-blue-d); --bs-btn-hover-border-color: var(--nx-blue-d); --bs-btn-active-bg: var(--nx-blue-d); --bs-btn-active-border-color: var(--nx-blue-d); }
.mgr .btn-outline-primary { --bs-btn-color: var(--nx-blue); --bs-btn-border-color: var(--nx-blue); --bs-btn-hover-bg: var(--nx-blue); --bs-btn-hover-border-color: var(--nx-blue); --bs-btn-active-bg: var(--nx-blue-d); }
.mgr .btn-success { --bs-btn-bg: var(--nx-mint); --bs-btn-border-color: var(--nx-mint); --bs-btn-hover-bg: #0f8f68; --bs-btn-hover-border-color: #0f8f68; }
.mgr .form-control, .mgr .form-select { border-radius: 9px; border-color: #d5dde8; }
.mgr .form-control:focus, .mgr .form-select:focus { border-color: var(--nx-blue); box-shadow: 0 0 0 3px rgba(29, 95, 209, .15); }
.mgr .form-label { color: #3a4a5e; }
.mgr .alert { border-radius: 12px; }

/* dashboard number cards: solid colour, icon on the right */
.mgr .stat { position: relative; border-radius: 14px; padding: 16px 18px; box-shadow: 0 4px 14px rgba(16, 24, 40, .10); min-height: 108px; }
.mgr .stat .small { font-weight: 600; font-size: 13px; opacity: .9; padding-right: 46px; }
.mgr .stat .v { font-size: 28px; font-weight: 800; line-height: 1.25; margin-top: 2px; }
.mgr .stat .st-ico { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.mgr .stat-blue { background: var(--nx-blue); } .mgr .stat-violet { background: var(--nx-violet); } .mgr .stat-slate { background: var(--nx-slate); } .mgr .stat-teal { background: var(--nx-teal); }

/* ISP page: solid title bands (no gradient), lighter boxes */
.mgr .isp-head-name { color: var(--nx-ink); }
.mgr .isp-box { background: #fff; border-color: var(--nx-line); border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .06); }
.mgr .isp-box { --bx: #1d5fd1; --bx2: #1d5fd1; }
.mgr .isp-box.isp-box-plan { --bx: #12a77a; --bx2: #12a77a; }
.mgr .isp-box-title { background: var(--bx); border-radius: 13px 13px 0 0; }
.mgr .isp-tabs .nav-link { border-radius: 10px 10px 0 0; }
.mgr .plan-section { color: var(--nx-ink); }

/* phone: the menu is a bar with a hamburger; the top bar wraps */
@media (max-width: 800px) {
  .mgr .mgr-side { width: 100%; flex: none; height: auto; position: sticky; top: 0; padding: 6px 0; }
  .mgr .mgr-brand { border-bottom: 0; margin: 0; padding: 6px 14px; }
  .mgr .mgr-side nav { padding-bottom: 8px; }
  .mgr .mgr-main { padding: 0 14px 24px; }
  .mgr .mgr-top { position: static; margin: 0 -14px 16px; padding: 10px 14px; flex-wrap: wrap; }
  .mgr .mgr-top h1 { font-size: 18px; white-space: normal; }
  .mgr .nx-tools { width: 100%; order: 3; }
  .mgr .nx-search { flex: 1; }
  .mgr .nx-search input { width: 100%; }
  .mgr .nx-orderlink span { display: none; }
}

/* sign-in pages and the public price page: solid grounds instead of the old gradients */
.auth-brand { background: #0e2238 !important; }
.auth-portal .auth-brand { background: #0b5f63 !important; }
.auth-btn { background: #1d5fd1; } .auth-btn:hover { background: #174eae; }
body .pr-hero { background: #12345a; }
