:root {
  --ax-primary: #1894ff;
  --ax-primary-strong: #0572d9;
  --ax-ink: #07111f;
  --ax-surface: #ffffff;
  --ax-surface-soft: #f4f8fc;
  --ax-border: #dce6f1;
  --ax-text: #172033;
  --ax-muted: #66758a;
  --ax-shadow: 0 24px 70px rgba(7, 17, 31, 0.12);
}

html.autixon-dark {
  color-scheme: dark;
  --ax-ink: #eef6ff;
  --ax-surface: #0b1524;
  --ax-surface-soft: #07111f;
  --ax-border: rgba(255, 255, 255, 0.1);
  --ax-text: #edf5ff;
  --ax-muted: #a5b2c4;
  --ax-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

body.customers,
body.autixon-auth-page,
body.authentication {
  background: var(--ax-surface-soft) !important;
  color: var(--ax-text);
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.customers::before,
body.autixon-auth-page::before,
body.authentication::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(24, 148, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 148, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 12% 8%, rgba(24, 148, 255, 0.14), transparent 32%),
    radial-gradient(circle at 88% 78%, rgba(24, 148, 255, 0.08), transparent 34%);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.autixon-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--ax-text);
  background: var(--ax-surface);
  border: 1px solid var(--ax-border);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(7, 17, 31, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.autixon-theme-toggle:hover,
.autixon-theme-toggle:focus {
  color: var(--ax-primary);
  border-color: rgba(24, 148, 255, 0.55);
  outline: 0;
  transform: translateY(-2px);
}

.autixon-theme-toggle svg {
  width: 18px;
  height: 18px;
}

.autixon-theme-toggle .ax-icon-sun,
html.autixon-dark .autixon-theme-toggle .ax-icon-moon {
  display: none;
}

html.autixon-dark .autixon-theme-toggle .ax-icon-sun {
  display: block;
}

/* Shared authentication experience */
.autixon-auth-page {
  min-height: 100vh;
  overflow-x: hidden;
}

.autixon-auth-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(340px, 0.9fr) minmax(460px, 1.1fr);
}

.autixon-auth-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 52px clamp(36px, 5vw, 86px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(5, 114, 217, 0.96), rgba(7, 17, 31, 0.98) 62%),
    #07111f;
}

.autixon-auth-brand::before,
.autixon-auth-brand::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.autixon-auth-brand::before {
  top: -140px;
  right: -160px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.025), 0 0 0 130px rgba(255, 255, 255, 0.02);
}

.autixon-auth-brand::after {
  right: 8%;
  bottom: 12%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(24, 148, 255, 0.34), transparent 68%);
  filter: blur(4px);
}

.autixon-auth-logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 62px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.autixon-auth-logo img {
  width: auto;
  max-width: 190px;
  max-height: 48px;
}

