:root {
  --v2-bg: #eef3f8;
  --v2-surface: #ffffff;
  --v2-surface-muted: #f6f8fb;
  --v2-line: #dfe8f3;
  --v2-line-strong: #cedceb;
  --v2-text: #172033;
  --v2-muted: #8392ab;
  --v2-brand: #1890ff;
  --v2-brand-soft: #eaf4ff;
  --v2-topbar: #ffffff;
  --v2-header-start: #edf7ff;
  --v2-header-mid: #f8fbff;
  --v2-header-end: #f5efff;
  --v2-nav-surface: #eef6ff;
  --v2-accent: #13c2c2;
  --v2-purple: #722ed1;
  --v2-green: #52c41a;
  --v2-amber: #faad14;
  --v2-red: #ff4d4f;
  --v2-shadow: 0 24px 56px rgba(15, 23, 42, 0.1);
  --v2-shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.07);
}

/* Shared RTL DataTable edge corners: DOM-first is visually right, DOM-last is left. */
html[dir="rtl"] body.v2-backoffice .dataTables_wrapper table thead > tr > th:first-child,
html[dir="rtl"] body.v2-backoffice .dt-container table thead > tr > th:first-child,
html[dir="rtl"] body.v2-backoffice .v2-booking-list #booking-list-table-container .dataTables_scrollHead thead > tr > th:first-child,
html[dir="rtl"] body.v2-backoffice .v2-booking-list #booking-list-table-container .dt-scroll-head thead > tr > th:first-child {
  border-radius: 0 12px 0 0 !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 12px !important;
}

html[dir="rtl"] body.v2-backoffice .dataTables_wrapper table thead > tr > th:last-child,
html[dir="rtl"] body.v2-backoffice .dt-container table thead > tr > th:last-child,
html[dir="rtl"] body.v2-backoffice .v2-booking-list #booking-list-table-container .dataTables_scrollHead thead > tr > th:last-child,
html[dir="rtl"] body.v2-backoffice .v2-booking-list #booking-list-table-container .dt-scroll-head thead > tr > th:last-child {
  border-radius: 12px 0 0 0 !important;
  border-top-left-radius: 12px !important;
  border-top-right-radius: 0 !important;
}

html,
body {
  min-height: 100%;
  background:
    linear-gradient(180deg, #f7fbff 0%, var(--v2-bg) 46%, #f6f2ff 100%);
  color: var(--v2-text);
  font-size: 14px;
  letter-spacing: 0;
}

.v2-backoffice {
  --tblr-border-radius: 8px;
  --tblr-primary: var(--v2-brand);
  --tblr-primary-rgb: 24, 144, 255;
}

.v2-app-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 260px),
    transparent;
}

.v2-shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 82px;
  border-bottom: 1px solid #c8daee;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 248, 255, 0.94) 48%, rgba(248, 243, 255, 0.96) 100%);
  box-shadow: 0 18px 38px rgba(31, 78, 121, 0.1);
  position: relative;
  top: auto;
  z-index: 1700;
  overflow: visible;
  padding: 13px 28px;
}

.v2-shell-header::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--v2-brand), var(--v2-accent) 48%, var(--v2-purple));
  content: "";
}

.v2-topbar-left {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  gap: 14px;
  color: var(--v2-text);
  position: relative;
  z-index: 2;
}

.v2-topbar-kicker {
  color: var(--v2-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.v2-topbar-title {
  max-width: 44vw;
  overflow: hidden;
  color: var(--v2-text);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #bfd6ee;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f3f9ff);
  color: var(--v2-text);
  box-shadow: 0 8px 18px rgba(31, 78, 121, 0.08);
}

.v2-mobile-nav-toggle.is-open,
.v2-mobile-nav-toggle:hover,
.v2-mobile-nav-toggle:focus {
  border-color: #b8dcff;
  background: var(--v2-brand-soft);
  color: var(--v2-brand);
}

.v2-mobile-nav-toggle.is-open i::before {
  content: "\f00d";
}

.v2-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--v2-text);
  min-height: 56px;
  padding: 0;
  box-shadow: none;
}

.v2-brand:hover {
  background: transparent;
  color: var(--v2-brand);
}

.v2-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 144px;
  width: 144px;
  height: 56px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.v2-brand-mark img {
  max-width: 142px;
  max-height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(24, 82, 132, 0.14));
}

.v2-nav-ribbon {
  position: relative;
  top: auto;
  z-index: 1000;
  border-top: 1px solid rgba(210, 226, 241, 0.72);
  border-bottom: 1px solid #cadbed;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(31, 78, 121, 0.08);
  backdrop-filter: blur(16px);
  overflow: visible;
}

.v2-nav-inner {
  padding: 8px 28px;
  overflow: visible;
}

.v2-main-nav {
  min-width: 0;
  overflow: visible;
}

.v2-main-nav .topbar {
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 3px;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  white-space: nowrap;
  border: 1px solid #dbe7f2;
  border-radius: 15px;
  background: #f2f7fc;
  padding: 4px;
}

.v2-main-nav .topbar > .nav-item > .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #4a5f76;
  font-size: 12px;
  font-weight: 700;
  margin: 0;
  padding: 8px 11px;
  position: relative;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.v2-main-nav .dropdown,
.v2-main-nav .dropdown-submenu {
  position: relative;
}

.v2-main-nav .topbar > .nav-item > .nav-link:hover {
  border-color: #c4dcf2;
  background: #fff;
  color: #0b6fc8;
  box-shadow: 0 7px 16px rgba(31, 89, 142, 0.1);
  transform: translateY(-1px);
}

.v2-main-nav .topbar > .nav-item.active > .nav-link,
.v2-main-nav .topbar > .nav-item.show > .nav-link {
  border-color: transparent;
  background: linear-gradient(125deg, #087ff5, #08aabd);
  color: #fff;
  box-shadow: 0 9px 20px rgba(8, 127, 245, 0.24);
}

.v2-main-nav .dropdown-menu {
  border-color: #cfe1f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 48px rgba(31, 78, 121, 0.16);
  display: none;
  font-size: 13px;
  margin: 0;
  min-width: 230px;
  padding: 8px;
  z-index: 1500;
}

.v2-main-nav .topbar > .dropdown > .dropdown-menu {
  position: absolute !important;
  top: calc(100% + 7px) !important;
  right: auto !important;
  bottom: auto !important;
  left: 0 !important;
  transform: none !important;
}

.v2-main-nav .dropdown-menu.show,
.v2-main-nav .dropdown.show > .dropdown-menu,
.v2-main-nav .dropdown-submenu.show > .dropdown-menu {
  display: block;
}

.v2-main-nav .dropdown-item,
.v2-main-nav .dropdown-menu .nav-link {
  border-radius: 9px;
  color: #344054;
  padding: 8px 10px;
}

.v2-main-nav .dropdown-item:hover,
.v2-main-nav .dropdown-menu .nav-link:hover {
  background: var(--v2-brand-soft);
  color: var(--v2-brand);
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  position: absolute !important;
  top: 0;
  left: 100%;
  right: auto;
  margin-top: -6px;
  margin-left: 2px;
  transform: none !important;
}

[dir="rtl"] .dropdown-submenu > .dropdown-menu {
  right: 100%;
  left: auto;
  margin-right: 2px;
  margin-left: 0;
}

@media (min-width: 900px) {
  .v2-main-nav .topbar > .nav-item > .dropdown-menu.v2-menu-align-end {
    right: 0 !important;
    left: auto !important;
  }

  .v2-main-nav .dropdown-submenu > .dropdown-menu.v2-menu-open-left {
    right: 100% !important;
    left: auto !important;
    margin-right: 2px;
    margin-left: 0;
  }
}

.v2-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 1 auto;
  margin-left: auto;
  min-width: 0;
  gap: 12px;
  border: 1px solid rgba(176, 207, 238, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 12px 26px rgba(31, 78, 121, 0.07);
  padding: 8px;
  position: relative;
  z-index: 1300;
}

.v2-header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-width: 0;
  gap: 8px;
  position: relative;
  z-index: 1300;
}

.v2-header-actions .nav-item.dropdown {
  position: relative;
  flex: 0 0 auto;
  z-index: 1;
}

.v2-header-actions .nav-item.dropdown.show {
  z-index: 1320;
}

.v2-session-card {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  max-width: 360px;
  min-width: 0;
  min-height: 40px;
  border: 0;
  border-right: 1px solid #cbdcec;
  border-radius: 0;
  background: transparent;
  padding: 0 15px 0 2px;
  box-shadow: none;
}

.v2-session-copy {
  display: grid;
  min-width: 0;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 9px;
  row-gap: 3px;
  line-height: 1.1;
}

.v2-session-name {
  overflow: hidden;
  color: var(--v2-text);
  font-size: 13px;
  font-weight: 850;
  max-width: 140px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-session-role {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: center;
  border: 1px solid #dac7ff;
  border-radius: 999px;
  background: #f3edff;
  color: var(--v2-purple);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  white-space: nowrap;
}

.v2-session-login {
  grid-column: 1 / -1;
  overflow: hidden;
  color: #63738a;
  font-size: 11px;
  font-weight: 700;
  max-width: 280px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-header-actions .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #c5daef;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f2f8ff);
  color: #526178;
  box-shadow: 0 8px 18px rgba(31, 78, 121, 0.08);
}

.v2-header-actions .nav-link:hover,
.v2-header-actions .nav-link.show {
  border-color: transparent;
  background: linear-gradient(135deg, var(--v2-brand), #13a8c7);
  color: #fff;
  box-shadow: 0 10px 22px rgba(24, 144, 255, 0.12);
}

.v2-header-actions .badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 2px 4px;
  border: 2px solid #fff;
  border-radius: 99px;
  font-size: 10px;
  line-height: 1;
}

.v2-header-actions .notification-count,
.v2-header-actions .msg-unread-count {
  border-color: #fff !important;
  background: #cf2338 !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-align: center;
  text-shadow: 0 1px 1px rgba(72, 0, 10, 0.35);
}

.v2-notification-read-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #b9d8f3;
  border-radius: 9px;
  background: #eef7ff;
  color: #0868ae;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 9px;
}

/* Tabler makes dropdown headers non-interactive by default. This header owns
   the notification action, so restore pointer input within this menu only. */
.v2-notification-menu > .dropdown-header {
  pointer-events: auto;
}

.v2-notification-read-all:hover,
.v2-notification-read-all:focus {
  border-color: #83bde9;
  background: #dff1ff;
  color: #07558d;
}

.v2-notification-read-all:disabled {
  cursor: default;
  opacity: 0.7;
}

.v2-dropdown {
  min-width: 220px;
  border-color: #cfe1f4;
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(31, 78, 121, 0.16);
  padding: 8px;
  z-index: 1900;
}

.v2-header-actions .dropdown-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  z-index: 1900 !important;
}

.v2-header-actions .dropdown-menu.show,
.v2-header-actions .nav-item.show > .dropdown-menu {
  display: block;
}

.v2-message-menu,
.v2-notification-menu {
  width: min(390px, calc(100vw - 24px));
}

.v2-dropdown-scroll {
  max-height: 360px;
  overflow-y: auto;
}

.v2-dropdown .dropdown-item {
  display: flex;
  align-items: flex-start;
  border-radius: 6px;
  gap: 10px;
  white-space: normal;
}

[dir="rtl"] .v2-header-actions .v2-dropdown {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .v2-header-actions .v2-dropdown .dropdown-item,
[dir="rtl"] .v2-header-actions .v2-dropdown .dropdown-item-text,
[dir="rtl"] .v2-header-actions .v2-dropdown .dropdown-header {
  width: 100%;
  text-align: right;
}

[dir="rtl"] .v2-header-actions .v2-dropdown .dropdown-item {
  justify-content: flex-start;
}

[dir="rtl"] .v2-header-actions .v2-dropdown .dropdown-item > i,
[dir="rtl"] .v2-header-actions .v2-dropdown .dropdown-item > .v2-dropdown-icon {
  flex: 0 0 auto;
}

.v2-dropdown-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--v2-brand-soft);
  color: var(--v2-brand);
}

.v2-dropdown-icon img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.v2-dropdown-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.v2-dropdown-title {
  color: var(--v2-text);
  font-size: 13px;
  font-weight: 650;
}

.v2-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--v2-brand);
  margin-top: 8px;
}

.v2-page-container {
  padding: 14px 24px 24px;
}

.v2-backoffice .btn {
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0;
}

.v2-backoffice .btn-primary {
  border-color: var(--v2-brand);
  background: var(--v2-brand);
}

.v2-backoffice .btn-primary:hover {
  border-color: #096dd9;
  background: #096dd9;
}

.v2-backoffice .btn-secondary {
  border-color: #596579;
  background: #596579;
}

.v2-backoffice .form-control,
.v2-backoffice .form-select,
.v2-backoffice .bootstrap-select .dropdown-toggle,
.v2-backoffice .select2-container .select2-selection--single,
.v2-backoffice .select2-container .select2-selection--multiple {
  min-height: 34px !important;
  border-color: var(--v2-line-strong) !important;
  border-radius: 8px !important;
  background-color: #fff !important;
  color: var(--v2-text) !important;
  font-size: 13px !important;
  letter-spacing: 0;
  box-shadow: none !important;
}

.v2-backoffice .form-control:focus,
.v2-backoffice .form-select:focus,
.v2-backoffice .bootstrap-select .dropdown-toggle:focus,
.v2-backoffice .select2-container--focus .select2-selection {
  border-color: var(--v2-brand) !important;
  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.13) !important;
}

.v2-booking-list .v2-search-panel .select2-container {
  display: block;
  width: 100% !important;
}

.v2-booking-list .v2-search-panel .select2-container--default .select2-selection--multiple {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 32px !important;
  height: 32px !important;
  overflow: hidden !important;
  padding: 0 7px !important;
}

.v2-booking-list .v2-search-panel .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  min-width: 0 !important;
  width: 100% !important;
  min-height: 30px !important;
  max-height: 30px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  margin: 0 !important;
  padding: 0 0 2px !important;
  line-height: 1.2 !important;
  scrollbar-color: #9dc8f3 transparent;
  scrollbar-width: thin;
}

.v2-booking-list .v2-search-panel .select2-container--default .select2-selection--multiple .select2-selection__rendered:empty {
  display: none !important;
  flex: 0 0 0 !important;
  width: 0 !important;
}

.v2-booking-list .v2-search-panel .select2-container--default .select2-selection--multiple .select2-selection__rendered::-webkit-scrollbar {
  height: 3px;
}

.v2-booking-list .v2-search-panel .select2-container--default .select2-selection--multiple .select2-selection__rendered::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #9dc8f3;
}

.v2-booking-list .v2-search-panel .select2-container--default .select2-selection--multiple .select2-search--inline {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 110px !important;
  min-width: 0 !important;
  width: 110px !important;
  min-height: 28px !important;
  margin: 0 !important;
}

.v2-booking-list .v2-search-panel .select2-container--default .select2-selection--multiple .select2-search__field {
  width: 100% !important;
  max-width: 100% !important;
  height: 28px !important;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--v2-text) !important;
  font-family: inherit !important;
  font-size: 13px !important;
  line-height: 28px !important;
  text-align: left !important;
  transform: none !important;
}

.v2-booking-list .v2-search-panel .select2-container--default .select2-selection--multiple .select2-selection__choice {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  max-width: 134px !important;
  min-height: 24px !important;
  margin: 3px 3px 3px 0 !important;
  border-color: #bddbfb !important;
  border-radius: 999px !important;
  background: #eef7ff !important;
  color: #1766b3 !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
  overflow: hidden !important;
  padding: 3px 8px 3px 3px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.v2-booking-list .v2-search-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  margin: 0 4px 0 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #1766b3 !important;
  color: #fff !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  padding: 0 !important;
  position: static !important;
  text-align: center !important;
  transform: none !important;
}

.v2-booking-list .v2-search-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  background: #0d5ea8 !important;
  color: #fff !important;
}

.v2-booking-list .v2-search-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.v2-booking-list .v2-search-panel .agent-select2-expanded .select2-selection--multiple {
  height: 32px !important;
  min-height: 32px !important;
  overflow: hidden !important;
}

.v2-backoffice .select2-container--open {
  z-index: 10060;
}

.v2-backoffice .select2-container--default .select2-dropdown {
  overflow: hidden;
  margin-top: 8px;
  border: 1px solid #d6e4f3 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.18) !important;
  padding: 10px 8px 8px;
}

.v2-backoffice .select2-container--default .select2-dropdown--above {
  margin-top: 0;
  margin-bottom: 6px;
}

.v2-backoffice .select2-container--default .select2-search--dropdown {
  padding: 0 0 8px;
}

.v2-backoffice .select2-container--default .select2-search--dropdown .select2-search__field {
  min-height: 34px;
  border: 1px solid #d6e4f3 !important;
  border-radius: 10px;
  color: var(--v2-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  outline: 0;
  padding: 7px 10px;
}

.v2-backoffice .select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: var(--v2-brand) !important;
  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.13);
}

.v2-backoffice .select2-container--default .select2-results {
  overflow: hidden;
}

.v2-backoffice .select2-container--default .select2-results > div:first-child {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 44px;
  border-bottom: 1px solid #edf3fb;
  margin: 0 0 8px;
  padding: 6px 0 10px !important;
  box-sizing: border-box;
}

.v2-backoffice .select2-container--default .select2-results .select-all,
.v2-backoffice .select2-container--default .select2-results .unselect-all {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid #cfe4fb !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0;
  line-height: 1.1;
  padding: 7px 10px !important;
}

.v2-backoffice .select2-container--default .select2-results .select-all {
  background: linear-gradient(135deg, #1890ff, #18a8c7) !important;
  color: #fff !important;
}

.v2-backoffice .select2-container--default .select2-results .unselect-all {
  background: #f4f8fd !important;
  color: #50627b !important;
}

.v2-backoffice .select2-container--default .select2-results > .select2-results__options {
  max-height: 260px;
  overflow-y: auto;
  padding: 2px;
}

.v2-backoffice .select2-container--default .select2-results__option {
  display: flex;
  align-items: center;
  min-height: 34px;
  border-radius: 10px;
  color: #25344b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 2px 0;
  padding: 8px 10px;
}

.v2-backoffice .select2-container--default .select2-results__option--highlighted[aria-selected],
.v2-backoffice .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: linear-gradient(135deg, rgba(24, 144, 255, 0.12), rgba(114, 46, 209, 0.08)) !important;
  color: #174c82 !important;
}

.v2-backoffice .select2-container--default .select2-results__option[aria-selected="true"],
.v2-backoffice .select2-container--default .select2-results__option--selected {
  background: linear-gradient(135deg, rgba(24, 144, 255, 0.14), rgba(43, 179, 192, 0.12)) !important;
  color: #0d5ea8 !important;
  font-weight: 850;
}

.v2-backoffice .bootstrap-select .dropdown-menu {
  overflow: hidden;
  border: 1px solid #d6e4f3 !important;
  border-radius: 14px !important;
  background: #fff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16) !important;
  padding: 8px !important;
}

.v2-backoffice .bootstrap-select .dropdown-menu.inner {
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* The detached container is sized to its field by bootstrap-select. Long
   options must not expand its menu beyond that measured width. */
.v2-backoffice .bootstrap-select.bs-container > .dropdown-menu {
  width: 100%;
  min-width: 100% !important;
  max-width: 100%;
}

.v2-backoffice .bootstrap-select .dropdown-menu li a {
  border-radius: 10px;
  color: #25344b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  padding: 8px 10px;
}

.v2-backoffice .bootstrap-select .dropdown-menu li a:hover,
.v2-backoffice .bootstrap-select .dropdown-menu li.selected a,
.v2-backoffice .bootstrap-select .dropdown-menu li.active a {
  background: #eef6ff !important;
  color: #1766b3 !important;
}

.v2-backoffice label,
.v2-backoffice .form-label {
  color: #53627a;
  font-size: 12px !important;
  font-weight: 650;
}

.v2-booking-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v2-booking-list > .row,
.v2-booking-list .row {
  --bs-gutter-x: 0.75rem;
  --bs-gutter-y: 0.5rem;
}

.v2-booking-list .panel {
  border: 1px solid var(--v2-line) !important;
  border-radius: 16px !important;
  background: var(--v2-surface) !important;
  box-shadow: var(--v2-shadow-soft) !important;
  padding: 18px !important;
}

.v2-booking-list .v2-search-panel {
  overflow: hidden;
  border: 0 !important;
  border-radius: 18px !important;
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(24, 144, 255, 0.42), rgba(19, 194, 194, 0.22), rgba(114, 46, 209, 0.3)) border-box !important;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.1) !important;
  padding: 0 !important;
}

.v2-search-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #cbd9eb;
  background: linear-gradient(120deg, rgba(234, 244, 255, 0.96), rgba(255, 255, 255, 0.98) 52%, rgba(246, 240, 255, 0.95));
  padding: 11px 16px;
}

.v2-search-panel-title {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.v2-search-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1890ff, #722ed1);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 14px 28px rgba(24, 144, 255, 0.24);
}

.v2-search-panel-kicker {
  display: block;
  color: var(--v2-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.v2-search-panel-title h2 {
  margin: 2px 0 0;
  color: var(--v2-text);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.v2-search-panel-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 112px;
  min-height: 38px;
  border: 1px solid #b7d8f8;
  border-radius: 999px;
  background: #fff;
  color: #155da5;
  padding: 7px 13px 7px 10px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(24, 112, 196, .1);
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.v2-search-panel-toggle:hover,
.v2-search-panel-toggle:focus-visible {
  border-color: #72b8f2;
  background: #f5faff;
  box-shadow: 0 9px 20px rgba(24, 112, 196, .16);
  transform: translateY(-1px);
}

.v2-search-panel-toggle-filter {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e8f4ff;
  color: #1377c7;
  font-size: 11px;
}

.v2-search-panel-toggle-chevron {
  margin-left: auto;
  font-size: 10px;
  transition: transform .18s ease;
}

.v2-search-panel-toggle[aria-expanded="true"] {
  border-color: #268fe0;
  background: #eaf5ff;
  color: #0f5797;
  box-shadow: inset 0 0 0 1px rgba(38, 143, 224, .08), 0 8px 18px rgba(24, 112, 196, .14);
}

.v2-search-panel-toggle[aria-expanded="true"] .v2-search-panel-toggle-chevron {
  transform: rotate(180deg);
}

.v2-search-panel-body[hidden] {
  display: none !important;
}

.v2-search-panel-body {
  padding-top: 12px;
}

.v2-search-panel-body > .v2-search-panel-presets {
  padding: 0 18px 10px;
}

.v2-search-panel-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.v2-search-panel-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #d6eaff;
  border-radius: 999px;
  background: rgba(234, 244, 255, 0.82);
  color: #1f5faa;
  font-size: 12px;
  font-weight: 750;
  padding: 5px 10px;
}

.v2-filter-section {
  border: 1px solid var(--v2-line);
  border-radius: 16px;
  background: #fff;
  padding: 14px 14px 8px;
}

.v2-filter-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.v2-filter-section-title i {
  color: var(--v2-brand);
  font-size: 10px;
}

.v2-filter-chips-shell {
  padding: 10px 14px 0;
}

.v2-filter-form {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.v2-filter-card {
  border: 1px solid #dce8f5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 78, 121, 0.04);
  min-width: 0;
  padding: 8px;
  width: 100%;
}

.v2-filter-card-primary {
  background:
    linear-gradient(135deg, rgba(238, 247, 255, 0.95), rgba(255, 255, 255, 0.8)),
    #fff;
}

.v2-filter-card-extra {
  background: #ffffff;
}

.v2-filter-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.v2-filter-card-head-compact {
  margin-bottom: 6px;
}

.v2-filter-card-kicker {
  display: block;
  color: #718096;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.v2-filter-card h3 {
  margin: 2px 0 0;
  color: var(--v2-text);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
}

.v2-filter-basic-grid,
.v2-chip-panel-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 4px 12px;
  min-width: 0;
  width: 100%;
}

.v2-filter-field {
  min-width: 0;
}

.v2-filter-field label,
.v2-filter-field .form-label {
  display: block;
  overflow: hidden;
  margin-bottom: 2px !important;
  color: #48566f;
  font-size: 10.5px !important;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-filter-field .form-control,
.v2-filter-field .form-select,
.v2-filter-field .bootstrap-select > .dropdown-toggle {
  width: 100%;
  border-color: #d7e2f1;
  border-radius: 10px !important;
  background-color: #fff;
  min-height: 30px !important;
  height: 30px !important;
  padding: 4px 9px !important;
}

.v2-quick-filter-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.v2-search-panel-presets {
  flex: 0 0 auto;
}

.v2-quick-filter-actions button,
.v2-more-filters-toggle,
.v2-chip-row .adv-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6eaff;
  border-radius: 999px;
  background: rgba(234, 244, 255, 0.9);
  color: #1f5faa;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  min-height: 24px;
  padding: 4px 8px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, background 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.v2-quick-filter-actions button:hover,
.v2-more-filters-toggle:hover,
.v2-chip-row .adv-chip:hover {
  border-color: rgba(24, 144, 255, 0.55);
  box-shadow: 0 8px 20px rgba(24, 144, 255, 0.12);
  transform: translateY(-1px);
}

.v2-chip-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 2px 4px;
  scroll-behavior: smooth;
}

.v2-chip-row::-webkit-scrollbar {
  height: 6px;
}

.v2-chip-row::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #cbdcf2;
}

.v2-chip-row .adv-chip.active {
  border-color: transparent;
  background: linear-gradient(135deg, #1890ff, #13a8c7);
  color: #fff;
  box-shadow: 0 10px 22px rgba(24, 144, 255, 0.22);
}

.v2-chip-panels {
  border-top: 1px dashed #d9e6f7;
  margin-top: 6px;
  padding-top: 8px;
}

.v2-chip-panels:empty {
  display: none;
}

.v2-chip-panels .chip-panel {
  display: none;
  min-width: 0;
}

.v2-more-filters-wrapper {
  position: relative;
  flex: 0 0 auto;
}

.v2-more-filters-toggle {
  gap: 7px;
  background: #fff;
}

.v2-more-filters-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10080;
  display: none;
  width: 270px;
  max-width: calc(100vw - 32px);
  max-height: min(420px, calc(100vh - 120px));
  border: 1px solid #d7e2f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  padding: 10px;
}

.v2-more-filters-dropdown.is-floating {
  position: fixed;
  z-index: 10080;
}

.v2-more-filters-dropdown.is-floating .v2-more-filters-list {
  max-height: var(--v2-more-filters-list-max-height, min(286px, calc(100vh - 220px)));
}

.v2-more-filters-dropdown.open {
  display: block;
}

.v2-more-filters-search {
  margin-bottom: 8px;
}

.v2-more-filters-search input {
  width: 100%;
  border: 1px solid #d7e2f1;
  border-radius: 999px;
  color: var(--v2-text);
  font-size: 12px;
  min-height: 34px;
  outline: 0;
  padding: 6px 11px;
}

.v2-more-filters-list {
  display: grid;
  gap: 2px;
  max-height: min(286px, calc(100vh - 220px));
  overflow-y: auto;
}

.v2-more-filters-item {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 9px;
  color: #344054;
  font-size: 12px;
  font-weight: 650;
  padding: 7px 6px;
}

.v2-more-filters-item:hover {
  background: #f5f9ff;
}

.v2-more-filters-item input {
  flex: 0 0 auto;
}

.v2-more-filters-item label {
  margin: 0 !important;
  cursor: pointer;
  font-size: 12px !important;
  line-height: 1.2;
}

.v2-filter-chips-shell .v2-search-action-bar {
  margin: 0 -14px 0 !important;
  border-top: 1px solid var(--v2-line);
  border-radius: 0 0 18px 18px;
}

.v2-inline-filter-btn {
  min-width: 92px;
  margin-top: 25px;
}

.v2-search-action-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--v2-line);
  background: var(--v2-surface-muted);
  margin: 14px -20px -20px !important;
  padding: 7px 14px;
}

