/* B2B Agency Portal Demo — chrome & theme overrides
   Mirrors BO-B2B visual patterns with neutral demo branding.
   Primary: #17517b | Accent: #f26f22 | Body: #f9f9f9
*/

:root {
  --b2b-primary: #17517b;
  --b2b-primary-text: #17517b;
  --b2b-secondary: #f26f22;
  --b2b-body-bg: #f9f9f9;
  --b2b-body-color: #565555;
  --b2b-green: #76bf4d;
  --b2b-red: #d81717;
  --b2b-shadow: 0 3px 10px 1px rgb(0 0 0 / 22%);
}

body.b2b-demo {
  background-color: var(--b2b-body-bg);
  color: var(--b2b-body-color);
  font-family: Roboto, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  --bs-body-font-size: 0.875rem;
}

body.b2b-demo {
  --bs-primary: #17517b;
  --bs-primary-rgb: 23, 81, 123;
  --bs-secondary: #f26f22;
  --bs-secondary-rgb: 242, 111, 34;
}

@media screen and (max-width: 1440px) {
  body.b2b-demo {
    font-size: 0.75rem;
    --bs-body-font-size: 0.75rem;
  }

  body.b2b-demo .btn {
    font-size: var(--bs-body-font-size);
  }
}

/* ---------- Header ---------- */
/* Solid white agency header (logo/credit + sub-header) ALWAYS above banner — not B2C overlay */
body.b2b-demo .b2b-header.header,
body.b2b-demo .header.b2b-header,
body.b2b-demo.b2b-dashboard-page .b2b-header.header {
  background: #fff !important;
  box-shadow: 0 3px 5px rgba(23, 81, 123, 0.2) !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0 !important;
  position: relative !important;
  z-index: 1030 !important;
  width: 100%;
}

body.b2b-demo .b2b-header .headerContent {
  padding-bottom: 0.5rem;
}

body.b2b-demo .b2b-header .logo-placeholder,
body.b2b-demo .b2b-header .b2b-logo-mark {
  color: #fff !important;
  text-shadow: none !important;
  font-size: 14px !important;
}

body.b2b-demo .b2b-header .headerRight {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
}

body.b2b-demo .b2b-header .headerRight .user {
  justify-content: flex-end;
}

body.b2b-demo .b2b-header .logo {
  max-width: 180px;
}

body.b2b-demo .b2b-header .logo .b2b-logo-img,
body.b2b-demo .header.b2b-header .logo img {
  display: block;
  max-width: 180px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}

body.b2b-demo .b2b-header .logo .b2b-logo-mark,
body.b2b-demo .logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 50px;
  max-height: 50px;
  padding: 0 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, #17517b, #0e3a58);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
}