.autixon-auth-brand-copy {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

.autixon-auth-kicker,
.autixon-client-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #7ec3ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.autixon-auth-kicker::before,
.autixon-client-eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.autixon-auth-brand h2 {
  max-width: 650px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.autixon-auth-brand p {
  max-width: 590px;
  margin: 0;
  color: rgba(238, 246, 255, 0.76);
  font-size: 16px;
  line-height: 1.75;
}

.autixon-auth-points {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.autixon-auth-points li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.autixon-auth-points li::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--ax-primary);
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(24, 148, 255, 0.85);
}

.autixon-auth-meta {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.autixon-auth-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 70px 28px;
}

.autixon-auth-main > .autixon-theme-toggle {
  position: absolute;
  top: 28px;
  right: 30px;
}

[dir="rtl"] .autixon-auth-main > .autixon-theme-toggle {
  right: auto;
  left: 30px;
}

.autixon-auth-card {
  width: 100%;
  max-width: 480px;
  padding: 42px;
  background: color-mix(in srgb, var(--ax-surface) 94%, transparent);
  border: 1px solid var(--ax-border);
  border-radius: 22px;
  box-shadow: var(--ax-shadow);
  backdrop-filter: blur(18px);
}

.autixon-auth-card .company-logo {
  display: none;
}

.autixon-auth-card h1,
.autixon-client-login-card h1 {
  margin: 0 0 10px;
  color: var(--ax-text) !important;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-align: left !important;
}

.autixon-auth-subtitle {
  margin: 0 0 30px;
  color: var(--ax-muted);
  line-height: 1.65;
}

.autixon-auth-card label,
.autixon-client-login-card label {
  margin-bottom: 8px;
  color: var(--ax-text);
  font-size: 13px;
  font-weight: 750;
}

.autixon-auth-card .form-control,
.autixon-client-login-card .form-control,
html.autixon-dark .customers .form-control,
html.autixon-dark .customers .bootstrap-select > .btn-default {
  height: 48px;
  color: var(--ax-text);
  background: var(--ax-surface-soft);
  border: 1px solid var(--ax-border);
  border-radius: 10px;
  box-shadow: none;
}

.autixon-auth-card .form-control:focus,
.autixon-client-login-card .form-control:focus {
  background: var(--ax-surface);
  border-color: var(--ax-primary);
  box-shadow: 0 0 0 3px rgba(24, 148, 255, 0.12);
}

.autixon-auth-card .btn-primary,
.autixon-client-login-card .btn-primary {
  min-height: 48px;
  margin-top: 8px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--ax-primary), var(--ax-primary-strong));
  border: 0;
  border-radius: 10px;
  box-shadow: 0 13px 28px rgba(24, 148, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.autixon-auth-card .btn-primary:hover,
.autixon-client-login-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 34px rgba(24, 148, 255, 0.34);
}

.autixon-auth-card a,
.autixon-client-login-card a {
  color: var(--ax-primary-strong);
  font-weight: 700;
}

.autixon-auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 4px 0 14px;
}

.autixon-auth-options .checkbox {
  margin: 0;
}

.autixon-auth-options > a {
  font-size: 13px;
  text-align: right;
}

.autixon-register-link {
  min-height: 46px;
  padding-top: 12px;
  color: var(--ax-text) !important;
  background: var(--ax-surface-soft);
  border-color: var(--ax-border);
  border-radius: 10px;
}

[dir="rtl"] .autixon-auth-card h1,
[dir="rtl"] .autixon-client-login-card h1 {
  text-align: right !important;
}

/* Customer portal */
body.customers .header.navbar-default {
  min-height: 76px;
  margin-bottom: 0;
  background: color-mix(in srgb, var(--ax-surface) 92%, transparent);
  border: 0;
  border-bottom: 1px solid var(--ax-border);
  box-shadow: 0 8px 30px rgba(7, 17, 31, 0.06);
  backdrop-filter: blur(16px);
}

body.customers .header .navbar-brand {
  height: 75px;
  padding-top: 14px;
  padding-bottom: 14px;
}

body.customers .header .navbar-brand img {
  max-height: 46px;
}

body.customers .header .navbar-nav > li > a {
  padding-top: 27px;
  padding-bottom: 26px;
  color: var(--ax-muted);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

body.customers .header .navbar-nav > li > a:hover,
body.customers .header .navbar-nav > li.active > a {
  color: var(--ax-primary) !important;
  background: rgba(24, 148, 255, 0.07) !important;
}

.autixon-nav-theme {
  padding: 18px 10px 0 !important;
}

.autixon-nav-theme .autixon-theme-toggle {
  width: 38px;
  height: 38px;
}

body.customers #content {
  padding-top: 34px;
}

html.autixon-dark body.customers .panel_s .panel-body,
html.autixon-dark body.customers .panel_s,
html.autixon-dark body.customers .dropdown-menu,
html.autixon-dark body.customers .modal-content,
html.autixon-dark body.customers .table,
html.autixon-dark body.customers .well {
  color: var(--ax-text);
  background: var(--ax-surface);
  border-color: var(--ax-border);
}

html.autixon-dark body.customers .table > thead > tr > th,
html.autixon-dark body.customers .table > tbody > tr > td,
html.autixon-dark body.customers hr {
  border-color: var(--ax-border);
}

