/* =========================================================
   Agent (B2B) session UI: top bar, agency logo, account pages, login
   ========================================================= */

/* ---------- Top bar ---------- */
.agent-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  color: #fff;
  font-size: 14px;
}

.agent-topbar-left,
.agent-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.agent-topbar a {
  color: #fff;
}

.agent-topbar a:hover {
  color: var(--theme-color);
}

.agent-avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-color);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.agent-tier {
  flex: 0 0 auto;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
}

.agent-rm {
  align-items: center;
  gap: 6px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, .2);
  white-space: nowrap;
  opacity: .9;
}

.agent-wallet,
.agent-coins,
.agent-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.agent-wallet {
  background: var(--theme-color);
  border-color: var(--theme-color);
}

.agent-topbar a.agent-wallet:hover {
  color: #fff;
  filter: brightness(1.08);
}

.agent-menu-btn:hover,
.agent-menu-btn[aria-expanded="true"] {
  border-color: var(--theme-color);
  color: #fff;
}

.agent-menu-btn::after {
  margin-left: 2px;
}

.agent-menu .dropdown-menu {
  border: 0;
  border-radius: 14px;
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 12px 34px rgba(12, 44, 122, .18);
  z-index: 10000;
}

.agent-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  padding: 9px 12px;
  font-weight: 500;
  color: var(--color-dark);
}

.agent-menu .dropdown-item i {
  width: 16px;
  color: var(--theme-color);
}

.agent-menu .dropdown-item.text-danger i {
  color: inherit;
}

.agent-menu .dropdown-item:hover {
  background: rgba(36, 189, 199, .1);
}

/* ---------- Agency logo in the navbar ---------- */
.agent-brand {
  display: inline-flex;
  align-items: center;
  height: 54px;
  max-width: 210px;
  padding: 6px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.agent-brand img {
  max-height: 42px;
  max-width: 100%;
  width: auto !important;
  object-fit: contain;
}

/* ---------- Mobile account block (inside the collapsed menu) ---------- */
.agent-mobile {
  margin: 10px 0 4px;
  padding: 12px;
  border-radius: 14px;
  background: #f4f8fb;
}

.agent-mobile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--color-dark);
}

.agent-mobile-head span {
  color: var(--theme-color);
  font-weight: 700;
  white-space: nowrap;
}

.agent-mobile-head span i {
  margin-right: 6px;
}

.agent-mobile a,
.agent-mobile button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 4px;
  border: 0;
  background: none;
  color: var(--color-dark);
  font-weight: 500;
  text-align: left;
}

.agent-mobile button {
  color: #c0392b;
}

/* ---------- Account pages ---------- */
.acct-nav {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 24px rgba(12, 44, 122, .06);
  position: sticky;
  top: 110px;
}

.acct-id {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e6edf3;
}

.acct-id .agent-avatar {
  width: 48px;
  height: 48px;
  font-size: 16px;
}

.acct-id strong {
  display: block;
  color: var(--color-dark);
  line-height: 1.3;
}

.acct-id small {
  color: #6b7a90;
}

.acct-nav a,
.acct-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--color-dark);
  font-weight: 500;
  text-align: left;
}

.acct-nav a i,
.acct-nav button i {
  width: 18px;
  color: var(--theme-color);
}

.acct-nav a:hover,
.acct-nav a.active {
  background: rgba(36, 189, 199, .1);
  color: var(--color-dark);
}

.acct-nav button {
  color: #c0392b;
}

.acct-nav button i {
  color: inherit;
}

.acct-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.acct-stat {
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 6px 24px rgba(12, 44, 122, .06);
}

.acct-stat small {
  display: block;
  color: #6b7a90;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.acct-stat strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  color: var(--color-dark);
}

.acct-stat.is-primary {
  background: linear-gradient(135deg, var(--theme-color), #1a8fa0);
}

.acct-stat.is-primary small,
.acct-stat.is-primary strong {
  color: #fff;
}

.acct-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4px 24px;
}

.acct-field {
  padding: 10px 0;
  border-bottom: 1px dashed #e6edf3;
}

