:root {
  --icon-color: var(--accent, #f59e0b);
  --icon-color-hover: color-mix(in srgb, var(--icon-color) 78%, #000 22%);

  --bg: #eef3fb;
  --text: #10213a;
  --muted: #5d6b82;
  --primary: #1147a8;
  --primary2: #2b7fff;
  --accent: #f3b33d;
  --accent2: #ffcf72;
  --border: rgba(17, 71, 168, .10);
  --shadow: 0 24px 60px rgba(11, 37, 82, .10);
  --radius: 20px;
  --card-bg: rgba(255, 255, 255, .92);
  --input-bg: rgba(255, 255, 255, .94);
}



.scroll-top {
  position: fixed;
  bottom: 86px;
  left: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 9998;
  transition: transform .2s ease, opacity .2s ease, border-color .2s ease;
  backdrop-filter: blur(14px);
}

.scroll-top:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.scroll-top.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}



a {
  color: inherit;
  text-decoration: none
}

/* خلي المحتوى يملى الشاشة (بدون إحساس "زوم اوت") */
.container {
  max-width: none;
  margin: 0 auto;
  padding: 18px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 18px 0
}

/* Top Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 20;
}



.navTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1 1 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px
}

.brand img {
  height: 64px;
  width: auto;
  /* make logo more readable on high-DPI screens */
  image-rendering: -webkit-optimize-contrast;
}

.brand .title {
  display: flex;
  flex-direction: column;
  line-height: 1.1
}

.brand .title b {
  font-size: 18px
}

.brand .title span {
  font-size: 12px;
  color: var(--muted)
}

.nav .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end
}

.navToggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .84);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
}

.navToggleBar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.navToggle[aria-expanded="true"] .navToggleBar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.navToggle[aria-expanded="true"] .navToggleBar:nth-child(2) {
  opacity: 0;
}

.navToggle[aria-expanded="true"] .navToggleBar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.badge {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .78);
  color: var(--text);
  font-size: 13px;
}

[data-theme="dark"] .badge,
html:not([data-theme="light"]) .badge {
  background: rgba(255, 255, 255, .04);
}

.badge:hover {
  border-color: rgba(30, 136, 229, .35)
}

.badge.is-active,
.btn.is-active {
  border-color: rgba(17, 71, 168, .28);
  box-shadow: 0 12px 28px rgba(17, 71, 168, .12);
}

.badge.is-active {
  background: rgba(17, 71, 168, .12);
  color: var(--primary);
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .84);
  color: var(--text);
  cursor: pointer;
  transition: .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(30, 136, 229, .35)
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: rgba(0, 0, 0, .04);
  color: #1d2738;
  font-weight: 800
}

.btn.primary:hover {
  background: var(--accent2)
}

.btn.danger {
  background: #ffe7e7;
  border-color: rgba(239, 68, 68, .25)
}

.btn.small {
  padding: 8px 12px;
  font-size: 13px
}

/* Password show/hide */
.pwWrap {
  position: relative;
  display: flex;
  align-items: center
}

.pwWrap input {
  width: 100%;
  padding-inline-end: 44px
}

.pwToggle {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer
}

/* Status dot for technician availability */
.statusDot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block
}

.dot.ok {
  background: #22c55e
}

.dot.bad {
  background: #ef4444
}

/* Layout */
.grid {
  display: grid;
  gap: 14px
}

.grid.two {
  grid-template-columns: repeat(2, 1fr)
}

.grid.three {
  grid-template-columns: repeat(3, 1fr)
}

@media(max-width:860px) {

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr
  }

  .nav {
    flex-direction: column;
    align-items: stretch
  }

  .navToggle {
    display: inline-flex;
  }

  .js-ready .nav .links {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    margin-top: 0;
    pointer-events: none;
    transition: max-height .25s ease, opacity .2s ease, margin-top .2s ease, padding-top .2s ease;
    justify-content: stretch;
  }

  .js-ready .nav .links.is-open {
    max-height: 960px;
    opacity: 1;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    pointer-events: auto;
  }

  .nav .links {
    justify-content: space-between
  }

  .nav .links .badge,
  .nav .links .btn {
    width: 100%;
    justify-content: center;
  }

  .container {
    padding: 14px;
  }

  .card {
    padding: 14px;
    border-radius: 16px;
  }

  .servicesGrid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .stackItem {
    padding: 12px;
  }
}