.v2-search-action-bar .btn {
  min-height: 30px;
  padding-inline: 11px;
}

.v2-search-action-bar .search-bookings {
  box-shadow: 0 10px 20px rgba(24, 144, 255, 0.2);
}

.v2-ai-bi-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79, 70, 229, 0.25) !important;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5 0%, #1890ff 54%, #11b7c7 100%) !important;
  color: #fff !important;
  font-weight: 850;
  letter-spacing: 0;
  box-shadow: 0 14px 26px rgba(24, 144, 255, 0.22);
}

.v2-ai-bi-button:hover,
.v2-ai-bi-button:focus {
  border-color: rgba(17, 183, 199, 0.4) !important;
  color: #fff !important;
  box-shadow: 0 16px 30px rgba(79, 70, 229, 0.24);
  transform: translateY(-1px);
}

.v2-booking-list .panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  border-bottom: 1px solid var(--v2-line);
  color: var(--v2-text);
  font-size: 15px;
  font-weight: 800;
  padding: 0 0 11px;
}

.v2-booking-list .panel-heading::after {
  content: "Filters";
  border: 1px solid #d6eaff;
  border-radius: 999px;
  background: var(--v2-brand-soft);
  color: var(--v2-brand);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
}

.v2-booking-list .tab-content {
  border: 0 !important;
  background: transparent !important;
}

.v2-booking-list .panel-body {
  padding: 0 !important;
}

.v2-booking-list .v2-search-panel .panel-body {
  padding: 14px 18px 18px !important;
}

.v2-booking-list #booking-status-summary-panel {
  margin-bottom: 0 !important;
}

.v2-booking-list #booking-list-table-container > #booking-status-summary-panel {
  margin: 0 !important;
  padding: 16px 18px 0;
}

.v2-booking-list #booking-status-summary-panel .card {
  border: 1px solid var(--v2-line) !important;
  border-radius: 14px !important;
  box-shadow: var(--v2-shadow-soft) !important;
}

.v2-booking-list #booking-status-summary-panel .v2-wave-summary-card {
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.v2-booking-list #booking-status-summary-panel .card-body {
  padding: 8px 12px !important;
}

.v2-booking-list #summary-total {
  color: var(--v2-brand);
}

.v2-wave-summary-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.28fr) minmax(0, 1fr) minmax(240px, 0.28fr) minmax(240px, 0.28fr);
  gap: 10px;
  align-items: stretch;
}

.v2-wave-total-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100px;
  border: 1px solid rgba(24, 144, 255, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  padding: 10px 12px;
  box-shadow: var(--v2-shadow-soft);
}

.v2-wave-kicker,
.v2-wave-caption {
  color: var(--v2-muted);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.v2-wave-total {
  margin: 4px 0;
  color: var(--v2-brand);
  font-size: clamp(27px, 2.35vw, 36px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.v2-wave-caption {
  font-size: 10px;
  letter-spacing: 0.03em;
  text-transform: none;
}

.v2-wave-chart-block {
  min-width: 0;
  border: 1px solid var(--v2-line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 8px 11px 6px;
  box-shadow: var(--v2-shadow-soft);
}

.v2-wave-ai-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  border: 1px solid rgba(24, 144, 255, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(24, 144, 255, 0.09), rgba(114, 46, 209, 0.08)),
    #fff;
  padding: 9px;
  box-shadow: var(--v2-shadow-soft);
}

.v2-wave-status-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  border: 1px solid rgba(24, 144, 255, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  padding: 9px;
  box-shadow: var(--v2-shadow-soft);
}

.v2-wave-ai-block .v2-ai-bi-button {
  width: 100%;
  min-height: 34px;
  border-radius: 12px;
  font-size: 13px;
  box-shadow: 0 16px 30px rgba(24, 144, 255, 0.2);
}

.v2-wave-chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.v2-wave-chart-head span {
  color: var(--v2-text);
  font-size: 13px;
  font-weight: 850;
}

.v2-wave-chart-head small {
  color: var(--v2-muted);
  font-size: 10.5px;
  font-weight: 650;
}

.v2-wave-chart-wrap {
  position: relative;
  width: 100%;
  height: 82px;
}

.v2-wave-status-list {
  border-top: 0;
  margin: 0;
  padding: 0;
}

.v2-wave-status-box .v2-wave-status-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px !important;
  width: 100%;
}

.v2-booking-list .summary-status-badge {
  border-color: var(--v2-line) !important;
  border-radius: 999px !important;
  background: #fff;
}

.v2-booking-list .summary-status-badge:hover {
  background: var(--v2-surface-muted) !important;
}

.v2-booking-list .v2-wave-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  cursor: pointer;
  color: #344054;
  font-size: 12px;
  font-weight: 650;
  padding: 5px 10px;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.v2-wave-status-box .v2-wave-status-badge {
  min-width: 0;
  min-height: 19px;
  gap: 5px;
  font-size: 10.5px;
  line-height: 1.1;
  padding: 3px 7px;
}

.v2-wave-status-box .v2-wave-status-badge span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-booking-list .v2-wave-status-badge:hover {
  border-color: #d6eaff !important;
  background: var(--v2-brand-soft) !important;
  box-shadow: 0 8px 18px rgba(24, 144, 255, 0.1);
}

.v2-wave-status-dot {
  display: inline-block;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.v2-wave-status-box .v2-wave-status-dot {
  flex-basis: 8px;
  width: 8px;
  height: 8px;
}

.v2-wave-status-clear {
  appearance: none;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: inherit;
  text-align: left;
}

.v2-wave-status-dot-all {
  background: #64748b;
}

.v2-booking-list .v2-ai-bi-panel[hidden] {
  display: none !important;
}

.v2-booking-list .v2-ai-bi-panel:not(.is-open):not(:target) {
  display: none !important;
}

.v2-booking-list .v2-ai-bi-panel {
  overflow: hidden;
  border: 1px solid #d9e3f0;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(79, 70, 229, 0.06), rgba(17, 183, 199, 0.07)),
    #fff;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.09);
  margin: 18px 0 18px;
  padding: 18px;
}

.v2-ai-bi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.v2-ai-bi-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.v2-ai-bi-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4f46e5, #1890ff 58%, #11b7c7);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 16px 30px rgba(24, 144, 255, 0.22);
}

.v2-ai-bi-kicker,
.v2-ai-bi-kpi span,
.v2-ai-bi-card-head span {
  color: var(--v2-muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.v2-ai-bi-title h2 {
  margin: 3px 0 0;
  color: var(--v2-text);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
}

.v2-ai-bi-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.v2-ai-bi-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  border: 1px solid #cfe8ff;
  border-radius: 10px;
  background: #fff;
  color: #1766b3;
  font-size: 12px;
  font-weight: 850;
  padding: 8px 12px;
}

.v2-ai-bi-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d9e3f0;
  border-radius: 10px;
  background: #fff;
  color: #64748b;
  font-size: 14px;
}

.v2-ai-bi-refresh:hover,
.v2-ai-bi-close:hover,
.v2-ai-bi-close:focus {
  border-color: #1890ff;
  background: #f4faff;
  color: #1766b3;
}

.v2-ai-bi-refresh:disabled {
  cursor: wait;
  opacity: 0.72;
}

.v2-ai-bi-refresh.is-loading i {
  animation: v2-spin 0.9s linear infinite;
}

@keyframes v2-spin {
  to {
    transform: rotate(360deg);
  }
}

.v2-ai-bi-report-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(207, 232, 255, 0.86);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 12px;
  padding: 8px 11px;
}

.v2-ai-bi-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.v2-ai-bi-kpi-grid-expanded {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.v2-ai-bi-kpi,
.v2-ai-bi-insight,
.v2-ai-bi-card {
  border: 1px solid rgba(207, 232, 255, 0.88);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(31, 45, 61, 0.05);
}

.v2-ai-bi-kpi {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
  padding: 13px;
}

.v2-ai-bi-kpi strong {
  display: block;
  overflow: hidden;
  margin-top: 7px;
  color: #152238;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-ai-bi-alert {
  display: grid;
  align-items: center;
  grid-template-columns: 34px auto minmax(0, 1fr);
  gap: 10px;
  border: 1px solid rgba(239, 68, 68, 0.16);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.95), rgba(255, 255, 255, 0.9));
  color: #9a3412;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 12px;
  padding: 11px 12px;
}

.v2-ai-bi-alert i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff7ed;
  color: #f97316;
}

.v2-ai-bi-alert strong {
  color: #152238;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.v2-ai-bi-alert span {
  color: #64748b;
  line-height: 1.35;
}

.v2-ai-bi-alert.is-good {
  border-color: rgba(34, 197, 94, 0.18);
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.92));
  color: #166534;
}

.v2-ai-bi-alert.is-good i {
  background: #ecfdf5;
  color: #22c55e;
}

.v2-ai-bi-alert.is-loading {
  border-color: rgba(24, 144, 255, 0.18);
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.92));
  color: #1766b3;
}

.v2-ai-bi-alert.is-loading i {
  background: #eef6ff;
  color: #1890ff;
}

.v2-ai-bi-alert.is-warning i {
  background: #fff7ed;
  color: #f97316;
}

.v2-ai-bi-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.v2-ai-bi-insight {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  min-height: 98px;
  padding: 12px;
}

.v2-ai-bi-insight > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #eef6ff;
  color: #1677ff;
  font-size: 13px;
}

.v2-ai-bi-insight strong {
  display: block;
  color: #152238;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.v2-ai-bi-insight p {
  margin: 5px 0 0;
  color: #53627a;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

.v2-ai-bi-matrix-card {
  margin-bottom: 12px;
}

.v2-ai-bi-matrix-scroll {
  overflow-x: auto;
  width: 100%;
}

.v2-ai-bi-matrix-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
}

.v2-ai-bi-matrix-table th,
.v2-ai-bi-matrix-table td {
  border-bottom: 1px solid #edf3fa;
  color: #304056;
  font-size: 10.5px;
  font-weight: 750;
  padding: 8px 7px;
  text-align: right;
  white-space: nowrap;
}

.v2-ai-bi-matrix-table th {
  background: #f7f9fc;
  color: #6b7a90;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.v2-ai-bi-matrix-table th:first-child,
.v2-ai-bi-matrix-table td:first-child {
  left: 0;
  position: sticky;
  text-align: left;
  z-index: 1;
}

.v2-ai-bi-matrix-table td:first-child {
  background: #fff;
  color: #152238;
  font-weight: 900;
}

.v2-ai-bi-matrix-table tr.is-forecast td {
  background: #f5f8ff;
  color: #1766b3;
}

.v2-ai-bi-matrix-table td strong {
  display: block;
  color: #152238;
  font-size: 11px;
  line-height: 1.15;
}

.v2-ai-bi-matrix-table td span,
.v2-ai-bi-matrix-table td small {
  display: block;
  margin-top: 3px;
  color: #8795aa;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.1;
}

.v2-ai-bi-matrix-table td em {
  color: #b6c2d2;
  font-style: normal;
}

.v2-ai-bi-matrix-table tr.is-forecast td strong,
.v2-ai-bi-matrix-table tr.is-forecast td:first-child {
  color: #1766b3;
}

.v2-ai-bi-report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.v2-ai-bi-report-grid .v2-ai-bi-chart-card {
  grid-row: auto;
}

.v2-ai-bi-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.8fr);
  gap: 12px;
}

.v2-ai-bi-card {
  min-width: 0;
  padding: 13px;
}

.v2-ai-bi-chart-card {
  grid-row: span 2;
}

.v2-ai-bi-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.v2-ai-bi-card-head h3 {
  margin: 0;
  color: #152238;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}

.v2-ai-bi-card-head span {
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.v2-ai-bi-chart-wrap {
  position: relative;
  width: 100%;
  height: 260px;
}

.v2-ai-bi-chart-wrap-compact {
  height: 220px;
}

.v2-ai-bi-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.v2-ai-bi-table th,
.v2-ai-bi-table td {
  border-bottom: 1px solid #edf3fa;
  color: #304056;
  font-size: 11px;
  font-weight: 750;
  padding: 9px 6px;
  vertical-align: middle;
}

.v2-ai-bi-table th {
  color: #7d8ba1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.v2-ai-bi-table td:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.v2-ai-bi-table td:nth-child(2),
.v2-ai-bi-table td:nth-child(3),
.v2-ai-bi-table th:nth-child(2),
.v2-ai-bi-table th:nth-child(3) {
  text-align: right;
}

.v2-ai-bi-status-dot {
  display: inline-block;
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.v2-ai-bi-list {
  display: grid;
  gap: 8px;
}

.v2-ai-bi-bars {
  display: grid;
  gap: 9px;
}

.v2-ai-bi-bar-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 10px;
  color: #304056;
  font-size: 11px;
  font-weight: 800;
}

.v2-ai-bi-bar-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-ai-bi-bar-track {
  grid-column: 1 / -1;
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: #edf3fa;
}

.v2-ai-bi-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1890ff, #11b7c7);
}

.v2-ai-bi-list-item {
  display: grid;
  align-items: center;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  border: 1px solid #edf3fa;
  border-radius: 10px;
  background: #fbfdff;
  color: #304056;
  font-size: 11px;
  font-weight: 750;
  min-height: 38px;
  padding: 7px 9px;
}

.v2-ai-bi-list-item.is-rich {
  grid-template-columns: 24px minmax(0, 1fr) auto auto;
}

.v2-ai-bi-list-sub {
  color: #7d8ba1;
  font-size: 10px;
  font-weight: 800;
}

.v2-ai-bi-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #eef6ff;
  color: #1677ff;
  font-size: 11px;
  font-weight: 900;
}

.v2-ai-bi-list-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-ai-bi-list-item strong {
  color: #152238;
  font-size: 12px;
  font-weight: 900;
}

.v2-ai-bi-list-money {
  color: #1766b3;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.v2-ai-bi-empty {
  border: 1px dashed #d9e3f0;
  border-radius: 10px;
  color: #7d8ba1;
  font-size: 11px;
  font-weight: 750;
  padding: 11px;
  text-align: center;
}

.v2-booking-list #booking-list-table-container {
  --v2-booking-table-min-width: 100%;
  overflow: visible;
  border: 1px solid #cfdced;
  border-radius: 18px;
  background: #fff;
  padding: 0;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.09);
}

.v2-results-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #cbd9eb;
  background: linear-gradient(120deg, rgba(234, 244, 255, 0.96), rgba(255, 255, 255, 0.98) 52%, rgba(246, 240, 255, 0.95));
  border-radius: 18px 18px 0 0;
  padding: 16px 18px;
}

.v2-results-kicker {
  display: block;
  color: #6b7a90;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.v2-results-panel-head h2 {
  margin: 4px 0 0;
  color: #152238;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}

.v2-booking-list #booking-list-table-container .table-responsive {
  overflow-x: auto !important;
  overflow-y: visible !important;
  border-top: 1px solid #eef3f9;
  padding: 0;
  width: 100%;
}

.v2-booking-list #booking-list-table-container .dataTables_scroll,
.v2-booking-list #booking-list-table-container .dt-scroll {
  overflow: visible !important;
  width: 100%;
}

.v2-booking-list #booking-list-table-container .dataTables_scrollHead,
.v2-booking-list #booking-list-table-container .dt-scroll-head {
  overflow: hidden !important;
  border-radius: 12px 12px 0 0;
}

.v2-booking-list #booking-list-table-container .dataTables_scrollBody,
.v2-booking-list #booking-list-table-container .dt-scroll-body {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scrollbar-color: #bddcff #edf6ff;
  scrollbar-width: thin;
}

.v2-booking-list #booking-list-table-container .dataTables_scrollBody thead,
.v2-booking-list #booking-list-table-container .dt-scroll-body thead {
  visibility: collapse !important;
}

.v2-booking-list #booking-list-table-container .dataTables_scrollBody thead tr,
.v2-booking-list #booking-list-table-container .dataTables_scrollBody thead th,
.v2-booking-list #booking-list-table-container .dt-scroll-body thead tr,
.v2-booking-list #booking-list-table-container .dt-scroll-body thead th {
  height: 0 !important;
  max-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

.v2-booking-list #booking-list-table-container .dataTables_scrollBody::-webkit-scrollbar,
.v2-booking-list #booking-list-table-container .dt-scroll-body::-webkit-scrollbar,
.v2-booking-list #booking-list-table-container .table-responsive::-webkit-scrollbar {
  height: 10px;
}

.v2-booking-list #booking-list-table-container .dataTables_scrollBody::-webkit-scrollbar-track,
.v2-booking-list #booking-list-table-container .dt-scroll-body::-webkit-scrollbar-track,
.v2-booking-list #booking-list-table-container .table-responsive::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #edf6ff;
}

.v2-booking-list #booking-list-table-container .dataTables_scrollBody::-webkit-scrollbar-thumb,
.v2-booking-list #booking-list-table-container .dt-scroll-body::-webkit-scrollbar-thumb,
.v2-booking-list #booking-list-table-container .table-responsive::-webkit-scrollbar-thumb {
  border: 2px solid #edf6ff;
  border-radius: 999px;
  background: #8fc8ff;
}

.v2-booking-list #booking-list-table-container .dataTables_wrapper {
  overflow: visible !important;
  padding: 14px 16px 0;
}

.v2-booking-list #booking-list-table-container .dataTables_length label,
.v2-booking-list #booking-list-table-container .dataTables_filter label {
  color: var(--v2-muted);
  font-size: 12px;
  font-weight: 700;
}

.v2-booking-list #booking-list-table-container .dataTables_length select {
  min-height: 34px;
  border: 1px solid var(--v2-line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--v2-text);
  font-weight: 650;
  margin: 0 6px;
  padding: 4px 24px 4px 8px;
}

.v2-booking-list #table {
  overflow: visible;
  width: var(--v2-booking-table-min-width) !important;
  min-width: var(--v2-booking-table-min-width) !important;
  max-width: none !important;
  border: 1px solid #dbe7f4 !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 0;
  background: #fff !important;
  table-layout: fixed;
  margin-bottom: 0 !important;
}

.v2-booking-list #booking-list-table-container table.dataTable {
  width: var(--v2-booking-table-min-width) !important;
  min-width: var(--v2-booking-table-min-width) !important;
  max-width: none !important;
}

.v2-booking-list #booking-list-table-container .dataTables_scrollHeadInner,
.v2-booking-list #booking-list-table-container .dt-scroll-headInner {
  width: var(--v2-booking-table-min-width) !important;
  min-width: var(--v2-booking-table-min-width) !important;
  max-width: none !important;
}

.v2-booking-list #booking-list-table-container .dataTables_scrollHead table,
.v2-booking-list #booking-list-table-container .dt-scroll-head table {
  border-radius: 14px 14px 0 0 !important;
}

.v2-booking-list #table col {
  width: auto !important;
}

.v2-booking-list #table thead th,
.v2-booking-list #booking-list-table-container .dataTables_scrollHead thead th,
.v2-booking-list #booking-list-table-container .dt-scroll-head thead th {
  box-sizing: border-box;
  border-radius: 0 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: linear-gradient(180deg, #2f73b8, #245f9d) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 9px !important;
  font-weight: 850 !important;
  letter-spacing: 0.035em !important;
  line-height: 1.15;
  overflow: hidden;
  overflow-wrap: normal;
  padding: 11px 6px !important;
  text-overflow: clip;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: normal !important;
  word-break: normal;
}

.v2-booking-list #table thead th + th,
.v2-booking-list #booking-list-table-container .dataTables_scrollHead thead th + th,
.v2-booking-list #booking-list-table-container .dt-scroll-head thead th + th {
  border-left: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.v2-booking-list #table thead th:first-child,
.v2-booking-list #booking-list-table-container .dataTables_scrollHead thead th:first-child,
.v2-booking-list #booking-list-table-container .dt-scroll-head thead th:first-child {
  border-radius: 12px 0 0 0 !important;
}

.v2-booking-list #table thead th:last-child,
.v2-booking-list #booking-list-table-container .dataTables_scrollHead thead th:last-child,
.v2-booking-list #booking-list-table-container .dt-scroll-head thead th:last-child {
  border-radius: 0 12px 0 0 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.42) !important;
  box-shadow: inset -1px 0 0 rgba(10, 61, 109, 0.2) !important;
}

.v2-booking-list #table thead th .dt-column-title,
.v2-booking-list #table thead th .dt-column-order,
.v2-booking-list #booking-list-table-container .dataTables_scrollHead thead th .dt-column-title,
.v2-booking-list #booking-list-table-container .dataTables_scrollHead thead th .dt-column-order,
.v2-booking-list #booking-list-table-container .dt-scroll-head thead th .dt-column-title,
.v2-booking-list #booking-list-table-container .dt-scroll-head thead th .dt-column-order {
  color: inherit !important;
}

.v2-booking-list #table thead th.sorting::before,
.v2-booking-list #table thead th.sorting::after,
.v2-booking-list #table thead th.sorting_asc::before,
.v2-booking-list #table thead th.sorting_asc::after,
.v2-booking-list #table thead th.sorting_desc::before,
.v2-booking-list #table thead th.sorting_desc::after,
.v2-booking-list #booking-list-table-container .dataTables_scrollHead thead th.sorting::before,
.v2-booking-list #booking-list-table-container .dataTables_scrollHead thead th.sorting::after,
.v2-booking-list #booking-list-table-container .dataTables_scrollHead thead th.sorting_asc::before,
.v2-booking-list #booking-list-table-container .dataTables_scrollHead thead th.sorting_asc::after,
.v2-booking-list #booking-list-table-container .dataTables_scrollHead thead th.sorting_desc::before,
.v2-booking-list #booking-list-table-container .dataTables_scrollHead thead th.sorting_desc::after,
.v2-booking-list #booking-list-table-container .dt-scroll-head thead th.sorting::before,
.v2-booking-list #booking-list-table-container .dt-scroll-head thead th.sorting::after,
.v2-booking-list #booking-list-table-container .dt-scroll-head thead th.sorting_asc::before,
.v2-booking-list #booking-list-table-container .dt-scroll-head thead th.sorting_asc::after,
.v2-booking-list #booking-list-table-container .dt-scroll-head thead th.sorting_desc::before,
.v2-booking-list #booking-list-table-container .dt-scroll-head thead th.sorting_desc::after {
  color: rgba(255, 255, 255, 0.58) !important;
}

.v2-booking-list #table td {
  box-sizing: border-box;
  border-color: #dbe7f4 !important;
  border-style: solid !important;
  border-width: 0 0 1px !important;
  background: #fff !important;
  color: #243348 !important;
  font-size: 11.5px !important;
  line-height: 1.35;
  min-height: 56px;
  overflow-wrap: break-word;
  padding: 10px 7px !important;
  text-transform: none !important;
  vertical-align: middle;
  word-break: normal;
  box-shadow: none;
}

.v2-booking-list #booking-list-table-container table.dataTable th,
.v2-booking-list #booking-list-table-container table.dataTable td {
  max-width: none !important;
}

.v2-booking-list #booking-list-table-container:not(.v2-table-has-extra-columns) .bb-col-row {
  width: 3% !important;
}

.v2-booking-list #booking-list-table-container:not(.v2-table-has-extra-columns) .bb-col-service {
  width: 4% !important;
}

.v2-booking-list #booking-list-table-container:not(.v2-table-has-extra-columns) .bb-col-booking-id {
  width: 8.5% !important;
}

.v2-booking-list #booking-list-table-container:not(.v2-table-has-extra-columns) .bb-col-status {
  width: 9% !important;
}

.v2-booking-list #booking-list-table-container:not(.v2-table-has-extra-columns) .bb-col-agent {
  width: 8% !important;
}

.v2-booking-list #booking-list-table-container:not(.v2-table-has-extra-columns) .bb-col-consultant {
  width: 6% !important;
}

.v2-booking-list #booking-list-table-container:not(.v2-table-has-extra-columns) .bb-col-city,
.v2-booking-list #booking-list-table-container:not(.v2-table-has-extra-columns) .bb-col-amount {
  width: 5% !important;
}

.v2-booking-list #booking-list-table-container:not(.v2-table-has-extra-columns) .bb-col-date {
  width: 7% !important;
}

.v2-booking-list #booking-list-table-container:not(.v2-table-has-extra-columns) .bb-col-supplier {
  width: 5% !important;
}

.v2-booking-list #booking-list-table-container:not(.v2-table-has-extra-columns) .bb-col-supplier-ref {
  width: 6% !important;
}

.v2-booking-list #booking-list-table-container:not(.v2-table-has-extra-columns) .bb-col-traveller {
  width: 7% !important;
}

