@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');
:root {
  --afc-orange: #ff4b26;
  --afc-orange-dark: #d93b1d;
  --afc-ink: #111827;
  --afc-muted: #5f6b7a;
  --afc-soft: #f4f5f7;
  --afc-line: #e5e7eb;
  --afc-white: #ffffff;
  --afc-navy: #131921;
  --afc-max: 1230px;
  --afc-radius: 8px;
  --afc-font: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

body.afc-page {
  margin: 0;
  font-family: var(--afc-font);
  color: var(--afc-ink);
  background: var(--afc-soft);
  letter-spacing: 0;
}

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

.afc-container {
  width: min(var(--afc-max), calc(100% - 40px));
  margin: 0 auto;
}

.afc-topbar {
  background: #f8fafc;
  border-bottom: 1px solid var(--afc-line);
  color: #4b5563;
  font-size: 13px;
}

.afc-topbar .afc-container {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.afc-header {
  background: var(--afc-white);
  border-bottom: 1px solid var(--afc-line);
  box-shadow: 0 1px 5px rgba(17, 24, 39, .08);
}

.afc-header-row {
  height: 72px;
  display: grid;
  grid-template-columns: 170px minmax(260px, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.afc-logo img {
  display: block;
  max-width: 150px;
  max-height: 52px;
  object-fit: contain;
}

.afc-search {
  display: grid;
  grid-template-columns: 150px 1fr 92px;
  border: 1px solid #d8dde6;
  border-radius: var(--afc-radius);
  overflow: hidden;
  background: #fff;
  min-height: 43px;
}

.afc-search select,
.afc-search input,
.afc-search button {
  border: 0;
  font: inherit;
}

.afc-search select {
  padding: 0 12px;
  border-right: 1px solid var(--afc-line);
  background: #f8fafc;
}

.afc-search input {
  min-width: 0;
  padding: 0 14px;
}

.afc-search button {
  background: var(--afc-orange);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.afc-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  white-space: nowrap;
}

.afc-nav a:hover { color: var(--afc-orange); }

.afc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: var(--afc-radius);
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.afc-btn-primary {
  background: var(--afc-orange);
  color: #fff !important;
  border-color: var(--afc-orange);
}

.afc-btn-primary:hover {
  background: var(--afc-orange-dark);
  border-color: var(--afc-orange-dark);
  color: #fff !important;
}

.afc-btn-light {
  background: #fff;
  color: var(--afc-ink);
  border-color: var(--afc-line);
}

.afc-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 42%, rgba(255,255,255,.78) 68%, rgba(255,255,255,.24) 100%),
    url('/images/hero/africom-b2b-logistics-hero.png') right center / auto 100% no-repeat;
  border-bottom: 1px solid var(--afc-line);
}

.afc-hero-content {
  width: min(620px, 100%);
  padding: 72px 0;
}

.afc-kicker {
  color: var(--afc-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.afc-hero h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
  color: #071326;
}

.afc-hero p {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: #334155;
  max-width: 610px;
}

.afc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.afc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 18px;
  margin-top: 42px;
  max-width: 620px;
}

.afc-stat strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  color: #071326;
}

.afc-stat span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 13px;
}

.afc-trust {
  background: #fff;
  border-bottom: 1px solid var(--afc-line);
}

.afc-trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
}

.afc-trust-item {
  padding: 18px 14px;
  text-align: center;
  font-size: 13px;
  color: #475569;
  border-right: 1px solid #f0f2f5;
}

.afc-section {
  padding: 48px 0;
}

.afc-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.afc-section-title {
  margin: 0;
  font-size: 28px;
  color: #111827;
}

.afc-section-sub {
  margin-top: 7px;
  color: var(--afc-muted);
}

.afc-grid-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.afc-cat-card,
.afc-product-card,
.afc-step {
  background: #fff;
  border: 1px solid var(--afc-line);
  border-radius: var(--afc-radius);
}

.afc-cat-card {
  padding: 18px;
  min-height: 116px;
}

.afc-cat-card:hover,
.afc-product-card:hover {
  border-color: #f7a38f;
  box-shadow: 0 8px 18px rgba(17, 24, 39, .08);
}

.afc-cat-letter {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: #fff1ec;
  color: var(--afc-orange);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 12px;
}

.afc-cat-name {
  font-weight: 800;
}

.afc-cat-count {
  margin-top: 5px;
  font-size: 13px;
  color: var(--afc-muted);
}

.afc-grid-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.afc-product-card {
  overflow: hidden;
  min-height: 290px;
  display: flex;
  flex-direction: column;
}

.afc-product-media {
  height: 118px;
  background: linear-gradient(135deg, #fff7ed, #eef2ff);
  display: grid;
  place-items: center;
  color: var(--afc-orange);
  font-size: 34px;
  font-weight: 900;
}

.afc-product-body {
  padding: 16px;
  flex: 1;
}

.afc-badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 10px;
}

.afc-product-name {
  font-weight: 800;
  line-height: 1.35;
}

.afc-product-seller {
  margin-top: 7px;
  color: var(--afc-muted);
  font-size: 13px;
}

.afc-product-price {
  margin-top: 14px;
  font-weight: 900;
  color: #111827;
}

.afc-product-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--afc-line);
  font-size: 13px;
}

.afc-link {
  color: var(--afc-orange);
  font-weight: 800;
}

.afc-steps {
  background: #fff;
  border-top: 1px solid var(--afc-line);
  border-bottom: 1px solid var(--afc-line);
}

.afc-grid-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.afc-step {
  padding: 20px;
}

.afc-step-num {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--afc-orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 14px;
}

.afc-step-title {
  font-weight: 900;
  margin-bottom: 8px;
}

.afc-step-desc {
  color: var(--afc-muted);
  line-height: 1.55;
  font-size: 14px;
}

.afc-rfq-band {
  background: var(--afc-navy);
  color: #fff;
  padding: 44px 0;
}

.afc-rfq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.afc-rfq-band h2 {
  margin: 0;
  font-size: 30px;
}

.afc-rfq-band p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.72);
}

.afc-footer {
  background: #0b1220;
  color: rgba(255,255,255,.72);
  padding: 36px 0;
}

.afc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.afc-footer-logo {
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 10px;
}

.afc-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
}

.afc-footer a {
  display: block;
  margin: 8px 0;
  font-size: 13px;
}

.afc-footer a:hover { color: #fff; }

@media (max-width: 980px) {
  .afc-header-row { grid-template-columns: 150px 1fr; height: auto; padding: 14px 0; }
  .afc-nav { grid-column: 1 / -1; flex-wrap: wrap; }
  .afc-hero { background: #fff; min-height: auto; }
  .afc-hero-content { padding: 46px 0; }
  .afc-grid-products,
  .afc-grid-cats,
  .afc-grid-steps { grid-template-columns: repeat(2, 1fr); }
  .afc-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .afc-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .afc-container { width: min(100% - 24px, var(--afc-max)); }
  .afc-topbar .afc-container { justify-content: center; text-align: center; }
  .afc-topbar-right { display: none; }
  .afc-header-row { grid-template-columns: 1fr; gap: 12px; }
  .afc-search { grid-template-columns: 1fr 72px; }
  .afc-search select { display: none; }
  .afc-nav { gap: 14px; }
  .afc-stats,
  .afc-grid-products,
  .afc-grid-cats,
  .afc-grid-steps,
  .afc-footer-grid { grid-template-columns: 1fr; }
  .afc-rfq-wrap { align-items: flex-start; flex-direction: column; }
}

/* AFRICOM_DELIVERY_QUOTES */
.afc-delivery-list {
  display: grid;
  gap: 18px;
}

.afc-delivery-card {
  background: #fff;
  border: 1px solid var(--afc-line);
  border-radius: var(--afc-radius);
  padding: 18px;
}

.afc-delivery-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.afc-delivery-ref {
  color: var(--afc-muted);
  font-size: 13px;
  margin-top: 5px;
}

.afc-status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
}

.afc-quote-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.afc-quote-row {
  border: 1px solid var(--afc-line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.afc-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.afc-field label {
  display: block;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 6px;
}

.afc-field input,
.afc-field select,
.afc-field textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid var(--afc-line);
  border-radius: 8px;
  font: inherit;
}

.afc-field-wide {
  grid-column: 1 / -1;
}

@media (max-width: 820px) {
  .afc-form-grid,
  .afc-quote-row {
    grid-template-columns: 1fr;
  }
}

/* AFRICOM_TWO_LEVEL_NAV */
.afc-header-row {
  grid-template-columns: 170px minmax(340px, 1fr) auto !important;
}

.afc-account-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.afc-secondary-nav {
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid var(--afc-line);
}

.afc-secondary-nav-scroll {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.afc-secondary-nav a {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  padding: 13px 0 12px;
  border-bottom: 2px solid transparent;
}

.afc-secondary-nav a:hover {
  color: var(--afc-orange);
  border-bottom-color: var(--afc-orange);
}

@media (max-width: 980px) {
  .afc-header-row {
    grid-template-columns: 150px 1fr !important;
    gap: 14px !important;
  }

  .afc-account-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .afc-secondary-nav-scroll {
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .afc-header-row {
    grid-template-columns: 1fr !important;
  }

  .afc-account-actions {
    width: 100%;
  }

  .afc-account-actions .afc-btn {
    flex: 1;
  }

  .afc-secondary-nav-scroll {
    width: min(100% - 24px, var(--afc-max));
    gap: 18px;
  }
}

/* AFRICOM_TWO_LEVEL_NAV_POLISH */
.afc-topbar {
  min-height: 28px !important;
  display: flex !important;
  align-items: center !important;
  background: #f8fafc !important;
}

.afc-header {
  background: #ffffff !important;
}

.afc-header-row {
  min-height: 78px !important;
  height: auto !important;
  padding: 12px 0 !important;
  grid-template-columns: 170px minmax(420px, 1fr) auto !important;
  align-items: center !important;
}

.afc-logo img {
  max-width: 150px !important;
  max-height: 54px !important;
}

.afc-search {
  min-height: 44px !important;
}

.afc-secondary-nav {
  display: block !important;
  background: #ffffff !important;
  border-top: 1px solid #eef2f7 !important;
  border-bottom: 1px solid #dfe5ee !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
}

.afc-secondary-nav-scroll {
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
}

.afc-secondary-nav a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 44px !important;
  padding: 0 16px !important;
  color: #1f2937 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border-bottom: 3px solid transparent !important;
  text-decoration: none !important;
}

.afc-secondary-nav a:first-child {
  padding-left: 0 !important;
}

.afc-secondary-nav a:hover {
  color: var(--afc-orange) !important;
  border-bottom-color: var(--afc-orange) !important;
  background: #fff7f4 !important;
}

@media (max-width: 980px) {
  .afc-header-row {
    grid-template-columns: 150px 1fr !important;
  }

  .afc-account-actions {
    grid-column: 1 / -1 !important;
  }

  .afc-secondary-nav a {
    padding: 0 14px !important;
  }
}

@media (max-width: 640px) {
  .afc-header-row {
    grid-template-columns: 1fr !important;
  }

  .afc-secondary-nav-scroll {
    width: min(100% - 24px, var(--afc-max)) !important;
  }

  .afc-secondary-nav a:first-child {
    padding-left: 0 !important;
  }
}

/* AFRICOM_NAV_HOVER_REFINE */
.afc-secondary-nav a {
  position: relative !important;
  border-bottom: 0 !important;
  transition: color .16s ease, background .16s ease !important;
}

.afc-secondary-nav a::after {
  content: "" !important;
  position: absolute !important;
  left: 16px !important;
  right: 16px !important;
  bottom: 6px !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: var(--afc-orange) !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  transition: transform .18s ease !important;
}

.afc-secondary-nav a:first-child::after {
  left: 0 !important;
}

.afc-secondary-nav a:hover,
.afc-secondary-nav a:focus-visible {
  color: var(--afc-orange) !important;
  background: #fff7f4 !important;
}

.afc-secondary-nav a:hover::after,
.afc-secondary-nav a:focus-visible::after {
  transform: scaleX(1) !important;
}

.afc-secondary-nav a:focus-visible {
  outline: 2px solid rgba(255, 75, 38, .28) !important;
  outline-offset: -2px !important;
}

/* AFRICOM_NAV_GOOGLE_ICONS */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: 400;
  font-style: normal;
  font-size: 19px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 20;
}

.afc-secondary-nav a {
  gap: 7px !important;
}

.afc-secondary-nav .material-symbols-outlined {
  color: currentColor !important;
  opacity: .88;
  transform: translateY(1px);
}

.afc-secondary-nav a:hover .material-symbols-outlined,
.afc-secondary-nav a:focus-visible .material-symbols-outlined {
  opacity: 1;
}

/* AFRICOM_TRUST_STRIP_GOOGLE_ICONS */
.afc-trust-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  font-weight: 700 !important;
  color: #334155 !important;
}

.afc-trust-item .material-symbols-outlined {
  color: var(--afc-orange) !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 22 !important;
}

/* AFRICOM_CATEGORY_SECTION_MODERN */
.afc-category-modern {
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #f8fafc 100%) !important;
}

.afc-category-head {
  align-items: center !important;
}

.afc-section-kicker {
  margin-bottom: 8px !important;
}

.afc-category-all {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border: 1px solid var(--afc-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
}

.afc-category-all:hover {
  border-color: rgba(255, 75, 38, .45) !important;
  background: #fff7f4 !important;
}

.afc-cat-modern-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.afc-cat-modern-card {
  position: relative !important;
  min-height: 138px !important;
  display: grid !important;
  grid-template-columns: 46px 1fr auto !important;
  align-items: start !important;
  gap: 14px !important;
  padding: 20px !important;
  background: #ffffff !important;
  border: 1px solid #e6eaf0 !important;
  border-radius: 10px !important;
  color: #111827 !important;
  overflow: hidden !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease !important;
}

.afc-cat-modern-card::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 3px !important;
  background: var(--afc-orange) !important;
  transform: scaleX(0) !important;
  transform-origin: left !important;
  transition: transform .18s ease !important;
}

.afc-cat-modern-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(255, 75, 38, .42) !important;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .10) !important;
}

