/* =====================================================
   BOOKINGS — confirmation pages (all modules) + global popups
   Loaded on every panel page except login (see default-layout.php).
   1. base travelimp__* layout (was inline in the flight confirmation view only)
   2. modern confirmation layer (status hero, panels, options sidebar)
   3. card / list-group confirmation pages (hotel, holiday, visa ...)
   4. global modal design
===================================================== */

/* ---------- 1. BASE (from Flight booking-confirmation-page.php) ---------- */
.flight-confirmation {
   padding: 40px 0;
   background: #f8fafc;
}

.travelimp__thanku {
   background: rgb(255 255 255 / 35%);
   padding: 30px 0;
   color: var(--text-dark);
   border-bottom: 1px solid #dedede;
}

.travelimp__thanku--statuscontent {
   font-size: 18px;
   font-weight: 600;
}

.travelimp__thanku--statussize {
   display: inline-block;
   margin-left: 8px;
   font-size: 26px;
   font-weight: 700;
}

.travelimp__thanku--bookingIdShow {
   /* margin-top: 10px; */
   font-size: 15px;
   margin-bottom: 0;
}

.travelimp__thanku--redirectid {
   color: var(--text-dark);
   text-decoration: underline;
   font-weight: 600;
}


.travelimp__thanku--redirectid:hover {
   color: var(--text-dark);
}

.travelimp__thanku--panelHeadwrap {
   background: var(--bg-white);
   border-radius: var(--radius-md);
   box-shadow: var(--shadow-light);
   margin-bottom: 25px;
   overflow: hidden;
   padding: 20px;
}

.travelimp__thanku--panelHeading {
   background: var(--primary);
   color: var(--white);
   border-radius: var(--radius-sm);
   padding: 14px 20px;
   font-size: 18px;
   margin: 0px 0px 20px 0px;
   font-weight: 600;
}

.travelimp__thanku--tripdate {
   font-weight: 500;
   margin-left: 15px;
}

.travelimp__thanku--arrowIcon {
   color: var(--primary-light);
   margin: 0 10px;
}

.airline-logo {
   width: 55px;
   height: 55px;
   object-fit: contain;
   border-radius: 50%;
   border: 1px solid var(--border-medium);
   padding: 4px;
}

.travelimp__segmentwrap {
   padding: 15px 0;
}

.travelimp__segmentwrap--flightul,
.travelimp__segmentwrap--airportul,
.travelimp__segmentwrap--stoparrowul {
   list-style: none;
   padding: 0;
   margin: 0;
}

.travelimp__segmentwrap--flightname {
   font-weight: 600;
   color: var(--text-dark);
}

.travelimp__segmentwrap--flightcode {
   font-size: 13px;
   color: var(--text-light);
}

.travelimp__segmentwrap--airportlist {
   font-weight: 600;
   color: var(--primary);
}

.travelimp__segmentwrap--airportname {
   font-size: 14px;
   color: var(--text-light);
   line-height: 1.6;
}

.travelimp__segmentwrap--terminaltext {
   color: var(--primary);
   font-weight: 600;
}

.travelimp__segmentwrap--stoparrowlist {
   text-align: center;
   background: rgba(6, 106, 130, .1);
   color: var(--primary);
   padding: 8px 15px;
   border-radius: 50px;
   font-size: 13px;
   font-weight: 600;
}

/* =============================
BAGGAGE
============================= */

.travelimp__segmentwrap--baggageInfo {
   background: #f7fafc;
   border: 1px solid #dedede;
   border-left: 4px solid var(--primary);
   padding: 15px;
   border-radius: var(--radius-sm);
   margin-top: 15px;
}

.travelimp__segmentwrap--baggageInfo p {
   margin-bottom: 5px;
}

.travelimp__segmentwrap--baggagecheckin {
   color: var(--primary);
   font-weight: 600;
}

/* =============================
FARE TYPE BADGE
============================= */

.travelimp__segmentwrap--fareidentifire {
   background: var(--primary-light);
   color: #fff;
   padding: 8px 14px;
   border-radius: 30px;
   display: inline-block;
   margin-top: 10px;
   font-size: 12px;
   font-weight: 600;
}

/* =============================
PASSENGER TABLE
============================= */

.travelimp__thanku--tablewrap {
   margin-bottom: 0;
}

.travelimp__thanku--tablewrap thead {
   background: var(--primary);
   color: var(--white);
}

.travelimp__thanku--tablewrap th {
   border: none;
   padding: 14px;
}

.travelimp__thanku--tablewrap td {
   vertical-align: middle;
   padding: 14px;
}

.travelimp__thanku--tablewrap tbody tr:hover {
   background: rgba(6, 106, 130, .05);
}

.art-pnrstatus {
   color: var(--primary);
   font-weight: 600;
}

