/* Fullmoon Technologies (fmtasia.com) Executive Design System for Zammad & Help Center */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/fm-font-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fm-font-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/fm-font-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/fm-font-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/fm-font-5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/fm-font-6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/fm-font-7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ==========================================================================
   1. Light Mode & Dark Mode CSS Variables (fmtasia.com Design System)
   ========================================================================== */
:root {
  --button-primary-background: #2563EB;
  --button-primary-background-active: #1D4ED8;
  --highlight: #2563EB;
  --text-link: #2563EB;
  --text-nav: #1E293B;
  --header-primary: #091E42;
  --header-secondary: #64748B;
  --text-normal: #1E293B;
  --text-muted: #64748B;
  --text-muted-alt: #94A3B8;
  --background-primary: #F8FAFC;
  --background-primary-alt: #F1F5F9;
  --background-secondary: #FFFFFF;
  --background-secondary-hover: #F1F5F9;
  --background-tertiary: #0F2952;
  --background-quaternary: #091E42;
  --background-popover: #FFFFFF;
  --background-active: #091E42;
  --background-highlight: #EFF6FF;
  --border: #E2E8F0;
  --border-alt: #CBD5E1;
  --border-highlight: #3B82F6;
  --shadow-highlight: rgba(37, 99, 235, 0.2);
  --menu-background-primary: #091E42;
  --menu-background-secondary: #0B224A;
  --menu-background-active: #2563EB;
  --menu-background-primary-hover: rgba(37, 99, 235, 0.22);
  --menu-text: #CBD5E1;
  --menu-text-active: #FFFFFF;
  --menu-icon: #94A3B8;
  --menu-switch-background: #06152E;
  --table-header-background: #F1F5F9;
  --table-border: #CBD5E1;
}

[data-theme=dark] {
  --button-action-color: #CBD5E1 !important;
  --button-background: #162847 !important;
  --button-background-active: #1E355E !important;
  --button-active: #2563EB !important;
  --button-active-active: #1D4ED8 !important;
  --button-primary-background: #2563EB !important;
  --button-primary-background-active: #1D4ED8 !important;
  --header-primary: #F8FAFC !important;
  --header-secondary: #94A3B8 !important;
  --text-normal: #F1F5F9 !important;
  --text-muted: #94A3B8 !important;
  --text-muted-alt: #CBD5E1 !important;
  --text-link: #38BDF8 !important;
  --text-nav: #F1F5F9 !important;
  --nav-icon: #94A3B8 !important;
  --highlight: #38BDF8 !important;
  --interactive-primary: #FFFFFF !important;
  --interactive-muted: #94A3B8 !important;
  --interactive-muted-active: #CBD5E1 !important;
  --background-primary: #0B162C !important;
  --background-primary-alt: #112240 !important;
  --background-secondary: #15294B !important;
  --background-secondary-hover: #1B335C !important;
  --background-tertiary: #091931 !important;
  --background-quaternary: #061124 !important;
  --background-quaternary-alt: #1E355E !important;
  --background-popover: #15294B !important;
  --background-active: #2563EB !important;
  --background-highlight: rgba(56, 189, 248, 0.16) !important;
  --background-article-meta: #112240 !important;
  --background-article-customer: #162E54 !important;
  --background-article-customer-meta: #132747 !important;
  --background-modifier-accent: rgba(255, 255, 255, 0.06) !important;
  --background-modifier-border: rgba(255, 255, 255, 0.1) !important;
  --background-modifier-hover: rgba(56, 189, 248, 0.12) !important;
  --border: rgba(255, 255, 255, 0.1) !important;
  --border-alt: rgba(255, 255, 255, 0.16) !important;
  --border-highlight: #38BDF8 !important;
  --table-border: rgba(255, 255, 255, 0.15) !important;
  --table-header-background: #112240 !important;
  --menu-background-primary: #061124 !important;
  --menu-background-secondary: #091931 !important;
  --menu-background-active: #2563EB !important;
  --menu-text: #CBD5E1 !important;
  --menu-text-active: #FFFFFF !important;
}

/* ==========================================================================
   2. Global Typography & Components
   ========================================================================== */
body, html, input, button, select, textarea, .form-control, .table, .menu-item, .nav-tab {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.page-header h1, .scrollPageHeader h1, .modal-title,
.login h1, .hero h1, .sidebar-header-headline {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--header-primary) !important;
}

/* Table headers & rows in both Light and Dark mode */
.table > thead > tr > th {
  background: var(--table-header-background) !important;
  color: var(--text-muted) !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
}
.table > tbody > tr > td {
  color: var(--text-normal) !important;
  border-color: var(--border) !important;
}
.table > tbody > tr:hover > td {
  background: var(--background-secondary-hover) !important;
}

/* User Menu Popover (Dark Mode & Light Mode high contrast) */
.popover.popover--userMenu, .popover, .dropdown-menu {
  background: var(--background-popover) !important;
  border: 1px solid var(--border-alt) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28) !important;
  border-radius: 10px !important;
}
[data-theme=dark] .popover a,
[data-theme=dark] .popover .list-button,
[data-theme=dark] .popover label,
[data-theme=dark] .dropdown-menu li > a {
  color: #F1F5F9 !important;
}
[data-theme=dark] .popover a:hover,
[data-theme=dark] .dropdown-menu li > a:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38BDF8 !important;
}