.v2-booking-list #booking-list-table-container:not(.v2-table-has-extra-columns) .bb-col-action {
  width: 12.5% !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-row {
  min-width: 38px !important;
  width: 38px !important;
  max-width: 38px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-service {
  min-width: 58px !important;
  width: 58px !important;
  max-width: 58px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-booking-id {
  min-width: 88px !important;
  width: 88px !important;
  max-width: 88px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-status {
  min-width: 138px !important;
  width: 138px !important;
  max-width: 138px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-agent {
  min-width: 150px !important;
  width: 150px !important;
  max-width: 150px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-consultant {
  min-width: 92px !important;
  width: 92px !important;
  max-width: 92px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-city {
  min-width: 88px !important;
  width: 88px !important;
  max-width: 88px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-amount {
  min-width: 72px !important;
  width: 72px !important;
  max-width: 72px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-date {
  min-width: 104px !important;
  width: 104px !important;
  max-width: 104px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-supplier {
  min-width: 96px !important;
  width: 96px !important;
  max-width: 96px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-supplier-ref {
  min-width: 112px !important;
  width: 112px !important;
  max-width: 112px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-traveller {
  min-width: 120px !important;
  width: 120px !important;
  max-width: 120px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-service-name {
  min-width: 220px !important;
  width: 220px !important;
  max-width: 220px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-confirmation-number {
  min-width: 180px !important;
  width: 180px !important;
  max-width: 180px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-branch {
  min-width: 130px !important;
  width: 130px !important;
  max-width: 130px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-contact-number {
  min-width: 142px !important;
  width: 142px !important;
  max-width: 142px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-itinerary-id,
.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-voucher-id {
  min-width: 120px !important;
  width: 120px !important;
  max-width: 120px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-sales-manager {
  min-width: 136px !important;
  width: 136px !important;
  max-width: 136px !important;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-assurance {
  min-width: 118px !important;
  width: 118px !important;
  max-width: 118px !important;
}

.booking-assurance-score {
  --assurance-border: #b8cbe2;
  --assurance-bg: #f4f8fd;
  --assurance-text: #38526f;
  display: inline-grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 100px;
  padding: 5px 7px;
  border: 1px solid var(--assurance-border);
  border-radius: 11px;
  background: var(--assurance-bg);
  color: var(--assurance-text);
  text-decoration: none;
  line-height: 1.08;
  transition: transform .16s ease, box-shadow .16s ease;
}

.booking-assurance-score:hover,
.booking-assurance-score:focus-visible {
  color: var(--assurance-text);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(31, 95, 154, .13);
}

.booking-assurance-score__value {
  display: grid;
  place-items: center;
  min-height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 900;
}

.booking-assurance-score__label {
  overflow-wrap: anywhere;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .02em;
}

.booking-assurance-score.is-secured {
  --assurance-border: #8bdcc6;
  --assurance-bg: #eafff8;
  --assurance-text: #08745e;
}

.booking-assurance-score.is-monitoring {
  --assurance-border: #9acff8;
  --assurance-bg: #edf7ff;
  --assurance-text: #1265a4;
}

.booking-assurance-score.is-action-required {
  --assurance-border: #efcc72;
  --assurance-bg: #fff8df;
  --assurance-text: #805500;
}

.booking-assurance-score.is-at-risk {
  --assurance-border: #ffb3c0;
  --assurance-bg: #fff0f3;
  --assurance-text: #ae243b;
}

.booking-assurance-score.is-closed {
  --assurance-border: #c8d2df;
  --assurance-bg: #f2f5f8;
  --assurance-text: #526276;
}

.v2-booking-list #booking-list-table-container.v2-table-has-extra-columns .bb-col-action {
  min-width: 210px !important;
  width: 210px !important;
  max-width: 210px !important;
}

.v2-booking-list #table th:last-child,
.v2-booking-list #table td:last-child {
  white-space: normal !important;
}

.v2-booking-list #table th.bb-col-action,
.v2-booking-list #table td.bb-col-action,
.v2-booking-list #booking-list-table-container .dataTables_scrollHead th.bb-col-action,
.v2-booking-list #booking-list-table-container .dt-scroll-head th.bb-col-action {
  overflow: visible !important;
  padding-left: 7px !important;
  padding-right: 7px !important;
}

.v2-booking-list #table td.bb-col-action .action-icons {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.v2-booking-list #table td.bb-col-action .actionCont {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px 7px;
  width: 100%;
  max-width: 100%;
}

.v2-booking-list #table td.bb-col-action .input-group-addon {
  display: inline-flex;
  flex: 0 0 auto;
  margin: 0 !important;
}

.v2-travel-agents-page #booking-list-table-container {
  --v2-travel-agent-table-min-width: 2020px;
  max-width: 100%;
  overflow: hidden;
  width: 100%;
}

.v2-travel-agents-page .v2-agent-list-panel > .v2-table-panel-head {
  border-top-left-radius: 17px;
  border-top-right-radius: 17px;
  background-clip: padding-box;
}

.v2-travel-agents-page .v2-table-panel,
.v2-travel-agents-page .v2-table-panel-body,
.v2-travel-agents-page .v2-table-panel-body > .row,
.v2-travel-agents-page #booking-list-table-container {
  max-width: 100% !important;
  min-width: 0 !important;
}

.v2-travel-agents-page .v2-table-panel-body > .row,
.v2-travel-agents-page #booking-list-table-container {
  width: 100% !important;
}

.v2-travel-agents-page #booking-list-table-container .table-responsive {
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  width: 100% !important;
}

.v2-travel-agents-page #booking-list-table-container .dataTables_wrapper {
  max-width: 100% !important;
  overflow: visible !important;
  width: 100% !important;
}

.v2-travel-agents-page #booking-list-table-container .dataTables_length,
.v2-travel-agents-page #booking-list-table-container .dataTables_filter {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin: 0 0 14px;
}

.v2-travel-agents-page #booking-list-table-container .dataTables_filter {
  justify-content: flex-end;
}

.v2-travel-agents-page #booking-list-table-container .dataTables_length label,
.v2-travel-agents-page #booking-list-table-container .dataTables_filter label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--v2-muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.v2-travel-agents-page #booking-list-table-container .dataTables_length select,
.v2-travel-agents-page #booking-list-table-container .dataTables_filter input {
  height: 42px;
  min-height: 42px;
  border: 1px solid var(--v2-line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--v2-text);
  font-weight: 750;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06), inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.v2-travel-agents-page #booking-list-table-container .dataTables_length select {
  width: 96px;
  padding: 4px 28px 4px 12px;
}

.v2-travel-agents-page #booking-list-table-container .dataTables_filter input {
  width: clamp(220px, 28vw, 320px);
  padding: 8px 14px;
}

.v2-travel-agents-page #booking-list-table-container .dataTables_scroll,
.v2-travel-agents-page #booking-list-table-container .dt-scroll,
.v2-travel-agents-page #booking-list-table-container .dataTables_scrollHead,
.v2-travel-agents-page #booking-list-table-container .dt-scroll-head,
.v2-travel-agents-page #booking-list-table-container .dataTables_scrollBody,
.v2-travel-agents-page #booking-list-table-container .dt-scroll-body {
  max-width: 100% !important;
  overflow-x: auto !important;
  width: 100% !important;
}

.v2-travel-agents-page #booking-list-table-container .table-responsive {
  border-top: 1px solid #eef3f9;
  padding: 0;
}

.v2-travel-agents-page #requestListsTable,
.v2-travel-agents-page #booking-list-table-container table.dataTable,
.v2-travel-agents-page #booking-list-table-container .dataTables_scrollHeadInner,
.v2-travel-agents-page #booking-list-table-container .dt-scroll-headInner {
  max-width: none !important;
  min-width: var(--v2-travel-agent-table-min-width) !important;
  table-layout: fixed !important;
  width: var(--v2-travel-agent-table-min-width) !important;
}

.v2-travel-agents-page #requestListsTable {
  overflow: hidden;
}

.v2-travel-agents-page #requestListsTable col {
  width: auto !important;
}

.v2-travel-agents-page #requestListsTable .ta-col-action,
.v2-travel-agents-page #booking-list-table-container .dataTables_scrollHead th.ta-col-action,
.v2-travel-agents-page #booking-list-table-container .dt-scroll-head th.ta-col-action {
  width: 230px !important;
  max-width: 230px !important;
  min-width: 230px !important;
  overflow: visible !important;
  padding-left: 7px !important;
  padding-right: 7px !important;
  white-space: normal !important;
}

.v2-travel-agents-page #requestListsTable td {
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

.v2-travel-agents-page #requestListsTable th {
  overflow-wrap: normal !important;
  white-space: normal !important;
  word-break: normal !important;
}

.v2-travel-agents-page #requestListsTable .ta-col-code { min-width: 100px !important; width: 100px !important; max-width: 100px !important; }
.v2-travel-agents-page #requestListsTable .ta-col-type { min-width: 90px !important; width: 90px !important; max-width: 90px !important; }
.v2-travel-agents-page #requestListsTable .ta-col-consultant { min-width: 125px !important; width: 125px !important; max-width: 125px !important; }
.v2-travel-agents-page #requestListsTable .ta-col-sales-manager { min-width: 135px !important; width: 135px !important; max-width: 135px !important; }
.v2-travel-agents-page #requestListsTable .ta-col-branch { min-width: 115px !important; width: 115px !important; max-width: 115px !important; }
.v2-travel-agents-page #requestListsTable .ta-col-country { min-width: 125px !important; width: 125px !important; max-width: 125px !important; }
.v2-travel-agents-page #requestListsTable .ta-col-agency { min-width: 165px !important; width: 165px !important; max-width: 165px !important; }
.v2-travel-agents-page #requestListsTable .ta-col-email { min-width: 180px !important; width: 180px !important; max-width: 180px !important; }
.v2-travel-agents-page #requestListsTable .ta-col-username { min-width: 130px !important; width: 130px !important; max-width: 130px !important; }
.v2-travel-agents-page #requestListsTable .ta-col-contact-person { min-width: 150px !important; width: 150px !important; max-width: 150px !important; }
.v2-travel-agents-page #requestListsTable .ta-col-status { min-width: 140px !important; width: 140px !important; max-width: 140px !important; }
.v2-travel-agents-page #requestListsTable .ta-col-register-date { min-width: 145px !important; width: 145px !important; max-width: 145px !important; }
.v2-travel-agents-page #requestListsTable .ta-col-sub-agent { min-width: 105px !important; width: 105px !important; max-width: 105px !important; }
.v2-travel-agents-page #requestListsTable .ta-col-staff { min-width: 85px !important; width: 85px !important; max-width: 85px !important; }

.v2-travel-agents-page #requestListsTable td.ta-col-register-date {
  text-align: center !important;
}

.v2-travel-agents-page #requestListsTable .dateWrapper.v2-agent-date-tile {
  display: inline-grid !important;
  align-items: stretch !important;
  grid-template-columns: 24px minmax(32px, 1fr) !important;
  gap: 3px 5px !important;
  width: 78px !important;
  min-width: 78px !important;
  max-width: 78px !important;
  border: 1px solid #cfe2f6 !important;
  border-radius: 11px !important;
  background:
    linear-gradient(180deg, rgba(24, 144, 255, 0.07), rgba(255, 255, 255, 0)),
    #fff !important;
  color: #2d3b50 !important;
  box-shadow: 0 8px 16px rgba(24, 144, 255, 0.09) !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  line-height: 1.05 !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  overflow-wrap: normal !important;
  padding: 4px !important;
  text-align: left !important;
  text-transform: none !important;
  vertical-align: middle !important;
  white-space: normal !important;
  word-break: normal !important;
}

.v2-travel-agents-page #requestListsTable .dateWrapper.v2-agent-date-tile .onlyDate {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  grid-row: 1 !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #1890ff, #13a8c7) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

.v2-travel-agents-page #requestListsTable .dateWrapper.v2-agent-date-tile .monthYear {
  display: block !important;
  align-self: center !important;
  background: transparent !important;
  color: #243348 !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1.05 !important;
  max-width: 36px !important;
  overflow: hidden !important;
  padding: 0 !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  word-break: normal !important;
}

.v2-travel-agents-page #requestListsTable .dateWrapper.v2-agent-date-tile .dateTime {
  display: inline-flex !important;
  align-items: center !important;
  grid-column: 1 / -1 !important;
  justify-content: center !important;
  min-height: 16px !important;
  border-radius: 999px !important;
  background: #edf5fe !important;
  color: #637083 !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
  margin: 1px 0 0 !important;
  padding: 2px 4px !important;
  white-space: nowrap !important;
}

.v2-travel-agents-page #requestListsTable .dateWrapper.v2-agent-date-tile .dateTime::before {
  content: "" !important;
  width: 4px !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: #1890ff !important;
  margin-right: 4px !important;
}

.v2-travel-agents-page #requestListsTable td.ta-col-action {
  text-align: left !important;
}

.v2-travel-agents-page #requestListsTable td.ta-col-action .action-icons,
.v2-travel-agents-page #requestListsTable td.ta-col-action .actionCont {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 6px 7px !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  margin: 0 !important;
}

.v2-travel-agents-page #requestListsTable td.ta-col-action .input-group-addon {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  float: none !important;
  margin: 0 !important;
}

.v2-agent-directory-page #requestListsTable .action-icons > a.d-none,
.v2-agent-directory-page #requestListsTable .action-icons > button.d-none {
  display: none !important;
}

@media (max-width: 768px) {
  .v2-travel-agents-page #booking-list-table-container .dataTables_length,
  .v2-travel-agents-page #booking-list-table-container .dataTables_filter {
    justify-content: flex-start;
    width: 100%;
  }

  .v2-travel-agents-page #booking-list-table-container .dataTables_filter label {
    width: 100%;
  }

  .v2-travel-agents-page #booking-list-table-container .dataTables_filter input {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }
}

.v2-booking-list #table th:nth-child(9),
.v2-booking-list #table td:nth-child(9),
.v2-booking-list #table th:nth-child(10),
.v2-booking-list #table td:nth-child(10),
.v2-booking-list #table th:nth-child(11),
.v2-booking-list #table td:nth-child(11) {
  padding-left: 4px !important;
  padding-right: 4px !important;
}

.v2-booking-list #table tbody tr:nth-child(even) td {
  background: #f4f8fd !important;
}

.v2-booking-list #table tbody tr:nth-child(odd) td {
  background: #fff !important;
}

.v2-booking-list #table tbody tr + tr td {
  border-top: 1px solid #d7e4f2 !important;
}

.v2-booking-list #table tbody tr td:first-child {
  box-shadow: inset 3px 0 0 rgba(24, 144, 255, 0.08);
}

.v2-booking-list #table tbody tr:nth-child(even) td:first-child {
  box-shadow: inset 3px 0 0 rgba(114, 46, 209, 0.12);
}

.v2-booking-list #table tbody tr:hover td {
  border-color: #d8e9ff !important;
  background: #eef7ff !important;
  box-shadow: inset 0 1px 0 rgba(22, 119, 255, 0.05);
}

.v2-booking-list #table tbody tr:hover td:first-child {
  box-shadow: inset 3px 0 0 #1890ff, inset 0 1px 0 rgba(22, 119, 255, 0.05);
}

.v2-booking-list #table tbody td:first-child {
  border-left-width: 0 !important;
  border-radius: 0;
  color: #7a8798 !important;
  font-weight: 750;
}

.v2-booking-list #table tbody td:last-child {
  border-right-width: 0 !important;
  border-radius: 0;
}

/* The first table cell moves to the visual right in RTL, so mirror the
   row-tracking accent and the outer-edge border cleanup with it. */
.v2-rtl .v2-booking-list #table tbody tr td:first-child {
  box-shadow: inset -3px 0 0 rgba(24, 144, 255, 0.08);
}

.v2-rtl .v2-booking-list #table tbody tr:nth-child(even) td:first-child {
  box-shadow: inset -3px 0 0 rgba(114, 46, 209, 0.12);
}

.v2-rtl .v2-booking-list #table tbody tr:hover td:first-child {
  box-shadow: inset -3px 0 0 #1890ff, inset 0 1px 0 rgba(22, 119, 255, 0.05);
}

.v2-rtl .v2-booking-list #table tbody td:first-child {
  border-right-width: 0 !important;
  border-left-width: 1px !important;
}

.v2-rtl .v2-booking-list #table tbody td:last-child {
  border-right-width: 1px !important;
  border-left-width: 0 !important;
}

.v2-booking-list #table td:nth-child(2) i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #cfe0f3;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #eef7ff);
  color: #183d61;
  font-size: 13px !important;
}

.v2-booking-list #table td:nth-child(3) a {
  color: #1f3b57 !important;
  text-decoration: none !important;
}

.v2-booking-list #table td.bb-col-booking-id .dt-col-p-b {
  color: #1f3b57 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: -0.15px;
  white-space: nowrap;
}

.v2-booking-list #table td.bb-col-booking-id .dt-col-p:not(.dt-col-p-b) {
  color: #7c8796 !important;
  font-size: 10.5px !important;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

.v2-booking-list #table .badge,
.v2-booking-list .supplier-status .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 9.5px !important;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 !important;
  padding: 4px 6px;
  text-transform: none;
  white-space: nowrap;
}

.v2-booking-list #table .blist-service-type {
  margin: 2px 3px 2px 0;
}

.v2-booking-list #table .status-modal {
  color: inherit !important;
  text-decoration: none !important;
}

.v2-booking-list #table .bb-status-line,
.v2-booking-details-page .bb-status-line {
  --status-accent: #64748b;
  --status-ink: #334155;
  --status-bg: #f8fafc;
  --status-border: #dbe5ef;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  text-align: left;
}

.v2-booking-list #table .bb-status-line,
.v2-booking-list #table .bb-status-line *,
.v2-booking-details-page .bb-status-line,
.v2-booking-details-page .bb-status-line * {
  box-sizing: border-box;
}

.v2-booking-list #table .bb-status-label,
.v2-booking-details-page .bb-status-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 26px;
  border: 1px solid var(--status-border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.14)),
    var(--status-bg);
  box-shadow: inset 4px 0 0 var(--status-accent);
  color: var(--status-ink);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  padding: 5px 9px 5px 11px;
  text-align: center;
  white-space: normal;
  word-break: normal;
}

.v2-booking-list #table .bb-status-meta-row,
.v2-booking-details-page .bb-status-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 100%;
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
}

.v2-booking-list #table .bb-status-meta,
.v2-booking-details-page .bb-status-meta {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  border: 1px solid #dbe7f4;
  border-radius: 999px;
  background: #f7fbff;
  color: #59697f;
  font: inherit;
  line-height: inherit;
  padding: 2px 5px;
  white-space: nowrap;
}

.v2-booking-list #table .bb-status-meta-strong,
.v2-booking-details-page .bb-status-meta-strong {
  border-color: #bddcff;
  background: #edf6ff;
  color: #0b63b6;
  font-size: 10px;
  font-weight: 900;
}

.v2-booking-details-page .bb-status-cell {
  align-items: center;
  justify-content: center;
}

.v2-booking-details-page .bb-status-cell .bb-status-line,
.v2-booking-details-page .bb-status-cell .bb-status-meta-row {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.v2-booking-details-page .v2-booking-header-status {
  width: auto;
}

.v2-booking-details-page .v2-rate-revenue-cell {
  text-align: center !important;
}

.v2-booking-details-page .v2-rate-revenue-cell .v2-filled-tag {
  vertical-align: middle;
}

.v2-booking-details-page .v2-rate-breakup-heading {
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 5px 12px rgba(37, 99, 235, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.035em;
  padding: 10px 12px;
}

.v2-booking-details-page #voucheredModal .voucher-page table {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  table-layout: fixed;
}

.v2-booking-details-page #voucheredModal .voucher-page th,
.v2-booking-details-page #voucheredModal .voucher-page td {
  overflow-wrap: anywhere;
}

.v2-booking-details-page #statusHistoryModal .status-history-card {
  overflow: hidden;
  border: 1px solid #cfe0f2;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(23, 68, 117, 0.2);
}

.v2-booking-details-page #statusHistoryModal .status-history-header {
  border-bottom: 1px solid #d8e7f5;
  background:
    radial-gradient(circle at 92% 10%, rgba(124, 58, 237, 0.1), transparent 36%),
    linear-gradient(135deg, #edf7ff 0%, #f8f5ff 100%);
  padding: 18px 20px;
}

.v2-booking-details-page #statusHistoryModal .status-history-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v2-booking-details-page #statusHistoryModal .status-history-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
  color: #fff;
}

.v2-booking-details-page #statusHistoryModal .status-history-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #6b7f9d;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v2-booking-details-page #statusHistoryModal .status-history-heading h5 {
  margin: 0;
  color: #142f55;
  font-size: 18px;
  font-weight: 850;
}

.v2-booking-details-page #statusHistoryModal .status-history-body {
  padding: 18px 20px;
}

.v2-booking-details-page #statusHistoryModal .status-history-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.v2-booking-details-page #statusHistoryModal .status-history-reference {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v2-booking-details-page #statusHistoryModal .status-history-reference span {
  color: #7185a2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v2-booking-details-page #statusHistoryModal .status-history-reference strong {
  color: #16375f;
  font-size: 15px;
}

.v2-booking-details-page #statusHistoryModal .status-history-print {
  min-height: 36px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  font-weight: 800;
  padding: 8px 13px;
}

.v2-booking-details-page #statusHistoryModal .status-history-table-wrap {
  border: 1px solid #d9e6f3;
  border-radius: 12px;
}

.v2-booking-details-page #statusHistoryModal .status-history-table {
  width: 100%;
  min-width: 640px;
  margin: 0;
}

.v2-booking-details-page #statusHistoryModal .status-history-table thead th {
  border: 0;
  border-bottom: 1px solid #d9e6f3;
  background: #f2f7fc;
  color: #607694;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.065em;
  padding: 11px 12px;
  text-transform: uppercase;
}

.v2-booking-details-page #statusHistoryModal .status-history-table tbody td {
  border-color: #e6eef6;
  color: #334b6b;
  font-size: 12px;
  padding: 11px 12px;
}

.v2-booking-details-page #statusHistoryModal .status-history-table tbody tr:nth-child(even) td {
  background: #f8fbfe;
}

.v2-booking-details-page #statusHistoryModal .status-history-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  color: #fff;
  font-size: 10.5px;
  font-weight: 850;
  padding: 4px 9px;
  white-space: nowrap;
}

.v2-booking-details-page #statusHistoryModal .status-history-footer {
  border-top: 1px solid #e0eaf4;
  background: #f9fbfd;
  padding: 12px 20px;
}

.v2-booking-details-page #statusHistoryModal .status-history-footer .btn {
  min-width: 88px;
  border-color: #c5d7e8;
  border-radius: 9px;
  color: #385470;
  font-weight: 800;
}

@media (max-width: 575.98px) {
  .v2-booking-details-page #statusHistoryModal .status-history-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .v2-booking-details-page #statusHistoryModal .status-history-print {
    justify-content: center;
    width: 100%;
  }
}

.v2-booking-details-page .v2-notes-workspace {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.v2-booking-details-page .v2-notes-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #d5e5f4;
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 12%, rgba(124, 58, 237, 0.09), transparent 34%),
    linear-gradient(135deg, #eef8ff 0%, #faf7ff 100%);
  padding: 20px 22px;
}

.v2-booking-details-page .v2-notes-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #6f84a0;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v2-booking-details-page .v2-notes-header h2 {
  margin: 0;
  color: #142f55;
  font-size: 21px;
  font-weight: 850;
}

.v2-booking-details-page .v2-notes-header p {
  margin: 5px 0 0;
  color: #607796;
  font-size: 12px;
}

.v2-booking-details-page .v2-notes-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 9px 20px rgba(37, 99, 235, 0.16);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  padding: 9px 14px;
  white-space: nowrap;
}

.v2-booking-details-page .v2-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.v2-booking-details-page .v2-notes-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #d9e6f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 22px rgba(34, 76, 121, 0.06);
}

.v2-booking-details-page .v2-notes-card-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid #e0eaf4;
  background: #f8fbfe;
  padding: 14px 15px;
}

.v2-booking-details-page .v2-notes-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.v2-booking-details-page .v2-notes-card-icon.is-operation {
  background: #e9f3ff;
  color: #2563eb;
}

.v2-booking-details-page .v2-notes-card-icon.is-agent {
  background: #ecfbf8;
  color: #0891b2;
}

.v2-booking-details-page .v2-notes-card-header h3 {
  margin: 0;
  color: #18365b;
  font-size: 14px;
  font-weight: 850;
}

.v2-booking-details-page .v2-notes-card-header p {
  margin: 2px 0 0;
  color: #7185a1;
  font-size: 10px;
}

.v2-booking-details-page .v2-notes-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 25px;
  border: 1px solid #ccdef0;
  border-radius: 999px;
  background: #fff;
  color: #496582;
  font-size: 10px;
  font-weight: 850;
  padding: 0 7px;
}

.v2-booking-details-page .v2-notes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 190px;
  padding: 14px;
}

.v2-booking-details-page .v2-note-item {
  border: 1px solid #dde8f3;
  border-radius: 10px;
  background: #fbfdff;
  padding: 12px 13px;
}

.v2-booking-details-page .v2-note-item p {
  margin: 0;
  color: #334b69;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.v2-booking-details-page .v2-note-item time {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: #7c8fa7;
  font-size: 9.5px;
}

.v2-booking-details-page .v2-notes-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  flex-direction: column;
  min-height: 160px;
  padding: 22px;
  text-align: center;
}

.v2-booking-details-page .v2-notes-empty > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 13px;
  background: #f0f6fc;
  color: #6b87a6;
  font-size: 18px;
}

.v2-booking-details-page .v2-notes-empty strong {
  color: #385474;
  font-size: 12px;
}

.v2-booking-details-page .v2-notes-empty p {
  max-width: 240px;
  margin: 4px 0 0;
  color: #8293a9;
  font-size: 10.5px;
  line-height: 1.45;
}

@media (max-width: 899.98px) {
  .v2-booking-details-page .v2-notes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .v2-booking-details-page .v2-notes-header {
    align-items: stretch;
    flex-direction: column;
  }

  .v2-booking-details-page .v2-notes-add {
    width: 100%;
  }
}

.v2-booking-details-page #addNoteModal .v2-note-modal-card {
  overflow: hidden;
  border: 1px solid #cfe0f2;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(23, 68, 117, 0.22);
}

.v2-booking-details-page #addNoteModal .v2-note-modal-header {
  border-bottom: 1px solid #d9e7f4;
  background:
    radial-gradient(circle at 92% 10%, rgba(124, 58, 237, 0.1), transparent 34%),
    linear-gradient(135deg, #edf7ff 0%, #faf6ff 100%);
  padding: 18px 20px;
}

.v2-booking-details-page #addNoteModal .v2-note-modal-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v2-booking-details-page #addNoteModal .v2-note-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
  color: #fff;
}