body.b2b-demo .b2b-header .user small,
body.b2b-demo .b2b-header .user span {
  color: var(--b2b-primary-text);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

body.b2b-demo .b2b-header .user span {
  font-weight: 400;
  margin-right: 4px;
}

body.b2b-demo .b2b-header .credit.borderRight {
  border-top: 2px dotted #ced4da;
  margin-top: 4px;
  padding-top: 4px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 0.5rem;
  white-space: nowrap;
}

body.b2b-demo .b2b-header .credit small {
  color: var(--b2b-primary-text);
  font-weight: 400;
  font-size: 0.875rem;
}

body.b2b-demo .b2b-header .credit strong {
  color: var(--b2b-secondary) !important;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Sub-header — mirror BO header.scss / NavBar.scss exactly.
   Must beat B2C demo-overrides.css (.header .cus-support white-on-dark !important). */
body.b2b-demo .b2b-header .sub-header {
  border-top: 1px solid rgba(23, 81, 123, 0.2);
  padding-top: 10px;
  padding-bottom: 10px;
  background: #fff !important;
  position: relative;
  z-index: 1;
}

body.b2b-demo .b2b-header .sub-header .quick-Search {
  align-items: center;
  margin: 0;
  /* Zero row gutters so Quick Search left edge = pageNav / content
     (all share only .container horizontal padding) */
  --bs-gutter-x: 0;
}

body.b2b-demo .b2b-header .sub-header .headerLeft {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

body.b2b-demo .b2b-header .sub-header .sub-headerRight {
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  flex: 1 1 auto !important;
  width: auto !important;
  gap: 0;
  padding-right: 0;
  padding-left: 0;
}

body.b2b-demo .b2b-header .searchtab {
  position: relative;
  z-index: 102;
  display: flex;
  align-items: center;
}

/* Quick Search — mirror BO react-select #quiSear (160px control + icon + separator + chevron) */
body.b2b-demo .b2b-header .searchtab #quiSear.b2b-qs-control,
body.b2b-demo .b2b-header .searchtab .b2b-qs-control {
  position: relative;
  display: block;
  width: 160px;
  max-width: 160px;
  min-height: 38px;
  height: 38px;
  background: #fff;
  border: 1px solid hsl(0, 0%, 80%);
  border-radius: 4px;
  box-sizing: border-box;
}

body.b2b-demo .b2b-header .searchtab .b2b-qs-control:focus-within {
  border-color: #2684ff;
  box-shadow: 0 0 0 1px #2684ff;
}

body.b2b-demo .b2b-header .searchtab .serch-icon {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 3;
  color: #565555;
  line-height: 1;
}

body.b2b-demo .b2b-header .searchtab .b2b-qs-select,
body.b2b-demo .b2b-header .searchtab #quiSearSelect {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 2px 36px 2px 26px !important;
  border: 0 !important;
  border-radius: 4px;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  font-size: var(--bs-body-font-size, 0.875rem);
  color: #808080;
  line-height: 34px;
  cursor: pointer;
  outline: none;
  z-index: 1;
}

body.b2b-demo .b2b-header .searchtab .b2b-qs-select option {
  color: #565555;
  line-height: normal;
}

body.b2b-demo .b2b-header .searchtab .b2b-qs-select.has-value {
  color: #565555;
}

body.b2b-demo .b2b-header .searchtab .b2b-qs-separator {
  position: absolute;
  top: 8px;
  bottom: 8px;
  right: 28px;
  width: 1px;
  background: hsl(0, 0%, 80%);
  z-index: 2;
  pointer-events: none;
}

body.b2b-demo .b2b-header .searchtab .b2b-qs-indicator {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cccccc;
  font-size: 11px;
  pointer-events: none;
  z-index: 2;
  line-height: 1;
}

body.b2b-demo .b2b-header .searchtab .leftForm {
  display: none;
  position: relative;
  min-width: 120px;
  margin-left: 10px;
  border-left: 0;
}

body.b2b-demo .b2b-header .searchtab .leftForm.show {
  display: block;
}

body.b2b-demo .b2b-header .searchtab .leftForm .form-control {
  padding: 0.375rem 2rem 0.375rem 0.75rem;
  min-height: 38px;
  height: 38px;
  font-size: var(--bs-body-font-size, 0.875rem);
  border: 1px solid hsl(0, 0%, 80%);
  border-radius: 4px;
}

body.b2b-demo .b2b-header .searchtab .leftForm .serc-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  font-size: 12px;
  opacity: 0.4;
  padding: 0;
  color: #565555;
  line-height: 1;
}

/* 24/7 Support — BO .cus-support bordered shell + .support toggle + caret */
body.b2b-demo .header .cus-support,
body.b2b-demo .b2b-header .sub-header .cus-support {
  border: 1px solid var(--b2b-primary) !important;
  border-radius: 4px !important;
  background: #fff !important;
}

body.b2b-demo .header .cus-support .btn.support,
body.b2b-demo .b2b-header .sub-header .cus-support > .btn.support {
  color: var(--b2b-primary-text) !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  font-size: var(--bs-body-font-size, 0.875rem) !important;
  background: #fff !important;
  border: 0 !important;
  padding: calc(var(--bs-body-font-size, 0.875rem) / 3)
    calc(var(--bs-body-font-size, 0.875rem) / 2) !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  min-height: 38px;
  height: 38px;
  box-sizing: border-box;
}

body.b2b-demo .header .cus-support .btn.support i,
body.b2b-demo .b2b-header .sub-header .cus-support > .btn.support i {
  margin-right: 4px !important;
  color: var(--b2b-primary) !important;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

body.b2b-demo .header .cus-support .btn.support .bi,
body.b2b-demo .b2b-header .sub-header .cus-support > .btn.support .bi {
  font-size: 1.25rem !important;
  color: var(--b2b-primary) !important;
  width: 22px;
  height: 22px;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Support keeps Bootstrap caret (BO does); only ham hides ::after */
body.b2b-demo .header .cus-support .btn.support::after,
body.b2b-demo .b2b-header .sub-header .cus-support > .btn.support::after {
  display: inline-block !important;
  margin-left: 0.4em !important;
  color: var(--b2b-primary-text) !important;
  border-top-color: var(--b2b-primary-text) !important;
  opacity: 1 !important;
  vertical-align: 0.15em;
}

body.b2b-demo .b2b-header .sub-header .online-recharge {
  white-space: nowrap;
  text-decoration: none !important;
  font-size: var(--bs-body-font-size, 0.875rem);
  padding: calc(var(--bs-body-font-size, 0.875rem) / 3)
    calc(var(--bs-body-font-size, 0.875rem) / 2);
  min-height: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--b2b-primary) !important;
  color: var(--b2b-primary-text) !important;
  background: #fff !important;
  border-radius: 4px;
  line-height: 1;
  box-sizing: border-box;
}

body.b2b-demo .b2b-header .sub-header .online-recharge:hover {
  text-decoration: none !important;
  background: var(--b2b-primary) !important;
  color: #fff !important;
  border-color: var(--b2b-primary) !important;
}

body.b2b-demo .b2b-header .btn.sm {
  font-size: var(--bs-body-font-size, 0.875rem);
  line-height: 1.25;
}

/* BO Navbar: variant="outline-primary" — closed = white; open/hover = filled primary */
body.b2b-demo .hamBurgerMenu > .btn,
body.b2b-demo .hamBurgerMenu .dropdown-toggle {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--b2b-primary) !important;
  color: var(--b2b-primary) !important;
  background: #fff !important;
  border-radius: 0.25rem;
  box-shadow: none !important;
}

body.b2b-demo .hamBurgerMenu .dropdown-toggle::after {
  display: none !important;
}

body.b2b-demo .hamBurgerMenu .dropdown-toggle i,
body.b2b-demo .hamBurgerMenu .dropdown-toggle .bi {
  font-size: 1.15rem;
  line-height: 1;
  color: var(--b2b-primary);
}

body.b2b-demo .hamBurgerMenu .dropdown-toggle:hover,
body.b2b-demo .hamBurgerMenu .dropdown-toggle:focus,
body.b2b-demo .hamBurgerMenu .dropdown-toggle:active,
body.b2b-demo .hamBurgerMenu .dropdown-toggle.show,
body.b2b-demo .hamBurgerMenu.show > .dropdown-toggle,
body.b2b-demo .hamBurgerMenu > .btn[aria-expanded='true'] {
  background: var(--b2b-primary) !important;
  color: #fff !important;
  border-color: var(--b2b-primary) !important;
}

body.b2b-demo .hamBurgerMenu .dropdown-toggle:hover i,
body.b2b-demo .hamBurgerMenu .dropdown-toggle:focus i,
body.b2b-demo .hamBurgerMenu .dropdown-toggle:active i,
body.b2b-demo .hamBurgerMenu .dropdown-toggle.show i,
body.b2b-demo .hamBurgerMenu.show > .dropdown-toggle i,
body.b2b-demo .hamBurgerMenu > .btn[aria-expanded='true'] i,
body.b2b-demo .hamBurgerMenu .dropdown-toggle:hover .bi,
body.b2b-demo .hamBurgerMenu .dropdown-toggle:focus .bi,
body.b2b-demo .hamBurgerMenu .dropdown-toggle:active .bi,
body.b2b-demo .hamBurgerMenu .dropdown-toggle.show .bi,
body.b2b-demo .hamBurgerMenu.show > .dropdown-toggle .bi,
body.b2b-demo .hamBurgerMenu > .btn[aria-expanded='true'] .bi {
  color: #fff !important;
}

body.b2b-demo .b2b-header .sub-header.highlight {
  background-color: var(--b2b-primary) !important;
  border-top-color: rgba(255, 255, 255, 0.15);
  border-bottom: 0;
  margin-bottom: 0;
}

body.b2b-demo .b2b-header .sub-header.highlight .cus-support {
  border: 1px solid #fff !important;
  border-radius: 4px;
  background-color: #fff !important;
}

body.b2b-demo .b2b-header .sub-header.highlight .cus-support > .btn.support {
  color: var(--b2b-primary-text) !important;
  background: #fff !important;
}

body.b2b-demo .b2b-header .sub-header.highlight .online-recharge {
  text-decoration: none !important;
  background-color: #fff !important;
  color: var(--b2b-primary-text) !important;
  border-color: #fff !important;
}

body.b2b-demo .b2b-header .sub-header.highlight .hamBurgerMenu > .btn {
  background-color: #fff !important;
  color: var(--b2b-primary-text) !important;
  border-color: #fff !important;
}

body.b2b-demo .b2b-header .sub-header.highlight .hamBurgerMenu > .btn:hover,
body.b2b-demo .b2b-header .sub-header.highlight .hamBurgerMenu > .btn:focus,
body.b2b-demo .b2b-header .sub-header.highlight .hamBurgerMenu > .btn.show,
body.b2b-demo .b2b-header .sub-header.highlight .hamBurgerMenu > .btn[aria-expanded='true'] {
  background-color: #fff !important;
  color: var(--b2b-primary) !important;
  border-color: #fff !important;
}

body.b2b-demo .b2b-header .sub-header.highlight .hamBurgerMenu > .btn:hover i,
body.b2b-demo .b2b-header .sub-header.highlight .hamBurgerMenu > .btn:focus i,
body.b2b-demo .b2b-header .sub-header.highlight .hamBurgerMenu > .btn.show i,
body.b2b-demo .b2b-header .sub-header.highlight .hamBurgerMenu > .btn[aria-expanded='true'] i,
body.b2b-demo .b2b-header .sub-header.highlight .hamBurgerMenu > .btn:hover .bi,
body.b2b-demo .b2b-header .sub-header.highlight .hamBurgerMenu > .btn:focus .bi,
body.b2b-demo .b2b-header .sub-header.highlight .hamBurgerMenu > .btn.show .bi,
body.b2b-demo .b2b-header .sub-header.highlight .hamBurgerMenu > .btn[aria-expanded='true'] .bi {
  color: var(--b2b-primary) !important;
}

/* Keep older selectors from breaking */
body.b2b-demo .b2b-qs-select-wrap {
  display: none;
}

body.b2b-demo .hamBurgerMenu,
body.b2b-demo .cus-support {
  position: relative !important;
}

/* BO NavBar.scss — white panel, $box-shadow, $gap1 padding */
body.b2b-demo .hamBurgerMenu .dropdown-menu,
body.b2b-demo .cus-support .dropdown-menu {
  --bs-dropdown-spacer: 0;
  display: none !important;
  position: absolute !important;
  inset: auto 0 auto auto !important;
  top: 100% !important;
  left: auto !important;
  right: 0 !important;
  transform: none !important;
  translate: none !important;
  z-index: 1050 !important;
  background: #fff;
  box-shadow: var(--b2b-shadow);
  padding: var(--bs-body-font-size, 0.875rem);
  min-width: 200px;
  border: 0;
  border-radius: 0.375rem;
  margin: 0 !important;
  margin-top: 0 !important;
}

body.b2b-demo .hamBurgerMenu .dropdown-menu.show,
body.b2b-demo .cus-support .dropdown-menu.show {
  display: block !important;
  top: 100% !important;
  margin-top: 0 !important;
  transform: none !important;
}

/* Menu flush under toggle — match BO react-bootstrap (no spacer gap) */
body.b2b-demo .hamBurgerMenu.dropdown,
body.b2b-demo .cus-support.dropdown {
  position: relative !important;
}

body.b2b-demo .sub-header {
  overflow: visible !important;
}

body.b2b-demo .sub-headerRight {
  overflow: visible !important;
}

body.b2b-demo .hamBurgerMenu .dropdown-menu > .row,
body.b2b-demo .cus-support .dropdown-menu > .row {
  flex-direction: row;
  flex-wrap: nowrap;
  margin: 0;
}

body.b2b-demo .hamBurgerMenu .dropdown-menu > .row > .col,
body.b2b-demo .cus-support .dropdown-menu > .row > .col {
  padding-left: 0;
  padding-right: 0;
}

body.b2b-demo .hamBurgerMenu .dropdown-menu a,
body.b2b-demo .cus-support .dropdown-menu a {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 3px 0.375rem;
  color: var(--b2b-primary-text);
  white-space: nowrap;
  font-size: var(--bs-body-font-size, 0.875rem);
  border-radius: 6px;
}

body.b2b-demo .hamBurgerMenu .dropdown-menu a strong,
body.b2b-demo .cus-support .dropdown-menu a strong {
  color: var(--b2b-primary-text);
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: none;
}

/* BO $gray-100 hover + 6px radius */
body.b2b-demo .hamBurgerMenu .dropdown-menu a:hover,
body.b2b-demo .hamBurgerMenu .dropdown-menu a.active,
body.b2b-demo .cus-support .dropdown-menu a:hover {
  text-decoration: none;
  background-color: #f8f9fa;
  border-radius: 6px;
}

body.b2b-demo .hamBurgerMenu .navicon,
body.b2b-demo .cus-support .navicon {
  color: var(--b2b-primary);
  margin-right: 6px;
  font-size: 1rem;
  line-height: 1;
}

body.b2b-demo .cus-support .navicon.whatsapp {
  color: var(--b2b-green);
}

body.b2b-demo .cus-support .navicon.mail {
  color: orange;
}

/* Match original screenshot — Online Recharge visible in ham menu */
body.b2b-demo .hamBurgerMenu .navOnlineLink {
  display: flex !important;
}

/* BO: logout btn btn-sm btn-danger w-100 → #d81717 */
body.b2b-demo .hamBurgerMenu .logout,
body.b2b-demo .hamBurgerMenu .btn-danger.logout {
  margin-top: 0;
  width: 100%;
  background-color: var(--b2b-red) !important;
  border-color: var(--b2b-red) !important;
  color: #fff !important;
  font-size: var(--bs-body-font-size, 0.875rem);
  font-weight: 400;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  line-height: 1.5;
  box-shadow: none;
}

body.b2b-demo .hamBurgerMenu .logout:hover,
body.b2b-demo .hamBurgerMenu .logout:focus {
  background-color: #b81414 !important;
  border-color: #b81414 !important;
  color: #fff !important;
}

/* ---------- Page nav — exact BO NavBar.scss .pageNav ---------- */
body.b2b-demo .pageNav {
  background-color: var(--b2b-primary);
  margin-bottom: 0;
  /* Flush under highlight sub-header — one continuous blue band */
  margin-top: 0;
}

body.b2b-demo .pageNav .container {
  display: block; /* BO: Container wraps inline-flex links; not flex row */
}

body.b2b-demo .pageNav a {
  padding: 10px;
  position: relative;
  color: #fff;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: var(--bs-body-font-size, 0.875rem);
  font-weight: 400;
  line-height: normal;
  gap: 0;
  border-bottom: 2px solid var(--b2b-primary);
}

body.b2b-demo .pageNav a.active {
  border-bottom: 2px solid var(--b2b-primary);
}

/* BO: upward triangle (body-bg) under active tab */
body.b2b-demo .pageNav a.active::after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  border-width: 0 10px 10px 10px;
  border-color: transparent transparent #f9f9f9 transparent;
  border-style: solid;
  bottom: -2px;
  left: 50%;
  margin-left: -10px;
}