.afc-cat-modern-card:hover::before {
  transform: scaleX(1) !important;
}

.afc-cat-modern-icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 10px !important;
  display: grid !important;
  place-items: center !important;
  background: #fff1ec !important;
  color: var(--afc-orange) !important;
}

.afc-cat-modern-icon .material-symbols-outlined {
  font-size: 26px !important;
  font-weight: 400 !important;
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 26 !important;
}

.afc-cat-modern-name {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #111827 !important;
  margin-top: 2px !important;
}

.afc-cat-modern-count {
  margin-top: 8px !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.afc-cat-modern-arrow {
  color: #94a3b8 !important;
  font-size: 20px !important;
  margin-top: 2px !important;
  transition: transform .16s ease, color .16s ease !important;
}

.afc-cat-modern-card:hover .afc-cat-modern-arrow {
  color: var(--afc-orange) !important;
  transform: translateX(3px) !important;
}

@media (max-width: 980px) {
  .afc-cat-modern-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .afc-category-head {
    align-items: flex-start !important;
  }

  .afc-cat-modern-grid {
    grid-template-columns: 1fr !important;
  }

  .afc-cat-modern-card {
    min-height: 120px !important;
  }
}

/* AFRICOM_CATEGORY_SECTION_MODERN */
.afc-category-modern {
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #f8fafc 100%) !important;
}

.afc-category-head {
  align-items: center !important;
}

.afc-section-kicker {
  margin-bottom: 8px !important;
}

.afc-category-all {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border: 1px solid var(--afc-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
}

.afc-category-all:hover {
  border-color: rgba(255, 75, 38, .45) !important;
  background: #fff7f4 !important;
}

.afc-cat-modern-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.afc-cat-modern-card {
  position: relative !important;
  min-height: 138px !important;
  display: grid !important;
  grid-template-columns: 46px 1fr auto !important;
  align-items: start !important;
  gap: 14px !important;
  padding: 20px !important;
  background: #ffffff !important;
  border: 1px solid #e6eaf0 !important;
  border-radius: 10px !important;
  color: #111827 !important;
  overflow: hidden !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease !important;
}

.afc-cat-modern-card::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 3px !important;
  background: var(--afc-orange) !important;
  transform: scaleX(0) !important;
  transform-origin: left !important;
  transition: transform .18s ease !important;
}

.afc-cat-modern-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(255, 75, 38, .42) !important;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .10) !important;
}

.afc-cat-modern-card:hover::before {
  transform: scaleX(1) !important;
}

.afc-cat-modern-icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 10px !important;
  display: grid !important;
  place-items: center !important;
  background: #fff1ec !important;
  color: var(--afc-orange) !important;
}

.afc-cat-modern-icon .material-symbols-outlined {
  font-size: 26px !important;
  font-weight: 400 !important;
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 26 !important;
}

.afc-cat-modern-name {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #111827 !important;
  margin-top: 2px !important;
}

.afc-cat-modern-count {
  margin-top: 8px !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.afc-cat-modern-arrow {
  color: #94a3b8 !important;
  font-size: 20px !important;
  margin-top: 2px !important;
  transition: transform .16s ease, color .16s ease !important;
}

.afc-cat-modern-card:hover .afc-cat-modern-arrow {
  color: var(--afc-orange) !important;
  transform: translateX(3px) !important;
}

@media (max-width: 980px) {
  .afc-cat-modern-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .afc-category-head {
    align-items: flex-start !important;
  }

  .afc-cat-modern-grid {
    grid-template-columns: 1fr !important;
  }

  .afc-cat-modern-card {
    min-height: 120px !important;
  }
}

/* AFRICOM_AUTH_ATOMIC */
.afc-auth-wrap {
  min-height: calc(100vh - 220px);
  padding: 56px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 75, 38, .08), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 52%, #f8fafc 100%);
}

.afc-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 42px;
  align-items: center;
}

.afc-auth-copy h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  color: #071326;
  letter-spacing: 0;
}

.afc-auth-copy p {
  margin: 18px 0 0;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.65;
  color: #475569;
}

.afc-auth-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.afc-auth-point {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-weight: 700;
}

.afc-auth-point .material-symbols-outlined {
  color: var(--afc-orange);
  font-size: 22px;
}

.afc-auth-card {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
  padding: 28px;
}

.afc-auth-card h2 {
  margin: 0;
  font-size: 24px;
  color: #111827;
}

.afc-auth-card-sub {
  margin-top: 8px;
  color: #64748b;
  line-height: 1.45;
}

.afc-auth-alert {
  margin: 16px 0;
  padding: 11px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.afc-auth-alert-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.afc-auth-alert-success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #bbf7d0;
}

.afc-auth-form {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.afc-auth-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 900;
  color: #334155;
}

.afc-auth-field input,
.afc-auth-field select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  font: inherit;
  color: #111827;
  background: #fff;
}

.afc-auth-field input:focus,
.afc-auth-field select:focus {
  outline: 2px solid rgba(255, 75, 38, .22);
  border-color: rgba(255, 75, 38, .7);
}

.afc-auth-submit {
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
}

.afc-auth-foot {
  margin-top: 18px;
  color: #64748b;
  text-align: center;
  font-size: 14px;
}

.afc-auth-foot a {
  color: var(--afc-orange);
  font-weight: 900;
}

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

  .afc-auth-copy {
    display: none;
  }
}

/* AFRICOM_MARIADB_DASHBOARDS */
.afc-dashboard-body {
  background: #f5f7fb;
  color: #111827;
}

.afc-dashboard-main {
  padding: 32px 0 56px;
}

.afc-dashboard-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  margin-left: 24px;
  overflow-x: auto;
}

.afc-dashboard-tab {
  color: #374151;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.afc-dashboard-tab:hover,
.afc-dashboard-tab.is-active {
  color: #ff4b26;
  background: #fff2ed;
}

.afc-dashboard-hero,
.afc-dashboard-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.afc-dashboard-hero {
  padding: 16px 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.afc-dashboard-hero h1 {
  margin: 2px 0 2px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.afc-dashboard-hero h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.afc-dashboard-hero p {
  max-width: 780px;
  color: #6b7280;
  font-size: 13px;
  margin: 0;
}

.afc-dashboard-hero .afc-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 2px;
}

.afc-dashboard-subhero {
  margin-top: 18px;
}

.afc-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.afc-dashboard-stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 22px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.afc-dashboard-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff2ed;
  color: #ff4b26;
}

.afc-dashboard-stat-icon .material-symbols-outlined {
  font-size: 19px;
}

.afc-dashboard-stat-value {
  display: block;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: #0f172a;
}

.afc-dashboard-stat-label {
  display: block;
  color: #6b7280;
  font-size: 12.5px;
  font-weight: 600;
}

.afc-dashboard-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.afc-dashboard-panel {
  padding: 0;
  overflow: hidden;
}

.afc-table-wrap {
  overflow-x: auto;
}

.afc-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.afc-data-table th {
  background: #f8fafc;
  color: #374151;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.afc-data-table td {
  padding: 15px 16px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
}

.afc-data-table tr:last-child td {
  border-bottom: 0;
}

.afc-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
}

.afc-empty-state {
  padding: 26px;
  color: #6b7280;
  margin: 0;
}

@media (max-width: 980px) {
  .afc-dashboard-stats {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .afc-header-row {
    flex-wrap: wrap;
  }

  .afc-dashboard-tabs {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-top: 8px;
  }
}

/* AFRICOM_BUYER_DASHBOARD_STAGE1 */
.afc-buyer-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
}