html.autixon-dark body.customers .text-muted,
html.autixon-dark body.customers .tw-text-neutral-700,
html.autixon-dark body.customers .tw-text-neutral-600,
html.autixon-dark body.customers .tw-text-neutral-500 {
  color: var(--ax-muted) !important;
}

.autixon-client-welcome {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 30px;
  margin-bottom: 30px;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #07111f 0%, #0c3155 58%, #0572d9 140%);
  border: 1px solid rgba(126, 195, 255, 0.2);
  border-radius: 22px;
  box-shadow: 0 25px 65px rgba(7, 17, 31, 0.2);
}

.autixon-client-welcome::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.3;
  background-image: linear-gradient(rgba(126, 195, 255, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(126, 195, 255, 0.16) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000);
}

.autixon-client-welcome-copy,
.autixon-client-quick-actions {
  position: relative;
  z-index: 1;
}

.autixon-client-welcome h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.autixon-client-welcome p {
  max-width: 650px;
  margin: 0;
  color: rgba(238, 246, 255, 0.72);
  font-size: 15px;
  line-height: 1.7;
}

.autixon-client-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
}

.autixon-client-action {
  display: flex;
  flex-direction: column;
  min-height: 102px;
  padding: 18px;
  color: #fff !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.autixon-client-action:hover {
  color: #fff;
  background: rgba(24, 148, 255, 0.22);
  transform: translateY(-3px);
}

.autixon-client-action i {
  margin-bottom: 13px;
  color: #7ec3ff;
  font-size: 20px;
}

.autixon-client-action span {
  font-weight: 800;
}

body.customers .autixon-client-welcome h1 {
  color: #fff !important;
}

body.customers .autixon-client-welcome p {
  color: rgba(238, 246, 255, 0.76) !important;
}

.autixon-client-action {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 18px;
  align-items: center;
  min-height: 96px;
  padding: 15px;
}

.autixon-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #8bd0ff;
  background: rgba(82, 187, 255, 0.13);
  border: 1px solid rgba(126, 207, 255, 0.18);
  border-radius: 12px;
}

.autixon-client-action .autixon-action-icon i {
  margin: 0;
  color: inherit;
  font-size: 18px;
}

.autixon-action-metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 10px;
}

.autixon-action-metric strong {
  color: #fff;
  font-size: 26px;
  font-weight: 850;
  line-height: 1;
}

.autixon-action-metric span {
  color: rgba(233, 245, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.autixon-client-action .autixon-action-arrow {
  margin: 0;
  color: rgba(171, 216, 249, 0.48);
  font-size: 12px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.autixon-client-action:hover .autixon-action-arrow {
  color: #fff;
  transform: translateX(3px);
}

[dir="rtl"] .autixon-client-action .autixon-action-arrow {
  transform: rotate(180deg);
}

[dir="rtl"] .autixon-client-action:hover .autixon-action-arrow {
  transform: rotate(180deg) translateX(3px);
}

.section-client-dashboard > h3#greeting {
  display: none;
}

body.customers .panel_s .panel-body {
  border: 1px solid var(--ax-border);
  border-radius: 16px;
  box-shadow: 0 12px 38px rgba(7, 17, 31, 0.06);
}

body.customers .footer {
  color: var(--ax-muted);
  background: transparent;
  border-top-color: var(--ax-border);
}

/* Customer login */
.autixon-client-login {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(380px, 1.15fr);
  max-width: 1050px;
  min-height: 620px;
  margin: 38px auto 70px;
  overflow: hidden;
  background: var(--ax-surface);
  border: 1px solid var(--ax-border);
  border-radius: 24px;
  box-shadow: var(--ax-shadow);
}

.autixon-client-login-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(150deg, #0572d9, #07111f 72%);
}

.autixon-client-login-brand::before {
  position: absolute;
  top: -90px;
  right: -100px;
  width: 330px;
  height: 330px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.025), 0 0 0 105px rgba(255, 255, 255, 0.018);
}

.autixon-client-login-brand > * {
  position: relative;
  z-index: 1;
}

.autixon-client-login-brand h2 {
  margin: 0 0 16px;
  color: #fff !important;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.autixon-client-login-brand p {
  color: rgba(255, 255, 255, 0.76) !important;
  line-height: 1.7;
}

body.customers .autixon-client-login-brand h2 {
  color: #fff !important;
}

body.customers .autixon-client-login-brand .autixon-auth-kicker {
  color: #8ed2ff !important;
}

body.customers .autixon-client-login-brand .autixon-client-login-signals,
body.customers .autixon-client-login-brand .autixon-client-login-signals span {
  color: rgba(255, 255, 255, 0.88) !important;
}

.autixon-client-login-card input:-webkit-autofill,
.autixon-client-login-card input:-webkit-autofill:hover,
.autixon-client-login-card input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ax-text);
  box-shadow: 0 0 0 1000px var(--ax-surface-soft) inset !important;
  transition: background-color 9999s ease-out;
}

