:root {
  color-scheme: dark;
  --bg: #030711;
  --surface: #09162c;
  --surface-2: #0e213e;
  --line: rgba(135, 187, 255, 0.16);
  --blue: #168cff;
  --cyan: #76e4ff;
  --violet: #8a70ff;
  --text: #f3f7ff;
  --muted: #92a5bf;
  --danger: #ff6d8b;
  --success: #65ddb3;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(circle at 80% 5%, rgba(68, 67, 255, 0.16), transparent 32rem), var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: inherit; }
button,
input,
select,
textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.customer-auth-body { min-height: 100vh; }
.customer-auth-shell { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.customer-auth-card {
  width: min(100%, 480px);
  padding: clamp(1.6rem, 5vw, 2.8rem);
  border: 1px solid var(--line);
  border-radius: 27px;
  background: linear-gradient(145deg, rgba(13, 31, 61, 0.97), rgba(4, 10, 23, 0.99));
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.55);
}

.customer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.customer-brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: contain; }
.customer-brand span { display: grid; line-height: 1.1; }
.customer-brand b { font-size: 0.76rem; letter-spacing: 0.1em; }
.customer-brand small { margin-top: 0.22rem; color: var(--cyan); font-size: 0.55rem; letter-spacing: 0.13em; }
.customer-kicker { margin: 1.7rem 0 0.65rem; color: var(--cyan); font-size: 0.67rem; font-weight: 850; letter-spacing: 0.15em; }
.customer-kicker.danger { color: #ff9cb0; }
.customer-auth-card h1,
.customer-heading h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1; letter-spacing: -0.055em; }
.customer-muted,
.customer-heading > p,
.customer-card > p { color: var(--muted); }
.customer-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.customer-form label { display: grid; gap: 0.4rem; }
.customer-form label span { color: #bdcde1; font-size: 0.73rem; font-weight: 760; }
.customer-form input,
.customer-form select,
.customer-form textarea {
  width: 100%;
  min-height: 49px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(2, 8, 19, 0.76);
  color: white;
}
.customer-form textarea { resize: vertical; }
.customer-form input:disabled { background: #e8eeee; color: #637782; cursor: not-allowed; }
.customer-form label small { color: var(--muted); font-size: .66rem; line-height: 1.45; }

.customer-form select { appearance: auto; }
.customer-register-card { width: min(100%, 570px); }
.customer-consent {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 0.65rem !important;
}

.customer-consent input {
  width: 18px;
  min-height: 18px;
  margin: 0.2rem 0 0;
  flex: 0 0 auto;
}

.customer-consent span { line-height: 1.45; }
.customer-consent a { color: var(--cyan); }
.customer-link-button { width: 100%; margin-top: 1rem; text-decoration: none; }

.customer-primary,
.customer-danger {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 11px;
  color: white;
  font-weight: 820;
  cursor: pointer;
}

.customer-primary { background: linear-gradient(115deg, var(--blue), #5363ff, var(--violet)); }
.customer-danger { width: 100%; margin-top: 1.3rem; border-color: rgba(255, 109, 139, 0.25); background: rgba(255, 109, 139, 0.1); color: #ffadbd; }
.customer-auth-footer { display: flex; gap: 1rem; margin-top: 1.5rem; color: var(--muted); font-size: 0.72rem; }
.customer-auth-footer-wrap { flex-wrap: wrap; }
.customer-alert { margin: 1rem 0; padding: 0.8rem 1rem; border-radius: 11px; font-size: 0.8rem; }
.customer-alert.error { border: 1px solid rgba(255, 109, 139, 0.25); background: rgba(255, 109, 139, 0.08); color: #ffadbd; }
.customer-alert.success { border: 1px solid rgba(101, 221, 179, 0.25); background: rgba(101, 221, 179, 0.08); color: #a2ebd1; }
.customer-alert.warning { border: 1px solid rgba(255, 198, 102, 0.25); background: rgba(255, 198, 102, 0.08); color: #ffd59a; }
.customer-lock-card { text-align: center; }
.customer-lock-icon { display: grid; width: 82px; height: 82px; margin: 0 auto 1.3rem; place-items: center; border: 1px solid rgba(255, 109, 139, 0.3); border-radius: 24px; background: rgba(255, 109, 139, 0.08); color: #ff9cb0; }
.customer-lock-icon svg { width: 38px; height: 38px; }
.customer-lock-detail { display: grid; gap: 0.35rem; margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, 0.16); text-align: left; }
.customer-lock-detail small { color: var(--muted); font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.customer-lock-detail strong { overflow-wrap: anywhere; }
.customer-layout { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.customer-sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 1.25rem; border-right: 1px solid var(--line); background: rgba(4, 10, 22, 0.94); }
.customer-sidebar nav { display: grid; gap: 0.35rem; margin-top: 2rem; overflow-y: auto; scrollbar-width: thin; }
.customer-sidebar nav a { padding: 0.75rem 0.85rem; border: 1px solid transparent; border-radius: 10px; color: var(--muted); font-size: 0.8rem; font-weight: 760; text-decoration: none; }
.customer-sidebar nav a.active,
.customer-sidebar nav a:hover { border-color: var(--line); background: rgba(37, 101, 195, 0.1); color: white; }
.customer-sidebar > form { margin-top: auto; }
.customer-sidebar > form button { width: 100%; padding: 0.65rem; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.customer-main { min-width: 0; }
.customer-main > header { display: flex; min-height: 72px; align-items: center; justify-content: space-between; padding: 0 2rem; border-bottom: 1px solid var(--line); background: rgba(3, 7, 17, 0.72); }
.customer-main > header > div:first-child { display: grid; }
.customer-main > header small { color: var(--muted); font-size: 0.58rem; letter-spacing: 0.1em; }
.customer-main > header > div:last-child { display: flex; gap: 0.8rem; color: var(--muted); font-size: 0.7rem; font-weight: 800; }
.customer-content { width: min(100% - 40px, 1100px); margin: 0 auto; padding: 3rem 0 5rem; }
.customer-heading { margin-bottom: 2rem; }
.customer-heading .customer-kicker { margin-top: 0; }
.customer-heading > p { max-width: 650px; }
.customer-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.customer-info-grid section,
.customer-card { padding: 1.3rem; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg, rgba(12, 29, 57, 0.84), rgba(5, 12, 27, 0.95)); }
.customer-info-grid section { display: grid; gap: 0.35rem; min-width: 0; }
.customer-info-grid small { color: var(--muted); font-size: 0.65rem; }
.customer-info-grid strong { overflow: hidden; text-overflow: ellipsis; }
.customer-card { margin-top: 1rem; }
.customer-card.narrow { max-width: 620px; }
.customer-card h2 { margin: 0; }
.customer-security-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.customer-security-grid .customer-card { margin-top: 0; }
.customer-two-factor-card { position: relative; }
.customer-two-factor-card > p { padding-right: 6rem; }
.customer-security-status { position: absolute; top: 1.2rem; right: 1.2rem; padding: .35rem .55rem; border: 1px solid rgba(22,116,85,.22); border-radius: 999px; background: #e9f6f1; color: #17694f; font-size: .62rem; font-weight: 850; }
.customer-security-status.disabled { border-color: rgba(138,92,10,.22); background: #fff7e5; color: #8a5c0a; }
.customer-totp-setup { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 1rem; align-items: center; margin: 1.2rem 0; padding: 1rem; border: 1px solid rgba(18,62,83,.14); border-radius: 13px; background: #f5f8f8; }
.customer-totp-qr { display: grid; min-height: 180px; place-items: center; padding: .55rem; border-radius: 10px; background: #fff; }
.customer-totp-qr svg { display: block; width: 100%; height: auto; }
.customer-totp-setup > div:last-child { display: grid; gap: .55rem; min-width: 0; }
.customer-totp-setup small,
.customer-two-factor-card > small { color: var(--muted); font-size: .66rem; font-weight: 800; }
.customer-totp-setup code { overflow-wrap: anywhere; color: #155f86; font-size: .82rem; font-weight: 850; letter-spacing: .1em; line-height: 1.7; }
.customer-qr-error { color: var(--danger); font-size: .72rem; text-align: center; }
.customer-enabled-at { display: block; margin-top: .3rem; }
.customer-danger-details { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.customer-danger-details summary { color: var(--danger); font-size: .75rem; font-weight: 850; cursor: pointer; }
.customer-danger-details .customer-danger { margin-top: 0; }

@media (max-width: 900px) {
  .customer-layout { grid-template-columns: 1fr; }
  .customer-sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .customer-sidebar nav { display: flex; margin-top: 1rem; }
  .customer-sidebar > form { margin-top: 1rem; }
  .customer-info-grid { grid-template-columns: 1fr 1fr; }
  .customer-security-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .customer-auth-shell { padding: 14px; }
  .customer-main > header { padding: 0 1rem; }
  .customer-content { width: min(100% - 22px, 1100px); padding-top: 2rem; }
  .customer-info-grid { grid-template-columns: 1fr; }
  .customer-totp-setup { grid-template-columns: 1fr; }
  .customer-totp-qr { width: min(100%, 220px); margin: 0 auto; }
  .customer-two-factor-card > p { padding-right: 0; }
  .customer-security-status { position: static; display: inline-flex; margin-bottom: 1rem; }
}

/* North Solutions company account */
:root {
  color-scheme: light;
  --bg: #e8eeef;
  --surface: #ffffff;
  --surface-2: #f2f6f6;
  --line: rgba(10, 43, 61, 0.16);
  --blue: #155f86;
  --cyan: #2b7898;
  --violet: #6f8190;
  --text: #092334;
  --muted: #61747e;
  --danger: #c63f48;
  --success: #167455;
}

body {
  background:
    linear-gradient(135deg, rgba(255,255,255,.7), transparent 35rem),
    linear-gradient(180deg, #eef2f1 0%, #e3eaeb 100%);
  color: var(--text);
}

.customer-auth-card,
.customer-card,
.customer-info-grid section {
  border-color: var(--line);
  background: rgba(255,255,255,.94);
  color: var(--text);
  box-shadow: 0 24px 70px rgba(14, 44, 59, .12);
}
.customer-auth-card { border-radius: 18px; }
.customer-brand { color: #0b2b3d; }
.customer-brand img {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f7f6;
}
.customer-brand small,
.customer-kicker { color: #39758f; }
.customer-form label span { color: #465f6c; }
.customer-form input,
.customer-form select,
.customer-form textarea {
  border-color: rgba(18,62,83,.2);
  background: #f8fafa;
  color: #092334;
}
.customer-primary { background: #0d4f70; box-shadow: 0 12px 26px rgba(13,79,112,.18); }
.customer-muted,
.customer-heading > p,
.customer-card > p,
.customer-auth-footer { color: var(--muted); }
.customer-consent a { color: #17698e; }
.customer-alert.error { background: #fff0f2; color: #a42f3a; }
.customer-alert.success { background: #e9f6f1; color: #17694f; }
.customer-alert.warning { background: #fff7e5; color: #8a5c0a; }

.customer-sidebar {
  border-right: 0;
  background: #082333;
  box-shadow: 18px 0 50px rgba(6,31,45,.12);
}
.customer-sidebar .customer-brand { color: #fff; }
.customer-sidebar .customer-brand img { border-color: rgba(255,255,255,.16); }
.customer-sidebar nav a { color: #a9bdc7; }
.customer-sidebar nav a.active,
.customer-sidebar nav a:hover {
  border-color: rgba(255,255,255,.11);
  background: rgba(255,255,255,.085);
  color: #fff;
  box-shadow: inset 3px 0 #62a8c4;
}
.customer-sidebar > form button { border-color: rgba(255,255,255,.16); color: #b7c9d0; }
.customer-main > header { border-color: var(--line); background: rgba(248,250,249,.9); }
.customer-card-heading { display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.1rem; }
.customer-card-heading small { color:#61747e;font-size:.62rem;font-weight:800;letter-spacing:.1em; }
.customer-card-heading h2 { margin:.2rem 0 0; }
.customer-card-heading > a { color:#17698e;font-size:.75rem;font-weight:800;text-decoration:none; }
.customer-product-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem; }
.customer-product-grid > a { display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:.75rem;padding:1rem;border:1px solid rgba(18,62,83,.14);border-radius:11px;background:#f5f8f8;color:#12364a;text-decoration:none;transition:transform .18s ease,border-color .18s ease; }
.customer-product-grid > a:hover { transform:translateY(-2px);border-color:#6b9db1; }
.customer-product-grid > a > span { color:#39758f;font-size:.65rem;font-weight:850; }
.customer-product-grid > a > div { display:grid;gap:.35rem; }
.customer-product-grid > a small { color:#657983;font-size:.68rem;line-height:1.45; }
.customer-product-grid > a > strong { color:#39758f; }
.customer-dashboard-links { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin:1rem 0; }
.customer-dashboard-links>a { display:grid;gap:.25rem;padding:1rem;border:1px solid rgba(18,62,83,.14);border-radius:13px;background:#f8fafa;color:#12364a;text-decoration:none;transition:transform .18s ease,border-color .18s ease; }
.customer-dashboard-links>a:hover { transform:translateY(-2px);border-color:#6b9db1; }
.customer-dashboard-links small { color:#61747e;font-size:.58rem;font-weight:850;letter-spacing:.09em; }
.customer-dashboard-links strong { overflow:hidden;color:#0d4f70;font-size:1.35rem;text-overflow:ellipsis;white-space:nowrap; }
.customer-dashboard-links span { color:#39758f;font-size:.68rem;font-weight:750; }
.customer-record-list { display:grid;gap:.8rem; }
.customer-record { display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 18px 46px rgba(14,44,59,.08); }
.customer-record h2 { margin:.2rem 0;font-size:1.15rem; }
.customer-record p { margin:0;color:var(--muted);font-size:.76rem; }
.customer-record>div>small { color:#39758f;font-size:.58rem;font-weight:850;letter-spacing:.1em; }
.customer-record-meta { display:grid;gap:.28rem;justify-items:end;text-align:right; }
.customer-record-meta small { color:var(--muted);font-size:.6rem; }
.customer-record-status { display:inline-flex;padding:.3rem .5rem;border:1px solid rgba(80,120,140,.2);border-radius:999px;background:#edf2f3;color:#526d79;font-size:.6rem;font-style:normal;font-weight:850;text-transform:uppercase; }
.customer-record-status.active,.customer-record-status.completed { border-color:rgba(22,116,85,.2);background:#e9f6f1;color:#17694f; }
.customer-record-status.pending,.customer-record-status.cancel_pending { border-color:rgba(138,92,10,.2);background:#fff7e5;color:#8a5c0a; }
.customer-record-status.failed,.customer-record-status.suspended,.customer-record-status.cancelled { border-color:rgba(198,63,72,.2);background:#fff0f2;color:#a42f3a; }
.customer-space-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem; }
.customer-space-grid>article { display:grid;grid-template-columns:auto 1fr auto;gap:1rem;align-items:center;padding:1.25rem;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 18px 46px rgba(14,44,59,.08); }
.customer-space-grid>article>span { display:grid;width:46px;height:46px;place-items:center;border-radius:12px;background:#082f46;color:#fff;font-weight:900; }
.customer-space-grid h2 { margin:.2rem 0;font-size:1rem;overflow-wrap:anywhere; }
.customer-space-grid small { color:#39758f;font-size:.6rem;font-weight:850; }
.customer-space-grid p { margin:0;color:var(--muted);font-size:.66rem; }
.customer-empty { text-align:center; }
.customer-empty .customer-primary { margin-top:1rem;text-decoration:none; }
.customer-support-aside { display:flex;flex-direction:column;gap:.5rem; }
.customer-support-aside>span { color:var(--muted);font-size:.75rem; }
.customer-support-aside>a:not(.customer-primary) { color:#17698e;font-size:.8rem;font-weight:800;overflow-wrap:anywhere; }
.customer-manager-card { display:grid;grid-template-columns:minmax(220px,340px) 1fr;overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 28px 70px rgba(14,44,59,.12); }
.customer-manager-card>img,.customer-manager-fallback { width:100%;height:100%;min-height:360px;object-fit:cover; }
.customer-manager-fallback { display:grid;place-items:center;background:linear-gradient(145deg,#082f46,#17698e);color:#fff;font-size:6rem;font-weight:900; }
.customer-manager-card>div:last-child { display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(1.5rem,5vw,3.5rem); }
.customer-manager-card small { color:#39758f;font-size:.62rem;font-weight:850;letter-spacing:.12em; }
.customer-manager-card h2 { margin:.35rem 0 0;font-size:clamp(2rem,5vw,3.4rem);letter-spacing:-.045em;line-height:1; }
.customer-manager-card strong { margin-top:.65rem;color:#39758f; }
.customer-manager-card p { color:var(--muted);line-height:1.7; }
.customer-manager-card .customer-primary { text-decoration:none;overflow-wrap:anywhere; }
@media (max-width: 900px) { .customer-product-grid { grid-template-columns:1fr; } }
@media (max-width: 900px) { .customer-dashboard-links { grid-template-columns:repeat(2,minmax(0,1fr)); }.customer-space-grid { grid-template-columns:1fr; } }
@media (max-width: 650px) { .customer-dashboard-links { grid-template-columns:1fr; }.customer-record { align-items:flex-start;flex-direction:column; }.customer-record-meta { justify-items:start;text-align:left; }.customer-manager-card { grid-template-columns:1fr; }.customer-manager-card>img,.customer-manager-fallback { min-height:270px;max-height:340px; } }
.customer-bot-trap{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