.afc-member-card {
  min-width: 0;
  border: 1px solid #fed7c8;
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.afc-member-card span,
.afc-member-card small {
  display: block;
  color: #6b7280;
  font-weight: 700;
}

.afc-member-card strong {
  display: block;
  margin: 0;
  color: #ff4b26;
  font-size: 13px;
}

.afc-buyer-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  margin-bottom: 18px;
}

.afc-quick-action {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 138px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  color: #111827;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.afc-quick-action:hover {
  transform: translateY(-2px);
  border-color: #ffb39f;
  box-shadow: 0 14px 30px rgba(255, 75, 38, 0.12);
}

.afc-quick-action .material-symbols-outlined {
  color: #ff4b26;
  font-size: 30px;
  font-weight: 400;
}

.afc-quick-action strong {
  font-size: 17px;
}

.afc-quick-action small {
  color: #6b7280;
  line-height: 1.45;
}

.afc-dashboard-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.afc-mini-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 2px 10px;
}

.afc-mini-heading h2 {
  margin: 0;
  font-size: 22px;
}

.afc-mini-heading a {
  color: #ff4b26;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .afc-buyer-hero,
  .afc-dashboard-split {
    grid-template-columns: 1fr;
    display: grid;
  }

  .afc-buyer-actions {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .afc-member-card {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .afc-buyer-actions {
    grid-template-columns: 1fr;
  }
}

/* AFRICOM_BUYER_SIDEBAR_DASHBOARD */
.afc-buyer-dashboard-shell {
  background: #f6f8fb;
}

.afc-buyer-dashboard-shell .afc-topbar {
  display: none !important;
}

.afc-buyer-dashboard-shell .afc-header {
  position: fixed;
  inset: 0 auto 0 0;
  width: 276px;
  min-height: 100vh;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  border-bottom: 0;
  box-shadow: none;
  z-index: 30;
}

.afc-buyer-dashboard-shell .afc-header-row {
  width: 100%;
  height: 100vh;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
}

.afc-buyer-dashboard-shell .afc-logo {
  display: flex;
  align-items: center;
  padding: 0 6px 18px;
  border-bottom: 1px solid #edf0f4;
}

.afc-buyer-dashboard-shell .afc-logo img {
  max-width: 154px;
  height: auto;
}

.afc-buyer-dashboard-shell .afc-dashboard-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  overflow: visible;
  flex: 1;
}

.afc-buyer-dashboard-shell .afc-dashboard-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  background: transparent;
}

.afc-buyer-dashboard-shell .afc-dashboard-tab .material-symbols-outlined {
  width: 22px;
  color: #94a3b8;
  font-size: 22px;
  font-weight: 400;
}

.afc-buyer-dashboard-shell .afc-dashboard-tab:hover {
  color: #111827;
  background: #f8fafc;
}

.afc-buyer-dashboard-shell .afc-dashboard-tab:hover .material-symbols-outlined {
  color: #ff4b26;
}

.afc-buyer-dashboard-shell .afc-dashboard-tab.is-active {
  color: #ff4b26;
  background: #fff2ed;
}

.afc-buyer-dashboard-shell .afc-dashboard-tab.is-active .material-symbols-outlined {
  color: #ff4b26;
}

.afc-buyer-dashboard-shell .afc-header .afc-btn {
  justify-content: center;
  width: 100%;
  border-radius: 10px;
  margin-top: auto;
}

.afc-buyer-dashboard-shell .afc-dashboard-main {
  margin-left: 276px;
  padding: 34px 0 64px;
}

.afc-buyer-dashboard-shell .afc-dashboard-main .afc-container {
  max-width: 1180px;
  padding-left: 34px;
  padding-right: 34px;
}

.afc-buyer-dashboard-shell .afc-dashboard-hero,
.afc-buyer-dashboard-shell .afc-dashboard-panel,
.afc-buyer-dashboard-shell .afc-dashboard-stat,
.afc-buyer-dashboard-shell .afc-quick-action {
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 28px rgba(15, 23, 42, 0.05);
}

.afc-buyer-dashboard-shell .afc-dashboard-hero h1 {
  font-size: clamp(30px, 3vw, 42px);
}

.afc-buyer-dashboard-shell .afc-dashboard-stats {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.afc-buyer-dashboard-shell .afc-dashboard-stat-value {
  color: #111827;
}

.afc-buyer-dashboard-shell .afc-member-card {
  border-color: #e5e7eb;
  background: #ffffff;
  box-shadow: inset 4px 0 0 #ff4b26;
}

.afc-buyer-dashboard-shell .afc-member-card strong {
  color: #111827;
}

.afc-buyer-dashboard-shell .afc-quick-action {
  min-height: 128px;
}

.afc-buyer-dashboard-shell .afc-quick-action:hover {
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .afc-buyer-dashboard-shell .afc-header {
    position: sticky;
    top: 0;
    width: 100%;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .afc-buyer-dashboard-shell .afc-header-row {
    height: auto;
    padding: 14px 16px;
    gap: 12px;
  }

  .afc-buyer-dashboard-shell .afc-logo {
    border-bottom: 0;
    padding: 0;
  }

  .afc-buyer-dashboard-shell .afc-dashboard-tabs {
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
  }

  .afc-buyer-dashboard-shell .afc-dashboard-tab {
    white-space: nowrap;
  }

  .afc-buyer-dashboard-shell .afc-header .afc-btn {
    width: auto;
    margin-top: 0;
  }

  .afc-buyer-dashboard-shell .afc-dashboard-main {
    margin-left: 0;
    padding-top: 22px;
  }

  .afc-buyer-dashboard-shell .afc-dashboard-main .afc-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .afc-buyer-dashboard-shell .afc-dashboard-stats {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 620px) {
  .afc-buyer-dashboard-shell .afc-dashboard-stats {
    grid-template-columns: 1fr;
  }
}

/* BEGIN AFRICOM_CORPORATE_TYPOGRAPHY */
:root {
  --afc-font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --afc-type-ink: #111827;
  --afc-type-soft: #475569;
  --afc-type-muted: #64748b;
  --afc-type-line: #e5e7eb;
}

html {
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
input,
button,
select,
textarea {
  font-family: var(--afc-font-ui) !important;
  font-weight: 400;
  letter-spacing: 0 !important;
  font-synthesis-weight: none;
}

body {
  color: var(--afc-type-ink);
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
.afc-dashboard-stat-value,
.afc-member-card strong,
.afc-quick-action strong {
  font-family: var(--afc-font-ui) !important;
  letter-spacing: 0 !important;
  font-weight: 700;
  color: #0f172a;
}

p,
li,
td,
th,
label,
small,
span,
a,
button,
input,
select,
textarea {
  letter-spacing: 0 !important;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
  font-weight: 400 !important;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0 !important;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.afc-buyer-dashboard-shell .afc-dashboard-hero h1 {
  font-size: 36px !important;
  line-height: 1.14;
  font-weight: 700;
}

.afc-buyer-dashboard-shell .afc-dashboard-hero p,
.afc-dashboard-hero p,
.afc-quick-action small,
.afc-member-card small,
.afc-empty-state {
  color: var(--afc-type-soft);
  font-size: 15px;
  line-height: 1.55;
}

.afc-eyebrow {
  color: #ff4b26;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  text-transform: uppercase;
}

.afc-buyer-dashboard-shell .afc-dashboard-tab {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.afc-btn,
.afc-dashboard-tab,
.afc-quick-action,
.afc-data-table,
.afc-status-badge {
  font-family: var(--afc-font-ui) !important;
}

.afc-btn,
button,
input[type="submit"] {
  font-weight: 700 !important;
  line-height: 1.2;
}

.afc-btn-primary,
a.afc-btn-primary,
button.afc-btn-primary,
input[type="submit"],
.start-selling,
.hero-cta,
.cta-primary {
  color: #ffffff !important;
}

.afc-dashboard-stat-label {
  color: var(--afc-type-muted);
  font-size: 12.5px;
  font-weight: 600;
}

.afc-dashboard-stat-value {
  font-size: 26px;
  line-height: 1.1;
}

.afc-data-table {
  font-size: 14px;
  line-height: 1.45;
}

.afc-data-table th {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.afc-data-table td {
  color: #1f2937;
  font-weight: 400;
}

.afc-status-badge {
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 620px) {
  .afc-buyer-dashboard-shell .afc-dashboard-hero h1 {
    font-size: 28px !important;
  }

  .afc-dashboard-stat-value {
    font-size: 22px;
  }
}
/* END AFRICOM_CORPORATE_TYPOGRAPHY */
/* AFRICOM_BUYER_RECENT_CARDS_FIX */
.afc-recent-dashboard-split {
  align-items: start;
}

.afc-recent-panel {
  min-width: 0;
}

.afc-recent-panel .afc-mini-heading {
  background: transparent;
  margin: 4px 0 10px;
}

.afc-recent-list {
  display: grid;
  gap: 12px;
}

.afc-recent-card,
.afc-recent-empty {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 24px rgba(15, 23, 42, 0.04);
}

.afc-recent-card {
  padding: 16px;
}

.afc-recent-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.afc-recent-card-head strong {
  min-width: 0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.afc-recent-card p {
  margin: 10px 0 14px;
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
}

.afc-recent-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.afc-recent-meta div {
  min-width: 0;
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px;
}

.afc-recent-meta span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.afc-recent-meta strong {
  display: block;
  margin-top: 3px;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.afc-recent-empty {
  padding: 22px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .afc-recent-dashboard-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .afc-recent-meta {
    grid-template-columns: 1fr;
  }
}

/* AFRICOM_BUYER_PORTAL_V1_SHELL */
.afc-buyer-dashboard-shell .afc-dashboard-nav-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.afc-buyer-dashboard-shell .afc-dashboard-nav-group:last-of-type {
  border-bottom: 0;
}

.afc-buyer-dashboard-shell .afc-dashboard-nav-group > span {
  padding: 0 12px 5px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.afc-buyer-dashboard-shell .afc-dashboard-nav-actions {
  margin-top: 2px;
}

.afc-module-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.afc-module-badge {
  flex: 0 0 auto;
  border: 1px solid #fed7c8;
  background: #fff7ed;
  color: #ff4b26;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

.afc-module-actions {
  margin-bottom: 18px;
}

.afc-module-grid,
.afc-company-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.afc-module-card,
.afc-company-field,
.afc-roadmap-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 24px rgba(15, 23, 42, 0.04);
}

.afc-module-card {
  padding: 20px;
}

.afc-module-card .material-symbols-outlined {
  color: #ff4b26;
  font-size: 30px;
}

.afc-module-card h2 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.afc-module-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.afc-module-card strong {
  display: inline-flex;
  margin-top: 10px;
  color: #047857;
  background: #ecfdf5;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
}

.afc-roadmap-panel {
  padding: 22px;
}

.afc-roadmap-panel h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.afc-roadmap-panel p {
  margin: 0;
  color: #475569;
}

.afc-company-field {
  padding: 18px;
}

.afc-company-field span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.afc-company-field strong {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 16px;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .afc-buyer-dashboard-shell .afc-dashboard-nav-group {
    flex-direction: row;
    gap: 6px;
    border-bottom: 0;
    padding: 0;
  }

  .afc-buyer-dashboard-shell .afc-dashboard-nav-group > span {
    display: none;
  }

  .afc-module-hero {
    display: grid;
  }

  .afc-module-grid,
  .afc-company-profile-grid {
    grid-template-columns: 1fr;
  }
}

/* AFRICOM_BUYER_SAVED_ITEMS_STAGE1 */
.afc-saved-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.afc-saved-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 24px rgba(15, 23, 42, 0.04);
}

.afc-saved-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff2ed;
  color: #ff4b26;
}

.afc-saved-icon .material-symbols-outlined {
  color: #ff4b26;
}

.afc-saved-main {
  min-width: 0;
}

.afc-saved-main h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.afc-saved-main p {
  margin: 0 0 10px;
  color: #475569;
  font-size: 14px;
}

.afc-saved-main small {
  display: block;
  margin-top: 10px;
  color: #64748b;
  font-size: 13px;
}

.afc-saved-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.afc-saved-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
}

.afc-saved-remove button {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #64748b;
  border-radius: 9px;
  padding: 8px 10px;
  font-weight: 700;
  cursor: pointer;
}

.afc-saved-remove button:hover {
  color: #ff4b26;
  border-color: #ffb39f;
  background: #fff7ed;
}

.afc-save-manual-panel {
  padding: 20px;
}

.afc-save-manual-panel h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.afc-inline-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr)) auto;
  gap: 10px;
}

.afc-inline-form input {
  min-height: 42px;
  border: 1px solid #dbe1ea;
  border-radius: 10px;
  padding: 0 12px;
  font: inherit;
}

@media (max-width: 980px) {
  .afc-saved-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .afc-saved-remove {
    grid-column: 2;
  }

  .afc-inline-form {
    grid-template-columns: 1fr;
  }
}

/* AFRICOM_RFQ_QUOTES_STAGE1 */
.afc-rfq-detail-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.afc-rfq-detail-grid article,
.afc-quote-card,
.afc-rfq-row {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 24px rgba(15, 23, 42, 0.04);
}

.afc-rfq-detail-grid article {
  padding: 16px;
}

.afc-rfq-detail-grid span,
.afc-quote-card-head span,
.afc-quote-facts span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.afc-rfq-detail-grid strong,
.afc-quote-facts strong {
  display: block;
  margin-top: 6px;
  color: #111827;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.afc-quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px;
}

.afc-quote-card {
  padding: 18px;
}

.afc-quote-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.afc-quote-card h2 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.afc-quote-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.afc-quote-price {
  color: #111827;
  font-size: 30px;
  font-weight: 800;
  margin: 14px 0;
}

.afc-quote-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.afc-quote-facts div {
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px;
}

.afc-quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.afc-quote-actions form {
  margin: 0;
}

.afc-rfq-list {
  display: grid;
  gap: 10px;
}

.afc-rfq-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.afc-rfq-row strong {
  color: #111827;
  font-size: 15px;
}

.afc-rfq-row p {
  margin: 5px 0 0;
  color: #475569;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .afc-rfq-detail-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .afc-quote-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .afc-rfq-detail-grid,
  .afc-quote-facts,
  .afc-rfq-row {
    grid-template-columns: 1fr;
  }
}

/* AFRICOM_ADMIN_RFQ_DETAIL_STAGE1 */
.afc-rfq-row small {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
}

/* AFRICOM_ADMIN_RFQ_BANKGRADE */
.afc-admin-rfq-shell {
  display: grid;
  gap: 18px;
}

.afc-admin-rfq-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 42px rgba(15, 23, 42, 0.06);
}

.afc-admin-rfq-top h1 {
  margin: 8px 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

.afc-admin-rfq-top p {
  margin: 0;
  color: #475569;
  max-width: 760px;
}

.afc-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.afc-back-link:hover {
  color: #ff4b26;
}

.afc-back-link .material-symbols-outlined {
  font-size: 20px;
}

.afc-admin-rfq-status {
  min-width: 170px;
  display: grid;
  justify-items: end;
  gap: 8px;
}

.afc-admin-rfq-status strong {
  font-size: 42px;
  line-height: 1;
}

.afc-admin-rfq-status small {
  color: #64748b;
  font-weight: 700;
}

.afc-admin-rfq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr);
  gap: 18px;
}

.afc-bank-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 34px rgba(15, 23, 42, 0.05);
}

.afc-card-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.afc-card-title > .material-symbols-outlined {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff2ed;
  color: #ff4b26;
}

.afc-card-title h2 {
  margin: 0;
  font-size: 20px;
}

.afc-card-title p {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 14px;
}

.afc-rfq-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.afc-rfq-metric-grid article {
  display: flex;
  gap: 12px;
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px;
}

.afc-rfq-metric-grid .material-symbols-outlined {
  color: #ff4b26;
  font-size: 24px;
}

.afc-rfq-metric-grid small,
.afc-admin-field-list span,
.afc-admin-quote-row span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.afc-rfq-metric-grid strong,
.afc-admin-field-list strong,
.afc-admin-quote-row strong {
  display: block;
  margin-top: 4px;
  color: #111827;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.afc-rfq-note-box {
  margin-top: 14px;
  border-left: 4px solid #ff4b26;
  background: #fff7ed;
  border-radius: 12px;
  padding: 14px 16px;
}

.afc-rfq-note-box span {
  color: #9a3412;
  font-size: 12px;
  font-weight: 800;
}

.afc-rfq-note-box p {
  margin: 6px 0 0;
  color: #431407;
}

.afc-admin-field-list {
  display: grid;
  gap: 10px;
}

.afc-admin-field-list div {
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 10px;
}

.afc-admin-field-list div:last-child {
  border-bottom: 0;
}

.afc-admin-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.afc-admin-quote-list {
  display: grid;
  gap: 10px;
}

.afc-admin-quote-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(120px, .5fr)) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 14px;
}