.v2-booking-details-page #addNoteModal .v2-note-modal-heading span {
  display: block;
  margin-bottom: 2px;
  color: #7185a1;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v2-booking-details-page #addNoteModal .v2-note-modal-heading h5 {
  margin: 0;
  color: #142f55;
  font-size: 18px;
  font-weight: 850;
}

.v2-booking-details-page #addNoteModal .v2-note-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}

.v2-booking-details-page #addNoteModal .v2-note-form-intro {
  margin: 0;
  color: #637995;
  font-size: 11.5px;
  line-height: 1.5;
}

.v2-booking-details-page #addNoteModal .v2-note-reminder-fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.v2-booking-details-page #addNoteModal .v2-note-reminder-fieldset legend,
.v2-booking-details-page #addNoteModal .v2-note-field > label {
  margin: 0 0 7px;
  color: #385473;
  font-size: 11px;
  font-weight: 850;
}

.v2-booking-details-page #addNoteModal .v2-note-reminder-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.v2-booking-details-page #addNoteModal .v2-note-reminder-options label {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.v2-booking-details-page #addNoteModal .v2-note-reminder-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.v2-booking-details-page #addNoteModal .v2-note-reminder-options span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  border: 1px solid #ceddec;
  border-radius: 9px;
  background: #f8fbfe;
  color: #58708d;
  font-size: 11px;
  font-weight: 800;
  padding: 8px 10px;
  transition: 0.16s ease;
}

.v2-booking-details-page #addNoteModal .v2-note-reminder-options input:checked + span {
  border-color: #77b9ef;
  background: #eaf5ff;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
  color: #1267b4;
}

.v2-booking-details-page #addNoteModal .v2-note-reminder-options input:focus-visible + span {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  outline-offset: 2px;
}

.v2-booking-details-page #addNoteModal .v2-note-field {
  display: flex;
  flex-direction: column;
}

.v2-booking-details-page #addNoteModal .v2-note-field .form-control {
  min-height: 42px;
  border-color: #cbddec;
  border-radius: 10px;
  background: #fff;
  color: #263f60;
  font-size: 12px;
  padding: 10px 12px;
}

.v2-booking-details-page #addNoteModal .v2-note-field textarea.form-control {
  min-height: 104px;
  resize: vertical;
}

.v2-booking-details-page #addNoteModal .v2-note-field .form-control:focus {
  border-color: #69afe8;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.v2-booking-details-page #addNoteModal .v2-note-field .form-control:disabled {
  border-color: #e0e8f0;
  background: #f3f6f9;
  color: #91a0b2;
}

.v2-booking-details-page #addNoteModal .v2-note-field small {
  margin-top: 5px;
  color: #8393a7;
  font-size: 9.5px;
}

.v2-booking-details-page #addNoteModal .v2-note-modal-footer {
  gap: 8px;
  border-top: 1px solid #e0eaf4;
  background: #f9fbfd;
  padding: 13px 20px;
}

.v2-booking-details-page #addNoteModal .v2-note-modal-footer .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  min-width: 96px;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 850;
  padding: 8px 13px;
}

.v2-booking-details-page #addNoteModal .v2-note-modal-footer .btn-primary {
  border: 0;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.v2-booking-details-page .v2-compose-workspace {
  min-height: 100%;
  padding: 28px;
  background: radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.07), transparent 32%), linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.v2-booking-details-page .v2-compose-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid #d9e7f5;
}

.v2-booking-details-page .v2-compose-header-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #2878f0, #6f42e8);
  box-shadow: 0 10px 22px rgba(64, 93, 220, 0.2);
}

.v2-booking-details-page .v2-compose-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #7186a5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.v2-booking-details-page .v2-compose-header h2 {
  margin: 0;
  color: #112746;
  font-size: 22px;
  font-weight: 800;
}

.v2-booking-details-page .v2-compose-header p {
  margin: 4px 0 0;
  color: #657b9c;
  font-size: 14px;
}

.v2-booking-details-page .v2-compose-form {
  max-width: 820px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #d9e6f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 69, 115, 0.07);
}

.v2-booking-details-page .v2-compose-recipient {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px !important;
  padding: 13px 15px;
  border: 1px solid #d7e6f5;
  border-radius: 12px;
  background: #f4f9ff;
}

.v2-booking-details-page .v2-compose-recipient-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #1769c6;
  background: #dfeeff;
}

.v2-booking-details-page .v2-compose-recipient small,
.v2-booking-details-page .v2-compose-recipient strong {
  display: block;
}

.v2-booking-details-page .v2-compose-recipient small {
  color: #7185a1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v2-booking-details-page .v2-compose-recipient strong {
  color: #172d4c;
  font-size: 14px;
}

.v2-booking-details-page .v2-compose-booking-ref {
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 999px;
  color: #5f3dc4;
  background: #eee8ff;
  font-size: 12px;
  font-weight: 800;
}

.v2-booking-details-page .v2-compose-field label {
  margin-bottom: 7px;
  color: #314969;
  font-size: 12px;
  font-weight: 800;
}

.v2-booking-details-page .v2-compose-field .form-control {
  min-height: 46px;
  border: 1px solid #cbdced;
  border-radius: 10px;
  color: #142b49;
  background: #fff;
  box-shadow: none;
}

.v2-booking-details-page .v2-compose-field textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.v2-booking-details-page .v2-compose-field .form-control:focus {
  border-color: #3486ed;
  box-shadow: 0 0 0 3px rgba(52, 134, 237, 0.12);
}

.v2-booking-details-page .v2-compose-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.v2-booking-details-page .v2-compose-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  background: linear-gradient(135deg, #2378f3, #08add0);
  box-shadow: 0 8px 18px rgba(28, 126, 231, 0.2);
}

@media (max-width: 767.98px) {
  .v2-booking-details-page .v2-compose-workspace {
    padding: 20px 16px;
  }

  .v2-booking-details-page .v2-compose-form {
    padding: 17px;
  }

  .v2-booking-details-page .v2-compose-booking-ref {
    display: none;
  }
}

.v2-booking-details-page .v2-conversation-workspace {
  min-height: 100%;
  padding: 28px;
  background: radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.07), transparent 32%), linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.v2-booking-details-page .v2-conversation-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid #d9e7f5;
}

.v2-booking-details-page .v2-conversation-header-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #1689e8, #05b6c9);
  box-shadow: 0 10px 22px rgba(18, 145, 211, 0.2);
}

.v2-booking-details-page .v2-conversation-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #7186a5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.v2-booking-details-page .v2-conversation-header h2 {
  margin: 0;
  color: #112746;
  font-size: 22px;
  font-weight: 800;
}

.v2-booking-details-page .v2-conversation-header p {
  margin: 4px 0 0;
  color: #657b9c;
  font-size: 14px;
}

.v2-booking-details-page .v2-conversation-empty {
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 24px;
  padding: 40px 24px;
  border: 1px dashed #c9dced;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(180deg, #f9fcff, #f4f9ff);
}

.v2-booking-details-page .v2-conversation-empty-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 20px;
  color: #2780d9;
  background: #e2f1ff;
  font-size: 26px;
}

.v2-booking-details-page .v2-conversation-empty h3 {
  margin: 18px 0 5px;
  color: #17304f;
  font-size: 18px;
  font-weight: 800;
}

.v2-booking-details-page .v2-conversation-empty p {
  max-width: 390px;
  margin: 0 0 20px;
  color: #697f9d;
  font-size: 13px;
}

.v2-booking-details-page .v2-conversation-empty .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 17px;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  background: linear-gradient(135deg, #2378f3, #08add0);
  box-shadow: 0 8px 18px rgba(28, 126, 231, 0.18);
}

@media (max-width: 767.98px) {
  .v2-booking-details-page .v2-conversation-workspace {
    padding: 20px 16px;
  }

  .v2-booking-details-page .v2-conversation-empty {
    min-height: 300px;
  }
}

.v2-booking-details-page .v2-booking-info-section {
  overflow: hidden;
  border: 1px solid #d7e5f3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(31, 69, 115, 0.07);
}

.v2-booking-details-page .v2-booking-info-section > .section-header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid #d9e7f5;
  color: #112746;
  background: linear-gradient(135deg, #f5f9ff 0%, #f5f2ff 100%);
}

.v2-booking-details-page .v2-booking-info-section > .section-header .icon {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #bad5ef;
  border-radius: 8px;
  color: #1768bd;
  background: #fff;
  font-size: 16px;
}

.v2-booking-details-page .v2-booking-info-heading {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.v2-booking-details-page .v2-booking-info-heading-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #2479ef, #6848e4);
  box-shadow: 0 8px 16px rgba(68, 86, 214, 0.16);
}

.v2-booking-details-page .v2-booking-info-heading small,
.v2-booking-details-page .v2-booking-info-heading strong {
  display: block;
}

.v2-booking-details-page .v2-booking-info-heading small {
  margin-bottom: 2px;
  color: #7186a4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v2-booking-details-page .v2-booking-info-heading strong {
  color: #142b49;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.v2-booking-details-page .v2-booking-info-section > .section-content {
  padding: 16px;
  border: 0;
  background: #f8fbfe;
}

.v2-booking-details-page .v2-booking-info-section .info-container {
  display: grid;
  gap: 10px;
  border: 0;
  background: transparent;
}

.v2-booking-details-page .v2-booking-info-section .info-row {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(130px, 0.9fr) minmax(150px, 1.1fr) minmax(130px, 0.9fr) minmax(150px, 1.1fr);
  border: 1px solid #dce7f2;
  border-radius: 11px;
  background: #fff;
}

.v2-booking-details-page .v2-booking-info-section .info-row > div {
  display: flex;
  width: auto;
  max-width: none;
  flex: none;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  padding: 10px 12px;
  border: 0;
  border-right: 1px solid #e1eaf3;
  color: #1d3859;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.v2-booking-details-page .v2-booking-info-section .info-row > div:last-child {
  border-right: 0;
}

.v2-booking-details-page .v2-booking-info-section .info-row > .label {
  color: #607794;
  background: #f3f7fb;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v2-booking-details-page .v2-booking-info-section .info-row > .col-md-9 {
  grid-column: span 3;
}

.v2-booking-details-page .v2-booking-info-section .bb-status-cell {
  justify-content: center;
}

.v2-booking-details-page .v2-booking-info-section #voucherInput {
  min-width: 0;
  height: 38px;
  border-color: #cadced;
  border-radius: 9px;
  background: #fff;
  font-size: 12px;
}

.v2-booking-details-page .v2-booking-info-section #editBtn,
.v2-booking-details-page .v2-booking-info-section #saveBtn,
.v2-booking-details-page .v2-booking-info-section #cancelBtn {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
}

@media (max-width: 767.98px) {
  .v2-booking-details-page .v2-booking-info-section > .section-content {
    padding: 12px;
  }

  .v2-booking-details-page .v2-booking-info-section .info-row {
    grid-template-columns: minmax(105px, 0.8fr) minmax(0, 1.2fr);
  }

  .v2-booking-details-page .v2-booking-info-section .info-row > div {
    border-bottom: 1px solid #e1eaf3;
  }

  .v2-booking-details-page .v2-booking-info-section .info-row > div:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .v2-booking-details-page .v2-booking-info-section .info-row > .col-md-9 {
    grid-column: auto;
  }
}

.v2-booking-details-page .v2-booking-detail-section {
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid #d8e5f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(31, 69, 115, 0.045);
}

.v2-booking-details-page .v2-booking-detail-section > .section-header {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 11px 16px;
  border: 0;
  color: #142b49;
  background: linear-gradient(135deg, #f7faff 0%, #fbf9ff 100%);
}

.v2-booking-details-page .v2-booking-detail-section > .section-header:hover {
  background: linear-gradient(135deg, #f0f6ff 0%, #f6f2ff 100%);
}

.v2-booking-details-page .v2-booking-detail-section > .section-header .icon {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #bad5ef;
  border-radius: 8px;
  color: #1768bd;
  background: #fff;
  font-size: 16px;
}

.v2-booking-details-page .v2-detail-section-heading {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.v2-booking-details-page .v2-detail-section-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #2479ef, #6848e4);
  box-shadow: 0 8px 16px rgba(68, 86, 214, 0.14);
}

.v2-booking-details-page .is-terms .v2-detail-section-icon {
  background: linear-gradient(135deg, #287be7, #4f65db);
}

.v2-booking-details-page .is-passenger .v2-detail-section-icon {
  background: linear-gradient(135deg, #0d9bc3, #16b8a7);
}

.v2-booking-details-page .is-agent .v2-detail-section-icon {
  background: linear-gradient(135deg, #7357e8, #a24eda);
}

.v2-booking-details-page .is-rate .v2-detail-section-icon {
  background: linear-gradient(135deg, #ef8b28, #e8af2c);
}

.v2-booking-details-page .is-supplier .v2-detail-section-icon {
  background: linear-gradient(135deg, #147fc9, #0aabc1);
}

.v2-booking-details-page .v2-detail-section-heading small,
.v2-booking-details-page .v2-detail-section-heading strong {
  display: block;
}

.v2-booking-details-page .v2-detail-section-heading small {
  margin-bottom: 2px;
  color: #7186a4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v2-booking-details-page .v2-detail-section-heading strong {
  color: #142b49;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.v2-booking-details-page .v2-booking-detail-section > .section-content {
  border: 0;
  border-top: 1px solid #dce7f2;
}

.v2-booking-details-page .v2-rate-revenue-summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding-left: 18px;
  border-left: 1px solid #d9e3ef;
}

.v2-booking-details-page .v2-rate-revenue-summary small {
  color: #657b98;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v2-booking-details-page .v2-rate-revenue-summary .badge {
  padding: 7px 11px;
  font-size: 11px !important;
}

@media (max-width: 767.98px) {
  .v2-booking-details-page .v2-booking-detail-section > .section-header {
    min-height: 58px;
    padding: 10px 12px;
  }

  .v2-booking-details-page .v2-detail-section-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .v2-booking-details-page .v2-rate-revenue-summary small {
    display: none;
  }
}

.v2-offline-sector-page {
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.v2-offline-sector-page .v2-offline-sector-hero {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.v2-offline-sector-page .v2-offline-sector-hero p {
  margin: 5px 0 0;
  color: #657b98;
  font-size: 12px;
}

.v2-offline-sector-page .v2-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #bed7ed;
  border-radius: 10px;
  background: #fff;
  color: #075da8;
  font-size: 12px;
  font-weight: 850;
  padding: 9px 14px;
  text-decoration: none;
  white-space: nowrap;
}

.v2-offline-sector-shell {
  overflow: hidden;
  border: 1px solid #d2e2f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(28, 73, 121, 0.08);
}

.v2-offline-sector-context {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #dbe7f3;
  background:
    radial-gradient(circle at 92% 10%, rgba(124, 58, 237, 0.08), transparent 34%),
    linear-gradient(135deg, #eff8ff 0%, #faf7ff 100%);
  padding: 0 20px;
}

.v2-offline-sector-context > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  border-right: 1px solid #dbe7f3;
  padding: 16px 18px;
}

.v2-offline-sector-context > div:first-child {
  padding-left: 0;
}

.v2-offline-sector-context > div:last-child {
  border-right: 0;
}

.v2-offline-sector-context span {
  color: #7185a1;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v2-offline-sector-context strong {
  overflow: hidden;
  color: #19385e;
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-offline-sector-page .v2-offline-sector-tabs {
  gap: 6px;
  margin: 0;
  border-bottom: 1px solid #dbe7f3;
  background: #f8fbfe;
  padding: 10px 18px;
}

.v2-offline-sector-page .v2-offline-sector-tabs .nav-link {
  min-width: 92px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #59708d;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 14px;
  text-align: center;
}

.v2-offline-sector-page .v2-offline-sector-tabs .nav-link.active {
  border-color: #b9daf4;
  background: #e9f5ff;
  box-shadow: 0 5px 12px rgba(37, 99, 235, 0.08);
  color: #1267b4;
}

.v2-offline-sector-page .v2-offline-sector-content {
  border: 0;
  background: #fff;
}

.v2-offline-sector-page .v2-offline-sector-pane {
  width: 100%;
  max-width: none;
  padding: 22px !important;
}

.v2-offline-sector-pane-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0eaf4;
}

.v2-offline-sector-pane-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  background: #e9f3ff;
  color: #2563eb;
  font-size: 16px;
}

.v2-offline-sector-pane-icon.is-misc {
  background: #ecfbf8;
  color: #0891b2;
}

.v2-offline-sector-pane-heading h4 {
  margin: 0;
  color: #17365b;
  font-size: 17px;
  font-weight: 850;
}

.v2-offline-sector-pane-heading p,
.v2-offline-sector-subheading p {
  margin: 3px 0 0;
  color: #7185a1;
  font-size: 10.5px;
}

.v2-offline-sector-page .card-body {
  padding: 0;
}

.v2-offline-sector-page .v2-offline-agent-row {
  display: none;
}

.v2-offline-sector-page .v2-offline-sector-fields {
  align-items: end;
  margin-right: -7px;
  margin-left: -7px;
}

.v2-offline-sector-page .v2-offline-sector-fields > div {
  padding-right: 7px;
  padding-left: 7px;
}

.v2-offline-sector-page label,
.v2-offline-sector-page .form-label {
  margin-bottom: 7px;
  color: #47617f;
  font-size: 10.5px;
  font-weight: 850;
}

.v2-offline-sector-page .form-control,
.v2-offline-sector-page .form-select,
.v2-offline-sector-page .bootstrap-select > .dropdown-toggle {
  min-height: 44px;
  border-color: #c9dced;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  color: #263f60;
  font-size: 12px;
}

.v2-offline-credit .input-group {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid #d5e3f0;
  border-radius: 10px;
  background: #f5f9fd;
  color: #345372;
  font-size: 12px;
  font-weight: 800;
  padding: 10px 12px;
}

.v2-offline-sector-divider {
  margin: 8px 0 18px;
  border: 0;
  border-top: 1px solid #dce8f3;
  opacity: 1;
}

.v2-offline-sector-subheading {
  margin-bottom: 13px;
}

.v2-offline-sector-subheading > span {
  color: #244666;
  font-size: 12px;
  font-weight: 850;
}

.v2-offline-sector-page .room-row {
  align-items: end;
  margin-right: -7px;
  margin-left: -7px;
  padding: 14px;
  border: 1px solid #dce8f3;
  border-radius: 12px;
  background: #f9fbfd;
}

.v2-offline-sector-page .room-row > div {
  padding-right: 7px;
  padding-left: 7px;
}

.v2-offline-sector-page .add-room,
.v2-offline-sector-page .remove-room {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 850;
}

.v2-offline-sector-page .v2-offline-sector-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-bottom: 0 !important;
  padding-top: 16px;
  border-top: 1px solid #e0eaf4;
}

.v2-offline-sector-page .v2-offline-sector-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 850;
  padding: 9px 15px;
}

.v2-offline-sector-page .v2-offline-sector-actions .btn-primary {
  border: 0;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

@media (max-width: 767.98px) {
  .v2-offline-sector-page .v2-offline-sector-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .v2-offline-sector-page .v2-offline-sector-hero .v2-secondary-action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .v2-offline-sector-context {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .v2-offline-sector-context > div {
    border-right: 0;
    border-bottom: 1px solid #dbe7f3;
    padding: 12px 0;
  }

  .v2-offline-sector-context > div:last-child {
    border-bottom: 0;
  }

  .v2-offline-sector-page .v2-offline-sector-pane {
    padding: 16px !important;
  }

  .v2-offline-sector-page .v2-offline-sector-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .v2-offline-sector-page .v2-offline-sector-actions .btn {
    width: 100%;
  }
}

.v2-booking-list #table .bb-status-meta-muted {
  border-color: #dde7f2;
  background: #f3f6fa;
  color: #64748b;
  font-weight: 750;
}

.v2-booking-list #table .bb-status-payment-unpaid {
  border-color: #ffcfd8;
  background: #fff3f6;
  color: #be123c;
}

.v2-booking-list #table .bb-status-payment-paid {
  border-color: #bcebd0;
  background: #effbf5;
  color: #15803d;
}

.v2-booking-list #table .bb-status-code-1,
.v2-booking-details-page .bb-status-code-1 {
  --status-accent: #f59e0b;
  --status-ink: #92400e;
  --status-bg: #fff7ed;
  --status-border: #fed7aa;
}

.v2-booking-list #table .bb-status-code-10,
.v2-booking-details-page .bb-status-code-10 {
  --status-accent: #22c55e;
  --status-ink: #166534;
  --status-bg: #f0fdf4;
  --status-border: #bbf7d0;
}

.v2-booking-list #table .bb-status-code-2,
.v2-booking-list #table .bb-status-code-3,
.v2-booking-list #table .bb-status-code-5,
.v2-booking-details-page .bb-status-code-2,
.v2-booking-details-page .bb-status-code-3,
.v2-booking-details-page .bb-status-code-5 {
  --status-accent: #ef4444;
  --status-ink: #991b1b;
  --status-bg: #fef2f2;
  --status-border: #fecaca;
}

.v2-booking-list #table .bb-status-code-22,
.v2-booking-list #table .bb-status-code-23,
.v2-booking-details-page .bb-status-code-22,
.v2-booking-details-page .bb-status-code-23 {
  --status-accent: #f97316;
  --status-ink: #9a3412;
  --status-bg: #fff7ed;
  --status-border: #fed7aa;
}

.v2-booking-list #table .bb-status-code-4,
.v2-booking-details-page .bb-status-code-4 {
  --status-accent: #3b82f6;
  --status-ink: #1d4ed8;
  --status-bg: #eff6ff;
  --status-border: #bfdbfe;
}

.v2-booking-list #table .bb-status-code-7,
.v2-booking-list #table .bb-status-code-0,
.v2-booking-details-page .bb-status-code-7,
.v2-booking-details-page .bb-status-code-0 {
  --status-accent: #64748b;
  --status-ink: #475569;
  --status-bg: #f8fafc;
  --status-border: #cbd5e1;
}

.v2-booking-list #table .bb-status-code-8,
.v2-booking-details-page .bb-status-code-8 {
  --status-accent: #06b6d4;
  --status-ink: #0e7490;
  --status-bg: #ecfeff;
  --status-border: #a5f3fc;
}

.v2-booking-list #table .bb-status-code-20,
.v2-booking-details-page .bb-status-code-20 {
  --status-accent: #2563eb;
  --status-ink: #1d4ed8;
  --status-bg: #eff6ff;
  --status-border: #bfdbfe;
}

.v2-booking-list #table .bb-status-code-21,
.v2-booking-list #table .bb-status-code-24,
.v2-booking-details-page .bb-status-code-21,
.v2-booking-details-page .bb-status-code-24 {
  --status-accent: #7c3aed;
  --status-ink: #5b21b6;
  --status-bg: #f5f3ff;
  --status-border: #ddd6fe;
}

.v2-booking-list #table .status-modal > .d-flex {
  align-items: center !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: flex-start !important;
  gap: 4px;
}

.v2-booking-list #table .status-modal > .d-flex > div {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.v2-booking-list #table .badge:not([class*="bg-label"]) {
  border-color: transparent !important;
  color: #fff !important;
}

.v2-booking-list #table .bg-label-info,
.v2-booking-list .supplier-status .bg-label-info {
  border-color: #cfe8ff !important;
  background: #f2f8ff !important;
  color: #1677ff !important;
}

.v2-booking-list #table .bg-label-success,
.v2-booking-list .supplier-status .bg-label-success {
  border-color: #cfeedd !important;
  background: #f1fbf5 !important;
  color: #138a43 !important;
}

.v2-booking-list #table .bg-label-warning,
.v2-booking-list .supplier-status .bg-label-warning {
  border-color: #ffe2ad !important;
  background: #fff8ec !important;
  color: #b76000 !important;
}

.v2-booking-list #table .bg-label-danger,
.v2-booking-list .supplier-status .bg-label-danger {
  border-color: #ffd4d6 !important;
  background: #fff5f5 !important;
  color: #bf1d2d !important;
}

.v2-booking-list #table .bg-label-primary,
.v2-booking-list .supplier-status .bg-label-primary {
  border-color: #cfe8ff !important;
  background: #f2f8ff !important;
  color: var(--v2-brand) !important;
}

.v2-booking-list #table .bg-label-secondary,
.v2-booking-list #table .bg-label-dark,
.v2-booking-list .supplier-status .bg-label-secondary,
.v2-booking-list .supplier-status .bg-label-dark {
  border-color: #dde5ef !important;
  background: #f7f9fc !important;
  color: #536174 !important;
}

.v2-booking-list #table .bg-label-light,
.v2-booking-list .supplier-status .bg-label-light {
  border-color: var(--v2-line) !important;
  background: #fff !important;
  color: #53627a !important;
}

.v2-booking-list #table .dateWrapper {
  display: inline-grid;
  align-items: stretch;
  grid-template-columns: 24px minmax(32px, 1fr);
  gap: 3px 5px;
  width: 78px;
  min-width: 78px;
  max-width: 100%;
  border: 1px solid #cfe2f6;
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(24, 144, 255, 0.07), rgba(255, 255, 255, 0)),
    #fff;
  color: #2d3b50;
  box-shadow: 0 8px 16px rgba(24, 144, 255, 0.09);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.05;
  margin: 0;
  overflow: hidden;
  padding: 4px;
  text-align: left;
  vertical-align: middle;
}

.v2-booking-list #table td:nth-child(9),
.v2-booking-list #table td:nth-child(10),
.v2-booking-list #table td:nth-child(11) {
  text-align: center;
}

.v2-booking-list #table .dateWrapper .onlyDate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-row: 1;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1890ff, #13a8c7);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  padding: 0;
  white-space: nowrap;
}

.v2-booking-list #table .dateWrapper .monthYear,
.v2-booking-list #table .dateWrapper .monthYear.text-white {
  display: block;
  align-self: center;
  background: transparent !important;
  color: #243348 !important;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  max-width: 36px;
  overflow: hidden;
  padding: 0;
  text-transform: uppercase;
  white-space: normal;
  word-break: normal;
}

.v2-booking-list #table .dateWrapper .dateTime {
  display: inline-flex;
  align-items: center;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 16px;
  border-radius: 999px;
  background: #edf5fe;
  color: #637083;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 1px 0 0;
  padding: 2px 4px;
  white-space: nowrap;
}

.v2-booking-list #table .dateWrapper .dateTime::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #1890ff;
  margin-right: 4px;
}

.v2-booking-list #table .dateWrapper .dateTime.dateTime-placeholder {
  color: transparent;
}