body.b2b-demo .pageNav a:hover {
  text-decoration: none;
  color: #fff;
  border-bottom: 2px solid #f9f9f9;
}

/* BO svg.navicon { margin-right: 6px } */
body.b2b-demo .pageNav .navicon {
  margin-right: 6px;
  font-size: 1rem;
  line-height: 1;
  color: #fff;
}

/* Add Inventory / Manage Inventory — rotate airplane icon */
body.b2b-demo .pageNav .navicon.bi-airplane {
  display: inline-block;
  transform: rotate(90deg);
}

body.b2b-demo.b2b-section-page #section-nav {
  margin: 0;
  padding: 0;
  line-height: 0;
}

body.b2b-demo.b2b-section-page #section-nav .pageNav {
  line-height: normal;
}

/* ---------- Buttons / forms themed ---------- */
body.b2b-demo .btn-primary,
body.b2b-demo .btn-secondary {
  background-color: var(--b2b-secondary) !important;
  border-color: var(--b2b-secondary) !important;
  color: #fff !important;
}

body.b2b-demo .btn-primary:hover,
body.b2b-demo .btn-secondary:hover {
  filter: brightness(0.95);
}

body.b2b-demo .btn-outline-primary {
  color: var(--b2b-primary) !important;
  border-color: var(--b2b-primary) !important;
  background: transparent;
}