.acct-field small {
  display: block;
  color: #6b7a90;
  font-size: 12px;
}

.acct-field span {
  color: var(--color-dark);
  font-weight: 600;
  word-break: break-word;
}

.acct-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.acct-person .agent-avatar {
  width: 46px;
  height: 46px;
  font-size: 15px;
}

.acct-person strong {
  display: block;
  color: var(--color-dark);
}

.acct-person a {
  color: var(--theme-color);
}

.acct-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.acct-pill.ok {
  background: rgba(26, 155, 98, .12);
  color: #157a4d;
}

.acct-pill.warn {
  background: rgba(230, 150, 20, .14);
  color: #a66a00;
}

.acct-amount-credit {
  color: #157a4d;
  font-weight: 700;
}

.acct-amount-debit {
  color: #c0392b;
  font-weight: 700;
}

.acct-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.acct-filters .form-control,
.acct-filters .form-select {
  min-height: 42px;
  border: 1.5px solid #dde5ee;
  border-radius: 10px;
}

.acct-filters > div {
  flex: 1 1 150px;
}

.acct-filters button,
.acct-filters a {
  flex: 0 0 auto;
}

.acct-form .form-control {
  min-height: 44px;
  border: 1.5px solid #dde5ee;
  border-radius: 10px;
}

.acct-form .form-control:focus,
.acct-filters .form-control:focus,
.acct-filters .form-select:focus {
  border-color: var(--theme-color);
  box-shadow: 0 0 0 3px rgba(36, 189, 199, .15);
}

.acct-flash {
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-weight: 500;
}

.acct-flash.ok {
  background: rgba(26, 155, 98, .1);
  color: #157a4d;
}

.acct-flash.err {
  background: rgba(240, 84, 84, .1);
  color: #a52828;
}

.acct-bank-card {
  border: 1px solid #e6edf3;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.acct-bank-card img.qr {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border: 1px solid #e6edf3;
  border-radius: 10px;
}

/* ---------- Login page ---------- */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #f4f8fb;
}

.login-side {
  position: relative;
  padding: 48px;
  color: #fff;
  background: linear-gradient(160deg, rgba(12, 44, 122, .92), rgba(12, 44, 122, .78)), url(../img/breadcrumb/01.jpg) center / cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-side img {
  max-width: 190px;
}

.login-side h1 {
  color: #fff;
  font-size: 38px;
  line-height: 1.2;
  margin: 0 0 14px;
}

.login-side p {
  color: rgba(255, 255, 255, .82);
  max-width: 460px;
}

.login-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.login-points span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.login-points i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(36, 189, 199, .25);
  color: #7fe6ee;
}

.login-side small,
.login-side small a {
  color: rgba(255, 255, 255, .7);
}

.login-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 18px 50px rgba(12, 44, 122, .1);
}

.login-card h2 {
  font-size: 26px;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.login-card > p {
  color: #6b7a90;
  margin-bottom: 24px;
}

.login-card label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.login-field {
  position: relative;
  margin-bottom: 16px;
}

.login-field > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a97a8;
}

.login-field .form-control {
  height: 50px;
  padding-left: 42px;
  border: 1.5px solid #dde5ee;
  border-radius: 12px;
}

.login-field .form-control:focus {
  border-color: var(--theme-color);
  box-shadow: 0 0 0 3px rgba(36, 189, 199, .15);
}

.login-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  color: #8a97a8;
  padding: 8px 10px;
}

.login-card .theme-btn {
  width: 100%;
  justify-content: center;
  height: 50px;
}

.login-error {
  background: rgba(240, 84, 84, .1);
  color: #a52828;
  border-radius: 12px;
  padding: 11px 14px;
  margin-bottom: 18px;
  font-size: 14px;
}

.login-help {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #6b7a90;
}

.login-help a {
  color: var(--theme-color);
  font-weight: 600;
}

.login-mobile-logo {
  display: none;
  text-align: center;
  margin-bottom: 20px;
}

.login-mobile-logo img {
  max-width: 170px;
}

@media (max-width: 991px) {
  .login-page {
    grid-template-columns: 1fr;
  }

  .login-side {
    display: none;
  }

  .login-mobile-logo {
    display: block;
  }

  .acct-nav {
    position: static;
  }
}