/* =============================
IMPORTANT INFO
============================= */

.travelimp__termswrap--termsul {
   list-style: none;
   padding: 0px;
   margin: 0;
}

.travelimp__termswrap--termslist {
   position: relative;
   padding-left: 28px;
   margin-bottom: 12px;
   color: var(--text-light);
}

.travelimp__termswrap--termslist::before {
   content: "✓";
   position: absolute;
   left: 0;
   top: 0;
   color: var(--primary);
   font-weight: bold;
}

/* =============================
RIGHT SIDEBAR
============================= */

.travelimp__thanku--rightside {
   background: var(--bg-white);
   border-radius: var(--radius-md);
   box-shadow: var(--shadow-light);
   overflow: hidden;
   position: sticky;
   top: 20px;
}

.travelimp__thanku--moreoptions {
   list-style: none;
   margin: 0;
   padding: 0;
}

.travelimp__thanku--morelist {
   border-bottom: 1px solid var(--border-light);
   padding: 16px 18px;
   cursor: pointer;
   transition: var(--transition);

   display: flex;
   align-items: center;
   justify-content: space-between;
}

.travelimp__thanku--morelist:hover {
   background: rgba(6, 106, 130, .06);
}

.travelimp__thanku--morecontent {
   color: var(--text-dark);
   font-weight: 600;
}

.travelimp__thanku--moreicons {
   color: var(--primary);
   font-size: 18px;
}

.travelimp__thanku--anchorlink {
   display: flex;
   justify-content: space-between;
   align-items: center;
   width: 100%;
   text-decoration: none;
}

/* =============================
BUTTONS
============================= */

.btn-primary,
.btn-success,
.btn-tts-markup {
   background: var(--tts-buttton-bg);
   border-color: var(--tts-buttton-bg);
   color: var(--tts-buttton-txt);
   border-radius: 8px;
   padding: 10px 22px;
   transition: var(--transition);
}

.btn-primary:hover,
.btn-success:hover,
.btn-tts-markup:hover {
   background: var(--tts-buttton-bg1);
   border-color: var(--tts-buttton-bg1);
   color: var(--tts-buttton-txt1);
}

/* =============================
STATUS COLORS
============================= */

.tts-text-success {
   color: #28a745 !important;
}

.tts-text-danger {
   color: #dc3545 !important;
}

/* =============================
RESPONSIVE
============================= */

@media (max-width: 991px) {

   .travelimp__thanku--rightside {
      position: relative;
   }

   .travelimp__thanku--flightFlex {
      flex-direction: column;
      align-items: flex-start;
   }

   .travelimp__thanku--tripdate {
      margin-left: 0;
      margin-top: 5px;
   }

   .travelimp__segmentwrap {
      text-align: center;
   }

   .airline-logo {
      margin-right: 10px;
   }
}

@media (max-width: 767px) {

   .travelimp__thanku {
      padding: 20px 0;
   }

   .travelimp__thanku--statussize {
      display: block;
      margin-top: 8px;
   }

   .travelimp__thanku--panelHeading {
      font-size: 16px;
   }
}

/* Fare Summary */
.travelimp__thanku--fareul {
   list-style: none;
   padding: 0;
   margin: 0;
   background: var(--white);
   border: 1px solid var(--border-medium);
   border-radius: var(--radius-md);
   overflow: hidden;
}

.travelimp__thanku--fareulborder {
   border-bottom: 1px solid var(--border-light);
}

.travelimp__thanku--fareulborder:last-child {
   border-bottom: none;
}

.travelimp__thanku--fareullist {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 14px 18px;
   margin: 0;
   font-size: 14px;
   color: var(--text-dark);
   transition: var(--transition);
}

.travelimp__thanku--fareullist:hover {
   background: rgba(6, 106, 130, 0.05);
}

.travelimp__thanku--fareullist span:first-child {
   font-weight: 500;
   color: var(--text-light);
}

.travelimp__thanku--fareullist span:last-child {
   font-weight: 600;
   color: var(--primary);
}

/* Total Fare */
.travelimp__thanku--fareulborder:nth-last-child(2) .travelimp__thanku--fareullist,
.travelimp__thanku--fareulborder:last-child .travelimp__thanku--fareullist {
   background: linear-gradient(135deg,
         rgba(6, 106, 130, 0.08),
         rgba(245, 129, 26, 0.08));
}

.travelimp__thanku--fareulborder:nth-last-child(2) .travelimp__thanku--fareullist span,
.travelimp__thanku--fareulborder:last-child .travelimp__thanku--fareullist span {
   font-size: 15px;
   font-weight: 700;
}

/* Mobile */
@media (max-width: 767px) {
   .travelimp__thanku--fareullist {
      padding: 12px 15px;
      font-size: 13px;
   }

   .travelimp__thanku--fareullist span:last-child {
      font-size: 14px;
   }
}