body.b2b-demo .btn-outline-primary:hover {
  background: var(--b2b-primary) !important;
  color: #fff !important;
}

/* Active tab = $secondary (BO dashboard.scss) — not primary */
body.b2b-demo .dbsTabs span.active,
body.b2b-demo .dasboardSearch .dbsTabs .active {
  background: var(--b2b-secondary);
  color: #fff;
}

body.b2b-demo .dashboardBanner {
  background: var(--b2b-primary);
}

body.b2b-demo .dashboard .dashboardBanner::after,
body.b2b-demo .dashboardBanner:after {
  /* keep curved cutout feel if present */
}

/* Soften B2C orange overrides toward B2B primary for chrome pieces */
body.b2b-demo .header:not(.b2b-header) .btn-secondary {
  background: var(--b2b-secondary);
}

body.b2b-demo a.text-primary,
body.b2b-demo .text-primary {
  color: var(--b2b-primary) !important;
}

/* ---------- Dashboard listing — see b2b-dashboard-layout.css (BO match) ---------- */

body.b2b-demo .b2b-offer-strip {
  margin: 1.5rem 0;
}

body.b2b-demo .b2b-offer-card {
  background: #fff;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--b2b-secondary);
  height: 100%;
}

body.b2b-demo .b2b-offer-card strong {
  display: block;
  color: var(--b2b-primary-text);
  margin-bottom: 0.25rem;
}

body.b2b-demo .b2b-offer-card span {
  color: #6c757d;
  font-size: 0.875rem;
}

/* ---------- Section pages ---------- */
body.b2b-demo.b2b-section-page #section-content {
  padding-bottom: 2.5rem;
}

body.b2b-demo .b2b-section-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

body.b2b-demo .b2b-section-card h4 {
  color: var(--b2b-primary-text);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

body.b2b-demo .b2b-section-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: end;
}

body.b2b-demo .b2b-section-toolbar .form-floating,
body.b2b-demo .b2b-section-toolbar .form-group {
  min-width: 160px;
}

body.b2b-demo .b2b-table {
  width: 100%;
  font-size: 0.875rem;
}

body.b2b-demo .b2b-table thead th {
  background: #eef3f7;
  color: var(--b2b-primary-text);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid #dee2e6;
}

body.b2b-demo .b2b-table td {
  vertical-align: middle;
}