@media (max-width: 575px) {
  .login-card {
    padding: 28px 20px;
  }
}

/* =========================================================
   Site footer
   ========================================================= */
.rt-footer {
  background: linear-gradient(180deg, #0f2470 0%, #0a1b57 100%);
  color: rgba(255, 255, 255, .78);
  padding-top: 56px;
  font-size: 15px;
}

.rt-footer a {
  color: rgba(255, 255, 255, .78);
  transition: color .2s;
}

.rt-footer a:hover {
  color: var(--theme-color);
}

/* contact strip */
.rt-footer-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.rt-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  min-width: 0;
}

a.rt-footer-contact-item:hover {
  background: rgba(255, 255, 255, .09);
  color: inherit;
}

.rt-footer-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-color);
  color: #fff;
  font-size: 19px;
}

.rt-footer-contact-item small {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: rgba(255, 255, 255, .55);
}

.rt-footer-contact-item strong {
  display: block;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* link columns */
.rt-footer-main {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
  padding: 44px 0 36px;
}

.rt-footer-brand img {
  max-width: 200px;
  margin-bottom: 16px;
}

.rt-footer-brand p {
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 360px;
}

.rt-footer-social {
  display: flex;
  gap: 10px;
}

.rt-footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 15px;
}

.rt-footer-social a:hover {
  background: var(--theme-color);
  color: #fff;
}

.rt-footer-col h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.rt-footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--theme-color);
}

.rt-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rt-footer-col li + li {
  margin-top: 11px;
}

.rt-footer-col a {
  display: inline-block;
}

.rt-footer-col a:hover {
  transform: translateX(3px);
}

/* bottom bar */
.rt-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 14px;
}

.rt-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, .65);
}

.rt-footer-bottom p a {
  color: var(--theme-color);
}

.rt-footer-legal {
  display: flex;
  gap: 20px;
}

.rt-footer-pay {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 64px; /* clear of the floating scroll-to-top button */
}

.rt-footer-pay img {
  height: 26px;
  width: auto;
  border-radius: 4px;
  background: #fff;
  padding: 2px 4px;
}

@media (max-width: 1199px) {
  .rt-footer-main {
    grid-template-columns: repeat(4, 1fr);
  }

  .rt-footer-brand {
    grid-column: 1 / -1;
  }

  .rt-footer-brand p {
    max-width: 640px;
  }
}

@media (max-width: 991px) {
  .rt-footer-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .rt-footer {
    padding-top: 36px;
  }

  .rt-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .rt-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .rt-footer-pay {
    margin-right: 0;
  }
}

/* =========================================================
   My Bookings & booking details
   ========================================================= */
.bk-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1 1 100%;
}

.bk-tabs a {
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
}

.bk-tabs a small {
  color: #94a3b8;
  margin-left: 4px;
}

.bk-tabs a.active {
  border-color: #1b4fd6;
  color: #1b4fd6;
  background: #eef3fe;
}

.bk-search {
  display: flex;
  gap: 8px;
  flex: 1 1 100%;
}

.bk-search .theme-btn {
  padding: 0 18px;
}

.bk-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bk-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
}

.bk-item:hover {
  border-color: #b9cbf7;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
  color: inherit;
}

.bk-main {
  min-width: 0;
}

.bk-route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  color: #0f172a;
}

.bk-route i {
  color: #1b4fd6;
}

.bk-test {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 1px 7px;
  border-radius: 5px;
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.bk-meta,
.bk-ids {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 6px;
  font-size: 13px;
  color: #475569;
}

.bk-meta i {
  margin-right: 6px;
  color: #94a3b8;
}

.bk-ids {
  color: #64748b;
  font-size: 12px;
}

.bk-ids b {
  color: #0f172a;
}

.bk-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  text-align: right;
}

.bk-side strong {
  font-size: 20px;
  color: #0f172a;
}

.bk-side small {
  color: #64748b;
  font-size: 12px;
}

.bk-side .bk-refund {
  color: #15803d;
}