.autixon-client-login-signals {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.autixon-client-login-signals i {
  width: 22px;
  color: #54c7ff;
}

.autixon-client-login-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 72px);
  background: var(--ax-surface);
}

.autixon-client-login-card .panel_s,
.autixon-client-login-card .panel-body {
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.autixon-client-login-card .bootstrap-select.form-control {
  width: 100% !important;
  height: auto !important;
  min-height: 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
}

.autixon-client-login-card .bootstrap-select > .dropdown-toggle {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  color: var(--ax-text);
  background: var(--ax-surface-soft);
  border: 1px solid var(--ax-border);
  border-radius: 10px;
  box-shadow: none;
}

.autixon-client-login-card .bootstrap-select.open > .dropdown-toggle,
.autixon-client-login-card .bootstrap-select > .dropdown-toggle:focus {
  color: var(--ax-text);
  background: var(--ax-surface);
  border-color: var(--ax-primary);
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(24, 148, 255, 0.12) !important;
}

.autixon-client-login-card .bootstrap-select .dropdown-menu {
  padding: 7px;
  background: var(--ax-surface);
  border: 1px solid var(--ax-border);
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(7, 17, 31, 0.18);
}

.autixon-client-login-card .bootstrap-select .dropdown-menu > li > a {
  padding: 9px 11px;
  color: var(--ax-text);
  border-radius: 7px;
}

@media (max-width: 900px) {
  .autixon-auth-shell,
  .autixon-client-login,
  .autixon-client-welcome {
    grid-template-columns: 1fr;
  }

  .autixon-auth-brand {
    min-height: 310px;
    padding: 34px;
  }

  .autixon-auth-brand-copy h2 {
    font-size: 38px;
  }

  .autixon-auth-points,
  .autixon-auth-meta {
    display: none;
  }

  .autixon-auth-main {
    min-height: auto;
    padding: 64px 18px;
  }

  .autixon-client-login {
    margin: 24px auto 50px;
  }

  .autixon-client-login-brand {
    min-height: 270px;
  }
}

@media (max-width: 767px) {
  .autixon-auth-card {
    padding: 30px 24px;
    border-radius: 18px;
  }

  .autixon-auth-logo {
    padding: 8px 12px;
  }

  .autixon-auth-logo img {
    max-width: 150px;
  }

  body.customers .header.navbar-default {
    min-height: 66px;
  }

  body.customers .header .navbar-brand {
    height: 65px;
  }

  body.customers .header .navbar-nav > li > a {
    padding: 14px 18px;
  }

  .autixon-nav-theme {
    padding: 10px 18px !important;
  }

  .autixon-client-login {
    margin-inline: 8px;
    border-radius: 18px;
  }

  .autixon-client-login-brand,
  .autixon-client-login-card,
  .autixon-client-welcome {
    padding: 28px 24px;
  }

  .autixon-client-quick-actions {
    grid-template-columns: 1fr 1fr;
  }

  .autixon-auth-options {
    align-items: flex-start;
  }
}

/* AUTIXON customer portal — premium application shell */
body.customers {
  --ax-header: #071322;
  --ax-header-soft: #0b1c31;
  --ax-accent: #1597ff;
  --ax-accent-2: #45c7ff;
  background-color: var(--ax-surface-soft) !important;
}

body.customers::before {
  opacity: 0.55;
  background-size: 54px 54px, 54px 54px, auto, auto;
}

body.customers .header.navbar-default {
  position: relative;
  z-index: 1000;
  min-height: 82px;
  background: rgba(7, 19, 34, 0.97) !important;
  border-bottom: 1px solid rgba(103, 187, 255, 0.16);
  box-shadow: 0 15px 45px rgba(3, 10, 20, 0.2);
}

body.customers .header.navbar-default::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(21, 151, 255, 0.72), transparent);
}