/* =====================================================
   MODERN CONFIRMATION LAYER — every module's confirmation page.
   .b2b prefix beats any page-level inline <style>.
===================================================== */
.b2b .flight-confirmation {
  padding: 22px 0 56px;
  background: var(--bg);
}

.b2b .bk-hero.travelimp__thanku {
  padding: 26px 0;
  color: #fff;
  border: 0;
  background:
    radial-gradient(520px 200px at 92% 0%, color-mix(in srgb, #fff, transparent 88%), transparent 70%),
    linear-gradient(110deg, var(--primary-deep), var(--primary-dark) 60%, var(--primary) 140%);
}

.b2b .bk-hero--ok.travelimp__thanku {
  background:
    radial-gradient(520px 200px at 92% 0%, color-mix(in srgb, #fff, transparent 88%), transparent 70%),
    linear-gradient(110deg, color-mix(in srgb, var(--success), #000 45%), var(--success) 140%);
}

.b2b .bk-hero--bad.travelimp__thanku {
  background:
    radial-gradient(520px 200px at 92% 0%, color-mix(in srgb, #fff, transparent 88%), transparent 70%),
    linear-gradient(110deg, color-mix(in srgb, var(--danger), #000 45%), var(--danger) 140%);
}

.b2b .bk-hero__inner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.b2b .bk-hero__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
}

.b2b .bk-hero--wait .bk-hero__icon i {
  animation: bk-tilt 2.4s ease-in-out infinite;
}

@keyframes bk-tilt {
  0%, 40% { transform: rotate(0); }
  50%, 90% { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}

.b2b .bk-hero h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.b2b .bk-hero p {
  max-width: 720px;
  margin: 4px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.b2b .bk-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.b2b .bk-hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 13.5px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.b2b .bk-hero__chips span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.b2b .bk-hero__chips a,
.b2b .bk-hero__chips strong {
  font-weight: 800;
  color: #fff;
}

.b2b .bk-hero__chips a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* journey + passenger + fare panels */
.b2b .travelimp__thanku--panelHeadwrap {
  margin-bottom: 14px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 28px -24px rgba(15, 27, 51, 0.45);
}

.b2b .travelimp__thanku--panelHeading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 800;
  color: var(--heading);
  background: transparent;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

.b2b .travelimp__thanku--arrowIcon {
  color: var(--primary);
}

.b2b .travelimp__thanku--tripdate {
  padding: 2px 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
}

.b2b .travelimp__thanku--panelHeadwrap > *:not(.travelimp__thanku--flightFlex):not(.travelimp__thanku--panelHeading) {
  margin-left: 20px;
  margin-right: 20px;
}

.b2b .travelimp__thanku--panelHeadwrap > .row {
  padding-top: 16px;
}

.b2b .travelimp__thanku--panelHeadwrap > :last-child {
  margin-bottom: 18px;
}

.b2b :is(.flight-confirmation, .travelimp__thanku--leftside, .travelimp__thanku--panelHeadwrap) .airline-logo {
  width: 40px;
  height: 40px;
  padding: 3px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.b2b .travelimp__segmentwrap--flightname {
  font-size: 14px;
  font-weight: 800;
  color: var(--heading);
}

.b2b .travelimp__segmentwrap--flightcode,
.b2b .travelimp__segmentwrap--airportname,
.b2b .travelimp__segmentwrap--terminaltext {
  font-size: 12.5px;
  color: var(--text-muted);
}

.b2b .travelimp__segmentwrap--airportlist:first-child {
  font-size: 15px;
  font-weight: 800;
  color: var(--heading);
}

.b2b .travelimp__segmentwrap--stoparrowlist {
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--success);
  background: color-mix(in srgb, var(--success), #fff 90%);
  border: 0;
  border-radius: 999px;
}

.b2b .travelimp__segmentwrap--fareidentifire {
  display: inline-flex;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary);
  background: var(--secondary-soft);
  border-radius: 6px;
}

.b2b .travelimp__segmentwrap--baggageInfo {
  padding: 10px 14px;
  font-size: 13px;
  background: var(--bg);
  border: 0;
  border-left: 3px solid var(--primary);
  border-radius: 10px;
}

/* passenger table */
.b2b .travelimp__thanku--tablewrap,
.b2b :is(.flight-confirmation, .travelimp__thanku--leftside, .travelimp__thanku--panelHeadwrap) .table {
  margin: 0;
  font-size: 13.5px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.b2b .travelimp__thanku--tablewrap thead,
.b2b .travelimp__thanku--tablewrap th,
.b2b :is(.flight-confirmation, .travelimp__thanku--leftside, .travelimp__thanku--panelHeadwrap) .table thead th {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg) !important;
  border: 0;
  border-bottom: 1px solid var(--border);
}

.b2b .travelimp__thanku--tablewrap td,
.b2b :is(.flight-confirmation, .travelimp__thanku--leftside, .travelimp__thanku--panelHeadwrap) .table td {
  padding: 11px 14px;
  vertical-align: middle;
  border: 0;
  border-bottom: 1px solid var(--border);
}

.b2b :is(.flight-confirmation, .travelimp__thanku--leftside, .travelimp__thanku--panelHeadwrap) .table tbody tr:last-child td {
  border-bottom: 0;
}

/* fare summary list */
.b2b .travelimp__thanku--fareul {
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.b2b .travelimp__thanku--fareullist {
  padding: 10px 16px;
  font-size: 13.5px;
  border-bottom: 1px dashed var(--border);
}

.b2b .travelimp__thanku--fareullist span:last-child {
  font-weight: 700;
  color: var(--heading);
}

.b2b .travelimp__thanku--fareulborder:last-child .travelimp__thanku--fareullist {
  font-size: 15px;
  background: var(--primary-soft);
  border-bottom: 0;
}

.b2b .travelimp__thanku--fareulborder:last-child .travelimp__thanku--fareullist span {
  font-weight: 800;
  color: var(--primary-dark);
}

.b2b :is(.flight-confirmation, .travelimp__thanku--leftside, .travelimp__thanku--panelHeadwrap) .btn-tts-markup {
  color: var(--primary);
  background: var(--primary-soft);
  border: 0;
  border-radius: 10px;
}

/* terms */
.b2b .travelimp__termswrap--termslist {
  font-size: 13px;
  color: var(--text);
}

/* right column: actions list / waiting card */
.b2b .travelimp__thanku--rightside {
  position: sticky;
  top: 16px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 28px -24px rgba(15, 27, 51, 0.45);
}

.b2b .travelimp__thanku--moreoptions {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.b2b .travelimp__thanku--morelist {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.b2b .travelimp__thanku--morelist:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.b2b .travelimp__thanku--moreicons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 13px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 9px;
}

.b2b .travelimp__thanku--anchorlink {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  color: inherit;
  text-decoration: none;
}

.b2b .bk-side-wait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 18px !important;
  text-align: center;
}

.b2b .bk-side-wait > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 20px;
  color: #b45309;
  background: #fef3c7;
  border-radius: 50%;
}

.b2b .bk-side-wait strong {
  font-size: 15px;
  color: var(--heading);
}

.b2b .bk-side-wait small {
  margin-bottom: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.b2b .bk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--on-primary);
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
}

.b2b .bk-btn:hover {
  color: var(--on-primary);
}

.b2b .bk-btn--ghost {
  color: var(--primary);
  background: var(--primary-soft);
}

.b2b .bk-btn--ghost:hover {
  color: var(--on-primary);
  background: var(--primary);
}


/* ---------- 2b. OPTIONS SIDEBAR (travelimp__thanku--rightside, all modules) ---------- */
.b2b .travelimp__thanku--rightside {
  position: sticky;
  top: 16px;
  padding: 0 !important;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 28px -24px rgba(15, 27, 51, 0.45);
}

.b2b .travelimp__thanku--rightside:not(.bk-side-wait)::before {
  content: "Manage booking";
  display: block;
  padding: 14px 18px 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--heading);
  background: var(--primary-soft);
  border-bottom: 1px solid var(--border);
}

.b2b .travelimp__thanku--moreoptions {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 8px;
  list-style: none;
}

.b2b .travelimp__thanku--morelist {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin: 0;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  background: transparent;
  border: 0 !important;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.b2b .travelimp__thanku--morelist:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

/* icon on the left, chevron on the right */
.b2b .travelimp__thanku--morelist .travelimp__thanku--moreicons {
  order: -1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 13px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 10px;
}

.b2b .travelimp__thanku--morelist .travelimp__thanku--morecontent {
  flex: 1 1 auto;
}

.b2b .travelimp__thanku--morelist::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-top: 1.6px solid var(--text-muted);
  border-right: 1.6px solid var(--text-muted);
  transform: rotate(45deg);
}

.b2b .travelimp__thanku--anchorlink {
  display: flex !important;
  flex: 1 1 auto;
  align-items: center;
  gap: 12px;
  color: inherit !important;
  text-decoration: none !important;
}

.b2b .travelimp__thanku--anchorlink .travelimp__thanku--moreicons {
  order: -1;
}

/* colour per action (matched on the existing ng-click / href) */
.b2b .travelimp__thanku--morelist[ng-click*="PrintTicket"] .travelimp__thanku--moreicons {
  color: var(--primary);
  background: var(--primary-soft);
}

.b2b .travelimp__thanku--morelist[ng-click*="EmailTicket"] .travelimp__thanku--moreicons {
  color: #7c3aed;
  background: #f3e8ff;
}

.b2b .travelimp__thanku--morelist:has([href*="AgencyInvoice"]) .travelimp__thanku--moreicons,
.b2b .travelimp__thanku--morelist[ng-click*="AgencyInvoice"] .travelimp__thanku--moreicons {
  color: var(--success);
  background: color-mix(in srgb, var(--success), #fff 90%);
}

.b2b .travelimp__thanku--morelist:has([href*="CustomerInvoice"]) .travelimp__thanku--moreicons,
.b2b .travelimp__thanku--morelist[ng-click*="CustomerInvoice"] .travelimp__thanku--moreicons {
  color: #0891b2;
  background: #cffafe;
}

.b2b .travelimp__thanku--morelist:has([href*="/details/"]) .travelimp__thanku--moreicons,
.b2b .travelimp__thanku--morelist:has([href*="amendment"]) .travelimp__thanku--moreicons,
.b2b .travelimp__thanku--morelist[ng-click*="mendment"] .travelimp__thanku--moreicons {
  color: var(--secondary);
  background: var(--secondary-soft);
}

/* plain (non-hero) status header used by most modules */
.b2b .travelimp__thanku:not(.bk-hero) {
  padding: 18px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.b2b .travelimp__thanku:not(.bk-hero) .travelimp__thanku--statuscontent {
  font-size: 18px;
  font-weight: 800;
  color: var(--heading);
}

.b2b .travelimp__thanku:not(.bk-hero) .travelimp__thanku--statussize {
  margin-left: 6px;
  padding: 2px 12px;
  font-size: 15px;
  vertical-align: middle;
  border-radius: 999px;
}

.b2b .travelimp__thanku .tts-text-success {
  color: var(--success) !important;
  background: color-mix(in srgb, var(--success), #fff 90%);
}

.b2b .travelimp__thanku .tts-text-danger {
  color: var(--danger) !important;
  background: color-mix(in srgb, var(--danger), #fff 92%);
}

.b2b .travelimp__thanku:not(.bk-hero) .travelimp__thanku--bookingIdShow {
  display: inline-flex;
  gap: 6px;
  margin: 8px 8px 0 0;
  padding: 4px 10px;
  font-size: 13px;
  background: var(--bg);
  border-radius: 8px;
}

.b2b .travelimp__thanku:not(.bk-hero) .travelimp__thanku--redirectid {
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

/* white text was only readable on the old solid-blue headings */
/* .b2b .travelimp__thanku--panelHeadwrap .text-white,
.b2b .travelimp__thanku--panelHeading .text-white {
  color: var(--primary) !important;
} */

.b2b .travelimp__thanku--panelHeadwrap .text-white:hover {
  color: var(--primary-dark) !important;
}

/* tour guide / activity hero photo stays a sensible size */
.b2b .travelimp__thanku--panelHeadwrap img:not(.airline-logo) {
  max-height: 260px;
  object-fit: cover;
  border-radius: 14px;
}

/* ---------- 3. CARD / LIST-GROUP CONFIRMATION PAGES (hotel, holiday, visa, bus ...) ---------- */
.b2b .dashboard-section .card .list-group-flush {
  padding: 6px;
}

.b2b .dashboard-section .card .list-group-flush .list-group-item {
  position: relative;
  margin: 0;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  border: 0;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.b2b .dashboard-section .card .list-group-flush .list-group-item + .list-group-item {
  margin-top: 2px;
}

.b2b .dashboard-section .card .list-group-flush .list-group-item:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.b2b .dashboard-section .card .list-group-flush .list-group-item i:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 10px !important;
  font-size: 12.5px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 9px;
}

.b2b .dashboard-section .card .list-group-flush .list-group-item a {
  color: inherit;
  text-decoration: none;
}

.b2b .dashboard-section .card .list-group-flush .list-group-item > .fa-chevron-right {
  font-size: 11px;
  color: var(--text-muted);
}

/* ---------- 4. GLOBAL MODAL DESIGN (every popup in the panel) ---------- */
.b2b .modal-backdrop.show {
  background: rgb(6 14 30);
  opacity: 0.55;
}

.b2b .modal-content {
  overflow: hidden;
  background: var(--surface);
  border: 0;
  border-radius: 18px;
  box-shadow: 0 30px 70px -30px rgba(6, 14, 30, 0.6);
}

.b2b .modal-header {
  position: relative;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--primary-soft);
  border-bottom: 1px solid var(--border);
}

.b2b .modal-header .modal-title,
.b2b .modal-header > h1,
.b2b .modal-header > h2,
.b2b .modal-header > h3,
.b2b .modal-header > h4,
.b2b .modal-header > h5,
.b2b .modal-header > h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: none;
  color: var(--heading);
}

.b2b .modal-header .btn-close {
  width: 32px;
  height: 32px;
  margin: 0 0 0 auto;
  padding: 0;
  background-size: 11px;
  background-color: var(--surface);
  border-radius: 9px;
  opacity: 0.8;
}

.b2b .modal-header .btn-close:hover {
  opacity: 1;
}

/* popups that put their title in the body: the empty header becomes a floating close button,
   and the body title takes the header's place */
.b2b .modal-header:not(:has(.modal-title, h1, h2, h3, h4, h5, h6)) {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 0;
  background: transparent;
  border: 0;
}

.b2b .modal-body > .modal-title:first-child,
.b2b .modal-content > form > .modal-body > .modal-title:first-child,
.b2b .modal-body > h5.modal-title:first-of-type {
  margin: -20px -20px 18px !important;
  padding: 16px 56px 16px 20px;
  font-size: 16px;
  font-weight: 800;
  color: var(--heading);
  background: var(--primary-soft);
  border-bottom: 1px solid var(--border);
}

.b2b .modal-body {
  padding: 20px;
  font-size: 14px;
  color: var(--text);
}

.b2b .modal-body label,
.b2b .modal-body .form-label,
.b2b .modal-body .col-form-label {
  margin-bottom: 6px;
  padding-top: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--heading);
}

.b2b .modal-body .form-control,
.b2b .modal-body .form-select {
  min-height: 42px;
  font-size: 14px;
  color: var(--heading);
  background-color: var(--field);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  box-shadow: none;
}

.b2b .modal-body textarea.form-control {
  min-height: 90px;
}

.b2b .modal-body .form-control:focus,
.b2b .modal-body .form-select:focus {
  background-color: var(--surface);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-ring);
}

.b2b .modal-body .form-control[readonly] {
  background-color: var(--bg);
}

/* radio / checkbox options become tappable tiles */
.b2b .modal-body .form-check-inline,
.b2b .modal-body .form-check:not(.form-switch) {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
}

.b2b .modal-body .form-check-inline:has(.form-check-input:checked),
.b2b .modal-body .form-check:not(.form-switch):has(.form-check-input:checked) {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.b2b .modal-body .form-check .form-check-input,
.b2b .modal-body .form-check-inline .form-check-input {
  float: none;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
}

.b2b .modal-body .form-check-label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
}

.b2b .modal-body .table {
  font-size: 13.5px;
}

.b2b .modal-body .table thead th {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg);
}

.b2b .modal-footer {
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.b2b .modal-footer > * {
  margin: 0;
}

/* primary actions inside any popup */
.b2b .modal .btn-primary,
.b2b .modal input[type="submit"].btn,
.b2b .modal button[type="submit"].btn:not(.btn-outline-secondary):not(.btn-light),
.b2b .modal .new-blue-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--on-primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 0;
  border-radius: 10px;
  box-shadow: 0 10px 20px -12px var(--primary);
}

.b2b .modal .btn-primary:hover,
.b2b .modal input[type="submit"].btn:hover,
.b2b .modal button[type="submit"].btn:hover {
  color: var(--on-primary);
  filter: brightness(1.05);
}

.b2b .modal .btn-secondary,
.b2b .modal .btn-outline-secondary,
.b2b .modal .btn-light {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
}

.b2b .modal .btn-danger {
  min-height: 42px;
  padding: 0 18px;
  font-weight: 700;
  border-radius: 10px;
}

@media (max-width: 575px) {
  .b2b .modal-dialog {
    margin: 12px;
  }
}

.b2b .modal-body button[type="submit"],
.b2b .modal-body input[type="submit"] {
  margin-top: 14px;
}

/* tour guide / activity offer photos on confirmation pages */
.b2b .travelimp__thanku--leftside img.w-100,
.b2b .flight-confirmation img.w-100 {
  max-height: 240px;
  object-fit: cover;
  border-radius: 14px;
}

/* ---------- 5. PANEL-WIDE CARD + TABLE REFRESH (.dashboard-section) ---------- */
.b2b .dashboard-section .card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 28px -26px rgba(15, 27, 51, 0.5);
}

.b2b .dashboard-section .card > .card-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

/* old grey accent bar */
.b2b .dashboard-section .card .card-header::after {
  display: none;
}

.b2b .dashboard-section .card > .card-header :is(h5, h6, .card-title) {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--heading);
}

/* lavender table headers -> neutral uppercase */
.b2b .dashboard-section .table thead th,
.b2b .dashboard-section .custom-table thead th:first-child {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-muted);
  background: var(--bg);
}

.b2b .dashboard-section .table td {
  color: var(--text);
}

.b2b .dashboard-section .table tbody tr:hover td {
  background: color-mix(in srgb, var(--primary-soft), var(--surface) 40%);
}

/* status strip at the top of hotel / holiday / visa confirmations */
.b2b .dashboard-section > .container > .card:first-child > .card-header:only-child,
.b2b .page-content.travelimp__thanku {
  background: var(--primary-soft);
}

/* a submit button wrapped in .form-check is not an option tile */
.b2b .modal-body .form-check:has(> button, > input[type="submit"]),
.b2b .modal-body .form-check-inline:has(> button, > input[type="submit"]) {
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
}

/* breathing room between stacked fields that have no wrapper */
.b2b .modal-body :is(.form-control, .form-select) + :is(label, .form-label) {
  display: block;
  margin-top: 14px;
}

.b2b .modal-body .form-group + .form-group,
.b2b .modal-body .mb-3 {
  margin-bottom: 14px;
}

/* holiday-style popups wrap the submit row in a .form-check */
.b2b .modal-body .form-check:has(button[type="submit"], input[type="submit"]) {
  justify-content: center;
  margin-top: 6px;
  padding: 0;
  background: transparent;
  border: 0;
}

.b2b .modal-body .form-check .print-ticket-button {
  width: 100%;
}

/* markup popups: each field sits in a .floating-label block */
.b2b .modal-body .floating-label + .floating-label {
  margin-top: 14px;
}

.b2b .modal-body .floating-label label {
  display: block;
}

/* ---------- 6. LIST TABLES: STATUS PILLS, REF NO, PAGER, DATE-PICKER ---------- */
/* pills are added by js/b2b-tables.js from the status text */
.b2b .dashboard-section .b2b-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  text-transform: capitalize;
  border-radius: 999px;
}

.b2b .dashboard-section .b2b-pill::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.b2b .dashboard-section .b2b-pill--ok {
  color: #15803d;
  background: #dcfce7;
}

.b2b .dashboard-section .b2b-pill--bad {
  color: #b91c1c;
  background: #fee2e2;
}

.b2b .dashboard-section .b2b-pill--wait {
  color: #b45309;
  background: #fef3c7;
}

.b2b .dashboard-section .b2b-pill--info {
  color: #1d4ed8;
  background: #dbeafe;
}

.b2b .dashboard-section .b2b-pill--neutral {
  color: var(--text-muted);
  background: var(--bg);
}

/* booking reference column */
.b2b .dashboard-section td.b2b-ref > a,
.b2b .dashboard-section td.b2b-ref > .b2b-ref__tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--primary-ring, var(--primary-soft-2));
  border-radius: 7px;
}

.b2b .dashboard-section td.b2b-ref > a:hover {
  color: var(--on-primary);
  text-decoration: none;
  background: var(--primary);
  border-color: var(--primary);
}

/* CodeIgniter pager (ul.pagination > li > a) and Bootstrap .page-link */
.b2b .dashboard-section .card-footer:has(.pagination) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.b2b .dashboard-section .card-footer:has(.pagination) .card-text {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
}

.b2b .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.b2b .pagination li {
  margin: 0;
}

.b2b .pagination li a,
.b2b .pagination li span,
.b2b .pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px !important;
  transition: background .15s, border-color .15s, color .15s;
}

.b2b .pagination li a:hover,
.b2b .pagination .page-link:hover {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: var(--primary);
}

.b2b .pagination li.active a,
.b2b .pagination li.active span,
.b2b .pagination .active .page-link {
  color: var(--on-primary);
  background: var(--primary);
  border-color: var(--primary);
}

.b2b .pagination li.disabled a,
.b2b .pagination .disabled .page-link {
  opacity: .5;
  pointer-events: none;
}

/* jQuery UI sets the picker to the input's z-index + 1, so sticky table heads, the header and popups covered it */
#ui-datepicker-div,
.ui-datepicker {
  z-index: 1090 !important;
}

/* ---------- 7. BOOKING DETAILS PAGES (bk-detail, every module) ---------- */ */
.b2b .bk-detail {
  padding: 24px 0 56px;
  background: var(--bg);
}

.b2b .bk-detail > .container > .row > .col-lg-12 > .d-flex > .card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--heading);
}