.v2-booking-list #table .dateWrapper .dateTime.dateTime-placeholder::before {
  visibility: hidden;
}

.v2-booking-list #table .dateWrapper > :not(.onlyDate):not(.monthYear):not(.dateTime) {
  color: #6b7a90;
  font-size: 10px;
  font-weight: 700;
}

.v2-booking-list .dataTables_wrapper .dataTables_length,
.v2-booking-list .dataTables_wrapper .dataTables_filter,
.v2-booking-list .dataTables_wrapper .dt-buttons {
  margin-bottom: 10px;
}

.v2-booking-list .dataTables_wrapper .dataTables_filter input {
  height: 34px;
  border: 1px solid var(--v2-line-strong);
  border-radius: 10px;
  background: #fff;
  margin-left: 6px;
  padding: 5px 10px;
}

.v2-booking-list .dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--v2-brand);
  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.13);
  outline: 0;
}

.v2-booking-list .buttons-colvis.dt-button,
.v2-booking-list .dt-button {
  min-height: 34px !important;
  border: 1px solid #d6eaff !important;
  border-radius: 10px !important;
  background: var(--v2-brand-soft) !important;
  color: var(--v2-brand) !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  padding: 8px 12px !important;
}

.v2-booking-list .buttons-colvis.dt-button:hover,
.v2-booking-list .dt-button:hover {
  border-color: var(--v2-brand) !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(24, 144, 255, 0.12);
}

.v2-booking-list .dataTables_info {
  color: var(--v2-muted) !important;
  font-size: 12px;
  font-weight: 650;
  padding-top: 13px !important;
}

.v2-booking-list .dataTables_paginate {
  padding-top: 10px !important;
}

.v2-booking-list .dataTables_paginate .paginate_button {
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  color: #53627a !important;
  font-weight: 700;
  margin: 0 2px;
}

.v2-booking-list .dataTables_paginate .paginate_button.current,
.v2-booking-list .dataTables_paginate .paginate_button.current:hover {
  border-color: #d6eaff !important;
  background: var(--v2-brand-soft) !important;
  color: var(--v2-brand) !important;
}

.v2-booking-list .dataTables_paginate .paginate_button:hover {
  border-color: var(--v2-line) !important;
  background: #fff !important;
  color: var(--v2-brand) !important;
}

.v2-booking-list .table-action-btn,
.v2-booking-list .action-icons .btn,
.v2-booking-list .action-icons a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 27px !important;
  height: 27px !important;
  border: 1px solid #d5e6f8 !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #ffffff, #f5faff) !important;
  color: #1766b3 !important;
  font-size: 11px !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.v2-booking-list .table-action-btn:hover,
.v2-booking-list .action-icons .btn:hover,
.v2-booking-list .action-icons a:hover {
  border-color: #1677ff !important;
  background: linear-gradient(135deg, #1890ff, #1766b3) !important;
  color: #fff !important;
}

.v2-booking-list .v2-data-table .action-icons .reconciliation-action.is-reconciled {
  border-color: #9fd9c7 !important;
  background: #eaf7f2 !important;
  color: #16765f !important;
  box-shadow: inset 0 0 0 1px rgba(22, 118, 95, 0.06) !important;
}

.v2-booking-list .v2-data-table .action-icons .reconciliation-action.is-unreconciled {
  border-color: #efc1bd !important;
  background: #fff1f0 !important;
  color: #b5524b !important;
  box-shadow: inset 0 0 0 1px rgba(181, 82, 75, 0.05) !important;
}

.v2-booking-list .v2-data-table .action-icons .reconciliation-action.is-reconciled:hover {
  border-color: #78c7af !important;
  background: #dff2eb !important;
  color: #0f654f !important;
}

.v2-booking-list .v2-data-table .action-icons .reconciliation-action.is-unreconciled:hover {
  border-color: #dfa39e !important;
  background: #fbe5e3 !important;
  color: #98443e !important;
}

.v2-booking-list #table .action-icons {
  display: block !important;
  align-items: center;
  justify-content: flex-start;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.v2-booking-list #table td:last-child {
  text-align: left;
}

.v2-booking-list #table .action-icons .me-1 {
  margin-right: 0 !important;
}

.v2-booking-list #table .actionCont {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px 7px;
  width: 100%;
  max-width: 100%;
}

.v2-booking-list #table .input-group-addon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

.v2-booking-list #table .actionCont > .d-none {
  display: none !important;
}

.v2-booking-list .custom-columns-dropdown {
  z-index: 10050 !important;
  border-color: var(--v2-line) !important;
  border-radius: 12px !important;
  box-shadow: var(--v2-shadow) !important;
}

.v2-booking-list .alert {
  border: 0;
  border-radius: 12px !important;
  box-shadow: none;
}

.v2-backoffice .modal-content {
  border: 1px solid var(--v2-line);
  border-radius: 16px;
  box-shadow: var(--v2-shadow);
}

.v2-admin-page {
  display: grid;
  gap: 20px;
}

.v2-admin-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--v2-line);
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(234, 244, 255, 0.96), rgba(255, 255, 255, 0.98) 52%, rgba(246, 240, 255, 0.95));
  box-shadow: var(--v2-shadow-soft);
  padding: 20px 22px;
}

.v2-admin-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1890ff, #722ed1);
  color: #fff;
  box-shadow: 0 14px 28px rgba(24, 144, 255, 0.2);
}

.v2-admin-kicker {
  display: block;
  color: var(--v2-muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.v2-admin-hero h1,
.v2-table-panel-head h2 {
  margin: 3px 0 0;
  color: var(--v2-text);
  font-size: 23px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
}

.v2-primary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0 !important;
  border-radius: 11px !important;
  background: linear-gradient(135deg, #1890ff, #13c2c2) !important;
  color: #fff !important;
  font-weight: 800;
  min-height: 42px;
  padding: 10px 16px !important;
  box-shadow: 0 14px 28px rgba(24, 144, 255, 0.22);
}

.v2-primary-action:hover {
  color: #fff !important;
  filter: brightness(0.98);
}

.v2-table-panel {
  overflow: hidden;
  border: 1px solid #c9ddf2;
  border-radius: 18px;
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-soft);
}

.v2-table-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #d8e7f5;
  background: linear-gradient(120deg, #eaf4ff, #ffffff 48%, #f6f0ff);
  padding: 20px 22px;
}

.v2-table-panel-body,
.v2-table-panel > .card-body {
  padding: 20px 22px;
  min-width: 0;
}

.v2-booking-details-page .booking-top-buttons {
  flex-wrap: wrap;
  padding: 16px 22px 0;
  margin-bottom: 0;
}

.v2-booking-details-page .booking-top-buttons:empty {
  display: none;
}

@media (max-width: 767px) {
  .v2-table-panel-head,
  .v2-table-panel-body,
  .v2-table-panel > .card-body {
    padding: 16px;
  }
  .v2-booking-details-page .booking-top-buttons {
    padding: 16px 16px 0;
  }
}

.v2-form-panel .v2-table-panel-body,
.v2-settings-panel .v2-table-panel-body,
.v2-report-panel .v2-table-panel-body {
  background: #fff;
}

.v2-settings-page .form-control,
.v2-settings-page .form-select,
.v2-markup-settings-page .form-control,
.v2-markup-settings-page .form-select,
.v2-report-page .form-control,
.v2-report-page .form-select,
.v2-booking-entry-page .form-control,
.v2-booking-entry-page .form-select,
.v2-agent-directory-page .form-control,
.v2-agent-directory-page .form-select {
  min-height: 40px;
  border: 1px solid #cfe0f2;
  border-radius: 10px;
  color: var(--v2-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 2px rgba(15, 50, 82, 0.04);
}

.v2-settings-page label,
.v2-markup-settings-page label,
.v2-report-page label,
.v2-booking-entry-page label,
.v2-agent-directory-page label {
  color: #40536d;
  font-size: 13px;
  font-weight: 750;
}

.v2-markup-settings-page .nav-tabs,
.v2-booking-entry-page .nav-tabs {
  gap: 8px;
  border-bottom: 1px solid #d8e7f5;
}

.v2-markup-settings-page .nav-tabs .nav-link,
.v2-booking-entry-page .nav-tabs .nav-link {
  border: 1px solid #d8e7f5;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #f7fbff;
  color: #0f5fa8;
  font-weight: 800;
}

.v2-markup-settings-page .nav-tabs .nav-link.active,
.v2-booking-entry-page .nav-tabs .nav-link.active {
  background: #fff;
  color: var(--v2-text);
  box-shadow: inset 0 3px 0 #1890ff;
}

.v2-markup-settings-page .tab-content,
.v2-booking-entry-page .tab-content {
  border: 1px solid #d8e7f5;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #fff;
  padding: 16px;
}

.v2-report-page #table_wrapper,
.v2-markup-settings-page #serviceNameMarkupList_wrapper,
.v2-agent-directory-page #requestListsTable_wrapper {
  overflow-x: auto;
  overflow-y: visible;
  width: 100%;
}

.v2-report-page table.dataTable,
.v2-markup-settings-page table.dataTable,
.v2-agent-directory-page table.dataTable {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
}

.v2-report-page table.dataTable thead th,
.v2-markup-settings-page table.dataTable thead th,
.v2-agent-directory-page table.dataTable thead th {
  background: #1f5f9f !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.2 !important;
  padding: 12px 10px !important;
  text-transform: uppercase;
  white-space: normal !important;
}

.v2-report-page table.dataTable thead th:first-child,
.v2-markup-settings-page table.dataTable thead th:first-child,
.v2-agent-directory-page table.dataTable thead th:first-child {
  border-top-left-radius: 10px;
}

.v2-report-page table.dataTable thead th:last-child,
.v2-markup-settings-page table.dataTable thead th:last-child,
.v2-agent-directory-page table.dataTable thead th:last-child {
  border-top-right-radius: 10px;
}

.v2-report-page table.dataTable tbody td,
.v2-markup-settings-page table.dataTable tbody td,
.v2-agent-directory-page table.dataTable tbody td {
  border-bottom: 1px solid #dbe9f7 !important;
  color: var(--v2-text) !important;
  vertical-align: middle !important;
}

.v2-report-page table.dataTable tbody tr:nth-child(even) td,
.v2-markup-settings-page table.dataTable tbody tr:nth-child(even) td,
.v2-agent-directory-page table.dataTable tbody tr:nth-child(even) td {
  background: #f3f8fe !important;
}

.v2-operational-page .v2-ops-form {
  display: grid;
  gap: 18px;
}

.v2-operational-page .v2-ops-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 16px;
}

.v2-operational-page .v2-field,
.v2-operational-page .v2-field .form-group {
  margin: 0 !important;
}

.v2-operational-page .v2-field-wide {
  grid-column: span 2;
}

.v2-operational-page .v2-field-full {
  grid-column: 1 / -1;
}

.v2-operational-page .form-label,
.v2-operational-page label {
  margin-bottom: 6px;
  color: #41516b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.v2-operational-page .form-control,
.v2-operational-page .bootstrap-select > .dropdown-toggle {
  min-height: 42px;
  border: 1px solid #cdddf0 !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: var(--v2-text) !important;
  font-weight: 650;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.v2-operational-page textarea.form-control {
  min-height: 132px;
}

.v2-operational-page .v2-ops-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}

.v2-message-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.v2-message-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid #c7e2ff;
  border-radius: 999px;
  background: #f2f8ff;
  color: #0b5cab;
  font-weight: 850;
  padding: 8px 13px;
  text-decoration: none;
}

.v2-message-tab:hover,
.v2-message-tab.active {
  background: linear-gradient(135deg, #1890ff, #13c2c2);
  color: #fff;
  text-decoration: none;
}

.v2-agent-messages-page .v2-table-filter-panel {
  margin-bottom: 16px;
  border: 1px solid #d7e7f8;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(234, 244, 255, 0.9), rgba(255, 255, 255, 0.96));
  padding: 16px;
}

.v2-agent-messages-page .v2-table-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.v2-agent-messages-page .v2-table-filter-field {
  display: grid;
  gap: 6px;
}

.v2-agent-messages-page .v2-table-filter-field span {
  color: #41516b;
  font-size: 13px;
  font-weight: 800;
}

.v2-agent-messages-page .v2-table-filter-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.v2-agent-messages-page .v2-data-table td a {
  font-weight: 800;
  text-decoration: none;
}

.v2-agent-messages-page .v2-data-table td:last-child a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #c7e2ff;
  border-radius: 8px;
  background: #f7fbff;
  color: #0b65bd;
  margin-inline-end: 5px;
}

.v2-recon-count {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ffd6a8;
  border-radius: 14px;
  background: #fff7ed;
  color: #914500;
  font-weight: 750;
  padding: 13px 16px;
}

.v2-recon-count i {
  color: #f59e0b;
}

.v2-recon-pager {
  display: inline-flex;
  gap: 8px;
}

.v2-recon-table {
  min-width: 1600px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--v2-text);
}

.v2-recon-table thead th {
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  background: #2466a4;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1.2;
  padding: 13px 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.v2-recon-table tbody td {
  border-color: #d8e7f5;
  color: #24344d;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  padding: 11px 10px;
  text-align: center;
  vertical-align: middle;
}

.v2-recon-row-booking td {
  background: #fff;
}

.v2-recon-row-supplier td {
  background: #f7fbff;
}

.v2-recon-summary td {
  background: #eafaf0;
  color: #176534;
  font-weight: 850;
}

.v2-recon-ok {
  background: #ecfdf5 !important;
  color: #176534 !important;
}

.v2-recon-alert {
  background: #fff1f2 !important;
  color: #b91c1c !important;
}

.v2-recon-actions {
  white-space: nowrap;
}

.v2-recon-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #c7e2ff;
  border-radius: 9px;
  background: #f2f8ff;
  color: #0b65bd;
  text-decoration: none;
}

.v2-tools-page .container-xxl,
.v2-tools-page .container-fluid {
  max-width: none;
  padding: 0;
}

.v2-tools-page > .v2-app-shell .v2-page-container > .row,
.v2-tools-page .container-fluid > .row,
.v2-tools-page .container-xxl > .row {
  margin-inline: 0;
}

.v2-tools-page .card {
  overflow: hidden;
  border: 1px solid #cfe1f5;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 54px rgba(37, 55, 89, 0.08);
}

.v2-tools-page .card-title,
.v2-tools-page .card-header {
  min-height: 58px;
  border-bottom: 1px solid #d8e8f7;
  background: linear-gradient(135deg, #eef7ff, #f5f1ff);
  color: var(--v2-text);
}

.v2-tools-page .card-title h4,
.v2-tools-page .card-title h5,
.v2-tools-page .card-header h4,
.v2-tools-page .card-header h5,
.v2-tools-page h4.fw-bold {
  margin: 0;
  color: var(--v2-text);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  letter-spacing: 0;
}

.v2-tools-page .card-body,
.v2-tools-page form.p-3 {
  padding: 22px !important;
}

.v2-tools-page label,
.v2-tools-page .form-label,
.v2-tools-page .col-form-label {
  margin-bottom: 6px;
  color: #41516b;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

.v2-tools-page .form-control,
.v2-tools-page .form-select,
.v2-tools-page .bootstrap-select > .dropdown-toggle,
.v2-tools-page .select2-container .select2-selection {
  min-height: 42px;
  border: 1px solid #cdddf0 !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: var(--v2-text) !important;
  font-weight: 650;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.v2-tools-page textarea.form-control {
  min-height: 112px;
}

.v2-tools-page .btn-primary,
.v2-tools-page .v2-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 0 !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #1890ff, #13c2c2) !important;
  color: #fff !important;
  font-weight: 850;
  box-shadow: 0 14px 28px rgba(24, 144, 255, 0.2);
}

.v2-tools-page .btn-secondary,
.v2-tools-page .btn-outline-secondary {
  border: 1px solid #c8d9ec !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #41516b !important;
  font-weight: 800;
}

.v2-tools-page .table-responsive {
  overflow-x: auto;
  border-radius: 0;
}

.v2-tools-page table.dataTable,
.v2-tools-page .matrix-table,
.v2-tools-page table.table {
  width: 100% !important;
  min-width: 880px;
  margin: 0 !important;
  border: 1px solid #d7e7f6 !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 0 !important;
}

.v2-tools-page table.dataTable thead th,
.v2-tools-page .matrix-table thead th,
.v2-tools-page table.table thead th {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: linear-gradient(180deg, #2f73b8, #245f9d) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.2;
  padding: 13px 10px !important;
  text-overflow: ellipsis;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap !important;
}

.v2-tools-page table.dataTable thead th:first-child,
.v2-tools-page .matrix-table thead th:first-child,
.v2-tools-page table.table thead th:first-child {
  border-top-left-radius: 12px !important;
}

.v2-tools-page table.dataTable thead th:last-child,
.v2-tools-page .matrix-table thead th:last-child,
.v2-tools-page table.table thead th:last-child {
  border-top-right-radius: 12px !important;
}

.v2-tools-page table.dataTable tbody td,
.v2-tools-page .matrix-table tbody td,
.v2-tools-page table.table tbody td {
  border-color: #dcebf8 !important;
  color: #253047;
  font-size: 13px;
  font-weight: 650;
  padding: 14px 10px !important;
  vertical-align: middle;
}

.v2-tools-page table.dataTable tbody tr:nth-child(even) td,
.v2-tools-page table.table tbody tr:nth-child(even) td {
  background: #f1f7ff !important;
}

.v2-tools-page table.dataTable tbody tr:nth-child(odd) td,
.v2-tools-page table.table tbody tr:nth-child(odd) td {
  background: #fff !important;
}

.v2-tools-page .dataTables_wrapper .row:first-child {
  align-items: center;
  row-gap: 12px;
  margin-bottom: 16px;
}

.v2-tools-page .dataTables_filter input,
.v2-tools-page .dataTables_length select {
  min-height: 40px;
  border: 1px solid #cdddf0;
  border-radius: 10px;
  background: #fff;
  color: var(--v2-text);
  font-weight: 750;
}

.v2-tools-page .modal-content {
  overflow: hidden;
  border: 1px solid #cfe1f5;
  border-radius: 16px;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.18);
}

.v2-tools-page .modal-header {
  border-bottom: 1px solid #d8e8f7;
  background: linear-gradient(135deg, #eef7ff, #f5f1ff);
}

@media (max-width: 767.98px) {
  .v2-tools-page .card-body,
  .v2-tools-page form.p-3 {
    padding: 16px !important;
  }

  .v2-tools-page .btn-primary,
  .v2-tools-page .btn-secondary,
  .v2-tools-page .btn-outline-secondary,
  .v2-tools-page .v2-primary-action {
    width: 100%;
  }
}

/* Shared V2 DataTable shell. Page-specific column sizing belongs to the consumer. */
.v2-data-table {
  min-width: 0;
  width: 100%;
}

.v2-data-table__scroll {
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  scrollbar-gutter: stable;
}

.v2-data-table__table {
  margin: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.v2-data-table__table thead th {
  vertical-align: middle;
  font-size: 9px !important;
  letter-spacing: 0.035em !important;
  line-height: 1.15;
  overflow-wrap: normal;
  padding: 11px 6px !important;
  text-overflow: clip;
  white-space: normal !important;
  word-break: normal;
}

.v2-data-table .dataTables_wrapper {
  min-width: 0;
  width: 100%;
}

.v2-data-table .dataTables_length,
.v2-data-table .dataTables_filter {
  color: #667892;
  font-size: 13px;
  font-weight: 700;
}

.v2-data-table .dataTables_length select,
.v2-data-table .dataTables_filter input {
  min-height: 40px;
  border: 1px solid #c9dbee !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #18375f !important;
  box-shadow: none !important;
}

.v2-data-table .dataTables_length label,
.v2-data-table .dataTables_filter label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.v2-data-table .dataTables_length select {
  display: inline-block;
  width: auto;
}

.v2-data-table .dataTables_processing {
  border: 1px solid #c9dbee;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: #18375f;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(33, 72, 117, 0.12);
}

.v2-data-table__pagination:empty,
.v2-data-table__pagination ul:empty {
  display: none;
}

.v2-mobile-action-more {
  display: none;
}

@media (max-width: 767px) {
  .v2-data-table--mobile-cards .dataTables_scrollHead,
  .v2-data-table--mobile-cards .dt-scroll-head {
    display: none !important;
  }

  .v2-data-table--mobile-cards .dataTables_scrollBody,
  .v2-data-table--mobile-cards .dt-scroll-body,
  .v2-data-table--mobile-cards .v2-data-table__scroll,
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards .dataTables_scrollBody,
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards .dt-scroll-body,
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards .v2-data-table__scroll {
    overflow: visible !important;
  }

  .v2-data-table--mobile-cards table.v2-data-table__table,
  .v2-data-table--mobile-cards table.dataTable,
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    border: 0 !important;
    background: transparent !important;
  }

  .v2-data-table--mobile-cards table.v2-data-table__table > thead,
  .v2-data-table--mobile-cards table.v2-data-table__table > colgroup {
    display: none !important;
  }

  .v2-data-table--mobile-cards table.v2-data-table__table > tbody {
    display: grid;
    gap: 14px;
    width: 100%;
  }

  .v2-data-table--mobile-cards table.v2-data-table__table > tbody > tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: relative;
    overflow: hidden;
    border: 1px solid #d5e5f4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 61, 102, 0.09);
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table > tbody > tr::before {
    content: "";
    grid-column: 1 / -1;
    height: 4px;
    background: linear-gradient(90deg, #1688f8, #11bfc6, #7354d9);
  }

  .v2-data-table--mobile-cards table.v2-data-table__table > tbody > tr > td:not(.v2-mobile-card-field) {
    display: none !important;
  }

  .v2-data-table--mobile-cards table.v2-data-table__table > tbody > tr > td.v2-mobile-card-field {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 5px;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 64px;
    padding: 11px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid #e5eef7 !important;
    background: #fff !important;
    overflow-wrap: anywhere;
    text-align: left !important;
    word-break: break-word;
  }

  .v2-data-table--mobile-cards table.v2-data-table__table > tbody > tr > td.v2-mobile-card-field > * {
    max-width: 100%;
  }

  .v2-data-table--mobile-cards td.v2-mobile-card-field:has(form),
  .v2-data-table--mobile-cards td.v2-mobile-card-field:has(details) {
    grid-column: 1 / -1;
  }

  .v2-data-table--mobile-cards td.v2-mobile-card-field > form,
  .v2-data-table--mobile-cards td.v2-mobile-card-field > details {
    width: 100%;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table tbody td.v2-mobile-card-field {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 11px 12px !important;
  }

  .v2-data-table--mobile-cards table.v2-data-table__table > tbody > tr > td.v2-mobile-card-field::before {
    content: attr(data-v2-label);
    color: #7890aa;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .v2-data-table--mobile-cards table.v2-data-table__table > tbody > tr > td.v2-mobile-card-empty::after {
    content: "—";
    color: #9aabc0;
    font-weight: 750;
  }

  .v2-data-table--mobile-cards table.v2-data-table__table > tbody > tr > td.v2-mobile-card-empty-state {
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    min-height: 108px;
    border-bottom: 0 !important;
    color: #6e829b;
    font-weight: 750;
    text-align: center !important;
  }

  .v2-data-table--mobile-cards table.v2-data-table__table > tbody > tr > td.v2-mobile-card-empty-state::before {
    display: none;
  }

  .v2-data-table--mobile-cards table.v2-data-table__table > tbody > tr > td.v2-mobile-card-actions {
    grid-column: 1 / -1;
    min-height: 0;
    border-bottom: 0 !important;
    background: #f4f9ff !important;
  }

  .v2-data-table--mobile-cards td.v2-mobile-card-actions .actionCont,
  .v2-data-table--mobile-cards td.v2-mobile-card-actions .table-action-group,
  .v2-data-table--mobile-cards td.v2-mobile-card-actions .action-icons {
    display: grid !important;
    grid-template-columns: repeat(4, 38px);
    justify-content: start;
    gap: 8px !important;
    width: 100% !important;
  }

  .v2-data-table--mobile-cards td.v2-mobile-card-actions .v2-mobile-action-secondary {
    display: none !important;
  }

  .v2-data-table--mobile-cards td.v2-mobile-card-actions.is-actions-expanded .v2-mobile-action-secondary {
    display: flex !important;
  }

  .v2-data-table--mobile-cards td.v2-mobile-card-actions .table-action-btn,
  .v2-data-table--mobile-cards td.v2-mobile-card-actions .input-group-addon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  .v2-data-table.v2-data-table--mobile-cards .dataTables_length,
  .v2-data-table.v2-data-table--mobile-cards .dataTables_filter {
    float: none !important;
    width: 100%;
    text-align: left !important;
  }

  .v2-data-table.v2-data-table--mobile-cards .dataTables_filter label {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    width: 100%;
  }

  .v2-data-table.v2-data-table--mobile-cards .dataTables_filter input {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px;
    margin: 0 !important;
  }

  .v2-data-table.v2-data-table--mobile-cards .dataTables_wrapper > .d-flex.align-items-center {
    display: block !important;
    width: 100%;
    margin-top: 12px;
  }

  .v2-data-table.v2-data-table--mobile-cards .dataTables_wrapper > .d-flex.align-items-center > .ms-auto.d-flex {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end !important;
    gap: 10px !important;
    width: 100%;
    margin-left: 0 !important;
  }

  .v2-data-table.v2-data-table--mobile-cards .dataTables_wrapper .dt-buttons {
    align-self: end;
  }

  .v2-data-table.v2-data-table--mobile-cards .dataTables_wrapper .dt-buttons .buttons-colvis {
    min-height: 44px;
    margin: 0 !important;
    white-space: nowrap;
  }


  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="2"] {
    grid-column: 1;
    order: 1;
    min-height: 72px;
    background: linear-gradient(135deg, #eef7ff, #f8fbff) !important;
    color: #102f55 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    padding-left: 54px !important;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table tbody td[data-v2-column="2"] {
    padding-left: 54px !important;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="2"]::before {
    color: #1688f8;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="3"] {
    grid-column: 2;
    order: 1;
    min-height: 72px;
    align-items: flex-end !important;
    background: linear-gradient(135deg, #f8fbff, #eef7ff) !important;
    text-align: right !important;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="3"]::before {
    align-self: flex-end;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table tbody td[data-v2-column="0"] {
    position: absolute;
    top: 22px;
    left: 12px;
    z-index: 2;
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 32px !important;
    height: 32px;
    min-height: 32px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px;
    background: #1688f8 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1;
    white-space: nowrap !important;
    flex-shrink: 0;
    flex-wrap: nowrap;
    box-sizing: border-box;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="0"]::before {
    color: rgba(255, 255, 255, 0.76);
    font-size: 8px;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="1"],
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="13"] {
    order: 2;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="4"],
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="5"] {
    order: 3;
    background: #f8fbff !important;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="6"],
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="7"] {
    min-height: 68px;
    order: 4;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="8"],
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="9"] {
    min-height: 68px;
    order: 5;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="10"],
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="11"] {
    min-height: 76px;
    order: 6;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="12"] {
    grid-column: 1 / -1;
    min-height: 68px;
    order: 7;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="14"],
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="15"],
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="16"],
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="17"],
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="18"],
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="19"],
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="20"],
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td[data-v2-column="21"] {
    order: 8;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td.v2-mobile-card-extra--wide {
    grid-column: 1 / -1;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td.bb-col-action.v2-mobile-card-actions .actionCont {
    display: grid !important;
    grid-template-columns: repeat(4, 38px);
    justify-content: start;
    gap: 8px !important;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td.bb-col-action.v2-mobile-card-actions {
    padding: 13px !important;
    border-top: 1px solid #dce9f6 !important;
    order: 9;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td.bb-col-action.v2-mobile-card-actions::before {
    margin-bottom: 3px;
    color: #54708f;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td.v2-mobile-card-actions .v2-mobile-action-secondary {
    display: none !important;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td.v2-mobile-card-actions.is-actions-expanded .v2-mobile-action-secondary {
    display: flex !important;
  }

  .v2-data-table--mobile-cards td.v2-mobile-card-actions .v2-mobile-action-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid #bfdbf5;
    border-radius: 10px;
    background: #fff;
    color: #1766b3;
    font-size: 11px;
    font-weight: 850;
    padding: 8px 12px;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td.bb-col-action.v2-mobile-card-actions .table-action-btn,
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards #table td.bb-col-action.v2-mobile-card-actions .input-group-addon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  .v2-booking-list #booking-list-table-container .dataTables_wrapper {
    padding-inline: 10px;
  }

  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards .dataTables_scroll,
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards .dt-scroll,
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards .dataTables_scrollBody,
  .v2-booking-list #booking-list-table-container .v2-data-table--mobile-cards .dt-scroll-body {
    width: 100% !important;
    max-width: 100% !important;
  }

  .v2-booking-list #booking-list-table-container .dataTables_length,
  .v2-booking-list #booking-list-table-container .dataTables_filter {
    width: 100%;
    text-align: left !important;
  }

  .v2-booking-list #booking-list-table-container .dataTables_filter label {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    width: 100%;
  }

  .v2-booking-list #booking-list-table-container .dataTables_filter input {
    width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
  }

  .v2-booking-list #booking-list-table-container #table_wrapper > .d-flex.align-items-center {
    display: block !important;
    width: 100%;
    margin-top: 12px;
  }

  .v2-booking-list #booking-list-table-container #table_wrapper > .d-flex.align-items-center > .ms-auto.d-flex {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end !important;
    gap: 10px !important;
    width: 100%;
    margin-left: 0 !important;
  }

  .v2-booking-list #booking-list-table-container #table_wrapper > .d-flex .dataTables_filter {
    width: auto !important;
    margin: 0 !important;
  }

  .v2-booking-list #booking-list-table-container #table_wrapper .dataTables_filter input,
  .v2-booking-list #booking-list-table-container #table_wrapper .dt-buttons .buttons-colvis {
    min-height: 44px;
  }

  .v2-booking-list #booking-list-table-container #table_wrapper .dt-buttons {
    align-self: end;
  }

  .v2-booking-list #booking-list-table-container #table_wrapper .dt-buttons .buttons-colvis {
    margin: 0 !important;
    white-space: nowrap;
  }

  .v2-data-table--mobile-cards .dataTables_info,
  .v2-data-table--mobile-cards .dataTables_paginate {
    width: 100%;
    text-align: center !important;
  }
}