body.customers .header > .container,
body.customers #content > .container,
body.customers .footer > .container {
  width: min(100% - 40px, 1440px);
  max-width: 1440px;
}

.autixon-navbar-identity {
  display: flex;
  align-items: center;
  float: left;
  height: 81px;
}

[dir="rtl"] .autixon-navbar-identity {
  float: right;
}

body.customers .header .navbar-brand {
  display: flex;
  align-items: center;
  width: auto;
  height: 81px;
  padding: 15px 17px 15px 0;
}

body.customers .header .navbar-brand img {
  width: auto !important;
  min-width: 135px;
  max-width: 165px;
  max-height: 52px;
  object-fit: contain;
}

.autixon-portal-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 17px;
  color: #eaf5ff;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.autixon-portal-name small {
  color: #58baff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

body.customers .header .navbar-nav {
  display: flex;
  align-items: center;
  min-height: 81px;
  gap: 3px;
}

body.customers .header .navbar-nav > li > a {
  margin: 0;
  padding: 13px 13px;
  color: #aab8cb !important;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

body.customers .header .navbar-nav > li > a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.065) !important;
}

body.customers .header .navbar-nav > li.active > a,
body.customers .header .navbar-nav > li.active > a:hover {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(21, 151, 255, 0.24), rgba(21, 151, 255, 0.1)) !important;
  box-shadow: inset 0 0 0 1px rgba(77, 183, 255, 0.16);
}

.autixon-nav-theme {
  display: flex !important;
  align-items: center;
  padding: 0 7px !important;
}

.autixon-nav-theme .autixon-theme-toggle {
  width: 38px;
  height: 38px;
  color: #a9bbd0;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.autixon-theme-toggle svg,
.autixon-theme-toggle svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.customers .customers-nav-item-profile > a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 5px 9px 5px 6px !important;
  color: #d9e7f6 !important;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px !important;
}

body.customers .client-profile-image-small {
  width: 32px;
  height: 32px;
  margin: 0;
  border: 2px solid rgba(88, 186, 255, 0.5);
  border-radius: 50%;
}

.autixon-profile-name {
  max-width: 90px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.autixon-profile-caret {
  color: #6f8299;
  font-size: 11px;
}

body.customers .header .dropdown-menu {
  margin-top: 10px;
  padding: 8px;
  background: var(--ax-surface);
  border: 1px solid var(--ax-border);
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(3, 10, 20, 0.25);
}

body.customers .header .dropdown-menu > li > a {
  padding: 10px 12px;
  color: var(--ax-text);
  border-radius: 7px;
}

body.customers .header .dropdown-menu > li > a:hover {
  color: var(--ax-primary);
  background: rgba(21, 151, 255, 0.09);
}

body.customers #content {
  flex: 1 0 auto;
  padding-top: 42px;
}

body.customers h1,
body.customers h2,
body.customers h3,
body.customers h4 {
  color: var(--ax-text);
  letter-spacing: -0.02em;
}

body.customers .panel_s {
  margin-bottom: 24px;
}

body.customers .panel_s .panel-body {
  padding: 24px;
  color: var(--ax-text);
  background: color-mix(in srgb, var(--ax-surface) 96%, transparent);
  border: 1px solid var(--ax-border);
  border-radius: 16px;
  box-shadow: 0 14px 42px rgba(7, 17, 31, 0.07);
}