@media(max-width:640px) {
  .grid {
    gap: 12px;
  }

  .servicesGrid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .landingHeroInner {
    gap: 16px;
  }

  .landingCtas .btnGhost,
  .actionRow .btn,
  .actionRow .badge,
  .actionRow .pill {
    width: 100%;
    justify-content: center;
    text-align: center;

}

 card {
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(12, 33, 73, .08);
  padding: 16px;
}



/* Forms */
form {
  display: grid;
  gap: 12px
}

label {
  font-size: 13px;
  color: var(--muted)
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  outline: none;
}



input:focus,
select:focus,
textarea:focus {
  border-color: rgba(30, 136, 229, .35);
  box-shadow: 0 0 0 4px rgba(30, 136, 229, .10)
}

textarea {
  min-height: 110px;
  resize: vertical
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 12px 0
}

/* Tables */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px
}

.table th {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  padding: 0 10px
}

.table td {
  background: #fff;
  border: 1px solid var(--border);
  padding: 12px 10px;
}

.table tr td:first-child {
  border-radius: 14px 0 0 14px
}

.table tr td:last-child {
  border-radius: 0 14px 14px 0
}

/* Helpers */
.pill {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12px;
  background: #fff
}

.pill.ok {
  background: rgba(34, 197, 94, .10);
  border-color: rgba(34, 197, 94, .25)
}

.pill.wait {
  background: rgba(245, 158, 11, .12);
  border-color: rgba(245, 158, 11, .25)
}

.pill.no {
  background: rgba(239, 68, 68, .10);
  border-color: rgba(239, 68, 68, .25)
}

.footer {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 18px 0
}

/* Footer (compact, with quick links + social icons) */
.siteFooter {
  margin-top: 18px
}

.siteFooterGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .88);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.fTitle {
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 8px
}

.fLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.fLinks a {
  color: var(--muted);
  font-size: 12.5px;
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff
}

.fLinks a:hover {
  border-color: rgba(30, 136, 229, .35);
  color: var(--text)
}

.fSocial {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.soc {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12.5px
}

.soc:hover {
  border-color: rgba(30, 136, 229, .35);
  color: var(--text)
}

.soc svg {
  width: 18px;
  height: 18px;
  fill: currentColor
}

.siteFooterBottom {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 10px 0
}

@media(max-width:860px) {
  .siteFooterGrid {
    grid-template-columns: 1fr
  }
}

.note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7
}

.catalogTools {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
}

.catalogSearchWrap {
  min-width: min(100%, 320px);
  display: grid;
  gap: 6px;
}

.catalogSearchLabel {
  font-size: 12px;
  color: var(--muted);
}

.catalogSearchInput {
  min-width: 220px;
}

.catalogStats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.resultsMeta {
  display: grid;
  gap: 12px;
}

.emptyState {
  text-align: center;
}

.toast {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff
}

/* Homepage */
.hero2 {
  margin-top: 16px;
  padding: 38px 18px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: #fff;
  box-shadow: var(--shadow);
}

.hero2 h1 {
  margin: 0 0 10px;
  font-size: 34px
}

.hero2 p {
  max-width: 780px;
  margin: 0 auto 18px;
  line-height: 1.8;
  opacity: .95
}

.hero2 .actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px
}

.searchBox {
  max-width: 720px;
  margin: 18px auto 0;
  position: relative
}

.searchBox input {
  padding: 14px 14px;
  border-radius: 999px;
  border: 0;
}

.searchBox .searchBtn {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
}

.searchBox .searchBtn:hover {
  background: var(--accent2)
}

.sectionTitle {
  margin: 0 0 14px;
  text-align: center;
  font-size: 22px
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.stepCard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  text-align: center
}

.stepNum {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px
}

.servicesGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px
}

.serviceCard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06)
}

.serviceCard h3 {
  margin: 0 0 6px;
  font-size: 16px
}

.serviceCard p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted)
}

/* Aliases + new homepage sections */
.stepsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px
}

.trustGrid,
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px
}

.trustCard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06)
}

.trustIcon {
  font-size: 26px;
  margin-bottom: 8px
}

.trustCard h3 {
  margin: 0 0 6px;
  font-size: 16px
}

.trustCard p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted)
}

.quoteCard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  position: relative
}

.quoteMark {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 34px;
  opacity: .25
}

.quoteCard p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text);
  padding-left: 14px
}

.quoteBy {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700
}