@media (max-width: 767.98px) {
  .v2-data-table .dataTables_length,
  .v2-data-table .dataTables_filter {
    float: none !important;
    width: 100%;
    text-align: left !important;
  }

  .v2-data-table .dataTables_filter input {
    width: 100%;
    margin: 6px 0 0 !important;
  }
}

/* Backoffice quick actions */
.v2-quick-actions {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 1880;
  display: grid;
  grid-template-columns: auto 46px;
  align-items: center;
  gap: 6px;
  transform: translateY(-50%);
  pointer-events: none;
}

.v2-quick-actions-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  grid-column: 1;
  grid-row: 1;
  gap: 6px;
  visibility: hidden;
  opacity: 0;
  transform: translateX(14px) scale(0.97);
  transform-origin: right center;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.v2-quick-actions-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.v2-quick-actions.is-open .v2-quick-actions-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.v2-quick-actions.is-customizing .v2-quick-actions-menu {
  visibility: hidden;
  opacity: 0;
  transform: translateX(14px) scale(0.97);
  pointer-events: none;
}

.v2-quick-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform 150ms ease;
}

.v2-quick-action-link:hover,
.v2-quick-action-link:focus-visible {
  transform: translateX(-3px);
  outline: none;
}

.v2-quick-action-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: #07192e7a;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(15, 49, 82, 0.22);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.v2-quick-action-link:hover .v2-quick-action-label,
.v2-quick-action-link:focus-visible .v2-quick-action-label {
  background: #07192eb8;
}

.v2-quick-action-icon {
  display: inline-grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18, 66, 112, 0.24), 0 0 0 1px #c8dcef;
  color: #126db8;
  font-size: 14px;
}

.v2-quick-action-link.is-primary .v2-quick-action-icon {
  background: #126db8;
  color: #fff;
}

.v2-quick-actions-customize {
  margin-top: 3px;
}

.v2-quick-actions-customize .v2-quick-action-label {
  border-color: rgba(197, 226, 252, 0.56);
  background: rgba(7, 25, 46, 0.9);
}

.v2-quick-actions-customize .v2-quick-action-icon {
  border-color: #d4e9fc;
  background: #eaf5ff;
  color: #075da7;
}

.v2-quick-actions-empty {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9px;
  background: rgba(7, 25, 46, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 8px 22px rgba(15, 49, 82, 0.22);
}

.v2-quick-actions-manager {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  width: min(360px, calc(100vw - 68px));
  max-height: min(620px, calc(100vh - 32px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(191, 216, 240, 0.95);
  border-radius: 20px;
  background: rgba(250, 253, 255, 0.98);
  box-shadow: 0 24px 70px rgba(6, 38, 70, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  color: #132b46;
  opacity: 0;
  transform: translateX(14px) scale(0.97);
  transform-origin: right center;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.v2-quick-actions-manager[hidden] {
  display: none;
}

.v2-quick-actions.is-customizing .v2-quick-actions-manager:not([hidden]) {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.v2-quick-actions-manager__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 19px 19px 14px;
  border-bottom: 1px solid #dce9f5;
  background: linear-gradient(135deg, #f5fbff 0%, #ffffff 62%, #f6f0ff 100%);
}

.v2-quick-actions-manager__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #1681ca;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v2-quick-actions-manager__header h2 {
  margin: 0;
  color: #102844;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.v2-quick-actions-manager__header p {
  margin: 5px 0 0;
  color: #6b8099;
  font-size: 11px;
  font-weight: 750;
}

.v2-quick-actions-manager__header > button {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid #d4e3f0;
  border-radius: 10px;
  background: #fff;
  color: #58718c;
  cursor: pointer;
}

.v2-quick-actions-manager__header > button:hover,
.v2-quick-actions-manager__header > button:focus-visible {
  border-color: #9dc8ed;
  color: #0876c4;
  outline: none;
}

.v2-quick-actions-manager__intro {
  margin: 0;
  padding: 13px 19px 10px;
  color: #60778f;
  font-size: 12px;
  line-height: 1.45;
}

.v2-quick-actions-options {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 7px;
  overflow-y: auto;
  padding: 2px 12px 14px;
  scrollbar-color: #bdd7ec transparent;
  scrollbar-width: thin;
}

.v2-quick-actions-option {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border: 1px solid #dce8f3;
  border-radius: 13px;
  background: #fff;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.v2-quick-actions-option.is-selected {
  border-color: #acd3f3;
  background: #f1f9ff;
  box-shadow: 0 6px 18px rgba(20, 105, 172, 0.08);
}

.v2-quick-actions-option__toggle {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #263e58;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.v2-quick-actions-option__toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.v2-quick-actions-option__check {
  display: inline-grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #b9cde0;
  border-radius: 6px;
  background: #fff;
  color: transparent;
  font-size: 9px;
}

.v2-quick-actions-option__toggle input:focus-visible + .v2-quick-actions-option__check {
  outline: 3px solid rgba(17, 132, 217, 0.2);
  outline-offset: 1px;
}

.v2-quick-actions-option__toggle input:checked + .v2-quick-actions-option__check {
  border-color: #1387d2;
  background: #1387d2;
  color: #fff;
}

.v2-quick-actions-option__icon {
  display: inline-grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: #edf5fc;
  color: #1676b9;
  font-size: 12px;
}

.v2-quick-actions-option__toggle > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-quick-actions-option__order {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 3px;
}

.v2-quick-actions-option__order button {
  display: inline-grid;
  width: 27px;
  height: 27px;
  padding: 0;
  place-items: center;
  border: 1px solid #d4e2ef;
  border-radius: 8px;
  background: #fff;
  color: #58738d;
  font-size: 10px;
  cursor: pointer;
}

.v2-quick-actions-option__order button:hover:not(:disabled),
.v2-quick-actions-option__order button:focus-visible:not(:disabled) {
  border-color: #93c6ed;
  color: #0877c4;
  outline: none;
}

.v2-quick-actions-option__order button:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.v2-quick-actions-manager__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 16px 16px;
  border-top: 1px solid #dce9f5;
  background: #f8fbfe;
}

.v2-quick-actions-manager__footer button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid #c9dceb;
  border-radius: 10px;
  background: #fff;
  color: #48657f;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.v2-quick-actions-manager__footer button:hover,
.v2-quick-actions-manager__footer button:focus-visible {
  border-color: #94c8ef;
  color: #0877c4;
  outline: none;
}

.v2-quick-actions-manager__footer button.is-primary {
  border-color: #0d7dc6;
  background: linear-gradient(135deg, #126eb8, #0aa8bb);
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 119, 181, 0.2);
}

.v2-quick-actions-trigger {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  width: 46px;
  height: 58px;
  min-height: 0;
  padding: 0;
  align-items: center;
  pointer-events: auto;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-right: 0;
  border-radius: 9px 0 0 9px;
  background: #0b31577a;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px rgba(8, 36, 65, 0.18);
  color: #fff;
  cursor: pointer;
  transition: width 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.v2-quick-actions-trigger:hover,
.v2-quick-actions-trigger:focus-visible {
  width: 50px;
  background: #0b3157b8;
  box-shadow: 0 10px 26px rgba(8, 36, 65, 0.24);
  outline: none;
}

.v2-quick-actions-trigger i {
  color: #fff;
  font-size: 16px;
}

.v2-quick-actions.is-open .v2-quick-actions-trigger {
  background: #0b3157e0;
}

@media (max-width: 767.98px) {
  .v2-quick-actions {
    grid-template-columns: auto 42px;
  }

  .v2-quick-actions-trigger {
    width: 42px;
    height: 52px;
    min-height: 0;
    border-radius: 8px 0 0 8px;
  }

  .v2-quick-actions-trigger:hover,
  .v2-quick-actions-trigger:focus-visible {
    width: 46px;
  }

  .v2-quick-action-label {
    max-width: calc(100vw - 88px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .v2-quick-actions-manager {
    width: calc(100vw - 58px);
    max-height: calc(100vh - 20px);
    border-radius: 16px;
  }

  .v2-quick-actions-manager__header {
    padding: 16px 15px 12px;
  }

  .v2-quick-actions-manager__intro {
    padding-right: 15px;
    padding-left: 15px;
  }

  .v2-quick-actions-option {
    min-height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v2-quick-actions-menu,
  .v2-quick-action-link,
  .v2-quick-actions-trigger,
  .v2-quick-actions-manager,
  .v2-quick-actions-option {
    transition: none;
  }
}

.v2-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.v2-table-page .dataTables_wrapper {
  color: var(--v2-text);
}

.v2-table-page .dataTables_wrapper .row:first-child {
  align-items: center;
  row-gap: 12px;
  margin-bottom: 18px;
}

.v2-table-page .dataTables_length label,
.v2-table-page .dataTables_filter label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #7d8da7;
  font-weight: 800;
}

.v2-table-page .dataTables_length select,
.v2-table-page .dataTables_filter input {
  min-height: 40px;
  border: 1px solid #cdddf0;
  border-radius: 10px;
  background: #fff;
  color: var(--v2-text);
  font-weight: 750;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.v2-table-page .dataTables_filter input {
  min-width: 230px;
}

.v2-table-page .dataTables_scroll,
.v2-table-page .dataTables_scrollHead,
.v2-table-page .dataTables_scrollBody {
  border: 0 !important;
  border-radius: 0 !important;
}

.v2-table-page .dataTables_scrollBody {
  overflow-x: auto !important;
}

.v2-table-page .dataTables_scrollBody thead,
.v2-table-page .dataTables_scrollBody thead tr,
.v2-table-page .dataTables_scrollBody thead th {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-top-width: 0 !important;
  border-bottom-width: 0 !important;
  background: transparent !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  visibility: collapse !important;
}

.v2-table-page #table {
  width: 100% !important;
  min-width: 980px;
  margin: 0 !important;
  border: 1px solid #d7e7f6 !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 0 !important;
  table-layout: fixed;
}

.v2-table-page .v2-tabbed-data-table {
  width: 100% !important;
  min-width: 680px;
  margin: 0 !important;
  border: 1px solid #d7e7f6 !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 0 !important;
}

.v2-table-page .dataTables_scrollBody #table,
.v2-table-page .dataTables_scrollBody table {
  border-top: 0 !important;
  border-radius: 0 !important;
}

.v2-table-page .dataTables_scrollHeadInner,
.v2-table-page .dataTables_scrollHeadInner table {
  width: 100% !important;
  min-width: 980px;
  border-radius: 0 !important;
}

.v2-table-page #table thead th,
.v2-table-page .dataTables_scrollHead thead th,
.v2-table-page .v2-tabbed-data-table thead th {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: linear-gradient(180deg, #2f73b8, #245f9d) !important;
  color: #fff !important;
  font-size: 9px !important;
  font-weight: 850 !important;
  letter-spacing: 0.035em !important;
  line-height: 1.15;
  overflow-wrap: normal;
  padding: 11px 6px !important;
  text-overflow: clip;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: normal !important;
  word-break: normal;
}

.v2-table-page #table thead th:first-child,
.v2-table-page .dataTables_scrollHead thead th:first-child,
.v2-table-page .v2-tabbed-data-table thead th:first-child {
  border-radius: 12px 0 0 0 !important;
  border-bottom-left-radius: 0 !important;
}

.v2-table-page #table thead th:last-child,
.v2-table-page .dataTables_scrollHead thead th:last-child,
.v2-table-page .v2-tabbed-data-table thead th:last-child {
  border-radius: 0 12px 0 0 !important;
  border-bottom-right-radius: 0 !important;
}

.v2-table-page #table tbody td,
.v2-table-page .v2-tabbed-data-table tbody td {
  overflow-wrap: anywhere;
  border-color: #dcebf8 !important;
  color: #253047;
  font-size: 13px;
  font-weight: 650;
  padding: 15px 10px !important;
  vertical-align: middle;
}

.v2-table-page #table tbody tr:nth-child(even) td,
.v2-table-page .v2-tabbed-data-table tbody tr:nth-child(even) td {
  background: #f1f7ff !important;
}

.v2-table-page #table tbody tr:nth-child(odd) td,
.v2-table-page .v2-tabbed-data-table tbody tr:nth-child(odd) td {
  background: #fff !important;
}

.v2-table-page #table tbody tr:hover td,
.v2-table-page .v2-tabbed-data-table tbody tr:hover td {
  background: #ebf5ff !important;
}

.v2-table-page #table .v2-col-row {
  width: 56px !important;
  color: #71829b;
  text-align: center;
}

.v2-table-page #table .v2-col-action {
  width: 124px !important;
  text-align: left !important;
}

.v2-table-page #table .v2-col-action > .text-center {
  display: flex;
  justify-content: flex-start;
  gap: 7px;
}

.v2-table-page #table .v2-col-action .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  height: 32px !important;
  border-radius: 9px !important;
  padding: 0 !important;
}

.v2-table-page #table .table-col-details {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.v2-table-page #table .table-col-details span {
  color: #7b8ca5;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.v2-table-page #table .table-col-details label {
  margin: 0;
  color: #172033;
  font-size: 13px;
  font-weight: 800;
}

.v2-table-page #table .v2-branch-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 10px;
  width: min(100%, 560px);
}

.v2-table-page #table .v2-branch-detail-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(134, 184, 229, 0.55);
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fcff 0%, #ffffff 70%);
  padding: 10px 12px;
  box-shadow: 0 8px 18px rgba(17, 105, 180, 0.06);
}

.v2-table-page #table .v2-branch-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: linear-gradient(135deg, #eaf5ff, #f2fbff);
  color: #1585e8;
  font-size: 13px;
}

.v2-table-page #table .v2-branch-detail-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.v2-table-page #table .v2-branch-detail-copy small {
  color: #7890ad;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.1;
  text-transform: uppercase;
}

.v2-table-page #table .v2-branch-detail-copy strong {
  overflow: hidden;
  color: #102a4d;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-table-page #table .v2-branch-detail-empty {
  color: #91a2b8;
  font-weight: 800;
}

.v2-tiers-page #table,
.v2-tiers-page .dataTables_scrollHeadInner,
.v2-tiers-page .dataTables_scrollHeadInner table {
  min-width: 0 !important;
}

.v2-master-list-page .v2-table-filter-panel {
  margin-bottom: 18px;
  border: 1px solid #d9e9f7;
  border-radius: 16px;
  background: linear-gradient(135deg, #f7fbff, #ffffff 58%, #fbf8ff);
  padding: 16px;
}

.v2-master-list-page .v2-table-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
}

.v2-master-list-page .v2-table-filter-field {
  display: grid;
  gap: 7px;
  margin: 0;
}

.v2-master-list-page .v2-table-filter-field span {
  color: #455875;
  font-size: 12px;
  font-weight: 850;
}

.v2-master-list-page .v2-table-filter-field .form-control {
  min-height: 42px;
  border: 1px solid #cdddf0;
  border-radius: 10px;
  color: var(--v2-text);
  font-weight: 750;
}

.v2-master-list-page .v2-table-filter-field .bootstrap-select {
  width: 100% !important;
}

.v2-master-list-page .v2-table-filter-field .bootstrap-select > .dropdown-toggle {
  min-height: 42px;
  border: 1px solid #cdddf0;
  border-radius: 10px;
  background: #fff;
  color: var(--v2-text);
  font-weight: 750;
  padding: 8px 13px;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.04);
}

.v2-master-list-page .v2-table-filter-field .bootstrap-select > .dropdown-toggle:focus {
  outline: none !important;
  border-color: #1e95f5;
  box-shadow: 0 0 0 3px rgba(30, 149, 245, 0.14);
}

.v2-master-list-page .v2-table-filter-field .bootstrap-select .filter-option-inner-inner {
  color: var(--v2-text);
}

.v2-master-list-page .v2-table-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.v2-master-list-page .v2-filter-primary,
.v2-master-list-page .v2-filter-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  border-radius: 10px;
  font-weight: 850;
  padding: 10px 16px;
}

.v2-master-list-page .v2-filter-primary {
  border: 1px solid #1d8ff0;
  background: #1e95f5;
  color: #fff;
}

.v2-master-list-page .v2-filter-secondary {
  border: 1px solid #8d99aa;
  background: #fff;
  color: #58667b;
}

.v2-master-list-page #table,
.v2-master-list-page .dataTables_scrollHeadInner,
.v2-master-list-page .dataTables_scrollHeadInner table {
  min-width: 0 !important;
}

.v2-master-list-page #table {
  table-layout: auto;
}

.v2-master-list-page #table th:first-child,
.v2-master-list-page #table td:first-child {
  width: 56px;
  text-align: center;
}

.v2-master-list-page #table th:last-child,
.v2-master-list-page #table td:last-child {
  width: 132px;
  min-width: 132px;
  text-align: left !important;
}

.v2-master-list-page #table tbody td:last-child > .text-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 7px;
  min-width: 0;
  text-align: left !important;
}

.v2-master-list-page #table tbody td:last-child .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  border-radius: 9px !important;
  padding: 0 !important;
}

.v2-master-list-page #table img {
  display: block;
  max-width: 58px;
  max-height: 58px;
  border: 1px solid #d6e8f8;
  border-radius: 10px;
  object-fit: cover;
}

.v2-crm-page #table th:first-child,
.v2-crm-page #table td:first-child {
  width: auto;
  min-width: 220px;
  text-align: left;
}

.v2-crm-page #table th:last-child,
.v2-crm-page #table td:last-child {
  min-width: 150px;
  width: 150px;
}

.v2-crm-page #table tbody td:last-child {
  white-space: nowrap;
}

.v2-crm-page #table tbody td:last-child .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  height: 32px !important;
  margin: 0 5px 5px 0 !important;
  border-radius: 9px !important;
  padding: 0 !important;
}

.v2-crm-page #table tbody td:last-child .btn i {
  margin: 0 !important;
}

.v2-crm-page #table .table-col-details strong {
  display: inline;
  color: #172033;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.v2-crm-page #table td:nth-last-child(2),
.v2-crm-page #table td:nth-last-child(3) {
  max-width: 220px;
}

.v2-access-page .v2-access-data-table,
.v2-access-page .v2-access-static-table {
  width: 100% !important;
  min-width: 900px;
  margin: 0 !important;
  border: 1px solid #d7e7f6 !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 0 !important;
  color: var(--v2-text);
}

.v2-access-page .v2-access-static-table {
  min-width: 860px;
}

.v2-access-page .v2-access-data-table thead th,
.v2-access-page .v2-access-static-table thead th {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: linear-gradient(180deg, #2f73b8, #245f9d) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.2;
  padding: 14px 10px !important;
  text-overflow: ellipsis;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap !important;
}

.v2-access-page .v2-access-data-table thead th:first-child,
.v2-access-page .v2-access-static-table thead th:first-child {
  border-top-left-radius: 12px;
}

.v2-access-page .v2-access-data-table thead th:last-child,
.v2-access-page .v2-access-static-table thead th:last-child {
  border-top-right-radius: 12px;
}

.v2-access-page .v2-access-data-table tbody td,
.v2-access-page .v2-access-static-table tbody td {
  overflow-wrap: anywhere;
  border-color: #dcebf8 !important;
  color: #253047;
  font-size: 13px;
  font-weight: 650;
  padding: 15px 10px !important;
  vertical-align: middle;
}

.v2-access-page .v2-access-data-table tbody tr:nth-child(even) td,
.v2-access-page .v2-access-static-table tbody tr:nth-child(even) td {
  background: #f1f7ff !important;
}

.v2-access-page .v2-access-data-table tbody tr:nth-child(odd) td,
.v2-access-page .v2-access-static-table tbody tr:nth-child(odd) td {
  background: #fff !important;
}

.v2-access-page .v2-access-data-table tbody tr:hover td,
.v2-access-page .v2-access-static-table tbody tr:hover td {
  background: #ebf5ff !important;
}

.v2-access-page .v2-access-data-table strong,
.v2-access-main {
  color: #172033;
  font-weight: 900;
}

.v2-access-page .v2-access-data-table p {
  margin: 2px 0 0;
  color: #6f7f98;
  font-size: 12px;
  font-weight: 750;
}

.v2-access-page .v2-access-static-table small {
  display: block;
  color: #7b8ca5;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.v2-access-page .badge,
.v2-access-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 24px;
  border: 1px solid #d8e7f5 !important;
  border-radius: 999px;
  background: #eef4fb !important;
  color: #52637d !important;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  padding: 5px 9px;
}

.v2-access-page .badge.bg-success,
.v2-access-badge-success {
  border-color: #bbf7d0 !important;
  background: #ecfdf5 !important;
  color: #15803d !important;
}

.v2-access-page .badge.bg-warning,
.v2-access-badge-warning {
  border-color: #fed7aa !important;
  background: #fff7ed !important;
  color: #9a3412 !important;
}

.v2-access-page .badge.bg-danger {
  border-color: #fecdd3 !important;
  background: #fff1f2 !important;
  color: #b91c1c !important;
}

.v2-access-page .badge.bg-primary,
.v2-access-badge-primary {
  border-color: #c7d2fe !important;
  background: #eef2ff !important;
  color: #4338ca !important;
}

.v2-access-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  flex-wrap: wrap;
}

.v2-access-actions form {
  margin: 0;
}

.v2-access-action-btn,
.v2-access-page .table-action-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  height: 32px !important;
  border: 1px solid #c7e2ff !important;
  border-radius: 9px !important;
  background: #f7fbff !important;
  color: #0b65bd !important;
  padding: 0 !important;
}

.v2-access-action-danger,
.v2-access-page .delete-user {
  border-color: #fecdd3 !important;
  background: #fff7f8 !important;
  color: #dc2626 !important;
}

.v2-access-user-card {
  border: 1px solid #d7e7f8;
  border-radius: 14px;
  background: #f7fbff;
  padding: 14px;
}

.v2-access-user-card p {
  color: #6f7f98;
  font-size: 12px;
  font-weight: 750;
}

.v2-swal-confirm {
  overflow: hidden !important;
  width: min(520px, calc(100vw - 32px)) !important;
  border: 1px solid #cfe0f2 !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at top right, rgba(0, 187, 200, 0.16), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fcff 66%, #f4f0ff 100%) !important;
  box-shadow: 0 28px 70px rgba(9, 45, 86, 0.22) !important;
  padding: 32px 34px 30px !important;
}

.v2-swal-confirm__icon {
  width: 74px !important;
  height: 74px !important;
  margin: 0 auto 20px !important;
  border-width: 4px !important;
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.18);
}

.v2-swal-confirm__title {
  margin: 0 !important;
  color: #102844 !important;
  font-size: 30px !important;
  font-weight: 950 !important;
  letter-spacing: -0.04em !important;
}