body.customers .table > thead > tr > th {
  padding: 13px 12px;
  color: var(--ax-muted);
  background: var(--ax-surface-soft);
  border-bottom: 1px solid var(--ax-border);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

body.customers .table > tbody > tr > td {
  padding: 15px 12px;
  color: var(--ax-text);
  border-top-color: var(--ax-border);
  vertical-align: middle;
}

body.customers .table > tbody > tr:hover > td {
  background: rgba(21, 151, 255, 0.045);
}

body.customers .btn-primary,
body.customers .btn-info,
body.customers .kb-search-button {
  color: #fff;
  background: linear-gradient(135deg, #1597ff, #0572d9);
  border-color: transparent;
  border-radius: 9px;
  box-shadow: 0 10px 24px rgba(5, 114, 217, 0.2);
}

body.customers .form-control,
body.customers .bootstrap-select > .btn-default {
  color: var(--ax-text);
  background: var(--ax-surface);
  border-color: var(--ax-border);
  border-radius: 9px;
  box-shadow: none;
}

body.customers .form-control:focus {
  border-color: rgba(21, 151, 255, 0.78);
  box-shadow: 0 0 0 3px rgba(21, 151, 255, 0.12);
}

body.customers .submenu {
  display: flex;
  gap: 8px;
  margin: 0 0 24px;
  padding: 6px;
  background: var(--ax-surface);
  border: 1px solid var(--ax-border);
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(7, 17, 31, 0.05);
}

body.customers .submenu li {
  margin: 0;
}

body.customers .submenu li a {
  display: flex;
  align-items: center;
  padding: 8px 11px;
  color: var(--ax-muted) !important;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
}

body.customers .submenu li a:hover {
  color: var(--ax-primary) !important;
  background: rgba(21, 151, 255, 0.08);
}

/* Knowledge center */
body.customers .kb-search-jumbotron {
  position: relative;
  margin: -42px 0 38px;
  padding: 72px 0 68px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(36, 166, 255, 0.25), transparent 30%),
    linear-gradient(135deg, #071322 0%, #0a213a 62%, #0b3155 100%);
  border: 0;
  border-bottom: 1px solid rgba(80, 181, 255, 0.2);
}

body.customers .kb-search-jumbotron::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.25;
  pointer-events: none;
  background-image: linear-gradient(rgba(78, 177, 255, 0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(78, 177, 255, 0.13) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent 4%, #000 50%, transparent 96%);
}

body.customers .kb-search-jumbotron .container {
  position: relative;
  z-index: 1;
}

.autixon-kb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #58baff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

body.customers .kb-search-heading {
  margin: 0 0 12px;
  color: #fff !important;
  font-size: clamp(27px, 3.2vw, 42px);
  font-weight: 800;
}

.autixon-kb-intro {
  margin: 0 0 28px;
  color: rgba(225, 240, 255, 0.68);
  font-size: 14px;
}

body.customers #kb-search-form {
  max-width: 760px;
  margin: 0 auto;
}

body.customers .kb-search-input {
  height: 54px;
  padding-left: 48px;
  color: #dcecff;
  background: rgba(4, 14, 27, 0.78);
  border: 1px solid rgba(105, 189, 255, 0.25);
  border-radius: 12px 0 0 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

body.customers .kb-search-input::placeholder {
  color: #8295ad;
}

body.customers .kb-search-button {
  height: 54px;
  min-width: 112px;
  border-radius: 0 12px 12px 0;
  font-weight: 800;
}

body.customers .kb-search-icon {
  top: 5px;
  left: 6px;
  color: #68c2ff;
}

.autixon-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  padding: 42px 24px;
  text-align: center;
}

.autixon-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  color: var(--ax-primary);
  background: rgba(21, 151, 255, 0.1);
  border: 1px solid rgba(21, 151, 255, 0.18);
  border-radius: 18px;
  font-size: 24px;
}

.autixon-empty-state h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
}