.bk-view {
  color: #1b4fd6;
  font-size: 13px;
  font-weight: 600;
}

.bk-state-err {
  background: rgba(220, 38, 38, .1) !important;
  color: #b91c1c !important;
}

.bk-state-muted {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

/* Details */
.bk-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  margin-bottom: 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  flex-wrap: wrap;
}

.bk-head > i {
  font-size: 30px;
  color: #15803d;
}

.bk-head h3 {
  margin: 0;
  font-size: 22px;
  color: #0f172a;
}

.bk-head p {
  margin: 2px 0 0;
  color: #475569;
  font-size: 14px;
}

.bk-head-warn {
  background: #fffbeb;
  border-color: #fde68a;
}

.bk-head-warn > i {
  color: #b45309;
}

.bk-head-err {
  background: #fef2f2;
  border-color: #fecaca;
}

.bk-head-err > i {
  color: #b91c1c;
}

.bk-head-muted {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.bk-head-muted > i {
  color: #64748b;
}

.bk-head-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bk-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.bk-facts > div {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
}

.bk-facts small {
  display: block;
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.bk-facts strong {
  font-size: 18px;
  color: #0f172a;
}

.bk-leg + .bk-leg {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.bk-leg-title {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.bk-leg-title strong {
  font-size: 17px;
  color: #0f172a;
}

.bk-leg-title span {
  color: #64748b;
  font-size: 13px;
}

.bk-seg {
  display: grid;
  grid-template-columns: minmax(130px, 1.2fr) 1fr 90px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.bk-seg-air strong {
  display: block;
  color: #0f172a;
}

.bk-seg-air small,
.bk-seg-pt small {
  color: #64748b;
  font-size: 12px;
}

.bk-seg-pt {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.bk-seg-pt strong {
  font-size: 20px;
  color: #0f172a;
}

.bk-seg-pt span {
  font-size: 13px;
  color: #334155;
}

.bk-seg-end {
  text-align: right;
}

.bk-seg-dur {
  text-align: center;
  font-size: 13px;
  color: #475569;
  border-bottom: 1px dashed #cbd5e1;
  padding-bottom: 2px;
}

.bk-layover {
  margin: 8px 0;
  text-align: center;
  font-size: 12px;
  color: #c2410c;
}

.bk-pay {
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.bk-pay:last-of-type {
  border-bottom: 0;
}

.bk-pay > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #334155;
  padding: 3px 0;
}

@media (max-width: 767px) {
  .bk-item {
    flex-direction: column;
  }

  .bk-side {
    align-items: flex-start;
    text-align: left;
  }

  .bk-seg {
    grid-template-columns: 1fr 70px 1fr;
  }

  .bk-seg-air {
    grid-column: 1 / -1;
  }

  .bk-head-actions {
    margin-left: 0;
  }
}

@media print {
  .header, .rt-footer, .acct-nav, .bk-head-actions, .site-breadcrumb, #scroll-top {
    display: none !important;
  }
}

/* ---------- Booking details: extra flight info ---------- */
.bk-facts-wrap {
  flex-wrap: wrap;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.bk-seg-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: -4px 0 14px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f6f8fb;
  font-size: 13px;
  color: #4b5a6b;
}

.bk-seg-extra i {
  margin-right: 6px;
  color: var(--theme-color);
}

.bk-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 14px;
}

.bk-links i {
  margin-right: 6px;
}

/* =========================================================
   Account pages polish: sidebar, wallet, booking lists and details
   ========================================================= */

/* sidebar */
.acct-nav { border-radius: 20px; padding: 0 0 12px; overflow: hidden; border: 1px solid rgba(12, 44, 122, .05); }
.acct-nav .acct-id { margin: 0; padding: 20px 18px 18px; border-bottom: 0; background: linear-gradient(135deg, #0a2566, #164a9e 70%, #1fa3b5 140%); }
.acct-nav .acct-id strong { color: #fff; }
.acct-nav .acct-id small { color: rgba(255, 255, 255, .75); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.acct-nav .acct-id .agent-avatar { box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); flex-shrink: 0; }
.acct-nav a.acct-balance { margin: -6px 12px 6px; width: auto; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(12, 44, 122, .12); position: relative; }
.acct-nav a.acct-balance small { display: block; font-size: 11px; color: #6b7a90; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.acct-nav a.acct-balance strong { font-size: 18px; color: var(--color-dark); }
.acct-nav a.acct-balance i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(36, 189, 199, .12); }
.acct-nav a.acct-balance:hover { background: #fff; box-shadow: 0 10px 24px rgba(12, 44, 122, .18); }
.acct-nav-label { padding: 12px 22px 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9aa7b8; }
.acct-nav > a, .acct-nav form { margin: 0 10px; width: auto; }
.acct-nav > a:not(.acct-balance) { position: relative; padding: 11px 12px; transition: background .15s; }
.acct-nav > a.active { background: rgba(36, 189, 199, .12); font-weight: 600; }
.acct-nav > a.active::before { content: ""; position: absolute; left: -10px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--theme-color); }
.acct-nav form { margin-top: 6px; padding-top: 6px; border-top: 1px solid #edf2f6; }
.acct-nav form button:hover { background: #fdecea; }

/* wallet */
.acct-stat { position: relative; border-radius: 18px; padding: 18px 20px; border: 1px solid rgba(12, 44, 122, .05); overflow: hidden; }
.acct-stat-ico { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #f2f7fa; color: var(--theme-color); font-size: 16px; }
.acct-stat strong { font-size: 22px; font-weight: 800; margin-top: 8px; }
.acct-stat.is-primary { background: linear-gradient(135deg, #0a2566, #164a9e 65%, #1fa3b5 140%); box-shadow: 0 14px 30px rgba(12, 44, 122, .25); }
.acct-stat.is-primary .acct-stat-ico { background: rgba(255, 255, 255, .15); color: #fff; }
.acct-stat.is-primary strong { font-size: 26px; }
.acct-stat:nth-child(2) .acct-stat-ico { background: #e3f6ec; color: #14804a; }
.acct-stat:nth-child(3) .acct-stat-ico { background: #fdecea; color: #b42318; }
.acct-stat:nth-child(4) .acct-stat-ico { background: #fff3dc; color: #b7791f; }
.tx-cell { position: relative; padding-left: 54px !important; }
.tx-ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; }
.tx-ico.credit { background: #e3f6ec; color: #14804a; }
.tx-ico.debit { background: #fdecea; color: #b42318; }
.acct-filters { background: #f6f9fb; border: 1px solid #e6edf3; border-radius: 14px; padding: 14px; }
.acct-pill { border-radius: 999px; }

/* booking lists */
.bk-tabs a { border-radius: 999px; transition: background .15s, color .15s; }
.bk-item { position: relative; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 18px; border-color: #e6edf3; transition: border-color .2s, box-shadow .2s, transform .2s; }
.bk-item:hover { border-color: rgba(36, 189, 199, .55); box-shadow: 0 12px 28px rgba(12, 44, 122, .1); transform: translateY(-2px); }
.bk-hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.bk-thumb { position: relative; flex: 0 0 74px; height: 74px; border-radius: 14px; background: #f2f7fa; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; overflow: hidden; color: var(--theme-color); font-size: 22px; }
.bk-thumb img { max-width: 40px; max-height: 40px; object-fit: contain; }
.bk-thumb span { font-size: 11px; font-weight: 700; color: var(--color-dark); letter-spacing: .02em; }
.bk-thumb-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.bk-thumb-photo img ~ i { display: none; }
.bk-thumb-photo img ~ span { position: absolute; left: 6px; right: 6px; bottom: 6px; background: rgba(8, 28, 82, .78); color: #fff; border-radius: 6px; text-align: center; padding: 1px 0; }
.bk-main { flex: 1; }
.bk-route { font-weight: 700; }
.bk-route i { color: var(--theme-color); }
.bk-side strong { font-weight: 800; }
.bk-actions { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.bk-pdf { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: #fdecea; color: #b42318; font-size: 12px; font-weight: 700; }
.bk-pdf:hover { background: #b42318; color: #fff; }
.bk-view { color: var(--theme-color); }

/* booking details */
.bk-head { border-radius: 18px; padding: 20px 22px; }
.bk-head > i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .7); font-size: 24px; }
.bk-facts > div { border-radius: 14px; border-color: #e6edf3; background: linear-gradient(180deg, #fff, #f8fbfd); }
.bk-facts:not(.bk-facts-wrap) > div:first-child { background: linear-gradient(135deg, #0a2566, #164a9e); border-color: transparent; }
.bk-facts:not(.bk-facts-wrap) > div:first-child small { color: #b9c8ea; }
.bk-facts:not(.bk-facts-wrap) > div:first-child strong { color: #fff; letter-spacing: .04em; }
.bk-seg { border-radius: 14px; }
.bk-pdf-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; }
.bk-pdf-btn::after { margin-left: 4px; }
.bk-pdf-menu { min-width: 290px; border: 0; border-radius: 14px; padding: 8px; box-shadow: 0 16px 40px rgba(12, 44, 122, .18); }
.bk-pdf-menu .dropdown-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 10px; white-space: normal; font-weight: 600; color: var(--color-dark); }
.bk-pdf-menu .dropdown-item i { width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; background: rgba(36, 189, 199, .12); color: var(--theme-color); }
.bk-pdf-menu .dropdown-item small { display: block; font-weight: 400; font-size: 12px; color: #6b7a90; }
.bk-pdf-menu .dropdown-item:hover { background: #f2f7fa; }

@media (max-width: 767px) {
  .bk-item { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .bk-thumb { flex-basis: 56px; height: 56px; }
  .bk-item { gap: 12px; }
  .bk-main { flex: 1 1 0; min-width: 0; }
  .bk-side { flex-basis: 100%; }
  .bk-side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; width: 100%; text-align: left; padding-top: 10px; border-top: 1px solid #edf2f6; }
  .bk-head-actions { margin-left: 0; width: 100%; }
}
@media (max-width: 991px) {
  .acct-nav { position: static; }
}

/* The theme hides horizontal overflow on html/body; "hidden" also turns them into scroll containers, which silently disables
   every position: sticky element (filters, booking cards, section bars). "clip" stops sideways scroll without that side effect. */
html, body { overflow-x: clip; }

/* Agent dashboard */
.dash-search { display: flex; align-items: center; gap: 10px; border: 1px solid #dde5ee; border-radius: 12px; padding: 6px 6px 6px 14px; background: #fff; }
.dash-search i { color: #6b7a90; }
.dash-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 8px 0; }
.dash-search:focus-within { border-color: #24BDC7; box-shadow: 0 0 0 3px rgba(36, 189, 199, .15); }
.dash-list { display: flex; flex-direction: column; }
.dash-row { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid #eef2f6; color: inherit; text-decoration: none; }
.dash-row:last-child { border-bottom: 0; }
.dash-row:hover { background: #f6fafc; }
.dash-row > i { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #e8f8f9; color: #1a9aa3; }
.dash-main { flex: 1; min-width: 0; }
.dash-main strong, .dash-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-main small { color: #6b7a90; }
.dash-date { color: #6b7a90; font-size: 13px; white-space: nowrap; }
@media (max-width: 575px) { .dash-date { display: none; } .dash-search { flex-wrap: wrap; } .dash-search button { width: 100%; } }

.fc-saved-pick { margin: 0 0 14px; }
.fc-saved-pick .form-label { font-size: 13px; color: #6b7a90; margin-bottom: 4px; }

/* Recent flight searches under the home flight form */
.rs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.rs-label { font-size: 13px; color: #6b7a90; margin-right: 2px; }
.rs-chip { display: inline-flex; flex-direction: column; padding: 6px 12px; border: 1px solid #dde5ee; border-radius: 10px; background: #fff; color: #1d2b44; text-decoration: none; line-height: 1.2; }
.rs-chip:hover { border-color: #24BDC7; color: #1d2b44; }
.rs-chip strong { font-size: 13px; }
.rs-chip small { font-size: 11px; color: #6b7a90; }
.rs-clear { border: 0; background: none; color: #6b7a90; font-size: 12px; text-decoration: underline; padding: 4px; }