/* ===== Landing page (homepage) - v5 ===== */
.landingHero {
  background: linear-gradient(135deg, #1e88e5 0%, #1565c0 70%);
  color: #fff;
  padding: 34px 0;
  /* Full-bleed حتى لو الصفحة داخل .container */
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.landingHeroInner {
  /* Full width مع حد أقصى منطقي */
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
}

.landingText h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
}

.landingLead {
  margin: 0 0 16px;
  opacity: .95;
  font-size: 15.5px;
  line-height: 1.8;
}

.landingSearch {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  padding: 12px;
  backdrop-filter: blur(6px);
  position: relative;
}

.searchInputWrap {
  display: flex;
  gap: 10px;
  align-items: center;
}

.landingSearch input {
  flex: 1;
  padding: 12px 12px;
  border: none;
  border-radius: 12px;
  outline: none;
  font-size: 15px;
}

.btnPrimary {
  background: #ffcc00;
  color: #1a1a1a;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.btnPrimary:hover {
  filter: brightness(.98);
}

.searchHint {
  margin-top: 8px;
  font-size: 12.5px;
  opacity: .92;
}

.searchDropdown {
  position: absolute;
  top: calc(100% - 6px);
  right: 12px;
  left: 12px;
  background: #fff;
  color: #111;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  overflow: hidden;
  z-index: 50;
  max-height: 260px;
  overflow-y: auto;
}

.ddItem {
  width: 100%;
  text-align: right;
  background: transparent;
  border: none;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
}

.ddItem:hover {
  background: #f5f8ff;
}

.landingCtas {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btnGhost {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, .10);
}

.btnGhost:hover {
  background: rgba(255, 255, 255, .16);
}

.landingStats {
  display: grid;
  gap: 10px;
}

.statCard {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.statNum {
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .18);
  border-radius: 12px;
}

.statTitle {
  font-weight: 900;
}

.statDesc {
  font-size: 12.5px;
  opacity: .95;
  margin-top: 2px;
}

.landingSection .sectionSub {
  margin-top: -6px;
  color: var(--muted);
}

.allServicesBox {
  margin-top: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  padding: 14px;
}

.allServicesBox h3 {
  margin: 0 0 10px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  text-decoration: none;
  background: #f5f8ff;
  border: 1px solid rgba(21, 101, 192, .20);
  color: #1565c0;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.chip:hover {
  filter: brightness(.98);
}

@media (max-width: 900px) {
  .landingHeroInner {
    grid-template-columns: 1fr;
  }
}


/* Icon links (header/footer) */
.badge.iconlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  border-color: rgba(30, 136, 229, .25)
}

.badge.iconlink .ico svg {
  width: 18px;
  height: 18px;
  fill: currentColor
}