.afc-admin-quote-row p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 14px;
}

.afc-rfq-empty-review {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  padding: 34px;
  background: #f8fafc;
  border-radius: 14px;
}

.afc-rfq-empty-review .material-symbols-outlined {
  color: #94a3b8;
  font-size: 36px;
}

.afc-rfq-empty-review h3 {
  margin: 0;
}

.afc-rfq-empty-review p {
  margin: 0;
  color: #64748b;
  max-width: 520px;
}

@media (max-width: 1100px) {
  .afc-admin-rfq-top,
  .afc-admin-rfq-layout {
    display: grid;
    grid-template-columns: 1fr;
  }

  .afc-admin-rfq-status {
    justify-items: start;
  }

  .afc-admin-quote-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .afc-rfq-metric-grid,
  .afc-admin-quote-row {
    grid-template-columns: 1fr;
  }

  .afc-admin-rfq-top,
  .afc-bank-card {
    padding: 18px;
  }
}

/* AFRICOM_ADMIN_DASHBOARD_SHELL_V1 */
.afc-sidebar-dashboard-shell {
  background: #f6f8fb;
}

.afc-sidebar-dashboard-shell .afc-topbar {
  display: none !important;
}

.afc-sidebar-dashboard-shell .afc-header {
  position: fixed;
  inset: 0 auto 0 0;
  width: 276px;
  min-height: 100vh;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  border-bottom: 0;
  box-shadow: none;
  z-index: 30;
}