.v2-swal-confirm__text {
  margin: 12px auto 0 !important;
  color: #5f789b !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

.v2-swal-confirm__actions {
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 26px 0 0 !important;
}

.v2-swal-confirm__confirm,
.v2-swal-confirm__cancel {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 136px !important;
  min-height: 46px !important;
  border-radius: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  padding: 12px 18px !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}

.v2-swal-confirm__confirm {
  border: 0 !important;
  background: linear-gradient(135deg, #1586ff 0%, #05b9c8 100%) !important;
  color: #fff !important;
  box-shadow: 0 16px 32px rgba(5, 143, 220, 0.26) !important;
}

.v2-swal-confirm__cancel {
  border: 1px solid #fecdd3 !important;
  background: #fff7f8 !important;
  color: #be123c !important;
}

.v2-swal-confirm__confirm:hover,
.v2-swal-confirm__cancel:hover {
  transform: translateY(-1px);
}

.v2-wallet-hero-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.v2-wallet-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid #c7e2ff;
  border-radius: 999px;
  background: #f2f8ff;
  color: #0b5cab;
  font-size: 13px;
  font-weight: 850;
  padding: 7px 12px;
  white-space: nowrap;
}

.v2-wallet-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.v2-wallet-stat-card {
  min-height: 112px;
  border: 1px solid #d7e7f8;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f7fbff 70%, #fbf8ff);
  box-shadow: var(--v2-shadow-soft);
  padding: 18px;
}

.v2-wallet-stat-card span {
  display: block;
  color: var(--v2-muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v2-wallet-stat-card strong {
  display: block;
  margin-top: 8px;
  color: #1e95f5;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.v2-wallet-command-grid,
.v2-wallet-tables-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
}

.v2-wallet-form,
.v2-wallet-filter-grid {
  display: grid;
  gap: 14px;
}

.v2-wallet-filter-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.v2-wallet-filter-grid .v2-table-filter-actions {
  grid-column: 1 / -1;
}

.v2-wallet-page .v2-table-filter-field {
  display: grid;
  gap: 7px;
  margin: 0;
}

.v2-wallet-page .v2-table-filter-field span {
  color: #455875;
  font-size: 12px;
  font-weight: 850;
}

.v2-wallet-page .form-control,
.v2-wallet-page .form-select {
  min-height: 42px;
  border: 1px solid #cdddf0;
  border-radius: 10px;
  color: var(--v2-text);
  font-weight: 750;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.v2-wallet-page textarea.form-control {
  min-height: 126px;
}

.v2-wallet-page .v2-table-filter-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.v2-wallet-page .v2-filter-primary,
.v2-wallet-page .v2-filter-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  border-radius: 10px;
  font-weight: 850;
  padding: 10px 16px;
}

.v2-wallet-page .v2-filter-primary {
  border: 1px solid #1d8ff0;
  background: #1e95f5;
  color: #fff;
}

.v2-wallet-page .v2-filter-secondary {
  border: 1px solid #8d99aa;
  background: #fff;
  color: #58667b;
}

.v2-wallet-danger {
  border-color: #fecdd3 !important;
  color: #b91c1c !important;
}

.v2-wallet-composer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
  gap: 18px;
}

.v2-wallet-preview {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  border: 1px solid #c7e2ff;
  border-radius: 16px;
  background: linear-gradient(145deg, #f7fbff, #ffffff 54%, #f6f0ff);
  padding: 18px;
}

.v2-wallet-preview span {
  color: var(--v2-muted);
  font-size: 12px;
  font-weight: 800;
}

.v2-wallet-preview strong {
  color: var(--v2-text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.v2-wallet-preview p {
  margin: 0;
  color: #566680;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.v2-wallet-table {
  min-width: 740px;
  margin: 0 !important;
  border: 1px solid #d7e7f6 !important;
  border-collapse: separate !important;
  border-spacing: 0;
  color: var(--v2-text);
}

.v2-wallet-audience-table {
  min-width: 1420px;
}

.v2-wallet-table thead th {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: linear-gradient(180deg, #2f73b8, #245f9d) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.2;
  padding: 13px 10px !important;
  text-transform: uppercase;
  white-space: nowrap;
}

.v2-wallet-table thead th:first-child {
  border-top-left-radius: 12px;
}

.v2-wallet-table thead th:last-child {
  border-top-right-radius: 12px;
}

.v2-wallet-table tbody td {
  overflow-wrap: anywhere;
  border-color: #dcebf8 !important;
  color: #253047;
  font-size: 13px;
  font-weight: 650;
  padding: 14px 10px !important;
  vertical-align: middle;
}

.v2-wallet-table tbody tr:nth-child(even) td {
  background: #f1f7ff !important;
}

.v2-wallet-table tbody tr:nth-child(odd) td {
  background: #fff !important;
}

.v2-wallet-table tbody tr:hover td {
  background: #ebf5ff !important;
}

.v2-wallet-main {
  color: #172033;
  font-weight: 900;
}

.v2-wallet-table small {
  display: block;
  color: #7b8ca5;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.v2-wallet-table code {
  color: #0b5cab;
  white-space: normal;
  word-break: break-word;
}

.v2-wallet-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: 58px;
  min-height: 24px;
  border: 1px solid #d8e7f5;
  border-radius: 999px;
  background: #eef4fb;
  color: #52637d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  padding: 5px 9px;
  text-align: center;
  white-space: nowrap;
  word-break: keep-all;
}

.v2-wallet-badge-info {
  border-color: #bae0ff;
  background: #eff8ff;
  color: #0b65bd;
}

.v2-wallet-badge-success {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #15803d;
}

.v2-wallet-badge-warning {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.v2-wallet-badge-danger {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #b91c1c;
}

.v2-wallet-check-col {
  width: 48px;
  text-align: center;
}

.v2-wallet-action-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #fecdd3 !important;
  border-radius: 9px !important;
  background: #fff7f8 !important;
  color: #dc2626 !important;
  padding: 0 !important;
}

.v2-wallet-pagination {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.v2-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.v2-admin-tab {
  border: 1px solid #c8e3ff;
  border-radius: 999px;
  background: #eef7ff;
  color: #0f5da8;
  font-size: 13px;
  font-weight: 850;
  padding: 9px 14px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.v2-admin-tab:hover,
.v2-admin-tab.active {
  border-color: #1e95f5;
  background: linear-gradient(135deg, #1e95f5, #13c2c2);
  color: #fff;
}

.v2-admin-tab-content .dataTables_wrapper .row:first-child {
  margin-bottom: 14px;
}

.v2-suppliers-page .v2-tabbed-data-table th:first-child,
.v2-suppliers-page .v2-tabbed-data-table td:first-child {
  width: 58px;
  text-align: center;
}

.v2-suppliers-page .v2-tabbed-data-table th:last-child,
.v2-suppliers-page .v2-tabbed-data-table td:last-child {
  width: 190px;
  min-width: 190px;
  text-align: left !important;
}

.v2-suppliers-page .v2-tabbed-data-table td:last-child > .text-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 7px;
  min-width: 0;
  text-align: left !important;
}

.v2-suppliers-page .v2-tabbed-data-table td:last-child .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  border-radius: 9px !important;
  padding: 0 !important;
}

.v2-suppliers-page .badge {
  border-radius: 999px;
  font-weight: 850;
  padding: 7px 10px;
}

.v2-table-page .dataTables_info {
  color: var(--v2-muted);
  font-size: 12px;
  font-weight: 750;
  padding-top: 13px !important;
}

.v2-table-page .dataTables_paginate {
  padding-top: 10px !important;
}

.v2-table-page .dataTables_paginate .paginate_button {
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  color: #53627a !important;
  font-weight: 750;
  margin: 0 2px;
}

.v2-table-page .dataTables_paginate .paginate_button.current,
.v2-table-page .dataTables_paginate .paginate_button.current:hover {
  border-color: #d6eaff !important;
  background: var(--v2-brand-soft) !important;
  color: var(--v2-brand) !important;
}

.v2-table-page .dataTables_paginate .paginate_button:hover {
  border-color: var(--v2-line) !important;
  background: #fff !important;
  color: var(--v2-brand) !important;
}

@media (min-width: 1200px) {
  .v2-booking-list #booking-list-table-container .table-responsive {
    overflow-x: auto !important;
  }

  .v2-booking-list #table {
    min-width: var(--v2-booking-table-min-width) !important;
    width: var(--v2-booking-table-min-width) !important;
  }
}

@media (max-width: 991.98px) {
  .v2-tiers-page #table,
  .v2-master-list-page #table {
    min-width: 760px !important;
  }

  .v2-master-list-page .v2-table-filter-grid {
    grid-template-columns: 1fr;
  }

  .v2-filter-basic-grid,
  .v2-chip-panel-row {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .v2-ai-bi-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2-ai-bi-insight-grid,
  .v2-ai-bi-grid,
  .v2-ai-bi-report-grid {
    grid-template-columns: 1fr;
  }

  .v2-ai-bi-chart-card {
    grid-row: auto;
  }
}

@media (max-width: 1199.98px) {
  .v2-operational-page .v2-ops-grid,
  .v2-agent-messages-page .v2-table-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2-booking-list #table {
    min-width: var(--v2-booking-table-min-width) !important;
    width: var(--v2-booking-table-min-width) !important;
  }

  .v2-booking-list #booking-list-table-container .table-responsive {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto !important;
  }

  .v2-wave-summary-grid {
    grid-template-columns: minmax(240px, 0.32fr) minmax(0, 1fr) minmax(240px, 0.32fr);
  }

  .v2-wave-total-block,
  .v2-wave-ai-block,
  .v2-wave-chart-block,
  .v2-wave-status-box {
    min-height: 84px;
  }

  .v2-wave-ai-block {
    grid-column: 1;
    grid-row: 2;
  }

  .v2-wave-status-box {
    grid-column: 2 / 4;
    grid-row: 2;
    padding: 7px 9px;
  }

  .v2-wave-chart-block {
    grid-column: 2 / 4;
    grid-row: 1;
    padding: 6px 10px 4px;
  }

  .v2-wave-chart-wrap {
    height: 60px;
  }
}

.v2-backoffice .modal-header {
  border-bottom-color: var(--v2-line);
}

.v2-backoffice .modal-footer {
  border-top-color: var(--v2-line);
}

#custom-loader {
  background: rgba(244, 247, 251, 0.75);
}

@media (min-width: 900px) {
  .v2-main-nav.collapse:not(.show) {
    display: block !important;
  }

  .v2-main-nav .dropdown:hover > .nav-link {
    border-color: #bddcff;
    background: #fff;
    color: var(--v2-brand);
    box-shadow: 0 8px 18px rgba(24, 144, 255, 0.11);
  }
}

@media (max-width: 1199.98px) {
  .v2-mobile-nav-toggle {
    display: inline-flex;
  }

  .v2-shell-header {
    gap: 16px;
    padding: 10px 20px;
    top: auto;
  }

  .v2-brand-mark {
    flex-basis: 126px;
    width: 126px;
  }

  .v2-brand-mark img {
    max-width: 124px;
  }

  .v2-nav-ribbon {
    top: auto;
  }

  .v2-nav-inner {
    padding: 7px 16px;
  }

  .v2-main-nav {
    padding: 0;
    overflow: visible;
  }

  .v2-main-nav .topbar {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1px;
    width: 100%;
    overflow: visible;
    white-space: nowrap;
  }

  .v2-main-nav .topbar > .nav-item > .nav-link {
    justify-content: center;
    min-height: 36px;
    padding: 7px 5px;
    font-size: 10.5px;
  }

  .v2-main-nav .topbar > .nav-item > .dropdown-toggle::after {
    margin-left: 3px;
  }

  .v2-main-nav .dropdown-menu {
    position: absolute !important;
    transform: none !important;
    width: auto;
    box-shadow: none;
    margin: 3px 0 8px;
  }

  .v2-session-card {
    max-width: 340px;
  }

  .v2-search-panel-meta {
    justify-content: flex-start;
  }
}

@media (min-width: 900px) and (max-width: 1199.98px) {
  .v2-mobile-nav-toggle {
    display: none;
  }

  .v2-shell-header {
    gap: 16px;
  }

  .v2-main-nav {
    padding: 0;
  }

  .v2-main-nav .topbar {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1px;
    width: 100%;
    overflow: visible;
    white-space: nowrap;
  }

  .v2-main-nav .topbar > .nav-item > .nav-link {
    justify-content: center;
    min-height: 36px;
    padding: 7px 5px;
    font-size: 10.5px;
  }

  .v2-main-nav .dropdown-menu {
    position: absolute !important;
    width: auto;
    box-shadow: 0 24px 48px rgba(31, 78, 121, 0.16);
    margin: 0;
  }

}

@media (max-width: 899.98px) {
  .v2-shell-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
    min-height: auto;
    padding: 10px 16px;
  }

  .v2-topbar-left {
    justify-content: flex-start;
    width: 100%;
  }

  .v2-header-right {
    display: contents;
  }

  .v2-header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: auto;
  }

  .v2-session-card {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    min-height: auto;
    border: 1px solid rgba(184, 213, 239, 0.78);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.58);
    padding: 9px 11px;
  }

  .v2-session-login {
    display: block;
    max-width: none;
  }

  .v2-header-actions .dropdown-menu {
    max-width: calc(100vw - 24px);
  }

  .v2-nav-inner {
    padding: 0 16px;
  }

  .v2-main-nav {
    padding: 0;
  }

  .v2-main-nav.show {
    padding: 8px 0 12px;
  }

  .v2-main-nav .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    overflow: visible;
    white-space: normal;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }

  .v2-main-nav .topbar > .nav-item > .nav-link {
    justify-content: space-between;
    min-height: 38px;
    border-bottom: 0;
    border-radius: 10px;
    padding: 9px 11px;
    font-size: 12px;
    padding: 10px 12px;
  }

  .v2-main-nav .topbar > .nav-item > .nav-link:hover,
  .v2-main-nav .topbar > .nav-item.active > .nav-link,
  .v2-main-nav .topbar > .nav-item.show > .nav-link {
    border-color: #bddcff;
    background: #fff;
    color: #086fc9;
  }

  .v2-main-nav .topbar > .nav-item.active > .nav-link::after,
  .v2-main-nav .topbar > .nav-item.show > .nav-link::after {
    color: currentColor;
  }

  .v2-search-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .v2-operational-page .v2-ops-grid,
  .v2-agent-messages-page .v2-table-filter-grid {
    grid-template-columns: 1fr;
  }

  .v2-operational-page .v2-field-wide {
    grid-column: auto;
  }

  .v2-table-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .v2-page-container {
    padding: 12px 10px;
  }

  .v2-shell-header {
    min-height: auto;
    padding: 10px 12px;
  }

  .v2-topbar-left {
    gap: 8px;
  }

  .v2-mobile-nav-toggle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .v2-brand {
    min-height: 46px;
  }

  .v2-brand-mark {
    flex-basis: 106px;
    width: 106px;
    height: 46px;
  }

  .v2-brand-mark img {
    max-width: 104px;
    max-height: 42px;
  }

  .v2-nav-ribbon {
    top: auto;
  }

  .v2-header-actions .nav-link {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    box-shadow: none;
  }

  .v2-session-card {
    max-width: none;
    min-height: 38px;
    padding: 8px 10px;
  }

  .v2-session-copy {
    grid-template-columns: 1fr;
    row-gap: 3px;
  }

  .v2-session-name {
    max-width: 140px;
    font-size: 11px;
  }

  .v2-session-role {
    justify-self: start;
    font-size: 9px;
    padding: 2px 7px;
  }

  .v2-session-login {
    display: none;
  }

  .v2-header-actions {
    gap: 5px;
  }

  .v2-header-actions .dropdown-menu {
    top: calc(100% + 7px) !important;
    border-radius: 12px;
  }

  .v2-message-menu,
  .v2-notification-menu {
    width: min(390px, calc(100vw - 18px));
  }

  .v2-dropdown-scroll {
    max-height: min(340px, calc(100vh - 150px));
  }

  .v2-booking-list .panel {
    padding: 10px !important;
  }

  .v2-booking-list .v2-search-panel {
    padding: 0 !important;
  }

  .v2-search-panel-head {
    padding: 15px;
  }

  .v2-search-panel-presets {
    justify-content: flex-start;
    width: 100%;
  }

  .v2-search-panel-title h2 {
    font-size: 18px;
  }

  .v2-booking-list .v2-search-panel .panel-body {
    padding: 12px !important;
  }

  .v2-filter-chips-shell {
    padding: 12px 12px 0;
  }

  .v2-filter-card {
    border-radius: 14px;
    padding: 11px;
  }

  .v2-filter-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .v2-filter-basic-grid,
  .v2-chip-panel-row {
    grid-template-columns: 1fr;
  }

  .v2-filter-chips-shell .v2-search-action-bar {
    margin: 2px -12px 0 !important;
    padding: 11px 12px;
  }

  .v2-search-action-bar .btn {
    flex: 1 1 auto;
  }

  .v2-more-filters-dropdown {
    position: fixed;
    top: auto;
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
    max-width: none;
    max-height: min(430px, calc(100vh - 28px));
    border-radius: 16px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
    padding: 12px;
    z-index: 1900;
  }

  .v2-more-filters-list {
    max-height: min(320px, calc(100vh - 150px));
  }

  .v2-filter-section {
    padding: 12px 12px 6px;
  }

  .v2-inline-filter-btn {
    margin-top: 0;
  }

  .v2-search-action-bar {
    margin: 12px -12px -12px !important;
    padding: 11px 12px;
  }

  .v2-wave-summary-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .v2-wave-summary-grid > * {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .v2-wave-total-block {
    min-height: auto;
  }

  .v2-wave-ai-block {
    min-height: auto;
    padding: 12px;
  }

  .v2-wave-status-box {
    min-height: auto;
    padding: 12px;
  }

  .v2-wave-status-box .v2-wave-status-list {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .v2-wave-chart-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .v2-wave-chart-wrap {
    height: 110px;
  }

  .v2-booking-list .v2-ai-bi-panel {
    border-radius: 14px;
    margin: 14px 0;
    padding: 12px;
  }

  .v2-ai-bi-report-meta,
  .v2-ai-bi-head,
  .v2-ai-bi-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .v2-ai-bi-actions {
    width: 100%;
  }

  .v2-ai-bi-refresh {
    flex: 1 1 auto;
  }

  .v2-ai-bi-close {
    flex: 0 0 36px;
  }

  .v2-ai-bi-alert {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .v2-ai-bi-alert span {
    grid-column: 1 / -1;
  }

  .v2-ai-bi-kpi-grid {
    grid-template-columns: 1fr;
  }

  .v2-ai-bi-list-item.is-rich {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .v2-ai-bi-list-money,
  .v2-ai-bi-list-sub {
    grid-column: 2;
  }

  .v2-ai-bi-title h2 {
    font-size: 17px;
  }

  .v2-ai-bi-chart-wrap {
    height: 220px;
  }

  .v2-booking-list #booking-list-table-container {
    border-radius: 16px;
  }

  .v2-results-panel-head {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 16px 16px 0 0;
    padding: 14px;
  }

  .v2-booking-list #booking-list-table-container .table-responsive {
    padding: 10px;
  }
}

@media (max-width: 1199.98px) {
  .v2-wallet-stats-grid,
  .v2-wallet-command-grid,
  .v2-wallet-tables-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2-wallet-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .v2-wallet-composer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .v2-wallet-stats-grid,
  .v2-wallet-command-grid,
  .v2-wallet-tables-grid,
  .v2-wallet-filter-grid {
    grid-template-columns: 1fr;
  }

  .v2-wallet-hero-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .v2-wallet-hero-actions .btn,
  .v2-wallet-page .v2-table-filter-actions .btn,
  .v2-wallet-page .v2-primary-action {
    flex: 1 1 auto;
  }

  .v2-wallet-stat-card {
    min-height: 96px;
  }
}

/* Agent portal v2 layer: scoped to company/employee pages using the legacy URLs. */
.agent-v2-shell {
  --agent-v2-blue: #1890ff;
  --agent-v2-blue-dark: #245f9f;
  --agent-v2-purple: #722ed1;
  --agent-v2-cyan: #13c2c2;
  --agent-v2-ink: #172033;
  --agent-v2-muted: #8392ab;
  --agent-v2-line: #d8e6f5;
  --agent-v2-soft: #f4f8fd;
  --agent-v2-row: #f1f6fc;
  background:
    radial-gradient(circle at 8% 4%, rgba(24, 144, 255, 0.1), transparent 28%),
    radial-gradient(circle at 100% 28%, rgba(114, 46, 209, 0.08), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef3f8 58%, #f8f4ff 100%);
  color: var(--agent-v2-ink);
}

.agent-v2-shell .agent-page-heading {
  display: none;
}

.agent-v2-content-shell {
  align-items: stretch;
  gap: 18px;
  max-width: 100%;
  padding-top: 22px !important;
}

.agent-v2-shell .agent-sidebar-outbox {
  min-width: 0;
}

.agent-v2-shell .agent-sidebar-outbox > :not(.agent-sidebar):not(aside):not(.sidebar) {
  min-width: 0;
}

.agent-v2-shell .card {
  border: 1px solid #c9def3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(31, 78, 121, 0.07);
}

.agent-v2-shell .card-header {
  border-bottom: 1px solid #d8e6f5;
  background: linear-gradient(110deg, #eaf5ff 0%, #f8fbff 54%, #f4efff 100%);
  color: var(--agent-v2-ink);
  font-weight: 800;
  letter-spacing: 0;
}

.agent-v2-shell .card:not(.agent-v2-panel) > .card-header:first-child {
  border-radius: 18px 18px 0 0;
  padding: 18px 22px;
}

.agent-v2-shell .card-body {
  color: #24344d;
}

.agent-v2-shell .btn {
  border-radius: 10px;
  font-weight: 750;
}

.agent-v2-shell .btn-primary,
.agent-v2-shell .btn-success {
  border-color: transparent;
  background: linear-gradient(135deg, #2f54eb, #13c2c2);
  box-shadow: 0 10px 22px rgba(24, 144, 255, 0.16);
}

.agent-v2-shell .btn-outline-secondary,
.agent-v2-shell .btn-secondary {
  border-color: #8fa0b7;
  background: #fff;
  color: #55667f;
}

.agent-v2-shell .btn-danger {
  border-color: #ffd4d5;
  background: #fff2f2;
  color: #cf1322;
}

.agent-v2-shell .nav-tabs {
  gap: 8px;
  border-bottom: 1px dashed #cfe0f2;
}

.agent-v2-shell .nav-tabs .nav-link {
  border: 1px solid #cfe5fb;
  border-radius: 999px;
  color: #155a9e;
  font-weight: 750;
}

.agent-v2-shell .nav-tabs .nav-link.active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--agent-v2-blue), var(--agent-v2-cyan));
  color: #fff;
}

.agent-v2-shell .table-responsive {
  border-color: #d4e4f4;
}

.agent-v2-shell .table:not(#table) {
  margin-bottom: 0;
  border-color: #dce9f6;
}

.agent-v2-shell .table:not(#table) thead th,
.agent-v2-shell .table:not(#table) thead td {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: linear-gradient(180deg, #2d6fab, #245f9f) !important;
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
  padding: 12px 10px !important;
  text-transform: uppercase;
  white-space: normal;
}

.agent-v2-shell .table:not(#table) thead th:first-child {
  border-top-left-radius: 10px;
}

.agent-v2-shell .table:not(#table) thead th:last-child {
  border-top-right-radius: 10px;
}

.agent-v2-shell .table:not(#table) tbody tr:nth-child(even) {
  background: var(--agent-v2-row);
}

.agent-v2-shell .table:not(#table) tbody td {
  border-color: #dce9f6 !important;
  color: #24344d;
  vertical-align: middle;
}

.agent-v2-shell .dataTables_wrapper,
.agent-v2-shell .dt-container {
  width: 100%;
  min-width: 0;
}

.agent-v2-shell .dataTables_wrapper .row,
.agent-v2-shell .dt-container .row {
  align-items: center;
  row-gap: 12px;
}

.agent-v2-shell .dataTables_filter input,
.agent-v2-shell .dataTables_length select {
  border: 1px solid #cbdced;
  border-radius: 10px;
  min-height: 38px;
}

.agent-v2-shell .pagination .page-link,
.agent-v2-shell .paginate_button .page-link {
  border-color: #cfe5fb;
  color: #155a9e;
  font-weight: 750;
}

.agent-v2-shell .pagination .active .page-link,
.agent-v2-shell .page-item.active .page-link {
  border-color: transparent;
  background: linear-gradient(135deg, #2f54eb, #13c2c2);
}

.agent-v2-shell .modal-content {
  border: 1px solid #c9def3;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
}

.agent-v2-shell .modal-header {
  border-bottom-color: #d8e6f5;
  background: linear-gradient(110deg, #eaf5ff, #f4efff);
}

.agent-v2-content-shell > .agent-sidebar,
.agent-v2-content-shell > aside,
.agent-v2-content-shell > .sidebar {
  flex: 0 0 auto;
}

.agent-v2-page {
  width: 100%;
  min-width: 0;
}

.agent-v2-page-main {
  width: 100%;
  min-width: 0;
}

.agent-v2-panel {
  overflow: visible;
  border: 1px solid #c9def3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 50px rgba(31, 78, 121, 0.08);
}

.agent-v2-panel-header,
.agent-v2-report-page::before {
  border-bottom: 1px solid #d8e6f5;
  background: linear-gradient(110deg, #eaf5ff 0%, #f8fbff 54%, #f4efff 100%);
  color: var(--agent-v2-ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.agent-v2-panel-header {
  border-radius: 18px 18px 0 0;
  padding: 24px 26px;
}

.agent-v2-panel-body {
  padding: 24px;
}

.agent-v2-service-tabs {
  gap: 8px;
  border: 0;
  margin-bottom: 20px !important;
}

.agent-v2-service-tabs .nav-link {
  min-height: 38px;
  border: 1px solid #cfe5fb;
  border-radius: 999px;
  background: #f2f8ff;
  color: #155a9e;
  font-weight: 750;
  padding: 8px 14px;
}

.agent-v2-service-tabs .nav-link.active,
.agent-v2-service-tabs .nav-link:hover {
  border-color: transparent;
  background: linear-gradient(135deg, var(--agent-v2-blue), var(--agent-v2-cyan));
  color: #fff;
  box-shadow: 0 12px 28px rgba(24, 144, 255, 0.22);
}

.agent-v2-filter-grid,
.agent-v2-more-filters .row {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px 16px;
  margin-right: 0;
  margin-left: 0;
}

.agent-v2-filter-grid > [class*="col-"],
.agent-v2-more-filters .row > [class*="col-"] {
  width: auto;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.agent-v2-more-filters {
  border: 1px solid #d8e6f5;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fbff, #ffffff);
  margin-top: 4px;
  padding: 16px;
}

.agent-v2-shell label,
.agent-v2-shell .form-label {
  color: #475a75;
  font-weight: 750;
}

.agent-v2-shell .form-control,
.agent-v2-shell .form-select,
.agent-v2-shell .select2-container .select2-selection--single,
.agent-v2-shell .select2-container .select2-selection--multiple,
.agent-v2-shell .bootstrap-select .dropdown-toggle {
  border: 1px solid #cbdced !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: var(--agent-v2-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 14px rgba(31, 78, 121, 0.05);
}

.agent-v2-shell .form-control:focus,
.agent-v2-shell .form-select:focus,
.agent-v2-shell .select2-container--focus .select2-selection,
.agent-v2-shell .select2-container--open .select2-selection {
  border-color: var(--agent-v2-blue) !important;
  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.14) !important;
}

.agent-v2-shell .select2-container--default .select2-selection--multiple {
  height: auto !important;
  min-height: 38px !important;
  max-height: 92px;
  overflow-y: auto;
}

.agent-v2-shell .select2-container--default .select2-selection--multiple .select2-selection__choice {
  display: inline-flex;
  align-items: center;
  max-width: 150px;
  border: 1px solid #bfe0ff;
  border-radius: 999px;
  background: #edf7ff;
  color: #1266b3;
  font-weight: 700;
  line-height: 1.3;
  margin: 3px 4px 2px 0 !important;
  overflow: hidden;
  padding: 3px 9px 3px 22px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-v2-shell .select2-selection__choice__remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 0 !important;
  color: #245f9f !important;
  font-size: 15px;
  left: 3px;
  top: 50% !important;
  transform: translateY(-50%);
}

.agent-v2-action-row {
  border-top: 1px solid #d8e6f5;
  background: #f7faff;
  margin: 22px -24px 0;
  padding: 18px 24px 0;
}

.agent-v2-action-row .btn,
.agent-v2-export-actions .btn,
.agent-v2-report-page .btn {
  min-height: 38px;
  border-radius: 10px;
  font-weight: 750;
  padding: 8px 14px;
}

.agent-v2-action-row .btn-primary,
.agent-v2-export-actions .btn-primary,
.agent-v2-report-page .btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #2f54eb, #13c2c2);
  box-shadow: 0 12px 24px rgba(24, 144, 255, 0.18);
}

.agent-v2-table-section {
  margin-right: 0;
  margin-left: 0;
}

.agent-v2-export-actions {
  flex-wrap: wrap;
  margin-bottom: 14px !important;
}

.agent-v2-table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #d4e4f4;
  border-radius: 0;
  background: #fff;
}

.agent-v2-shell table#table {
  min-width: 1060px;
  margin: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0;
  table-layout: auto !important;
}

.agent-v2-shell table#table thead th,
.agent-v2-shell table#table thead td {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: linear-gradient(180deg, #2d6fab, #245f9f) !important;
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
  padding: 13px 10px !important;
  text-align: left;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: normal;
}

.agent-v2-shell table#table thead th:first-child {
  border-top-left-radius: 10px;
}

.agent-v2-shell table#table thead th:last-child {
  border-top-right-radius: 10px;
}

.agent-v2-shell table#table tbody tr {
  background: #fff;
}