.badge.iconlink:hover {
  color: color-mix(in srgb, var(--primary) 80%, #000);
  border-color: rgba(30, 136, 229, .45)
}

.badge.iconlink:active {
  color: color-mix(in srgb, var(--primary) 65%, #000);
  transform: translateY(0)
}

.soc {
  color: var(--primary);
  border-color: rgba(30, 136, 229, .25)
}

.soc:hover {
  color: color-mix(in srgb, var(--primary) 80%, #000);
  border-color: rgba(30, 136, 229, .45)
}

.soc:active {
  color: color-mix(in srgb, var(--primary) 65%, #000)
}


/* Category cards images */
.catimg {
  width: 90px;
  height: 58px;
  object-fit: contain;
  border-radius: 14px;
}

.nav .badge svg {
  color: var(--icon-color);
}

.nav .badge:hover svg {
  color: var(--icon-color-hover);
}

.footer a svg {
  color: var(--icon-color);
}

.footer a:hover svg {
  color: var(--icon-color-hover);
}

.pageGlow {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(43, 127, 255, .18), transparent 34%),
    radial-gradient(circle at top left, rgba(243, 179, 61, .18), transparent 28%);
  pointer-events: none;
  z-index: 0;
}

.topStrip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(17, 71, 168, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(12px);
}

.topStripText {
  font-size: 13px;
  font-weight: 700;
}

.topStripMeta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

.adminBadge {
  background: rgba(17, 71, 168, .08);
  color: var(--primary);
  border-color: rgba(17, 71, 168, .18);
}

.adminShell {
  margin-top: 16px;
}

.adminHero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  background: linear-gradient(135deg, rgba(17, 71, 168, .96), rgba(43, 127, 255, .92));
  color: #fff;
}

.adminHero h1 {
  margin: 8px 0;
  font-size: clamp(24px, 3vw, 36px);
}

.adminHero .note {
  color: rgba(255, 255, 255, .86);
}

.adminEyebrow {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.adminQuickNav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.adminQuickNav .badge {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border-color: rgba(255, 255, 255, .18);
}

.adminStatsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.metricCard {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
}

.metricCard span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metricCard strong {
  display: block;
  margin-top: 10px;
  font-size: 34px;
  line-height: 1;
}

.metricCard-blue {
  background: linear-gradient(180deg, rgba(17, 71, 168, .08), rgba(255, 255, 255, .95));
}

.metricCard-gold {
  background: linear-gradient(180deg, rgba(243, 179, 61, .18), rgba(255, 255, 255, .95));
}

.sectionHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.actionRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.adminSummaryStrip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.adminSummaryStrip span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 71, 168, .06);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.stackList {
  display: grid;
  gap: 10px;
}

.stackItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
}

.stackItem-stretch {
  align-items: flex-start;
}

.chartList {
  display: grid;
  gap: 12px;
}

.chartRow {
  display: grid;
  gap: 8px;
}

.chartMeta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.chartMeta strong {
  font-size: 14px;
}

.chartMeta span {
  color: var(--muted);
  font-size: 12px;
}

.chartTrack {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(17, 71, 168, .08);
  overflow: hidden;
}

.chartFill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.chartFill-blue {
  background: linear-gradient(90deg, #1147a8, #2b7fff);
}

.chartFill-gold {
  background: linear-gradient(90deg, #f3b33d, #ffcf72);
}

.chartFill-green {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.chartFill-red {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.footerPanel {
  display: grid;
  gap: 10px;
}

.categorySpotlight {
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.categorySpotlight:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 71, 168, .22);
  box-shadow: 0 24px 50px rgba(17, 71, 168, .12);
}

.categorySpotlightMedia {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 148px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(17, 71, 168, .05), rgba(243, 179, 61, .08));
}

.categorySpotlightMedia img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.categoryAdminPreview {
  width: 110px;
  min-width: 110px;
  height: 110px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(17, 71, 168, .05), rgba(243, 179, 61, .08));
  display: grid;
  place-items: center;
}

.categoryAdminPreview img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

@media(max-width:860px) {
  .topStrip,
  .adminHero {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Entity Cards (companies / stores / technicians) */
.entityGrid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.entityCard {
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(12, 33, 73, .08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.entityCard:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 71, 168, .18);
  box-shadow: 0 24px 50px rgba(17, 71, 168, .12);
}

.entityCover {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, rgba(17, 71, 168, .08), rgba(243, 179, 61, .10));
  overflow: hidden;
  display: grid;
  place-items: center;
}

.entityCover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.entityCover .letter {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, .28);
}

.tone-0 {background: linear-gradient(135deg, #0f4cbd, #2b7fff);}
.tone-1 {background: linear-gradient(135deg, #0f766e, #2dd4bf);}
.tone-2 {background: linear-gradient(135deg, #9a3412, #fb923c);}
.tone-3 {background: linear-gradient(135deg, #4c1d95, #a855f7);}
.tone-4 {background: linear-gradient(135deg, #1d4ed8, #60a5fa);}
.tone-5 {background: linear-gradient(135deg, #9f1239, #fb7185);}

.entityBody {
  padding: 14px 14px 16px;
  display: grid;
  gap: 10px;
}

.entityMeta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.entityMeta h3 {
  margin: 0;
}

.entityMeta .note {
  font-size: 13px;
}

.entityActions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill.tag {
  background: rgba(17, 71, 168, .08);
  color: var(--text);
  border-radius: 12px;
  padding: 6px 10px;
  font-size: 12px;
}


.avatarMono {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1147a8, #2b7fff);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
}

/* Feature blocks on homepage */
.featureGrid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.featureCard {
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 18px 44px rgba(12, 33, 73, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.featureCard:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 71, 168, .16);
  box-shadow: 0 22px 50px rgba(17, 71, 168, .12);
}

.featureIcon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  color: #1d2738;
  box-shadow: 0 10px 24px rgba(243, 179, 61, .25);
}

.featureCard h4 {
  margin: 10px 0 6px;
}

.featureCard .note {
  line-height: 1.6;
}

/* Sticky filters */
.filterBar {
  position: sticky;
  top: 12px;
  z-index: 22;
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

@media(max-width:640px) {
  .filterBar {
    top: 6px;
  }
}

@media(max-width:640px) {
  .entityCover {
    height: 140px;
  }
}