.b2b .bk-detail .btn-light.rounded-pill {
  padding: 8px 14px !important;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  background: var(--surface);
  border: 1.5px solid var(--border) !important;
}

.b2b .bk-detail .btn-light.rounded-pill:hover {
  color: var(--on-primary);
  background: var(--primary);
  border-color: var(--primary) !important;
}

.b2b .bk-detail .card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 28px -24px rgba(15, 27, 51, 0.45);
}

.b2b .bk-detail .card .card-header {
  padding: 14px 20px !important;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.b2b .bk-detail .card .card-header::after {
  display: none;
}

.b2b .bk-detail .card .card-header h5,
.b2b .bk-detail .card .card-header h6 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--heading);
}

.b2b .bk-detail .card .card-header .btn.bg-light {
  font-size: 12.5px;
  color: var(--primary);
  background: var(--primary-soft) !important;
  border: 0 !important;
}

.b2b .bk-detail .card-body {
  font-size: 13.5px;
}

.b2b .bk-detail .card-body .fw-semibold i,
.b2b .bk-detail .card-body .fa-clock {
  color: var(--primary);
}

.b2b .bk-detail .badge {
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
}

.b2b .bk-detail .bg-light.border,
.b2b .bk-detail .border.rounded.bg-light {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
}

.b2b .bk-detail .table {
  margin: 0;
  font-size: 13.5px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.b2b .bk-detail .table > :not(caption) > * > * {
  padding: 10px 14px;
  border-width: 0;
  border-bottom: 1px solid var(--border);
}

.b2b .bk-detail .table thead th {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-muted);
  background: var(--bg) !important;
}