body.b2b-demo .b2b-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: #6c757d;
}

body.b2b-demo .badge-status-confirmed {
  background: var(--b2b-green) !important;
}

body.b2b-demo .badge-status-hold {
  background: var(--b2b-secondary) !important;
}

/* ---------- Login (match BO-B2B LoginForm + App.scss scale; white-label like B2C) ---------- */
body.b2b-login {
  margin: 0;
  min-height: 100vh;
  background: #f8f9fa;
  font-family: Roboto, 'Segoe UI', sans-serif;
  font-size: var(--bs-body-font-size, 0.875rem);
  color: #565555;
  overflow: hidden;
}

/* Same scale rule as BO-B2B App.scss — keeps login compact on typical laptop widths */
@media screen and (max-width: 1440px) {
  body.b2b-login {
    --bs-body-font-size: 0.75rem;
    font-size: 0.75rem;
  }

  body.b2b-login .btn {
    --bs-btn-font-size: var(--bs-body-font-size);
  }
}

body.b2b-login .notification {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  min-width: 260px;
  max-width: 90vw;
  font-size: var(--bs-body-font-size);
  box-shadow: var(--b2b-shadow);
}

body.b2b-login .login-page {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

body.b2b-login .loginImg {
  padding: 0;
}

body.b2b-login .loginImg .login-aside {
  height: 100vh;
  overflow: hidden;
  position: relative;
  background: #17517b;
}

body.b2b-login .loginImg .login-aside .carousel,
body.b2b-login .loginImg .login-aside .carousel-inner,
body.b2b-login .loginImg .login-aside .carousel-item {
  height: 100%;
}

body.b2b-login .loginImg .login-aside img {
  max-width: 100%;
  height: 100vh;
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

body.b2b-login .loginImg .carousel-indicators {
  margin-bottom: 1.25rem;
}

body.b2b-login .loginImg .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.55);
  border: 0;
  opacity: 1;
}

body.b2b-login .loginImg .carousel-indicators .active {
  background-color: #fff;
}

body.b2b-login .login-block {
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

body.b2b-login .login-body {
  padding: 100px 20% 1rem;
  flex: 1;
  overflow: hidden;
  padding-bottom: 4.5rem;
}

body.b2b-login .login-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 10%;
}

/* Cap Bootstrap fluid headings — original login feels compact */
body.b2b-login .login-body h2 {
  color: var(--b2b-primary-text);
  font-size: calc(var(--bs-body-font-size) * 2);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.15rem;
}

body.b2b-login .lpSubTitle {
  font-weight: 300;
  color: var(--b2b-primary-text);
  margin-bottom: 36px;
  font-size: calc(var(--bs-body-font-size) * 1.25);
  line-height: 1.3;
}

body.b2b-login .login-body .form-floating {
  position: relative;
}

/* Match BO login fields — compact control + label on border (App.scss) */
body.b2b-login .login-body .form-floating > .form-control {
  height: calc(2.5rem + 2px) !important;
  min-height: calc(2.5rem + 2px) !important;
  padding: 0.6rem 2.25rem 0.6rem 36px !important;
  font-size: var(--bs-body-font-size);
  line-height: 1.25;
  color: #565555;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  box-shadow: none !important;
}

body.b2b-login .login-body .form-floating > .form-control:focus {
  border-color: #adb5bd;
  box-shadow: none !important;
}

body.b2b-login .login-body .form-floating > .form-control::placeholder {
  color: transparent !important;
}