/* Primary Buttons */
.btn--primary, .btn--positive, .btn--create, .btn--success {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  border-color: #1D4ED8 !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22) !important;
  transition: all 0.18s ease !important;
}
.btn--primary:hover, .btn--positive:hover, .btn--create:hover, .btn--success:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.32) !important;
}
.btn {
  border-radius: 8px !important;
  font-weight: 500;
}

/* Left Navigation Sidebar */
.navigation {
  background: var(--menu-background-primary) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.navigation .search {
  background: #06152E !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.search .logo .icon-logo {
  width: 34px !important;
  height: 28px !important;
}
.menu-item {
  color: #CBD5E1 !important;
  font-weight: 500 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.menu-item .icon {
  fill: #94A3B8 !important;
}
.menu-item:hover {
  background: rgba(37, 99, 235, 0.22) !important;
  color: #FFFFFF !important;
}
.menu-item.is-active, .menu-item.is-hovered {
  background: linear-gradient(90deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  box-shadow: inset 3px 0 0 #38BDF8 !important;
}
.menu-item.is-active .icon {
  fill: #FFFFFF !important;
}
.tasks {
  background: var(--menu-background-secondary) !important;
}
.user-menu {
  background: #061124 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Secondary Overviews Sidebar (My Tickets / My Assigned Tickets) */
.overviews > .sidebar, .tabsSidebar-sidebarSpacer {
  background: var(--background-primary-alt) !important;
  border-right: 1px solid var(--border) !important;
}
.nav-pills.nav-stacked > li > a {
  border-radius: 8px !important;
  padding: 0 14px !important;
  margin: 4px 8px !important;
  font-weight: 500 !important;
  color: var(--text-normal) !important;
  border-top: none !important;
  transition: all 0.15s ease !important;
}
.nav-pills.nav-stacked > li:hover > a {
  background: var(--background-highlight) !important;
  color: var(--text-link) !important;
}
.nav-pills.nav-stacked > li.active > a,
.nav-pills.nav-stacked > li.active > a:hover,
.nav-pills.nav-stacked > li.active > a:focus {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28) !important;
}

a[href*="zammad.org"] {
  display: none !important;
}

/* ==========================================================================
   3. Public Knowledge Base (/help) — Exact fmtasia.com Executive Look
   ========================================================================== */
header.header.js-header {
  background: radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.18), transparent 45%),
              linear-gradient(135deg, #091E42 0%, #0F2952 55%, #1E3A8A 100%) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.22) !important;
  padding: 28px 0 54px !important;
  box-shadow: 0 14px 36px rgba(9, 30, 66, 0.18) !important;
}
header.header .logo img {
  height: 46px !important;
  width: auto !important;
}
header.header .menu .menu-item {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #FFFFFF !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  margin-left: 10px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
header.header .menu .menu-item:first-child {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  border-color: #38BDF8 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
}
header.header .menu .menu-item:hover {
  transform: translateY(-1px) !important;
  background: #2563EB !important;
  border-color: #38BDF8 !important;
}
.fm-kb-hero {
  margin: 28px 0 18px !important;
  text-align: left;
}
.fm-kb-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38BDF8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.fm-kb-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: -0.02em !important;
}
.fm-kb-hero p {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  color: #CBD5E1 !important;
  margin: 0 !important;
  max-width: 680px;
}
header.header .search-field {
  border-radius: 12px !important;
  border: 2px solid rgba(56, 189, 248, 0.4) !important;
  background: #FFFFFF !important;
  box-shadow: 0 16px 36px rgba(9, 30, 66, 0.25) !important;
  overflow: hidden !important;
}
header.header .search-field input {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  color: #091E42 !important;
}

/* 3-Column Category Cards on /help matching fmtasia.com */
.wrapper.js-wrapper {
  background: #F8FAFC !important;
}
main.main {
  padding: 48px 0 64px !important;
}
ul.sections.sections--grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
}
@media (max-width: 900px) {
  ul.sections.sections--grid {
    grid-template-columns: 1fr !important;
  }
}
ul.sections.sections--grid > li.section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-top: 4px solid #2563EB !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 25px -5px rgba(9, 30, 66, 0.06) !important;
  transition: all 0.22s ease !important;
  overflow: hidden !important;
}
ul.sections.sections--grid > li.section:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 38px -8px rgba(37, 99, 235, 0.16) !important;
  border-color: #93C5FD !important;
  border-top-color: #2563EB !important;
}
ul.sections.sections--grid > li.section > a {
  padding: 36px 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}
ul.sections.sections--grid .section-inner [data-font] {
  font-size: 40px !important;
  color: #2563EB !important;
  margin-bottom: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 72px !important;
  height: 72px !important;
  border-radius: 16px !important;
  background: #EFF6FF !important;
}
ul.sections.sections--grid .section-inner .title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #091E42 !important;
  line-height: 1.4 !important;
}

/* Quick Support CTA Strip inside /help */
.fm-kb-cta {
  margin-top: 40px;
  background: linear-gradient(135deg, #091E42 0%, #0F2952 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 12px 30px rgba(9, 30, 66, 0.12);
}
.fm-kb-cta h3 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin: 0 0 4px 0 !important;
}
.fm-kb-cta p {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #CBD5E1 !important;
  margin: 0 !important;
}
.fm-kb-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.fm-kb-cta-btn-primary {
  background: #2563EB;
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  border: 1px solid #38BDF8;
}
.fm-kb-cta-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

footer.footer {
  background: #091E42 !important;
  color: #94A3B8 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 28px 0 !important;
}
footer.footer a, footer.footer .copyright {
  color: #CBD5E1 !important;
  font-family: 'Inter', sans-serif !important;
}