.b2b .bk-detail .table tbody tr:last-child > * {
  border-bottom: 0;
}

/* right column summary lists (fare breakup, markup, charges, user info) */
.b2b .bk-detail .col-lg-3 .card-body {
  padding: 6px 16px 12px !important;
}

.b2b .bk-detail .col-lg-3 .card-body > .d-flex,
.b2b .bk-detail .col-lg-3 li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border) !important;
}

.b2b .bk-detail .col-lg-3 .card-body > .d-flex:last-child,
.b2b .bk-detail .col-lg-3 li:last-child {
  border-bottom: 0 !important;
}

/* page header + actions (template/partials/booking-actions.php) */
.b2b .bk-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 28px -24px rgba(15, 27, 51, 0.45);
}

.b2b .bk-head__main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.b2b .bk-head__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 21px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 14px;
}

.b2b .bk-head__eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.b2b .bk-head h1 {
  margin: 2px 0 8px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--heading);
}

.b2b .bk-head__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.b2b .bk-head__ref {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--primary-ring, var(--primary-soft-2));
  border-radius: 7px;
}

.b2b .bk-head__ref i {
  font-size: 10.5px;
  opacity: .7;
}

.b2b .bk-head .b2b-pill i {
  font-size: 10.5px;
}

.b2b .bk-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.b2b .bk-act {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  transition: background .15s, border-color .15s, color .15s;
}