.afc-sidebar-dashboard-shell .afc-header-row {
  width: 100%;
  height: 100vh;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.afc-sidebar-dashboard-shell .afc-logo {
  display: flex;
  align-items: center;
  padding: 0 6px 18px;
  border-bottom: 1px solid #edf0f4;
}

.afc-sidebar-dashboard-shell .afc-logo img {
  max-width: 154px;
  height: auto;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tabs {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  overflow-y: auto;
  flex: 1;
  padding-right: 2px;
}

.afc-sidebar-dashboard-shell .afc-dashboard-nav-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.afc-sidebar-dashboard-shell .afc-dashboard-nav-group > span {
  padding: 0 12px 5px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tab .material-symbols-outlined {
  width: 22px;
  color: #94a3b8;
  font-size: 22px;
  font-weight: 400;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tab:hover {
  color: #111827;
  background: #f8fafc;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tab:hover .material-symbols-outlined,
.afc-sidebar-dashboard-shell .afc-dashboard-tab.is-active .material-symbols-outlined {
  color: #ff4b26;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tab.is-active {
  color: #ff4b26;
  background: #fff2ed;
}

.afc-sidebar-dashboard-shell .afc-header .afc-btn {
  justify-content: center;
  width: 100%;
  border-radius: 10px;
  margin-top: auto;
}

.afc-sidebar-dashboard-shell .afc-dashboard-main {
  margin-left: 276px;
  padding: 34px 0 64px;
}

.afc-sidebar-dashboard-shell .afc-dashboard-main .afc-container {
  max-width: 1180px;
  padding-left: 34px;
  padding-right: 34px;
}

.afc-admin-dashboard-shell .afc-admin-rfq-top,
.afc-admin-dashboard-shell .afc-bank-card,
.afc-admin-dashboard-shell .afc-dashboard-hero,
.afc-admin-dashboard-shell .afc-dashboard-panel,
.afc-admin-dashboard-shell .afc-dashboard-stat,
.afc-admin-dashboard-shell .afc-quote-card,
.afc-admin-dashboard-shell .afc-rfq-row {
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 28px rgba(15, 23, 42, 0.05);
}

@media (max-width: 980px) {
  .afc-sidebar-dashboard-shell .afc-header {
    position: sticky;
    top: 0;
    width: 100%;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .afc-sidebar-dashboard-shell .afc-header-row {
    height: auto;
    padding: 14px 16px;
    gap: 12px;
  }

  .afc-sidebar-dashboard-shell .afc-logo {
    border-bottom: 0;
    padding: 0;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-tabs,
  .afc-sidebar-dashboard-shell .afc-dashboard-nav-group {
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
    border-bottom: 0;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-nav-group > span {
    display: none;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-tab {
    white-space: nowrap;
  }

  .afc-sidebar-dashboard-shell .afc-header .afc-btn {
    width: auto;
    margin-top: 0;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-main {
    margin-left: 0;
    padding-top: 22px;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-main .afc-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* AFRICOM_SELLER_PORTAL_V1 */
.afc-seller-dashboard-shell .afc-member-card {
  border-color: #e5e7eb;
  background: #ffffff;
  box-shadow: inset 4px 0 0 #ff4b26;
}

/* AFRICOM_MEMBER_CARD_COMPACT_OVERRIDE - must stay after all other .afc-member-card rules */
.afc-member-card span,
.afc-member-card small {
  font-size: 10.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.afc-member-card strong {
  font-size: 13px;
  font-weight: 700;
}

.afc-seller-quote-form-card {
  margin-top: 18px;
}

.afc-seller-quote-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 14px;
}

.afc-seller-quote-form label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.afc-seller-quote-form input,
.afc-seller-quote-form select,
.afc-seller-quote-form textarea {
  width: 100%;
  border: 1px solid #dbe1ea;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  color: #111827;
  background: #fff;
}

.afc-seller-quote-form textarea {
  resize: vertical;
}

.afc-form-full {
  grid-column: 1 / -1;
}

.afc-checkbox-line {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px !important;
  min-height: 44px;
}

.afc-checkbox-line input {
  width: auto;
}

@media (max-width: 900px) {
  .afc-seller-quote-form {
    grid-template-columns: 1fr;
  }
}

/* AFRICOM_DASHBOARD_ACCOUNT_STANDARD */
.afc-dashboard-account {
  border-top: 1px solid #edf0f4;
  padding-top: 14px;
  display: grid;
  gap: 12px;
}

.afc-dashboard-account-main {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.afc-dashboard-account-main > .material-symbols-outlined {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fff2ed;
  color: #ff4b26;
  font-size: 22px;
}

.afc-dashboard-account-main strong,
.afc-dashboard-account-main small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.afc-dashboard-account-main strong {
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.afc-dashboard-account-main small {
  color: #64748b;
  font-size: 12px;
  margin-top: 2px;
}

.afc-dashboard-account-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.afc-dashboard-account-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  color: #475569;
  background: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.afc-dashboard-account-links a:hover {
  color: #ff4b26;
  border-color: #ffb39f;
  background: #fff7ed;
}

/* AFRICOM_DASHBOARD_ACCOUNT_MENU_FIX */
.afc-dashboard-account-nav {
  margin-top: auto;
  border-top: 1px solid #edf0f4;
  border-bottom: 0 !important;
  padding-top: 12px !important;
}

.afc-dashboard-account-nav .afc-dashboard-tab[href="/logout.php"],
.afc-dashboard-account-links a[href="/logout.php"] {
  color: #b42318;
}

.afc-dashboard-account-nav .afc-dashboard-tab[href="/logout.php"] .material-symbols-outlined {
  color: #b42318;
}

/* AFRICOM_DASHBOARD_ACCOUNT_POLISH */
.afc-dashboard-account-nav {
  display: none !important;
}

.afc-dashboard-account {
  display: none !important;
}

.afc-dashboard-account-card {
  margin-top: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.afc-dashboard-account-card .afc-dashboard-account-main {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef2f7;
}

.afc-dashboard-account-card .afc-dashboard-account-main > .material-symbols-outlined {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fff2ed;
  color: #ff4b26;
  font-size: 22px;
}

.afc-dashboard-account-card strong,
.afc-dashboard-account-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.afc-dashboard-account-card strong {
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.afc-dashboard-account-card small {
  color: #64748b;
  font-size: 12px;
  margin-top: 2px;
}

.afc-dashboard-account-actions {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.afc-dashboard-account-actions a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  border-radius: 9px;
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 0 8px;
}

.afc-dashboard-account-actions a:hover {
  color: #ff4b26;
  background: #fff7ed;
}

.afc-dashboard-account-actions a .material-symbols-outlined {
  color: #94a3b8;
  font-size: 20px;
}

.afc-dashboard-account-actions a:hover .material-symbols-outlined {
  color: #ff4b26;
}

.afc-dashboard-account-actions a.is-danger {
  color: #b42318;
}

.afc-dashboard-account-actions a.is-danger .material-symbols-outlined {
  color: #b42318;
}

.afc-sidebar-dashboard-shell .afc-header-row {
  overflow: hidden;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tabs {
  min-height: 0;
  overflow-y: auto;
}

@media (max-width: 980px) {
  .afc-dashboard-account-card {
    width: 100%;
  }

  .afc-dashboard-account-actions {
    grid-template-columns: repeat(3, minmax(90px, 1fr));
  }

  .afc-dashboard-account-actions a {
    justify-content: center;
  }
}

/* AFRICOM_SIDEBAR_SCROLL_ACCOUNT_FIX */
.afc-sidebar-dashboard-shell .afc-header-row {
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  gap: 16px !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tabs {
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 4px !important;
  scrollbar-width: thin;
}

.afc-sidebar-dashboard-shell .afc-dashboard-account-card {
  margin-top: 0 !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

.afc-sidebar-dashboard-shell .afc-logo {
  flex-shrink: 0 !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tabs::-webkit-scrollbar {
  width: 4px;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tabs::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tabs:hover::-webkit-scrollbar-thumb,
.afc-sidebar-dashboard-shell .afc-dashboard-tabs:focus-within::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tabs {
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 0.2s ease;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tabs:hover,
.afc-sidebar-dashboard-shell .afc-dashboard-tabs:focus-within {
  scrollbar-color: #cbd5e1 transparent;
}

@media (max-width: 980px) {
  .afc-sidebar-dashboard-shell .afc-header-row {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: flex !important;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-tabs {
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-account-card {
    position: static !important;
  }
}

/* AFRICOM_DASHBOARD_SHELL_STABLE_BASELINE */
.afc-sidebar-dashboard-shell {
  background: #f6f8fb !important;
}

.afc-sidebar-dashboard-shell .afc-topbar {
  display: none !important;
}

.afc-sidebar-dashboard-shell .afc-header {
  position: fixed !important;
  inset: 0 auto 0 0 !important;
  width: 280px !important;
  height: 100vh !important;
  min-height: 100vh !important;
  background: #ffffff !important;
  border-right: 1px solid #e5e7eb !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  z-index: 50 !important;
  overflow: hidden !important;
}

.afc-sidebar-dashboard-shell .afc-header-row {
  height: 100vh !important;
  max-height: 100vh !important;
  width: 100% !important;
  padding: 24px 18px !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  gap: 14px !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

.afc-sidebar-dashboard-shell .afc-logo {
  display: flex !important;
  align-items: center !important;
  min-height: 56px !important;
  padding: 0 8px 16px !important;
  border-bottom: 1px solid #edf0f4 !important;
  flex-shrink: 0 !important;
}

.afc-sidebar-dashboard-shell .afc-logo img {
  max-width: 154px !important;
  height: auto !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tabs {
  min-height: 0 !important;
  width: 100% !important;
  display: grid !important;
  align-content: start !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 4px 0 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tabs::-webkit-scrollbar {
  width: 4px;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tabs::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tabs:hover::-webkit-scrollbar-thumb,
.afc-sidebar-dashboard-shell .afc-dashboard-tabs:focus-within::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tabs {
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 0.2s ease;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tabs:hover,
.afc-sidebar-dashboard-shell .afc-dashboard-tabs:focus-within {
  scrollbar-color: #cbd5e1 transparent;
}

.afc-sidebar-dashboard-shell .afc-dashboard-nav-group {
  display: grid !important;
  gap: 5px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-nav-group > span {
  display: block !important;
  padding: 0 10px 4px !important;
  color: #94a3b8 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tab {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  min-height: 40px !important;
  padding: 9px 10px !important;
  border-radius: 10px !important;
  color: #475569 !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  background: transparent !important;
  white-space: nowrap !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tab .material-symbols-outlined {
  width: 22px !important;
  color: #94a3b8 !important;
  font-size: 22px !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tab:hover {
  color: #111827 !important;
  background: #f8fafc !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tab.is-active {
  color: #ff4b26 !important;
  background: #fff2ed !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tab-disabled {
  cursor: default !important;
  color: #b6bcc6 !important;
  justify-content: space-between !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tab-disabled .material-symbols-outlined {
  color: #cbd5e1 !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tab-disabled:hover {
  background: transparent !important;
  color: #b6bcc6 !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tab-disabled:hover .material-symbols-outlined {
  color: #cbd5e1 !important;
}

.afc-coming-soon-badge {
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #94a3b8;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 2px 7px;
  white-space: nowrap;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tab:hover .material-symbols-outlined,
.afc-sidebar-dashboard-shell .afc-dashboard-tab.is-active .material-symbols-outlined {
  color: #ff4b26 !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-account-card {
  display: block !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  border: 1px solid #e5e7eb !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  padding: 12px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-account-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 6px !important;
  margin-top: 10px !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-account-actions a {
  justify-content: flex-start !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-main {
  margin-left: 280px !important;
  padding: 34px 0 64px !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-main .afc-container {
  max-width: 1180px !important;
  padding-left: 34px !important;
  padding-right: 34px !important;
}

@media (max-width: 980px) {
  .afc-sidebar-dashboard-shell .afc-header {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    border-right: 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
  }

  .afc-sidebar-dashboard-shell .afc-header-row {
    height: auto !important;
    max-height: none !important;
    display: grid !important;
    grid-template-rows: auto auto auto !important;
    padding: 14px 16px !important;
    overflow: visible !important;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-tabs {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 8px !important;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-nav-group {
    display: flex !important;
    border-bottom: 0 !important;
    padding: 0 !important;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-nav-group > span {
    display: none !important;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-account-card {
    width: 100% !important;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-account-actions {
    grid-template-columns: repeat(3, minmax(90px, 1fr)) !important;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-account-actions a {
    justify-content: center !important;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-main {
    margin-left: 0 !important;
    padding-top: 22px !important;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-main .afc-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* AFRICOM_SIDEBAR_VERTICAL_RESET */
.afc-sidebar-dashboard-shell .afc-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  width: 280px !important;
  height: 100vh !important;
  min-height: 100vh !important;
  background: #ffffff !important;
  border-right: 1px solid #e5e7eb !important;
  overflow: hidden !important;
}

.afc-sidebar-dashboard-shell .afc-header .afc-container,
.afc-sidebar-dashboard-shell .afc-header-row {
  max-width: none !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 24px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  overflow: hidden !important;
}

.afc-sidebar-dashboard-shell .afc-logo {
  position: static !important;
  transform: none !important;
  width: 100% !important;
  min-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 8px 16px !important;
  margin: 0 !important;
  border-bottom: 1px solid #edf0f4 !important;
}

.afc-sidebar-dashboard-shell .afc-logo img {
  display: block !important;
  max-width: 156px !important;
  height: auto !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tabs {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 4px 0 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-nav-group {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-nav-group > span {
  display: block !important;
  padding: 0 10px 4px !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tab {
  width: 100% !important;
  min-width: 0 !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-account-card {
  flex: 0 0 auto !important;
  width: 100% !important;
  margin: 0 !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-main {
  margin-left: 280px !important;
}

@media (max-width: 980px) {
  .afc-sidebar-dashboard-shell .afc-header {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .afc-sidebar-dashboard-shell .afc-header .afc-container,
  .afc-sidebar-dashboard-shell .afc-header-row {
    height: auto !important;
    overflow: visible !important;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-tabs {
    max-height: 42vh !important;
  }

  .afc-sidebar-dashboard-shell .afc-dashboard-main {
    margin-left: 0 !important;
  }
}

/* AFRICOM_GLOBAL_RFQ_FORM_POLISH */
.afc-global-rfq-form {
  display: grid;
  gap: 18px;
  max-width: 1180px;
}

.afc-global-rfq-form .afc-bank-card {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #dde5f0;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.afc-global-rfq-form .afc-card-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.afc-global-rfq-form .afc-card-title .material-symbols-outlined {
  color: #ff4b26;
  font-size: 25px;
  line-height: 1;
}

.afc-global-rfq-form .afc-card-title h2 {
  margin: 0 0 4px;
  font-size: 19px;
  line-height: 1.25;
  color: #07122f;
}

.afc-global-rfq-form .afc-card-title p {
  margin: 0;
  color: #64748b;
  line-height: 1.5;
}

.afc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.afc-global-rfq-form label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 760;
}

.afc-global-rfq-form input,
.afc-global-rfq-form select,
.afc-global-rfq-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dbe3ef;
  border-radius: 9px;
  padding: 11px 12px;
  background: #ffffff;
  color: #07122f;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.afc-global-rfq-form input:focus,
.afc-global-rfq-form select:focus,
.afc-global-rfq-form textarea:focus {
  border-color: #ff4b26;
  box-shadow: 0 0 0 3px rgba(255, 75, 38, .13);
}

.afc-rfq-line-table {
  display: grid;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.afc-rfq-line-head,
.afc-rfq-line-row {
  display: grid;
  grid-template-columns: 54px minmax(260px, 1.7fr) minmax(130px, .75fr) minmax(100px, .5fr) minmax(90px, .45fr) minmax(150px, .8fr);
  align-items: stretch;
}

.afc-rfq-line-head {
  background: #f8fafc;
  color: #475569;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.afc-rfq-line-head span,
.afc-rfq-line-row > * {
  padding: 12px;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  min-width: 0;
}

.afc-rfq-line-head span:last-child,
.afc-rfq-line-row > *:last-child {
  border-right: 0;
}

.afc-rfq-line-row strong {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #07122f;
  background: #fbfdff;
}

.afc-rfq-line-row textarea {
  min-height: 78px;
  resize: vertical;
}

.afc-rfq-line-row input[type="file"] {
  padding: 9px;
  font-size: 12px;
}

.afc-checkbox-line {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  margin: 16px 0;
  color: #334155;
}

.afc-checkbox-line input {
  width: auto !important;
}

.afc-global-rfq-form > .afc-bank-card > label:last-of-type {
  margin-top: 12px;
}

.afc-global-rfq-form .afc-btn-primary {
  margin-top: 16px;
  color: #ffffff !important;
  background: #ff4b26 !important;
  border-color: #ff4b26 !important;
}

.afc-global-rfq-form .afc-btn-primary:hover {
  background: #d83a1d !important;
  border-color: #d83a1d !important;
}

.afc-global-rfq-form textarea[name="details"] {
  min-height: 130px;
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .afc-rfq-line-table {
    overflow-x: auto;
  }

  .afc-rfq-line-head,
  .afc-rfq-line-row {
    min-width: 920px;
  }
}

@media (max-width: 760px) {
  .afc-form-grid {
    grid-template-columns: 1fr;
  }

  .afc-global-rfq-form .afc-bank-card {
    padding: 18px;
  }

  .afc-rfq-line-table {
    border: 0;
    gap: 12px;
    overflow: visible;
    background: transparent;
  }

  .afc-rfq-line-head {
    display: none;
  }

  .afc-rfq-line-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
  }

  .afc-rfq-line-row > * {
    border-right: 0;
  }

  .afc-rfq-line-row strong {
    justify-content: flex-start;
  }
}
/* END AFRICOM_GLOBAL_RFQ_FORM_POLISH */


/* AFRICOM_FINAL_PREMIUM_CARDS_START */

.afc-premium-featured-section {
  overflow: hidden;
  padding: 74px 0 58px;
  background:
    radial-gradient(
      circle at 2% 0,
      rgba(255, 90, 40, 0.045),
      transparent 26%
    ),
    radial-gradient(
      circle at 100% 42%,
      rgba(27, 77, 134, 0.035),
      transparent 28%
    ),
    #fbfcfe;
}

.afc-premium-featured-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.afc-premium-featured-heading {
  max-width: 730px;
}

.afc-premium-featured-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--afc-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.afc-premium-featured-kicker span {
  width: 22px;
  height: 3px;
  border-radius: 99px;
  background: var(--afc-orange);
}

.afc-premium-featured-heading h2 {
  margin: 0;
  color: #0b1b38;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.045em;
}

.afc-premium-featured-heading p {
  margin: 12px 0 0;
  color: #647089;
  font-size: 16px;
  line-height: 1.65;
}

.afc-premium-featured-heading p strong {
  color: #0b1b38;
}

.afc-premium-featured-heading p em {
  color: var(--afc-orange);
  font-style: normal;
  font-weight: 800;
}

.afc-premium-featured-heading p b {
  color: #0c743e;
}

.afc-premium-featured-all {
  min-width: 205px;
  min-height: 52px;
  padding: 0 18px 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1.5px solid rgba(255, 84, 45, .7);
  border-radius: 14px;
  background: rgba(255, 255, 255, .82);
  color: #0b1b38;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(20, 31, 52, .04);
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.afc-premium-featured-all .material-symbols-outlined {
  color: var(--afc-orange);
  font-size: 22px;
  transition: transform 180ms ease;
}

.afc-premium-featured-all:hover {
  background: var(--afc-orange);
  color: #fff;
  box-shadow: 0 15px 30px rgba(255, 84, 45, .19);
  transform: translateY(-2px);
}

.afc-premium-featured-all:hover .material-symbols-outlined {
  color: #fff;
  transform: translateX(3px);
}

.afc-premium-carousel-shell {
  width: 100%;
  overflow: hidden;
  padding: 2px;
}

.afc-premium-products-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 66px) / 4);
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  padding: 8px 2px 14px;
}

.afc-premium-products-track::-webkit-scrollbar {
  display: none;
}

.afc-premium-product-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border: 1px solid #e5e9f0;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 3px 8px rgba(15, 32, 61, .025),
    0 16px 35px rgba(15, 32, 61, .055);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.afc-premium-product-card:hover {
  border-color: rgba(255, 84, 45, .3);
  box-shadow:
    0 6px 15px rgba(15, 32, 61, .045),
    0 24px 50px rgba(15, 32, 61, .11);
  transform: translateY(-5px);
}

.afc-premium-product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  background: #f1f4f7;
}

.afc-premium-product-media-link {
  position: absolute;
  inset: 0;
  display: block;
}

.afc-premium-product-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  background:
    radial-gradient(
      circle at 15% 18%,
      rgba(255, 84, 45, .11),
      transparent 32%
    ),
    linear-gradient(145deg, #fff8f5, #eef3f8);
}

.afc-premium-product-letter {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(255, 84, 45, .2);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  color: var(--afc-orange);
  font-size: 29px;
  font-weight: 900;
}

.afc-premium-product-placeholder-copy {
  color: #7b8494;
  font-size: 12px;
  font-weight: 750;
}

.afc-premium-product-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover !important;
  object-position: center;
  transition: transform 550ms ease;
}

.afc-premium-product-card:hover
.afc-premium-product-image {
  transform: scale(1.045);
}

.afc-premium-product-badge {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 76px);
  min-height: 32px;
  padding: 5px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: #087744;
  box-shadow: 0 8px 20px rgba(15, 32, 61, .14);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 850;
}

.afc-premium-product-badge
.material-symbols-outlined {
  font-size: 16px;
  font-variation-settings: "FILL" 1;
}

.afc-premium-product-wishlist {
  position: absolute;
  z-index: 5;
  top: 13px;
  right: 13px;
  width: 43px;
  height: 43px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  color: #14213d;
  box-shadow: 0 8px 20px rgba(15, 32, 61, .13);
  cursor: pointer;
  transition:
    color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.afc-premium-product-wishlist:hover {
  color: var(--afc-orange);
  transform: scale(1.06);
}

.afc-premium-product-wishlist.is-active {
  background: var(--afc-orange);
  color: #fff;
}

.afc-premium-product-wishlist
.material-symbols-outlined {
  font-size: 23px;
}

.afc-premium-product-wishlist.is-active
.material-symbols-outlined {
  font-variation-settings: "FILL" 1;
}

.afc-premium-product-category {
  position: absolute;
  z-index: 4;
  left: 15px;
  bottom: 14px;
  min-height: 29px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: var(--afc-orange);
  box-shadow: 0 7px 18px rgba(15, 32, 61, .12);
  font-size: 11px;
  font-weight: 800;
}

.afc-premium-product-category
.material-symbols-outlined {
  font-size: 15px;
}

.afc-premium-product-content {
  min-width: 0;
  flex: 1;
  padding: 19px;
  display: flex;
  flex-direction: column;
}

.afc-premium-product-title {
  min-height: 52px;
  margin: 0;
  color: #0b1b38;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.afc-premium-product-title a {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.afc-premium-product-title a:hover {
  color: var(--afc-orange);
}

.afc-premium-product-supplier {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  color: #5d687c;
  font-size: 12px;
  font-weight: 700;
}

.afc-premium-product-supplier >
.material-symbols-outlined:first-child {
  flex: 0 0 auto;
  font-size: 16px;
}

.afc-premium-product-supplier-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.afc-premium-supplier-check {
  flex: 0 0 auto;
  color: #1687ff;
  font-size: 15px !important;
  font-variation-settings: "FILL" 1;
}

.afc-premium-product-specs {
  margin-top: 18px;
  padding: 15px 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #f0f2f5;
  border-radius: 13px;
  background: linear-gradient(145deg, #fafbfc, #f6f8fa);
}

.afc-premium-product-spec {
  min-width: 0;
  display: grid;
  justify-items: center;
  text-align: center;
}

.afc-premium-product-spec
.material-symbols-outlined {
  margin-bottom: 4px;
  color: #53617a;
  font-size: 20px;
}

.afc-premium-spec-label {
  color: #69758a;
  font-size: 10px;
  line-height: 1.2;
}

.afc-premium-product-spec strong {
  max-width: 100%;
  margin-top: 4px;
  overflow: hidden;
  color: #087744;
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.afc-premium-product-pricing {
  margin-top: 18px;
}

.afc-premium-product-price-label {
  color: #718096;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.afc-premium-product-price-row {
  min-width: 0;
  margin-top: 5px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.afc-premium-product-price {
  color: #087744;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.afc-premium-product-unit {
  color: #5f6c82;
  font-size: 13px;
  font-weight: 650;
}

.afc-premium-product-action {
  min-height: 46px;
  margin-top: 17px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--afc-orange);
  border-radius: 10px;
  background: var(--afc-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(255, 84, 45, .17);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.afc-premium-product-action
.material-symbols-outlined {
  font-size: 20px;
  transition: transform 180ms ease;
}

.afc-premium-product-action:hover {
  background: #e94720;
  box-shadow: 0 14px 28px rgba(255, 84, 45, .25);
  transform: translateY(-1px);
}

.afc-premium-product-action:hover
.material-symbols-outlined {
  transform: translateX(4px);
}

.afc-premium-carousel-controls {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.afc-premium-carousel-arrow {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #e1e6ed;
  border-radius: 50%;
  background: #fff;
  color: #10203d;
  box-shadow: 0 7px 18px rgba(15, 32, 61, .045);
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.afc-premium-carousel-arrow:hover {
  border-color: rgba(255, 84, 45, .45);
  color: var(--afc-orange);
  transform: translateY(-2px);
}

.afc-premium-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.afc-premium-carousel-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dde2e9;
}

.afc-premium-carousel-dots span.is-active {
  background: var(--afc-orange);
}

.afc-premium-trust-strip {
  margin-top: 28px;
  padding: 17px 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 30px rgba(15, 32, 61, .045);
}

.afc-premium-trust-item {
  min-width: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-right: 1px solid #e8ebf0;
}

.afc-premium-trust-item:last-child {
  border-right: 0;
}

.afc-premium-trust-icon {
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 11px;
}

.afc-premium-trust-icon.is-orange {
  background: #fff0ea;
  color: #f45a2b;
}

.afc-premium-trust-icon.is-green {
  background: #eaf8eb;
  color: #218b45;
}

.afc-premium-trust-icon.is-blue {
  background: #eaf3ff;
  color: #1d6fd2;
}

.afc-premium-trust-icon.is-purple {
  background: #f5ecff;
  color: #7b35d2;
}

.afc-premium-trust-item strong,
.afc-premium-trust-item small {
  display: block;
}

.afc-premium-trust-item strong {
  color: #101f3d;
  font-size: 13px;
  font-weight: 850;
}

.afc-premium-trust-item small {
  margin-top: 4px;
  overflow: hidden;
  color: #69758a;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .afc-premium-products-track {
    grid-auto-columns: calc((100% - 44px) / 3);
  }

  .afc-premium-trust-strip {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
  }

  .afc-premium-trust-item:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 820px) {
  .afc-premium-featured-section {
    padding: 58px 0 48px;
  }

  .afc-premium-products-track {
    grid-auto-columns: calc((100% - 18px) / 2);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .afc-premium-featured-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .afc-premium-featured-all {
    width: 100%;
  }

  .afc-premium-products-track {
    grid-auto-columns: 88%;
    gap: 14px;
  }

  .afc-premium-product-media {
    aspect-ratio: 1.48 / 1;
  }

  .afc-premium-trust-strip {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .afc-premium-trust-item {
    padding: 0;
    border-right: 0;
  }
}

/* AFRICOM_FINAL_PREMIUM_CARDS_END */

/* AFRICOM_COMPACT_PREMIUM_CARDS_START */

/*
 * Compact premium card refinement.
 * This block intentionally overrides the existing premium
 * product-card rules without changing the PHP component.
 */

.afc-premium-products-track {
  gap: 20px;
  padding-top: 6px;
  padding-bottom: 10px;
}

.afc-premium-product-card {
  border-radius: 18px;
}

/* Slightly shorter image area */
.afc-premium-product-media {
  aspect-ratio: 1.68 / 1;
}

/* Reduce overlay controls slightly */
.afc-premium-product-badge {
  top: 12px;
  left: 12px;
  min-height: 29px;
  padding: 4px 10px;
}

.afc-premium-product-wishlist {
  top: 11px;
  right: 11px;
  width: 40px;
  height: 40px;
}

.afc-premium-product-wishlist
.material-symbols-outlined {
  font-size: 22px;
}

.afc-premium-product-category {
  left: 12px;
  bottom: 11px;
  min-height: 27px;
  padding: 4px 9px;
}

/* Main card content */
.afc-premium-product-content {
  padding: 14px 16px 16px;
}

/* Product title */
.afc-premium-product-title {
  min-height: 44px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

/* Seller information */
.afc-premium-product-supplier {
  gap: 5px;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.25;
}

.afc-premium-product-supplier >
.material-symbols-outlined:first-child {
  font-size: 15px;
}

.afc-premium-supplier-check {
  font-size: 14px !important;
}

/* Compact specification panel */
.afc-premium-product-specs {
  margin-top: 11px;
  padding: 10px 5px;
  border-radius: 11px;
}

.afc-premium-product-spec {
  position: relative;
  gap: 1px;
}

/* Add subtle separators between specifications */
.afc-premium-product-spec:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 0;
  width: 1px;
  height: calc(100% - 10px);
  background: #e2e7ed;
}

.afc-premium-product-spec
.material-symbols-outlined {
  margin-bottom: 1px;
  font-size: 18px;
}

.afc-premium-spec-label {
  font-size: 9.5px;
  line-height: 1.15;
}

.afc-premium-product-spec strong {
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.2;
}

/* Bring price closer to specifications */
.afc-premium-product-pricing {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid #edf0f4;
}

.afc-premium-product-price-label {
  font-size: 9px;
  letter-spacing: .04em;
}

.afc-premium-product-price-row {
  margin-top: 3px;
  gap: 5px;
}

.afc-premium-product-price {
  font-size: 20px;
  line-height: 1.15;
}

.afc-premium-product-unit {
  font-size: 12px;
}

/* Compact action button */
.afc-premium-product-action {
  min-height: 42px;
  margin-top: 12px;
  padding: 0 13px;
  gap: 14px;
  border-radius: 9px;
  font-size: 12.5px;
}

.afc-premium-product-action
.material-symbols-outlined {
  font-size: 19px;
}

/* Reduce carousel space below cards */
.afc-premium-carousel-controls {
  margin-top: 5px;
}

.afc-premium-carousel-arrow {
  width: 41px;
  height: 41px;
}

/* Slightly tighter trust strip */
.afc-premium-trust-strip {
  margin-top: 22px;
  padding: 15px 20px;
}

@media (max-width: 820px) {
  .afc-premium-product-content {
    padding: 14px;
  }

  .afc-premium-product-title {
    min-height: 42px;
  }
}

@media (max-width: 640px) {
  .afc-premium-product-media {
    aspect-ratio: 1.58 / 1;
  }

  .afc-premium-product-title {
    min-height: auto;
  }

  .afc-premium-product-specs {
    margin-top: 10px;
  }
}

/* AFRICOM_COMPACT_PREMIUM_CARDS_END */

/* AFRICOM_COMPANY_PROFILE_FORM */
.afc-form-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.afc-form-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.afc-form-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.afc-company-edit-panel {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.afc-company-logo-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

.afc-company-logo-preview {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.afc-company-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.afc-company-logo-preview .material-symbols-outlined {
  font-size: 32px;
  color: #cbd5e1;
}

.afc-logo-upload-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.afc-form-hint {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}

.afc-company-name-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
}

.afc-company-name-form label {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.afc-company-name-form input[type="text"] {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  width: 100%;
}

.afc-company-name-form input[type="text"]:focus {
  outline: none;
  border-color: #ff4b26;
  box-shadow: 0 0 0 3px rgba(255, 75, 38, 0.12);
}

.afc-company-name-form button {
  align-self: flex-start;
  margin-top: 4px;
}

/* AFRICOM_COMPANY_PROFILE_FORM */
.afc-form-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.afc-form-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.afc-form-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.afc-company-edit-panel {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.afc-company-logo-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

.afc-company-logo-preview {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.afc-company-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.afc-company-logo-preview .material-symbols-outlined {
  font-size: 32px;
  color: #cbd5e1;
}

.afc-logo-upload-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.afc-form-hint {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}

.afc-company-name-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
}

.afc-company-name-form label {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.afc-company-name-form input[type="text"] {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  width: 100%;
}

.afc-company-name-form input[type="text"]:focus {
  outline: none;
  border-color: #ff4b26;
  box-shadow: 0 0 0 3px rgba(255, 75, 38, 0.12);
}

.afc-company-name-form button {
  align-self: flex-start;
  margin-top: 4px;
}

/* AFRICOM_PROFILE_FORM_SECTIONS */
.afc-profile-section {
  padding: 22px 24px;
  margin-bottom: 16px;
}

.afc-profile-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
}

.afc-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.afc-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.afc-form-field label {
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
}

.afc-form-field input[type="text"],
.afc-form-field input[type="number"],
.afc-form-field input[type="email"],
.afc-form-field input[type="password"],
.afc-form-field select {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  width: 100%;
  background: #fff;
  color: #0f172a;
}

.afc-form-field input:disabled {
  background: #f8fafc;
  color: #94a3b8;
  cursor: not-allowed;
}

.afc-form-field input:focus,
.afc-form-field select:focus {
  outline: none;
  border-color: #ff4b26;
  box-shadow: 0 0 0 3px rgba(255, 75, 38, 0.12);
}

.afc-profile-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
  margin-bottom: 24px;
}

/* AFRICOM_TOTP_2FA_SETUP */
.afc-totp-setup-block {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.afc-totp-qr {
  width: 180px;
  height: 180px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  flex-shrink: 0;
}

.afc-totp-manual {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.afc-totp-manual span {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
}

.afc-totp-manual code {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 12px;
  letter-spacing: 0.05em;
  word-break: break-all;
}

.afc-2fa-status-on {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #047857;
  font-weight: 600;
}

.afc-2fa-status-on .material-symbols-outlined {
  font-size: 20px;
}

/* AFRICOM_ADMIN_MEMBER_ACTIONS */
.afc-member-row-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.afc-inline-action-form {
  display: flex;
  align-items: center;
  gap: 6px;
}

.afc-inline-action-form select {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 13px;
}

.afc-btn-sm {
  padding: 6px 10px;
  font-size: 12.5px;
}

/* ============================================================
   PREMIUM SEARCH & FILTER — AfriCom B2B
   ============================================================ */
.afc-search-bar-premium { margin-bottom: 24px; }
.afc-search-bar-inner {
  display: flex; align-items: center;
  background: #fff; border: 2px solid #e5e7eb;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: border-color .2s, box-shadow .2s;
}
.afc-search-bar-inner:focus-within {
  border-color: #ff4b26;
  box-shadow: 0 2px 20px rgba(255,75,38,.12);
}
.afc-search-icon {
  padding: 0 12px 0 16px;
  color: #9ca3af; font-size: 22px; flex-shrink: 0;
}
.afc-search-bar-input {
  flex: 1; border: none; outline: none;
  font-size: 15px; padding: 14px 8px;
  color: #111827; background: transparent;
  font-family: inherit;
}
.afc-search-bar-input::placeholder { color: #9ca3af; }
.afc-search-clear {
  padding: 0 12px; color: #9ca3af;
  display: flex; align-items: center;
  transition: color .15s;
}
.afc-search-clear:hover { color: #ff4b26; }
.afc-search-bar-btn {
  display: flex; align-items: center; gap: 6px;
  background: #ff4b26; color: #fff;
  border: none; cursor: pointer;
  font-size: 14px; font-weight: 600;
  padding: 0 24px; height: 52px;
  transition: background .15s;
  font-family: inherit; flex-shrink: 0;
}
.afc-search-bar-btn:hover { background: #d93b1d; }
.afc-search-bar-btn .material-symbols-outlined { font-size: 18px; }

.afc-catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px; align-items: start;
}
.afc-filter-sidebar { position: sticky; top: 90px; }
.afc-filter-box {
  background: #fff; border: 1px solid #e5e7eb;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.afc-filter-box-header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px;
  font-size: 13px; font-weight: 700;
  color: #111827; text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid #f3f4f6;
  background: #f9fafb;
}
.afc-filter-box-header .material-symbols-outlined {
  font-size: 18px; color: #ff4b26;
}
.afc-filter-list {
  list-style: none; margin: 0; padding: 8px 0;
}
.afc-filter-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; cursor: pointer;
  font-size: 13px; color: #374151;
  transition: background .12s, color .12s;
  border-radius: 0;
}
.afc-filter-item:hover { background: #fff5f3; color: #ff4b26; }
.afc-filter-item.active {
  background: #fff5f3; color: #ff4b26; font-weight: 600;
}
.afc-filter-item input[type="radio"] { display: none; }
.afc-filter-item span:first-of-type { flex: 1; }
.afc-filter-count {
  font-size: 11px; background: #f3f4f6;
  color: #6b7280; padding: 2px 7px;
  border-radius: 10px; font-weight: 500;
}
.afc-filter-item.active .afc-filter-count {
  background: #ffe8e3; color: #ff4b26;
}
.afc-filter-badge-ok {
  font-size: 11px; background: #d1fae5;
  color: #065f46; padding: 2px 7px;
  border-radius: 10px; font-weight: 600;
}
.afc-filter-badge-soon {
  font-size: 11px; background: #f3f4f6;
  color: #9ca3af; padding: 2px 7px;
  border-radius: 10px; font-weight: 500;
}
.afc-catalog-main { min-width: 0; }

@media (max-width: 768px) {
  .afc-catalog-layout { grid-template-columns: 1fr; }
  .afc-filter-sidebar { position: static; }
  .afc-search-bar-btn span { display: none; }
  .afc-search-bar-btn { padding: 0 16px; }
}

/* Hide any remaining material-symbols text while font loads */
.material-symbols-outlined {
  font-family: 'Font Awesome 6 Free', sans-serif !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-size: inherit;
  line-height: 1;
  display: inline-block;
  color: transparent;
  width: 1em; height: 1em;
}

/* ============================================================
   PREMIUM FINTECH DASHBOARD — Stripe / Cloudflare style override
   Appended last so it wins the cascade over legacy shell rules
   above without editing them directly.
   ============================================================ */

.afc-sidebar-dashboard-shell {
  background: #ffffff !important;
  min-height: 100vh;
}

.afc-sidebar-dashboard-shell .afc-topbar { display: none !important; }

/* --- Sidebar shell (header repurposed as the left rail) --- */
.afc-sidebar-dashboard-shell .afc-header {
  background: #fff !important;
  border-bottom: none !important;
  border-right: 1px solid #e5e7eb !important;
  box-shadow: none !important;
  position: fixed !important;
  top: 0; left: 0; bottom: 0;
  width: 232px;
  overflow-y: auto;
  z-index: 40;
}

.afc-sidebar-dashboard-shell .afc-header .afc-container,
.afc-sidebar-dashboard-shell .afc-header-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 232px !important;
  max-width: 232px !important;
  height: 100% !important;
  min-height: 100vh !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
  grid-template-columns: none !important;
}

.afc-sidebar-dashboard-shell .afc-logo {
  padding: 20px 18px 14px !important;
  border-bottom: 1px solid #f1f2f4;
  margin: 0 !important;
}
.afc-sidebar-dashboard-shell .afc-logo img {
  max-width: 128px !important;
  max-height: 34px !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tabs {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden !important;
  padding: 12px 10px;
  gap: 2px;
}
.afc-sidebar-dashboard-shell .afc-dashboard-tabs::-webkit-scrollbar { width: 4px; }
.afc-sidebar-dashboard-shell .afc-dashboard-tabs::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 4px; }

.afc-sidebar-dashboard-shell .afc-dashboard-nav-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.afc-sidebar-dashboard-shell .afc-dashboard-nav-group > span {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #9ca3af;
  padding: 6px 10px 6px;
}

.afc-sidebar-dashboard-shell .afc-dashboard-tab {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
  padding: 7px 10px;
  border-radius: 7px;
  border-left: 2px solid transparent;
  white-space: normal;
  transition: background .12s, color .12s;
}
.afc-sidebar-dashboard-shell .afc-dashboard-tab i,
.afc-sidebar-dashboard-shell .afc-dashboard-tab .material-symbols-outlined {
  font-size: 14px;
  width: 16px;
  text-align: center;
  color: #9ca3af;
  flex-shrink: 0;
}
.afc-sidebar-dashboard-shell .afc-dashboard-tab:hover {
  background: #f9fafb;
  color: #111827;
}
.afc-sidebar-dashboard-shell .afc-dashboard-tab:hover i,
.afc-sidebar-dashboard-shell .afc-dashboard-tab:hover .material-symbols-outlined {
  color: #6b7280;
}
.afc-sidebar-dashboard-shell .afc-dashboard-tab.is-active {
  background: #fff2ed;
  color: #d93b1d;
  border-left-color: #ff4b26;
  font-weight: 600;
}
.afc-sidebar-dashboard-shell .afc-dashboard-tab.is-active i,
.afc-sidebar-dashboard-shell .afc-dashboard-tab.is-active .material-symbols-outlined {
  color: #ff4b26;
}
.afc-sidebar-dashboard-shell .afc-dashboard-tab-disabled {
  opacity: .5;
  cursor: default;
}
.afc-sidebar-dashboard-shell .afc-dashboard-tab-disabled:hover {
  background: transparent;
  color: #4b5563;
}

/* --- Account card pinned to sidebar bottom --- */
.afc-sidebar-dashboard-shell .afc-dashboard-account-card {
  border-top: 1px solid #f1f2f4;
  padding: 14px 16px;
  margin-top: auto;
  flex-shrink: 0;
}
.afc-sidebar-dashboard-shell .afc-dashboard-account-main {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.afc-sidebar-dashboard-shell .afc-dashboard-account-main i,
.afc-sidebar-dashboard-shell .afc-dashboard-account-main .material-symbols-outlined {
  font-size: 24px;
  color: #d1d5db;
}
.afc-sidebar-dashboard-shell .afc-dashboard-account-main strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}
.afc-sidebar-dashboard-shell .afc-dashboard-account-main small {
  font-size: 11px;
  color: #9ca3af;
}
.afc-sidebar-dashboard-shell .afc-dashboard-account-actions {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.afc-sidebar-dashboard-shell .afc-dashboard-account-actions a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
  padding: 6px 6px;
  border-radius: 6px;
}
.afc-sidebar-dashboard-shell .afc-dashboard-account-actions a:hover { background: #f9fafb; color: #111827; }
.afc-sidebar-dashboard-shell .afc-dashboard-account-actions a.is-danger { color: #dc2626; }
.afc-sidebar-dashboard-shell .afc-dashboard-account-actions a.is-danger:hover { background: #fef2f2; }

/* --- Main content area --- */
.afc-sidebar-dashboard-shell .afc-dashboard-main {
  margin-left: 232px !important;
  background: #fbfbfc !important;
  min-height: 100vh;
  padding: 28px 0 60px;
}
.afc-sidebar-dashboard-shell .afc-dashboard-main .afc-container {
  max-width: 1080px !important;
  width: calc(100% - 64px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

@media (max-width: 900px) {
  .afc-sidebar-dashboard-shell .afc-header { position: static; width: 100%; height: auto; }
  .afc-sidebar-dashboard-shell .afc-header .afc-container,
  .afc-sidebar-dashboard-shell .afc-header-row { width: 100%; max-width: 100%; height: auto; min-height: 0; }
  .afc-sidebar-dashboard-shell .afc-dashboard-main { margin-left: 0 !important; }
}

/* --- Flatten hero / panel / stat / table (Stripe-style restraint) --- */
.afc-sidebar-dashboard-shell .afc-dashboard-hero {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 0 20px !important;
  display: block !important;
}
.afc-sidebar-dashboard-shell .afc-dashboard-hero h1 {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #0a0e17;
}
.afc-sidebar-dashboard-shell .afc-dashboard-hero p {
  font-size: 13px !important;
  color: #6b7280 !important;
  margin-top: 4px !important;
}
.afc-sidebar-dashboard-shell .afc-dashboard-hero .afc-eyebrow {
  font-size: 11px !important;
  color: #9ca3af !important;
}
.afc-sidebar-dashboard-shell .afc-member-card,
.afc-sidebar-dashboard-shell .afc-module-badge {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-panel {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}

.afc-sidebar-dashboard-shell .afc-dashboard-stats {
  gap: 10px !important;
}
.afc-sidebar-dashboard-shell .afc-dashboard-stat {
  border: 1px solid #e5e7eb !important;
  box-shadow: none !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  gap: 4px !important;
}
.afc-sidebar-dashboard-shell .afc-dashboard-stat-icon {
  width: 22px !important;
  height: 22px !important;
  border-radius: 6px !important;
  background: #f4f5f7 !important;
  color: #9ca3af !important;
}
.afc-sidebar-dashboard-shell .afc-dashboard-stat-icon i,
.afc-sidebar-dashboard-shell .afc-dashboard-stat-icon .material-symbols-outlined {
  font-size: 12px !important;
}
.afc-sidebar-dashboard-shell .afc-dashboard-stat-value {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #0a0e17 !important;
}
.afc-sidebar-dashboard-shell .afc-dashboard-stat-label {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
}

.afc-sidebar-dashboard-shell .afc-data-table { font-size: 13px !important; }
.afc-sidebar-dashboard-shell .afc-data-table th {
  background: #fafafa !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #6b7280 !important;
  padding: 10px 14px !important;
}
.afc-sidebar-dashboard-shell .afc-data-table td {
  padding: 11px 14px !important;
  font-size: 13px !important;
  color: #111827 !important;
}

/* Fix: content clipping behind fixed sidebar + add breathing room */
.afc-sidebar-dashboard-shell .afc-dashboard-main {
  margin-left: 240px !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  box-sizing: border-box !important;
}
.afc-sidebar-dashboard-shell .afc-dashboard-main .afc-container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 1040px !important;
  width: 100% !important;
}
.afc-sidebar-dashboard-shell .afc-header {
  width: 232px !important;
  box-sizing: border-box !important;
}

/* Fix: content clipping behind fixed sidebar + add breathing room */
.afc-sidebar-dashboard-shell .afc-dashboard-main {
  margin-left: 240px !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  box-sizing: border-box !important;
}
.afc-sidebar-dashboard-shell .afc-dashboard-main .afc-container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 1040px !important;
  width: 100% !important;
}
.afc-sidebar-dashboard-shell .afc-header {
  width: 232px !important;
  box-sizing: border-box !important;
}
