/* ============================================================
   XcellHost — Zoho Desk Help Center theme
   Paste into:  Customize -> CSS tab
   Brand: navy #041E42 / #0B132B · blue #0066FF · orange #FF8A00
   ============================================================ */

:root {
  --xh-blue:    #0066FF;
  --xh-blue-dk: #0052CC;
  --xh-navy:    #041E42;
  --xh-navy-2:  #0B132B;
  --xh-orange:  #FF8A00;
  --xh-orange-dk: #E57A00;
  --xh-ink:     #12203A;
  --xh-grey:    #5B6C87;
  --xh-line:    #E1E9F4;
  --xh-paper:   #F5F8FD;
}

/* ---------- page base ---------- */
body,
.Layout__container {
  background: var(--xh-paper) !important;
  color: var(--xh-ink) !important;
}

/* ---------- HEADER ---------- */
.Header__headerBg,
.Header__bgColor {
  background: linear-gradient(135deg, var(--xh-navy) 0%, var(--xh-navy-2) 45%, #123A86 100%) !important;
}

.Header__menuWrapper {
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
}

.Header__menuBox {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 10px 24px !important;
}

/* logo text next to the mark */
.Header__logotxt {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  letter-spacing: -.01em !important;
}

.Header__logoimg img {
  max-height: 46px !important;
}

/* ---------- NAV ---------- */
.Header__nav > li > a,
.Header__nav > li {
  color: rgba(255,255,255,.88) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: .01em !important;
  position: relative !important;
  transition: color .2s ease !important;
}

.Header__nav > li > a:hover,
.Header__nav > li:hover > a {
  color: #FFFFFF !important;
}

/* active tab underline in brand blue */
.Header__nav > li.active > a::after,
.Header__nav > li > a.active::after,
.Header__nav > li.selected > a::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -10px !important;
  height: 3px !important;
  border-radius: 3px 3px 0 0 !important;
  background: var(--xh-blue) !important;
}

/* Sign Up styled as the primary CTA */
#portal_tabSignup > a,
.Header__nav li[id*="Signup"] > a,
.Header__nav li[id*="SignUp"] > a {
  background: var(--xh-orange) !important;
  color: #FFFFFF !important;
  padding: 9px 18px !important;
  border-radius: 8px !important;
  transition: background .2s ease, transform .2s ease !important;
}
#portal_tabSignup > a:hover,
.Header__nav li[id*="Signup"] > a:hover,
.Header__nav li[id*="SignUp"] > a:hover {
  background: var(--xh-orange-dk) !important;
  transform: translateY(-1px) !important;
}

/* mobile hamburger */
.Header__menuClick span,
.Header__men {
  background: #FFFFFF !important;
}

/* ---------- HERO / BANNER ---------- */
.Banner__bannerWrapper,
.Banner__bannerBg,
.HomeBanner,
[class*="Banner__"] {
  background-color: transparent !important;
}

.Banner__bannerBg::after,
.Banner__bannerWrapper::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(135deg, rgba(4,30,66,.92) 0%, rgba(11,19,43,.88) 50%, rgba(18,58,134,.86) 100%) !important;
  pointer-events: none !important;
}

[class*="Banner__"] h1,
[class*="Banner__"] .title {
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
  color: #FFFFFF !important;
}

[class*="Banner__"] p,
[class*="Banner__"] .subtitle {
  color: #C2D4EE !important;
}

/* ---------- SEARCH BOX ---------- */
[class*="Search__"] input,
input[type="search"],
.searchBox input {
  border: 1.5px solid transparent !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 40px -22px rgba(4,30,66,.65) !important;
  font-size: 16px !important;
  padding: 16px 20px !important;
  transition: border-color .2s ease, box-shadow .2s ease !important;
}

[class*="Search__"] input:focus,
input[type="search"]:focus {
  border-color: var(--xh-blue) !important;
  box-shadow: 0 0 0 4px rgba(0,102,255,.14) !important;
  outline: none !important;
}

/* ---------- KB / COMMUNITY TOGGLE ---------- */
[class*="Tab__"] .active,
[class*="Tabs__"] .active,
.tabActive {
  background: var(--xh-blue) !important;
  color: #FFFFFF !important;
  border-color: var(--xh-blue) !important;
  border-radius: 8px !important;
}

/* ---------- CATEGORY CARDS ---------- */
[class*="Category__"],
[class*="Categories__"] li,
.categoryBox {
  background: #FFFFFF !important;
  border: 1px solid var(--xh-line) !important;
  border-radius: 14px !important;
  transition: transform .22s cubic-bezier(.16,1,.3,1),
              box-shadow .22s ease,
              border-color .22s ease !important;
}

[class*="Category__"]:hover,
[class*="Categories__"] li:hover,
.categoryBox:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 44px -26px rgba(4,30,66,.45) !important;
  border-color: #BFD5F0 !important;
}

[class*="Category__"] h2,
[class*="Category__"] h3,
.categoryBox h2,
.categoryBox h3 {
  color: var(--xh-navy) !important;
  font-weight: 700 !important;
  letter-spacing: -.015em !important;
}

[class*="Category__"] p,
.categoryBox p {
  color: var(--xh-grey) !important;
}

/* card icons tinted to brand blue */
[class*="Category__"] svg path,
[class*="Category__"] i {
  fill: var(--xh-blue) !important;
  color: var(--xh-blue) !important;
}

/* ---------- LINKS ---------- */
a {
  color: var(--xh-blue) !important;
}
a:hover {
  color: var(--xh-blue-dk) !important;
}

/* ---------- BUTTONS ---------- */
button.primary,
.btn-primary,
[class*="Button__primary"],
input[type="submit"] {
  background: var(--xh-blue) !important;
  border-color: var(--xh-blue) !important;
  color: #FFFFFF !important;
  border-radius: 9px !important;
  font-weight: 600 !important;
  transition: background .2s ease, transform .2s ease !important;
}

button.primary:hover,
.btn-primary:hover,
[class*="Button__primary"]:hover,
input[type="submit"]:hover {
  background: var(--xh-blue-dk) !important;
  transform: translateY(-1px) !important;
}

/* "Submit a Ticket" style CTA in orange */
[class*="ticket"] button.primary,
a[href*="newticket"],
a[href*="submit-ticket"] {
  background: var(--xh-orange) !important;
  border-color: var(--xh-orange) !important;
}
[class*="ticket"] button.primary:hover,
a[href*="newticket"]:hover,
a[href*="submit-ticket"]:hover {
  background: var(--xh-orange-dk) !important;
}

/* ---------- ARTICLE PAGE ---------- */
[class*="Article__"] h1 {
  color: var(--xh-navy) !important;
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
}

[class*="Article__"] a {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

[class*="Breadcrumb__"] a {
  color: var(--xh-grey) !important;
}
[class*="Breadcrumb__"] a:hover {
  color: var(--xh-blue) !important;
}

/* ---------- FOOTER ---------- */
[class*="Footer__"] {
  background: var(--xh-navy) !important;
  color: #9DB6DC !important;
  border-top: 3px solid var(--xh-blue) !important;
}

[class*="Footer__"] a {
  color: #C9D8EF !important;
}
[class*="Footer__"] a:hover {
  color: #FFFFFF !important;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--xh-paper); }
::-webkit-scrollbar-thumb {
  background: #C3D4EA;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: var(--xh-blue); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .Header__menuBox { padding: 10px 16px !important; }
  .Header__nav > li > a { font-size: 15px !important; }
  [class*="Banner__"] h1 { font-size: 28px !important; }
}