.b2b .bk-act i {
  color: var(--primary);
}

.b2b .bk-act:hover {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: var(--primary);
}

.b2b .bk-act--primary,
.b2b .bk-act--primary i {
  color: var(--on-primary);
}

.b2b .bk-act--primary {
  background: var(--primary);
  border-color: var(--primary);
}

/* document button while its availability is being checked (booking-actions.php) */
.b2b .bk-act.is-checking {
  opacity: .5;
  pointer-events: none;
}

.b2b .bk-act--primary:hover {
  color: var(--on-primary);
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* legacy hajj / umrah / fixed departure detail layouts inside bk-detail */
.b2b .bk-detail .accordion-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px !important;
}

.b2b .bk-detail .accordion-button {
  font-weight: 800;
  color: var(--heading);
  background: var(--surface);
  box-shadow: none;
}

@media (max-width: 767px) {
  .b2b .bk-head__actions {
    width: 100%;
  }

  .b2b .bk-act {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }
}

/* ---------- 8. PRINTABLE TICKET / VOUCHER / INVOICE (template/partials/print-document.php) ---------- */
.b2b .pd-bar {
  padding: 14px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.b2b .pd-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.b2b .pd-bar__title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.b2b .pd-bar__title > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 16px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 11px;
}

.b2b .pd-bar__title strong {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--heading);
}

.b2b .pd-bar__title small {
  font-size: 12px;
  color: var(--text-muted);
}

.b2b .pd-bar__title small b {
  color: var(--primary);
}

.b2b .pd-bar__docs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
}

.b2b .pd-bar__docs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 8px;
}

.b2b .pd-bar__docs a:hover {
  color: var(--primary);
}

.b2b .pd-bar__docs a.active {
  color: var(--on-primary);
  background: var(--primary);
}

.b2b .pd-bar__actions {
  display: flex;
  gap: 8px;
}

.b2b .pd-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
}

.b2b .pd-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.b2b .pd-btn--primary,
.b2b .pd-btn--primary:hover {
  color: var(--on-primary);
  background: var(--primary);
  border-color: var(--primary);
}

.b2b .pd-doc {
  padding: 20px 16px 48px;
  overflow-x: auto;
}

@media print {
  .pd-bar {
    display: none !important;
  }
}

.b2b .pd-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 460px;
  margin: 30px auto;
  padding: 40px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.b2b .pd-empty > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 6px;
  font-size: 24px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 50%;
}

.b2b .pd-empty strong {
  font-size: 16px;
  color: var(--heading);
}

.b2b .pd-empty small {
  font-size: 13px;
  color: var(--text-muted);
}