.autixon-empty-state p {
  margin: 0;
  color: var(--ax-muted);
}

body.customers .footer {
  margin-top: 50px;
  padding: 26px 0;
  color: #8293a8;
  background: #071322;
  border-top: 1px solid rgba(91, 185, 255, 0.15);
}

body.customers .footer a {
  color: #58baff;
}

.autixon-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 26px 30px;
  color: #fff;
  background: linear-gradient(135deg, #071322, #0c3155);
  border: 1px solid rgba(83, 183, 255, 0.2);
  border-radius: 17px;
  box-shadow: 0 18px 48px rgba(7, 17, 31, 0.15);
}

body.customers .autixon-page-heading h1 {
  margin: 0 0 6px;
  color: #fff !important;
  font-size: 28px;
  font-weight: 850;
}

.autixon-page-heading .autixon-client-eyebrow {
  margin-bottom: 8px;
}

.autixon-page-heading p {
  margin: 0;
  color: rgba(229, 243, 255, 0.68);
}

.autixon-page-heading-icon {
  display: inline-flex;
  flex: 0 0 58px;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #72c7ff;
  background: rgba(55, 168, 255, 0.12);
  border: 1px solid rgba(107, 198, 255, 0.2);
  border-radius: 16px;
  font-size: 22px;
}

.autixon-subscription-name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.autixon-subscription-name i {
  color: var(--ax-primary);
}

.autixon-subscription-status {
  display: inline-flex;
  padding: 5px 9px;
  color: #53657a;
  background: #edf2f7;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.autixon-subscription-status.status-active {
  color: #067647;
  background: #dcfae6;
}

.autixon-subscription-status.status-canceled,
.autixon-subscription-status.status-expired {
  color: #b42318;
  background: #fee4e2;
}

html.autixon-dark .autixon-subscription-status {
  color: #b9c7d8;
  background: rgba(255, 255, 255, 0.08);
}

html.autixon-dark .autixon-subscription-status.status-active {
  color: #75e0a7;
  background: rgba(18, 183, 106, 0.14);
}

html.autixon-dark .autixon-subscription-status.status-canceled,
html.autixon-dark .autixon-subscription-status.status-expired {
  color: #fda29b;
  background: rgba(240, 68, 56, 0.14);
}

@media (max-width: 1199px) {
  .autixon-portal-name,
  .autixon-profile-name,
  .autixon-profile-caret {
    display: none;
  }

  body.customers .header .navbar-nav > li > a {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  body.customers .header > .container,
  body.customers #content > .container,
  body.customers .footer > .container {
    width: calc(100% - 24px);
  }

  body.customers .header.navbar-default,
  .autixon-navbar-identity,
  body.customers .header .navbar-brand {
    min-height: 68px;
    height: 68px;
  }

  body.customers .header .navbar-brand img {
    min-width: 115px;
    max-width: 140px;
  }

  body.customers .header .navbar-toggle {
    margin-top: 16px;
    border-color: rgba(255, 255, 255, 0.16);
    border-radius: 9px;
  }

  body.customers .header .navbar-toggle .icon-bar {
    background: #b9c9db;
  }

  body.customers .header .navbar-collapse {
    background: #071322;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  }

  body.customers .header .navbar-nav {
    display: block;
    min-height: 0;
    margin: 10px 0;
  }

  body.customers .header .navbar-nav > li > a {
    margin: 3px 8px;
    padding: 13px 14px;
  }

  .autixon-nav-theme {
    padding: 8px 14px !important;
  }

  body.customers .customers-nav-item-profile > a {
    display: inline-flex;
    margin-left: 12px !important;
  }

  body.customers #content {
    padding-top: 28px;
  }

  body.customers .kb-search-jumbotron {
    margin-top: -28px;
    padding: 50px 0 46px;
  }

  body.customers .kb-search-input,
  body.customers .kb-search-button {
    height: 50px;
  }

  body.customers .kb-search-button {
    min-width: 88px;
  }

  body.customers .panel_s .panel-body {
    padding: 18px;
  }
}