body.b2b-login .login-body .form-floating > .field-icon {
  position: absolute;
  top: 50%;
  margin-top: -0.5em;
  left: 10px;
  color: var(--b2b-primary, #17517b);
  font-size: var(--bs-body-font-size);
  line-height: 1;
  z-index: 5;
  pointer-events: none;
}

body.b2b-login .login-body .form-floating > label {
  margin-left: 26px;
  font-size: var(--bs-body-font-size);
  padding: 0.5rem 0.75rem;
  color: rgba(86, 85, 85, 0.7);
  width: auto;
  height: 100%;
  max-width: calc(100% - 2.5rem);
}

/* BO App.scss — floated label sits on top border with page-bg cutout */
body.b2b-login .login-body .form-floating > .form-control:focus ~ label,
body.b2b-login
  .login-body
  .form-floating
  > .form-control:not(:placeholder-shown)
  ~ label {
  transform: scale(0.85) translateY(-0.8rem) translateX(0.15rem) !important;
  background-color: #f8f9fa !important;
  background: linear-gradient(
    0deg,
    #f8f9fa 0%,
    #f8f9fa 40%,
    rgba(248, 249, 250, 0) 100%
  ) !important;
  color: var(--b2b-primary-text, #17517b) !important;
  opacity: 1 !important;
  padding: 0 0.25rem !important;
  height: auto !important;
  margin-left: 0.5rem !important;
  font-weight: 500 !important;
  z-index: 6;
}

body.b2b-login .login-body .form-floating .toggle-password {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  cursor: pointer;
  color: var(--b2b-primary, #17517b);
  z-index: 6;
  font-size: calc(var(--bs-body-font-size) * 1.15);
  line-height: 1;
}

body.b2b-login .login-body .form-control.errorBrd {
  border-color: var(--b2b-red);
}

body.b2b-login .login-inline-error {
  color: var(--b2b-red);
  font-size: var(--bs-body-font-size);
  font-weight: 500;
  margin: 0.75rem 0 0;
  line-height: 1.35;
  min-height: 1.35em;
  visibility: hidden;
}

body.b2b-login .login-inline-error.is-visible {
  visibility: visible;
}

body.b2b-login .button-block {
  padding: 1rem 0 20px;
}

body.b2b-login .button-block .btn-lg {
  padding: 0.55rem 1rem;
  font-size: calc(var(--bs-body-font-size) * 1.15);
}

body.b2b-login .button-block a {
  color: #2643e4;
  text-decoration: none;
  font-size: var(--bs-body-font-size);
}

body.b2b-login .button-block a:hover {
  text-decoration: underline;
}

body.b2b-login .bottomLink {
  display: flex;
  justify-content: center;
  padding-top: 5px;
  padding-bottom: 20px;
  font-size: var(--bs-body-font-size);
}

body.b2b-login .login-footer {
  border-top: 1px solid rgba(23, 81, 123, 0.2);
  padding: 10px 30px 10px 20px;
  align-items: center;
  position: absolute;
  width: 50%;
  bottom: 0;
  left: 0;
  margin: 0;
  background: #f8f9fa;
  z-index: 2;
}

body.b2b-login .login-footer .left-footer {
  min-width: 62%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

body.b2b-login .login-footer .left-footer a {
  font-size: 12px;
  text-decoration: none;
  color: #000;
  font-weight: 400;
  padding-left: 20px;
}

body.b2b-login .login-footer .left-footer a:first-child {
  padding-left: 0;
}

body.b2b-login .login-footer .left-footer a:hover {
  color: var(--b2b-primary-text);
}

body.b2b-login .login-footer .payment {
  display: flex;
  justify-content: flex-end;
  min-width: 38%;
}

body.b2b-login .login-footer .payment img {
  border-radius: 8px;
  margin-top: auto;
  background: #dee2e6;
  max-height: 30px;
  max-width: 100%;
}

/* OTP modal — match BO LoginForm.scss .loginpopup + .otpBlock */
body.b2b-login .modal-backdrop {
  z-index: 1040;
  background-color: rgba(0, 0, 0, 0.45);
}

body.b2b-login .loginpopup.modal {
  z-index: 1060;
}

body.b2b-login .loginpopup .modal-dialog {
  min-width: auto;
  max-width: 420px;
  width: calc(100% - 2rem);
  z-index: 1061;
  position: relative;
}

body.b2b-login .loginpopup .modal-content {
  border-radius: 0;
  border: 0;
  background: #fff;
  position: relative;
  z-index: 1;
  box-shadow: none;
}

body.b2b-login .loginpopup .modal-body {
  padding: 0;
}

body.b2b-login .loginpopup .loginHeader {
  padding: 0;
  height: 0;
  position: relative;
  border: 0;
  min-height: 0;
}

body.b2b-login .loginpopup .loginHeader .btn-close {
  position: absolute;
  right: -13px;
  top: -13px;
  border-radius: 50%;
  padding: 6px;
  width: 1.5rem;
  height: 1.5rem;
  z-index: 999;
  background-color: #fff;
  opacity: 1;
  margin: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

body.b2b-login .loginpopup .login-pagePop {
  margin: 0;
}

body.b2b-login .loginpopup .loginBlock {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.b2b-login .loginpopup .loginBody {
  padding: 10px 10%;
}

/* BO .loginpopup .loginBody h3 + .otpBlock */
body.b2b-login .otpBlock h3 {
  margin-top: 26px;
  margin-bottom: 0;
  font-size: calc(var(--bs-body-font-size, 0.875rem) * 2.2);
  font-weight: 600;
  color: var(--b2b-primary-text);
  line-height: 1.25;
}

body.b2b-login .otpBlock h5 {
  font-size: calc(var(--bs-body-font-size, 0.875rem) * 1.2);
  color: var(--b2b-primary-text);
  font-weight: 400;
  margin: 0.35rem 0 0;
  line-height: 1.4;
}

/* Email line — bold like original */
body.b2b-login .otpBlock h5#otp-email-display {
  font-weight: 700;
  color: var(--b2b-primary-text);
  margin-top: 0.15rem;
}

body.b2b-login .otpBlock .otpField {
  margin-top: 1.5rem;
}

body.b2b-login .otpBlock .otpTitle {
  color: var(--b2b-primary-text);
  display: block;
  padding-bottom: 10px;
  font-size: var(--bs-body-font-size, 0.875rem);
  font-weight: 400;
}

/* "Didn't recieve OTP? 52s" — light gray (match original screenshot) */
body.b2b-login .otpBlock .otpField > span:not(.otpTitle) {
  color: #adb5bd;
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 10px;
  align-items: center;
  font-size: var(--bs-body-font-size, 0.875rem);
}

body.b2b-login .otpBlock .otpField .timer {
  display: flex;
  color: #adb5bd;
  padding-left: 4px;
}

body.b2b-login .otpBlock .otpField .timer a {
  color: var(--b2b-primary);
  cursor: pointer;
  text-decoration: none;
}

body.b2b-login .otpBlock .otpField .timer a:hover {
  text-decoration: underline;
}

/* BO underline OTP slots — 40×40, border-bottom only */
body.b2b-login .otpBlock .otpInput {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.875rem;
  gap: 0;
}

body.b2b-login .otpBlock .otpInputField {
  height: 40px;
  width: 40px;
  max-width: 40px;
  flex: 0 0 40px;
  font-size: calc(var(--bs-body-font-size, 0.875rem) * 1.6);
  text-align: center;
  border-width: 0 0 2px 0;
  border-style: solid;
  border-color: transparent;
  border-bottom-color: #adb5bd;
  background: transparent;
  border-radius: 0;
  padding: 0;
  color: var(--b2b-primary-text);
  box-shadow: none;
}

body.b2b-login .otpBlock .otpInputField:focus,
body.b2b-login .otpBlock .otpInputField:focus-visible {
  outline: none;
  border-width: 0 0 2px 0;
  border-bottom-color: var(--b2b-secondary);
  box-shadow: none;
}

body.b2b-login .otpBlock .button-block {
  padding: 1.25rem 0 24px;
  margin-top: 1rem;
}

/* Verify — dark navy like original (not orange Login) */
body.b2b-login .otpBlock .button-block .btn-primary {
  background-color: var(--b2b-primary-text);
  border-color: var(--b2b-primary-text);
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 500;
  padding: 0.65rem 1rem;
}

body.b2b-login .otpBlock .button-block .btn-primary:hover,
body.b2b-login .otpBlock .button-block .btn-primary:focus {
  background-color: #134567;
  border-color: #134567;
  color: #fff;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  body.b2b-login .login-body {
    padding: 60px 12% 4.5rem;
  }
}

/* ---------- Online recharge / booking details ---------- */
body.b2b-demo .b2b-recharge-card .payment-option {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

body.b2b-demo .b2b-recharge-card .payment-option:hover,
body.b2b-demo .b2b-recharge-card .payment-option.active {
  border-color: var(--b2b-primary);
  box-shadow: 0 0 0 2px rgba(23, 81, 123, 0.12);
}

body.b2b-demo .b2b-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

body.b2b-demo .b2b-detail-grid .label {
  font-size: 0.75rem;
  color: #6c757d;
  display: block;
}

body.b2b-demo .b2b-detail-grid .value {
  color: var(--b2b-primary-text);
  font-weight: 600;
}

body.b2b-demo .b2b-detail-grid .value.status-hold {
  color: var(--b2b-secondary);
}

body.b2b-demo .b2b-detail-grid .value.status-confirmed {
  color: var(--b2b-green);
}

body.b2b-demo .thankYouConfirm,
body.b2b-demo .confirmationNotice.alert-warning {
  border-radius: 8px;
}

/* Hide B2C-only marketing chrome when B2B listing is present */
body.b2b-demo .b2b-hide-b2c-marketing .faqSection,
body.b2b-demo .b2b-hide-b2c-marketing .flightRoutes,
body.b2b-demo .b2b-hide-b2c-marketing .dbContent,
body.b2b-demo .b2b-hide-b2c-marketing .bestOffers {
  display: none !important;
}

/* Mobile */
@media (max-width: 767.98px) {
  body.b2b-demo .m-hide {
    display: none !important;
  }

  body.b2b-demo .m-show {
    display: inline !important;
  }

  body.b2b-demo .b2b-header .headerRight {
    align-items: flex-end;
  }

  body.b2b-demo .b2b-header .sub-headerRight .online-recharge {
    display: none;
  }

  body.b2b-demo .hamBurgerMenu .navOnlineLink {
    display: flex;
  }

  /* BO Responsive.scss .pageNav mobile */
  body.b2b-demo .pageNav {
    padding-top: 5px;
  }

  body.b2b-demo .pageNav a {
    padding: 2px 10px;
    margin-bottom: 5px;
    font-size: var(--bs-body-font-size, 0.875rem);
  }

  body.b2b-demo .pageNav a.active {
    background-color: #fff;
    color: var(--b2b-primary-text);
    border-bottom: none;
    border-radius: 4px;
  }

  body.b2b-demo .pageNav a.active::after {
    display: none;
  }

  body.b2b-demo .pageNav a:hover {
    border: none;
  }

  body.b2b-demo .pageNav a.active .navicon {
    color: var(--b2b-primary-text);
  }

  /* Login mobile left as-is for this pass (desktop parity only) */
  body.b2b-login {
    overflow: auto;
  }

  body.b2b-login .login-page {
    height: auto;
    min-height: 100vh;
  }

  body.b2b-login .login-block {
    height: auto;
    min-height: 100vh;
  }

  body.b2b-login .login-body {
    padding: 2rem 1.25rem 6rem;
  }

  body.b2b-login .login-footer {
    position: relative;
    width: 100%;
  }
}

@media (min-width: 768px) {
  body.b2b-demo .m-show {
    display: none !important;
  }
}

/* ========== B2B Dashboard (match agency portal UI) ========== */
body.b2b-dashboard-page {
  background: #f9f9f9;
}

body.b2b-demo .dashboardBanner {
  background: #17517b;
  min-height: 360px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

body.b2b-demo .dashboardBanner .react-slideshow-fadezoom-wrapper {
  height: 360px;
  background: #17517b;
}

body.b2b-demo .dashboardBanner .react-slideshow-fadezoom-wrapper:after {
  position: absolute;
  content: "";
  display: block;
  bottom: -140px;
  left: 50%;
  width: 110%;
  height: 220px;
  border-radius: 84%;
  background-color: #f9f9f9;
  margin-left: -55%;
  z-index: 2;
}

body.b2b-demo .b2b-hero-slide {
  position: relative;
  width: 100%;
  min-height: 360px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0, transparent 40%),
    linear-gradient(110deg, #0e3d5e 0%, #1a5f8c 45%, #2a7aa8 100%);
  color: #fff;
}

body.b2b-demo .b2b-hero-slide .banner-cont {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  position: relative;
  z-index: 3;
  min-height: 280px;
}

body.b2b-demo .b2b-fd-ribbon {
  display: inline-block;
  background: #f26f22;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.b2b-demo .b2b-fd-diamonds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 420px;
  margin-bottom: 14px;
}

body.b2b-demo .b2b-fd-diamonds span {
  background: linear-gradient(135deg, #ffb347, #f26f22);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 10px 14px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  min-width: 88px;
  text-align: center;
  line-height: 1.1;
}

body.b2b-demo .b2b-hero-slide h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  text-shadow: 0 2px rgba(0,0,0,0.2);
}

body.b2b-demo .b2b-hero-slide p {
  max-width: 420px;
  opacity: 0.92;
  margin: 0;
}

body.b2b-demo .b2b-hero-figure {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 2.5rem;
  color: #ffd27a;
}

/* Search overlay — owned by b2b-dashboard-layout.css (exact BO dashboard.scss) */

/* Announcement / promos / listing chrome owned by b2b-dashboard-layout.css (BO match) */

/* Flight bookings tabs — owned by b2b-dashboard-layout.css */

body.b2b-demo .b2b-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #6c757d;
  font-weight: 500;
}

/* Dark B2B footer — match BO footer.scss + Footer.jsx */
body.b2b-demo .footer.b2b-footer {
  background-color: #17517b;
  background-size: contain;
  background-position: center 30px;
  background-repeat: no-repeat;
  color: #fff;
  margin-top: calc(0.875rem * 2);
  padding-top: calc(0.875rem * 2);
  padding-bottom: calc(0.875rem * 2);
  border-top: 0;
}

body.b2b-demo .footer.b2b-footer .container > .row + .row {
  margin-top: calc(0.875rem * 2);
  display: flex;
  align-items: center;
}

body.b2b-demo .footer.b2b-footer .container > .row + .row.footerBottom {
  justify-content: space-between;
  padding: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.b2b-demo .footer.b2b-footer h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 0.875rem;
}

body.b2b-demo .footer.b2b-footer a {
  color: #ced4da;
  text-decoration: none;
  display: block;
  margin-bottom: calc(0.875rem / 2);
  font-size: 0.875rem;
  padding: 0;
  width: auto;
}

body.b2b-demo .footer.b2b-footer a:hover {
  color: #fff;
  text-decoration: none;
}

body.b2b-demo .header.b2b-header .logo img {
  display: block;
  max-width: 180px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}

body.b2b-demo .footer.b2b-footer .footerLogo img,
body.b2b-demo .footer.b2b-footer .b2b-logo-img {
  display: block;
  max-width: 120px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}

body.b2b-demo .footer.b2b-footer .logo-on-dark {
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  box-sizing: content-box;
}

/* Follow us — BO Fa*Square icons (all four filled squares) */
body.b2b-demo .footer.b2b-footer .socialLinks {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0;
  margin-bottom: 0;
}

body.b2b-demo .footer.b2b-footer .socialLinks a {
  display: inline-flex;
  margin-right: 5px;
  margin-bottom: 0;
  padding: 0;
  color: #ced4da;
  line-height: 0;
  width: auto;
}

body.b2b-demo .footer.b2b-footer .socialLinks a:hover,
body.b2b-demo .footer.b2b-footer .socialLinks a:hover svg {
  color: #fff;
}

body.b2b-demo .footer.b2b-footer .socialLinks a svg {
  width: calc(0.875rem * 2);
  height: calc(0.875rem * 2);
  display: block;
  color: #ced4da;
}

/* BNI + IATA — BO .bni-iata */
body.b2b-demo .footer.b2b-footer .bni-iata {
  max-width: 150px;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 0 15px;
  margin-top: 20px;
  display: block;
  box-sizing: border-box;
}

body.b2b-demo .footer.b2b-footer .bni-iata img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
}

body.b2b-demo .footer.b2b-footer .copyrights {
  display: flex;
  align-items: center;
  font-size: 0.765625rem;
  color: #dee2e6;
}

body.b2b-demo .footer.b2b-footer .payment {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

body.b2b-demo .footer.b2b-footer .payment img {
  border-radius: 8px;
  background: #dee2e6;
  max-height: 30px;
  max-width: 100%;
  height: auto;
  display: block;
}

body.b2b-demo .footer.b2b-footer .pay-pill {
  display: none;
}

@media (max-width: 1023px) {
  body.b2b-demo .footer.b2b-footer .payment {
    display: flex !important; /* beat app.css B2C hide */
  }

  body.b2b-demo .footer.b2b-footer .bni-iata {
    display: block !important;
  }
}

@media (max-width: 991.98px) {
  body.b2b-demo .footer.b2b-footer .bni-iata {
    display: block;
    max-width: 150px;
    margin-top: 20px;
    padding: 0 15px;
  }

  body.b2b-demo .footer.b2b-footer .payment {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  body.b2b-demo .footer.b2b-footer .socialLinks {
    justify-content: center;
  }

  body.b2b-demo .footer.b2b-footer .followus-col {
    text-align: center;
  }

  body.b2b-demo .footer.b2b-footer .followus-col .bni-iata {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 767.98px) {
  body.b2b-demo .footer.b2b-footer .payment {
    display: flex;
    justify-content: center;
    margin-top: 0.75rem;
  }

  body.b2b-demo .footer.b2b-footer .container > .row + .row.footerBottom {
    flex-direction: column;
    align-items: center;
  }

  body.b2b-demo .footer.b2b-footer .copyrights {
    justify-content: center;
  }
}

@media (max-width: 639px) {
  body.b2b-demo .footer.b2b-footer .container .row .col .bni-iata,
  body.b2b-demo .footer.b2b-footer .followus-col h3 {
    display: block;
  }

  body.b2b-demo .footer.b2b-footer .socialLinks {
    display: flex;
  }

  body.b2b-demo .footer.b2b-footer .container .payment {
    display: flex !important;
  }
}

body.b2b-demo .demo-airport-popup {
  position: absolute;
  top: 100%;
  left: 0;
  width: 300px;
  max-height: 280px;
  overflow: auto;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 50;
  padding: 0.5rem 0;
}

body.b2b-demo .demo-airport-popup li {
  list-style: none;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  border-bottom: 1px solid #f1f3f5;
}

body.b2b-demo .demo-airport-popup li:hover {
  background: #f3f7fa;
}

body.b2b-demo .demo-airport-popup strong {
  display: block;
  color: #17517b;
  font-size: 0.9rem;
}

body.b2b-demo .demo-airport-popup span {
  display: block;
  color: #6c757d;
  font-size: 0.75rem;
}

body.b2b-demo .demo-airport-popup em {
  float: right;
  font-style: normal;
  font-weight: 700;
  color: #f26f22;
  margin-top: -1.6rem;
}

@media (max-width: 991.98px) {
  body.b2b-demo .searchPanel .sField {
    border-right: 0;
    border-bottom: 1px solid #eee;
  }
  body.b2b-demo .searchPanel .sBtn {
    width: 100%;
    padding: 10px 0 0;
  }
  body.b2b-demo .searchPanel .sBtn .btn {
    width: 100%;
  }
  body.b2b-demo .b2b-hero-slide .bimg {
    display: none;
  }
  body.b2b-demo .dasboardSearch {
    margin-top: -80px;
  }
}