.agent-v2-shell table#table tbody tr:nth-child(even) {
  background: var(--agent-v2-row);
}

.agent-v2-shell table#table tbody td {
  border-color: #dce9f6 !important;
  color: #24344d;
  font-size: 13px;
  padding: 14px 10px !important;
  vertical-align: middle;
}

.agent-v2-shell table#table tbody td:last-child {
  min-width: 132px;
}

.agent-v2-shell table#table tbody td:last-child .btn,
.agent-v2-shell table#table tbody td:last-child a,
.agent-v2-shell table#table tbody td:last-child button {
  margin: 2px;
}

.agent-v2-report-page {
  border: 1px solid #c9def3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 50px rgba(31, 78, 121, 0.08);
  margin: 0;
  overflow: hidden;
}

.agent-v2-report-page::before {
  display: block;
  width: 100%;
  content: "Reports";
  padding: 24px 26px;
}

.agent-v2-report-page > .col-12 {
  padding: 24px;
}

.agent-v2-report-tabs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 10px;
  border-radius: 0 !important;
  background: transparent !important;
  margin-bottom: 16px;
  overflow: visible !important;
}

.agent-v2-report-tabs .report-tab {
  border: 1px solid #cfe5fb;
  border-radius: 14px;
  background: #f2f8ff;
  color: #155a9e;
  font-weight: 800;
  padding: 16px;
}

.agent-v2-report-tabs .report-tab.active,
.agent-v2-report-tabs .report-tab:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #2f54eb, #13c2c2);
  color: #fff;
}

.agent-v2-report-filter-panel .filter-box {
  border: 1px solid #d8e6f5;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fbff, #ffffff);
  color: var(--agent-v2-ink);
  padding: 20px;
}

.agent-v2-report-filter-panel .filter-box > .row {
  align-items: end;
}

.agent-v2-report-results {
  padding: 0 24px 24px !important;
}

.agent-v2-report-results:empty {
  display: none;
}

.agent-v2-report-results #tableDiv,
.agent-v2-report-results .table-responsive,
.agent-v2-report-results .card {
  border: 1px solid #d4e4f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(31, 78, 121, 0.06);
  overflow-x: auto;
}

.agent-v2-report-results table {
  margin-bottom: 0;
}

.agent-v2-report-results table thead th {
  background: linear-gradient(180deg, #2d6fab, #245f9f) !important;
  color: #fff !important;
}

.agent-v2-report-detail-panel > .card-header,
.agent-v2-traveller-panel > .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  border-bottom: 1px solid #d8e6f5;
  background: linear-gradient(110deg, #eaf5ff 0%, #f8fbff 54%, #f4efff 100%);
  color: var(--agent-v2-ink);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  padding: 20px 24px;
}

.agent-v2-report-detail-panel > .card-header h5,
.agent-v2-traveller-panel > .card-header h5 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.agent-v2-report-detail-filters {
  align-items: end;
  border: 1px solid #d8e6f5;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fbff, #ffffff);
  margin: 0 0 18px;
  padding: 16px;
}

.agent-v2-report-detail-filters > p {
  flex: 0 0 100%;
  max-width: 100%;
  color: #7f8ea8 !important;
  font-size: 12px !important;
  letter-spacing: 0.14em;
}

.agent-v2-report-detail-filters > [class*="col"] {
  flex: 1 1 220px;
  max-width: 100%;
}

.agent-v2-report-detail-page .agent-v2-table-section > .col-12:first-child {
  overflow-x: auto;
  border: 1px solid #d4e4f4;
  border-radius: 0;
  background: #fff;
  padding: 0;
}

.agent-v2-report-detail-page .agent-v2-export-actions {
  border-bottom: 1px solid #dce9f6;
  background: #f8fbff;
  margin: 0 !important;
  padding: 14px;
}

.agent-v2-report-detail-page table#table,
.agent-v2-traveller-page table#table {
  min-width: 900px;
}

.agent-v2-traveller-panel .agent-v2-panel-body > .row {
  margin-right: 0;
  margin-left: 0;
}

.agent-v2-traveller-form {
  margin-top: 0 !important;
  padding: 22px !important;
}

.agent-v2-traveller-form small.text-muted,
.agent-v2-traveller-panel .modal-body small.text-muted {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: #7f8ea8 !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agent-v2-traveller-form hr,
.agent-v2-traveller-panel .modal-body hr {
  border-top: 1px dashed #cfe1f3;
  opacity: 1;
}

.agent-v2-generic-page {
  width: 100%;
  min-width: 0;
}

.agent-v2-generic-panel {
  overflow: visible;
}

.agent-v2-generic-panel > .card-header,
.agent-v2-generic-panel .card-header:first-child {
  min-height: 64px;
  border-bottom: 1px solid #d8e6f5;
  background: linear-gradient(110deg, #eaf5ff 0%, #f8fbff 54%, #f4efff 100%);
  color: var(--agent-v2-ink);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  padding: 20px 24px;
}

.agent-v2-generic-panel > .card-header h1,
.agent-v2-generic-panel > .card-header h2,
.agent-v2-generic-panel > .card-header h3,
.agent-v2-generic-panel > .card-header h4,
.agent-v2-generic-panel > .card-header h5,
.agent-v2-generic-panel > .card-header h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.agent-v2-generic-panel .card-body > .row,
.agent-v2-generic-page > .row {
  row-gap: 14px;
}

.agent-v2-generic-page .table-responsive,
.agent-v2-generic-page #booking-list-table-container,
.agent-v2-generic-page .dataTables_wrapper {
  min-width: 0;
}

.agent-v2-generic-page .table-responsive,
.agent-v2-generic-page #booking-list-table-container > .col-12:first-child {
  overflow-x: auto;
}

.agent-v2-generic-page table {
  min-width: 760px;
}

.agent-v2-generic-page table#table {
  min-width: 980px;
}

.agent-v2-generic-page .badge {
  border-radius: 999px;
  font-weight: 800;
  padding: 0.38rem 0.62rem;
}

.agent-v2-generic-page .alert {
  border-radius: 14px;
  border-width: 1px;
}

.agent-v2-generic-page .accordion-item,
.agent-v2-generic-page .list-group-item {
  border-color: #d8e6f5;
}

.agent-v2-generic-page .accordion-button {
  color: var(--agent-v2-ink);
  font-weight: 800;
}

.agent-v2-generic-page .accordion-button:not(.collapsed) {
  background: #edf7ff;
  color: #155a9e;
  box-shadow: inset 0 -1px 0 #d8e6f5;
}

.agent-v2-generic-page .form-check-input {
  border-color: #b9cbe0;
}

.agent-v2-generic-page .form-check-input:checked {
  border-color: var(--agent-v2-blue);
  background-color: var(--agent-v2-blue);
}

.agent-v2-admin-workflow-page small.text-muted,
.agent-v2-cbt-page small.text-muted,
.agent-v2-booking-action-page small.text-muted {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  color: #7f8ea8 !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agent-v2-admin-workflow-page hr,
.agent-v2-cbt-page hr,
.agent-v2-booking-action-page hr {
  border-top: 1px dashed #cfe1f3;
  opacity: 1;
}

.agent-v2-cbt-page .card:not(.agent-v2-generic-panel),
.agent-v2-admin-workflow-page .card:not(.agent-v2-generic-panel),
.agent-v2-booking-action-page .card:not(.agent-v2-generic-panel) {
  border-color: #d6e6f6;
  box-shadow: 0 12px 28px rgba(31, 78, 121, 0.06);
}

.agent-v2-cbt-page .nav-pills,
.agent-v2-admin-workflow-page .nav-pills,
.agent-v2-booking-action-page .nav-pills {
  gap: 8px;
}

.agent-v2-cbt-page .nav-pills .nav-link,
.agent-v2-admin-workflow-page .nav-pills .nav-link,
.agent-v2-booking-action-page .nav-pills .nav-link {
  border: 1px solid #cfe5fb;
  border-radius: 999px;
  color: #155a9e;
  font-weight: 800;
}

.agent-v2-cbt-page .nav-pills .nav-link.active,
.agent-v2-admin-workflow-page .nav-pills .nav-link.active,
.agent-v2-booking-action-page .nav-pills .nav-link.active {
  border-color: transparent;
  background: linear-gradient(135deg, #2f54eb, #13c2c2);
  color: #fff;
}

@media (max-width: 1199.98px) {
  .agent-v2-filter-grid,
  .agent-v2-more-filters .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-v2-report-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .agent-v2-content-shell {
    display: block !important;
    padding-top: 14px !important;
  }

  .agent-v2-panel-header,
  .agent-v2-report-page::before {
    font-size: 21px;
    padding: 20px;
  }

  .agent-v2-panel-body,
  .agent-v2-report-page > .col-12 {
    padding: 16px;
  }

  .agent-v2-filter-grid,
  .agent-v2-more-filters .row,
  .agent-v2-report-tabs {
    grid-template-columns: 1fr;
  }

  .agent-v2-action-row {
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .agent-v2-action-row .col-12 {
    flex-wrap: wrap;
  }

  .agent-v2-action-row .btn {
    flex: 1 1 140px;
  }

  .agent-v2-shell table#table {
    min-width: 980px;
  }
}

/* Public employee enrollment v2 layer */
.agent-v2-enrollment-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(24, 144, 255, 0.11), rgba(114, 46, 209, 0.1)),
    #f4f8fc;
  color: var(--agent-v2-ink);
}

.agent-v2-enrollment-shell .content-wrapper {
  min-height: 100vh;
  padding: 28px;
}

.agent-v2-enrollment-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid #c9def3 !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 24px 70px rgba(31, 78, 121, 0.14) !important;
  overflow: hidden;
}

.agent-v2-enrollment-card > .card-body {
  padding: 28px !important;
}

.agent-v2-enrollment-brand {
  margin: -28px -28px 24px;
  padding: 26px;
  border-bottom: 1px solid #dce9f6;
  background: linear-gradient(135deg, #f1f8ff, #f7f2ff);
}

.agent-v2-enrollment-brand img {
  max-width: 170px;
  filter: drop-shadow(0 14px 22px rgba(24, 144, 255, 0.14));
}

.agent-v2-enrollment-card .card {
  border: 1px solid #d6e6f6 !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 36px rgba(31, 78, 121, 0.08) !important;
}

.agent-v2-enrollment-card legend {
  margin-bottom: 18px;
  border: 0;
  color: var(--agent-v2-ink);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
}

.agent-v2-enrollment-card small.text-muted {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 8px 0 4px;
  color: #7f8ea8 !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agent-v2-enrollment-card hr {
  border-top: 1px dashed #cfe1f3;
  opacity: 1;
}

.agent-v2-enrollment-card label,
.agent-v2-enrollment-card .form-label {
  color: #475a77;
  font-weight: 800;
}

.agent-v2-enrollment-card .form-control,
.agent-v2-enrollment-card .form-select,
.agent-v2-enrollment-card .select2-container .select2-selection--single,
.agent-v2-enrollment-card .select2-container .select2-selection--multiple,
.agent-v2-enrollment-card .bootstrap-select .dropdown-toggle {
  min-height: 44px;
  border: 1px solid #cfdeef !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--agent-v2-ink) !important;
  box-shadow: 0 8px 18px rgba(31, 78, 121, 0.05);
}

.agent-v2-enrollment-card .btn {
  min-height: 42px;
  border-radius: 12px;
  font-weight: 800;
}

.agent-v2-enrollment-card .btn-primary,
.agent-v2-enrollment-card .btn-success {
  border-color: transparent !important;
  background: linear-gradient(135deg, #2f54eb, #13c2c2) !important;
  color: #fff !important;
}

.agent-v2-enrollment-card .btn-outline-secondary,
.agent-v2-enrollment-card .btn-secondary {
  border-color: #c9d9eb !important;
  background: #f7fbff !important;
  color: #475a77 !important;
}

@media (max-width: 767.98px) {
  .agent-v2-enrollment-shell .content-wrapper {
    padding: 14px;
  }

  .agent-v2-enrollment-card > .card-body {
    padding: 18px !important;
  }

  .agent-v2-enrollment-brand {
    margin: -18px -18px 18px;
  }

  .agent-v2-enrollment-card legend {
    font-size: 22px;
  }
}
/* Reusable V2 page hero */
.v2-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 148px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 30px;
  border: 1px solid rgba(22, 136, 248, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 20%, rgba(24, 197, 211, 0.18), transparent 18rem),
    linear-gradient(125deg, #082f62 0%, #095da4 62%, #08a9bc 135%);
  box-shadow: 0 22px 52px rgba(18, 56, 96, 0.18);
  color: #fff;
}

.v2-page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  top: -230px;
  right: 8%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 58px rgba(255, 255, 255, 0.035),
    0 0 0 116px rgba(255, 255, 255, 0.025);
}

.v2-page-hero__copy {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.v2-page-hero__icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.13);
  color: #65e2df;
  font-size: 23px;
  backdrop-filter: blur(10px);
}

.v2-page-hero__text {
  min-width: 0;
}

.v2-page-hero__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.v2-page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.v2-page-hero p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.5;
}

.v2-page-hero__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.v2-page-hero__actions > a,
.v2-page-hero__actions > button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.v2-page-hero__actions > a:hover,
.v2-page-hero__actions > button:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.v2-page-hero__actions > .v2-search-panel-toggle {
  min-width: 118px;
  border-color: rgba(255, 255, 255, 0.28);
  background: #fff;
  color: #0c5b9d;
  box-shadow: 0 12px 24px rgba(3, 31, 63, 0.18);
}

.v2-page-hero__actions > .v2-search-panel-toggle:hover,
.v2-page-hero__actions > .v2-search-panel-toggle[aria-expanded="true"] {
  border-color: #fff;
  background: #eef8ff;
  color: #084f8a;
}

@media (max-width: 760px) {
  .v2-page-hero {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .v2-page-hero__icon {
    display: none;
  }

  .v2-page-hero__actions {
    width: 100%;
  }

  .v2-page-hero__actions > a,
  .v2-page-hero__actions > button {
    flex: 1;
  }
}

/* Shared V2 modal system -------------------------------------------------- */
body.v2-backoffice .modal {
  --v2-modal-line: #cfe0f0;
  --v2-modal-ink: #18283e;
  --v2-modal-muted: #6c7f98;
  --v2-modal-soft: #f5f9fd;
  --v2-modal-blue: #087edf;
  --v2-modal-cyan: #10b9bd;
  backdrop-filter: blur(2px);
}

body.v2-backoffice .modal .modal-dialog {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

body.v2-backoffice .modal .modal-content {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--v2-modal-line) !important;
  border-radius: 22px !important;
  background: #fff;
  box-shadow: 0 28px 72px rgba(10, 48, 86, 0.24) !important;
}

body.v2-backoffice .modal .modal-content::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--v2-modal-blue), #139ed0, var(--v2-modal-cyan));
}

body.v2-backoffice .modal .modal-header {
  min-height: 96px !important;
  gap: 16px !important;
  padding: 20px 24px !important;
  border-bottom: 0 !important;
  color: #fff;
  background:
    radial-gradient(circle at 82% 15%, rgba(255, 255, 255, 0.18) 0 54px, transparent 55px),
    linear-gradient(125deg, #0b4381 0%, #087ab8 58%, #12bfc0 100%) !important;
}

body.v2-backoffice .modal .modal-header:not(.flex-column):has(> .modal-title)::after {
  display: inline-flex;
  order: -1;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  content: "\f5fd";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif;
  font-size: 17px;
  font-weight: 900;
}

body.v2-backoffice .modal .modal-header > img:first-child + .btn-close,
body.v2-backoffice .modal .modal-header > .btn-close {
  margin-left: auto;
}

body.v2-backoffice .modal .modal-title,
body.v2-backoffice .modal .modal-header h4,
body.v2-backoffice .modal .modal-header h5,
body.v2-backoffice .modal .modal-header h6 {
  margin: 0;
  color: #fff !important;
  font-weight: 800;
  letter-spacing: -0.015em;
}

body.v2-backoffice .modal .modal-header .btn-close {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.94);
  background-size: 11px;
  opacity: 0.78;
  box-shadow: 0 7px 18px rgba(4, 38, 72, 0.18);
}

body.v2-backoffice .modal .modal-header .btn-close:hover {
  border-color: #9dbbd6;
  opacity: 1;
  transform: translateY(-1px);
}

body.v2-backoffice .modal .modal-header.flex-column .btn-close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
}

body.v2-backoffice .v2-document-modal-header {
  flex-wrap: nowrap;
}

body.v2-backoffice .v2-document-modal-header .modal-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.v2-backoffice .v2-document-modal-actions {
  margin-left: auto;
}

body.v2-backoffice .v2-document-modal-action {
  display: inline-flex;
  min-height: 42px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  font-weight: 750;
  text-decoration: none;
}

body.v2-backoffice .v2-document-modal-action:hover,
body.v2-backoffice .v2-document-modal-action:focus {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

body.v2-backoffice .v2-document-modal-header > .btn-close {
  margin-left: 0;
}

body.v2-backoffice .modal .modal-body {
  padding: 24px;
  color: var(--v2-modal-ink);
}

body.v2-backoffice .modal .modal-body > :last-child,
body.v2-backoffice .modal .modal-body > form > :last-child {
  margin-bottom: 0;
}

body.v2-backoffice .modal .modal-footer {
  gap: 10px !important;
  min-height: 76px !important;
  padding: 16px 24px 20px !important;
  border-top: 1px solid #dce8f3 !important;
  background: var(--v2-modal-soft) !important;
}

body.v2-backoffice .modal .modal-footer .btn,
body.v2-backoffice .modal .modal-body .v2-modal-action {
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 11px;
  font-weight: 750;
  box-shadow: none;
}

body.v2-backoffice .modal .modal-footer .btn-primary,
body.v2-backoffice .modal .modal-footer .btn-success,
body.v2-backoffice .modal .modal-footer .btn-info {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--v2-modal-blue), var(--v2-modal-cyan));
  box-shadow: 0 9px 20px rgba(8, 132, 207, 0.2);
}

body.v2-backoffice .modal .modal-footer .btn-secondary,
body.v2-backoffice .modal .modal-footer .btn-outline-secondary,
body.v2-backoffice .modal .modal-footer .btn-light {
  border: 1px solid #c7d8e7;
  color: #536980;
  background: #fff;
}

body.v2-backoffice .modal .modal-footer .btn-danger,
body.v2-backoffice .modal .modal-footer .btn-outline-danger {
  border-color: #ef9eaa;
  color: #b4233a;
  background: #fff4f6;
}

body.v2-backoffice .modal .form-label,
body.v2-backoffice .modal label:not(.form-check-label) {
  margin-bottom: 7px;
  color: #344b67;
  font-weight: 700;
}

body.v2-backoffice .modal .form-control,
body.v2-backoffice .modal .form-select,
body.v2-backoffice .modal .bootstrap-select > .dropdown-toggle,
body.v2-backoffice .modal .select2-container .select2-selection {
  min-height: 44px;
  border-color: #bfd4e7;
  border-radius: 11px;
  background-color: #fbfdff;
  box-shadow: 0 4px 13px rgba(31, 91, 142, 0.05);
}

body.v2-backoffice .modal .form-control:focus,
body.v2-backoffice .modal .form-select:focus {
  border-color: #159bce;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(21, 155, 206, 0.12);
}

body.v2-backoffice .modal .form-check-input {
  border-color: #9db9d2;
  box-shadow: none;
}

body.v2-backoffice .modal .form-check-input:checked {
  border-color: var(--v2-modal-blue);
  background-color: var(--v2-modal-blue);
}

body.v2-backoffice .modal .v2-modal-help {
  margin: 0 0 20px;
  color: var(--v2-modal-muted);
  font-size: 13px;
  line-height: 1.6;
}

body.v2-backoffice .modal .v2-modal-option {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 11px 14px 11px 42px;
  border: 1px solid #d7e5f2;
  border-radius: 12px;
  background: var(--v2-modal-soft);
}

body.v2-backoffice .modal .v2-modal-option .form-check-input {
  width: 20px;
  height: 20px;
  margin: 0 0 0 -28px;
}

body.v2-backoffice .modal .v2-modal-option .form-check-label {
  color: #344a65;
  font-weight: 700;
}

body.v2-backoffice .modal .v2-modal-guidance {
  display: flex;
  gap: 13px;
  margin-bottom: 20px;
  padding: 15px 16px;
  border: 1px solid #bcdcf2;
  border-radius: 13px;
  color: #36516f;
  background: linear-gradient(135deg, #f3f9ff, #effcfc);
}

body.v2-backoffice .modal .v2-modal-guidance__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #087bb7;
  background: #fff;
  box-shadow: 0 6px 16px rgba(20, 106, 162, 0.11);
}

body.v2-backoffice .modal .v2-modal-guidance strong {
  display: block;
  margin-bottom: 4px;
  color: #183b5d;
  font-size: 13px;
  font-weight: 800;
}

body.v2-backoffice .modal .v2-modal-guidance p {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.55;
}

body.v2-backoffice .modal .v2-modal-guidance small {
  display: block;
  color: #71849a;
  font-size: 11px;
  line-height: 1.45;
}

body.v2-backoffice .modal .alert {
  border-radius: 12px;
}

body.v2-backoffice .modal .table-responsive,
body.v2-backoffice .modal .v2-data-table {
  border-radius: 13px;
}

body.v2-backoffice .modal-backdrop.show {
  opacity: 0.54;
  background: #102f4d;
}

body.v2-backoffice .swal2-popup {
  overflow: hidden;
  border: 1px solid #cfdfed;
  border-radius: 22px;
  color: #18283e;
  box-shadow: 0 28px 72px rgba(10, 48, 86, 0.25);
}

body.v2-backoffice .swal2-popup::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, #087edf, #139ed0, #10b9bd);
}

body.v2-backoffice .swal2-title {
  color: #18283e;
  font-weight: 800;
}

body.v2-backoffice .swal2-html-container {
  color: #6c7f98;
}

body.v2-backoffice .swal2-actions .swal2-styled {
  min-height: 42px;
  padding: 9px 20px;
  border-radius: 11px;
  font-weight: 750;
}

@media (max-width: 575.98px) {
  body.v2-backoffice .modal .modal-dialog {
    margin: 10px;
  }

  body.v2-backoffice .modal .modal-header,
  body.v2-backoffice .modal .modal-body,
  body.v2-backoffice .modal .modal-footer {
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  body.v2-backoffice .modal .modal-header:not(.flex-column):has(> .modal-title)::after {
    display: none;
  }

  body.v2-backoffice .v2-document-modal-header {
    flex-wrap: wrap;
    gap: 10px !important;
  }

  body.v2-backoffice .v2-document-modal-actions {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  body.v2-backoffice .v2-document-modal-action {
    width: 42px;
    min-width: 42px;
    padding-right: 0;
    padding-left: 0;
  }

  body.v2-backoffice .v2-document-modal-action span {
    display: none;
  }

  body.v2-backoffice .modal .modal-footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  body.v2-backoffice .modal .modal-footer .btn {
    width: 100%;
  }

  body.v2-backoffice .modal .modal-fullscreen-sm-down .modal-content {
    border-radius: 0 !important;
  }
}
