.app-sidebar .main-sidebar-header .header-logo img {
  height: 2.75rem;
  line-height: 2.75rem;
}
.badge {
    font-weight: 700;
    font-size: 12px;
}
.sticky-submit-bar {
  position: sticky;
  bottom: 0;
  padding: 15px 10px;
  border-top: 2px solid #e9ecef;
  margin-top: 20px;
  z-index: 100;
  box-shadow: 0 0 10px #c8bdbd;
  border-radius: 10px;
  background: #fff;
}
.accordion-button:not(.collapsed) {
  background-color: #14420d45;
  color: #000000;
}
.accordion-button.collapsed::after {
  transform: rotate(180deg) !important;
}
.accordion-button:not(.collapsed)::after {
  transform: rotate(0deg) !important;
}
.table thead tr th {
  background: #14420d45;
}
.table td a {
    text-decoration: underline;
}
/* dba-label styles moved to boarding Vyzor block */
label, .form-control {
  font-size: 0.75rem;
}
.accordion-button {
  font-size: 15px;
  font-weight: 600;
  padding: 17px;
}
.accordion-button strong {
  font-weight: 500;
}
.sticky-submit-bar button {
  width: 70%;
}

html[data-toggled="icon-overlay-close"] ul.doublemenu_bottom-menu.main-menu.mb-0.border-top {
    width: auto;
}
ul.doublemenu_bottom-menu.main-menu.mb-0.border-top,
html[data-icon-overlay="open"] ul.doublemenu_bottom-menu.main-menu.mb-0.border-top {
    display: block;
    position: fixed;
    bottom: 0;
    width: 255px;
    background: #14420d;
    padding-top: 10px;
}
ul.doublemenu_bottom-menu.main-menu.mb-0.border-top li a, ul.doublemenu_bottom-menu.main-menu.mb-0.border-top li a span {
    color: #fff !important;
}
ul.doublemenu_bottom-menu.main-menu.mb-0.border-top li a svg {color: #fff}
ul.doublemenu_bottom-menu.main-menu.mb-0.border-top li a:hover {
    background-color: rgba(255,255,255,0.2);
}
.loader-img {
    width: 70px;
    height: 70px;
    background: #49a03c3d;
    padding: 14px;
    display: flex;
    border-radius: 100%;
    justify-content: center;
    align-items: center;
    animation: pulse .5s infinite;
}
.loader-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}
div.dataTables_processing>div:last-child>div {
    background: #14420d;
}
a#mainHeaderProfile > div > i {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 18px;
    fill: var(--header-icon-color);
    color: var(--header-icon-color);
    transition: all ease 0.05s;
    position: relative;
    padding: 6px;
    border-radius: 50%;
    background-color: var(--custom-white);
    border: 1px solid var(--default-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 7px;
}
html[data-theme-mode="dark"] .table thead tr th {
    background: #14420d45;
}
html[data-theme-mode="dark"] .accordion-button:not(.collapsed) {
    color: #fff;
}
html[data-theme-mode="dark"] .sticky-submit-bar {
    background-color: #103a46;
    box-shadow: 0 0 10px #000;
    border: 0;
}
html[data-theme-mode="dark"] .sticky-submit-bar button.btn.btn-primary {
    background-color: #fff !important;
    color: #000 !important;
}

.boarding-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.boarding-status-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

/* Distinct soft fills + saturated text */
.badge-status-new          { background: #EFF6FF; color: #1D4ED8; border-color: #BFDBFE; }
.badge-status-sign-pending { background: #FDF4FF; color: #A21CAF; border-color: #F5D0FE; }
.badge-status-submitted    { background: #ECFEFF; color: #0E7490; border-color: #A5F3FC; }
.badge-status-uw-pending   { background: #FFFBEB; color: #B45309; border-color: #FDE68A; }
.badge-status-uw-received  { background: #F0FDFA; color: #0F766E; border-color: #99F6E4; }
.badge-status-uw-submitted { background: #F5F3FF; color: #6D28D9; border-color: #DDD6FE; }
.badge-status-declined     { background: #FEF2F2; color: #B91C1C; border-color: #FECACA; }
.badge-status-withdrawn    { background: #F8FAFC; color: #475569; border-color: #CBD5E1; }
.badge-status-management   { background: #FFF7ED; color: #C2410C; border-color: #FED7AA; }
.badge-status-approved     { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }
.badge-status-inactive     { background: #F1F5F9; color: #64748B; border-color: #E2E8F0; }

.boarding-status-label {
  display: inline-block;
  min-width: 88px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}


/* ===== Boardings — Vyzor-aligned layout ===== */
.boarding-metric-row {
  margin-bottom: 0.25rem;
}
.boarding-metric-card.dashboard-main-card {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-bottom: 1rem;
}
.boarding-metric-card.dashboard-main-card:hover {
  transform: translateY(-2px);
}
.boarding-metric-card.dashboard-main-card.is-active {
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.35), 0 0.5rem 1rem rgba(0, 0, 0, 0.06);
}
.boarding-metric-card.dashboard-main-card:focus-visible {
  outline: 2px solid rgba(var(--primary-rgb), 0.45);
  outline-offset: 2px;
}

.boarding-header-search .input-group {
  min-width: 280px;
  max-width: 380px;
}
.boarding-header-search .form-control {
  border-color: #e9edf4;
}
.boarding-header-search .form-control:focus {
  border-color: var(--primary-color, #14420d);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.12);
}

.boarding-page-card {
  border: 0;
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.boarding-page-card > .card-header {
  background: #fff !important;
  border-bottom: 1px solid #f3f3f3 !important;
  padding: 1rem 1.25rem !important;
}
.boarding-page-card > .card-header .card-title {
  color: #1f2d3d !important;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}
.boarding-page-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(0, 156, 164, 0.12);
  color: #14420d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

#boarding-table thead tr th,
#boarding-detail-table thead tr th {
  background: #f8f9fb !important;
  color: #6e829f !important;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #e9edf4 !important;
  border-top: 0 !important;
  white-space: nowrap;
  padding: 0.85rem 1rem;
}
#boarding-table tbody td,
#boarding-detail-table tbody td {
  border-color: #f0f2f7 !important;
  vertical-align: middle;
  padding: 0.8rem 1rem;
  color: #333b48;
  font-size: 0.8125rem;
}
#boarding-table.table,
#boarding-detail-table.table {
  --bs-table-striped-bg: transparent;
  margin-bottom: 0;
}
#boarding-table tbody tr:hover > td,
#boarding-detail-table tbody tr:hover > td {
  background: #f8fafc !important;
}
#boarding-table tbody tr.boarding-brand-selected > td {
  background: rgba(0, 156, 164, 0.06) !important;
}
#boarding-table tbody tr.boarding-brand-selected > td:first-child {
  box-shadow: inset 3px 0px 0px #4155a1;
}
#boarding-detail-table tbody tr.boarding-row-selected > td {
  background: rgba(0, 156, 164, 0.06) !important;
}

/* ===== Boarding Report — Vyzor ===== */
.boarding-report-table-wrap {
  max-height: 800px;
  overflow-y: auto;
}
.boarding-report-table {
  --bs-table-hover-bg: #f8fafc;
  margin-bottom: 0;
}
.boarding-report-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8f9fb !important;
  color: #6e829f !important;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #e9edf4 !important;
  border-top: 0 !important;
  white-space: nowrap;
  padding: 0.85rem 1rem;
}
.boarding-report-table tbody td {
  border-color: #f0f2f7 !important;
  vertical-align: top;
  padding: 0.9rem 1rem;
  color: #333b48;
  font-size: 0.8125rem;
}
.boarding-report-table tbody tr.boarding-row-selected > td {
  background: rgba(var(--primary-rgb), 0.07) !important;
}
.boarding-report-table tbody tr.boarding-row-selected > td:first-child {
  box-shadow: inset 3px 0 0 var(--primary-color, #14420d);
}
.boarding-report-dba {
  font-weight: 600;
  color: var(--primary-color, #14420d) !important;
  text-decoration: none;
}
.boarding-report-dba:hover {
  text-decoration: underline;
}
.boarding-report-date {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  white-space: nowrap;
}
.boarding-report-date__main {
  font-weight: 600;
  color: #1f2d3d;
  font-size: 0.8125rem;
}
.boarding-report-date__sub {
  font-size: 0.7rem;
  color: #8a9bb0;
}
.boarding-equip-scroll {
  max-height: 180px;
  overflow-y: auto;
  min-width: 300px;
  border: 1px solid #eef1f6;
  border-radius: 0.4rem;
  background: #fcfdff;
}
.boarding-equip-table {
  font-size: 0.72rem;
  margin: 0;
}
.boarding-equip-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f3f6fb !important;
  color: #6e829f !important;
  font-weight: 600;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: 0 !important;
  padding: 0.45rem 0.55rem !important;
  white-space: nowrap;
}
.boarding-equip-table tbody td {
  border-color: #eef1f6 !important;
  padding: 0.4rem 0.55rem !important;
  vertical-align: middle;
  font-size: 0.72rem;
}
.boarding-report-empty .boarding-page-card__icon {
  width: 3rem;
  height: 3rem;
  font-size: 1.35rem;
}
#boarding-report-form .form-control,
#boarding-report-form .form-select {
  border-color: #e9edf4;
  min-height: 38px;
}
#boarding-report-form .form-control:focus,
#boarding-report-form .form-select:focus {
  border-color: var(--primary-color, #14420d);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.12);
}
#boarding-report-form .select2-container .select2-selection--single {
  height: 38px;
  border-color: #e9edf4;
  border-radius: 0.375rem;
  padding: 4px 8px;
}
#boarding-report-form .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 28px;
  color: #333b48;
}
#boarding-report-form .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
}

.boarding-detail-sheet {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}
.boarding-detail-sheet .card-body,
.boarding-page-card .dataTables_wrapper {
  padding: 0.85rem 1.1rem 1rem;
}
.boarding-page-card .dataTables_wrapper .dataTables_length,
.boarding-page-card .dataTables_wrapper .dataTables_filter,
.boarding-page-card .dataTables_wrapper .dataTables_info,
.boarding-page-card .dataTables_wrapper .dataTables_paginate {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.boarding-overview-wrap {
  padding: 0;
}
.boarding-overview-wrap .dataTables_wrapper {
  padding: 0;
}
.boarding-overview-wrap .dataTables_info,
.boarding-overview-wrap .dataTables_paginate {
  padding: 0.75rem 1rem;
}

.boarding-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.65rem;
  padding: 0 0.55rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.boarding-status-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.25rem 0.6rem rgba(15, 23, 42, 0.1);
}

.boarding-edit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 0.375rem;
  background: rgba(0, 156, 164, 0.1);
  color: #14420d !important;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none !important;
}
.boarding-edit-badge:hover {
  background: #14420d;
  color: #fff !important;
}

.table td a.dba-label {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  vertical-align: middle;
  text-decoration: none !important;
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.35;
  padding: 0.35rem 0.7rem;
  border-radius: 0.375rem;
  background: linear-gradient(135deg, #14420d 0%, #4155a1 100%);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 767.98px) {
  .boarding-header-search .input-group {
    min-width: 100%;
    max-width: 100%;
  }
}

.boarding-overview-wrap {
  border: 1px solid #c9dde2;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  box-shadow: none;
}
#boarding-table thead tr th,
#boarding-detail-table thead tr th {
  background: #d5e8e8 !important;
  color: #1e293b !important;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-color: #c9dde2 !important;
  white-space: nowrap;
}
#boarding-table.boarding-overview-table--darkhead thead tr th {
  background: #d5e8e8 !important;
  color: #1e293b !important;
  border-color: #c9dde2 !important;
}
#boarding-table tbody tr.boarding-brand-selected > td {
  background: #e6f7f8 !important;
}
.boarding-detail-sheet {
  border: 1px solid #d7e6ea;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}
.boarding-detail-sheet .card-header.boarding-page-card__header--detail {
  background: #14420d !important;
}
@media (max-width: 991px) {
  .boarding-attention-cards {
    width: 100%;
  }
  .boarding-attention-card {
    flex: 1 1 30%;
    min-width: 110px;
  }
}

.boarding-overview-wrap {
  border: 1px solid #e2eef1;
  border-radius: 10px;
  overflow: hidden;
}
#boarding-table.boarding-overview-table,
#boarding-detail-table.boarding-detail-table {
  margin-bottom: 0 !important;
}
#boarding-table thead tr th,
#boarding-detail-table thead tr th {
  background: #d5e8e8 !important;
  color: #1e293b !important;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-color: #c9dde2 !important;
  white-space: nowrap;
}
#boarding-table tbody td {
    text-align: center;
}
#boarding-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: #1e293b;
}
#boarding-table tbody tr td,
#boarding-detail-table tbody tr td {
  border-color: #e6eef1 !important;
  vertical-align: middle;
}
#boarding-detail-table thead tr th:first-child,
#boarding-table thead tr th:first-child {
  border-top-left-radius: 0;
}
table.dataTable>tbody>tr.odd td {
    background: #c9e3eb2e !important;
}

table.dataTable>tbody>tr:hover td {
    background: #d8e8e0 !important;
}
.table th, .table td {
    padding: 0.7rem 0.75rem;
    font-size: 0.75rem;
}
table.dataTable>tbody>tr.odd td {
    background: #c9e3eb2e !important;
}

table.dataTable>tbody>tr:hover td {
    background: #d8e8e0 !important;
}
.main-sidebar-header {
    background: #14420d !important;
}
span.date-badge {
    background: #ffffff !important;
    color: #000 !important;
    border: 1px solid #d3d3d3 !important;
    font-weight: 600 !important;
}
.notification-card .lead-meta span.date-badge {
    border-radius: 50px;
}
.accordion-item {
    margin-bottom: 5px;
    border: 1px solid #e2e8ee !important;
}
.dataTables_processing {
    background: #fff url("/public/assets/images/pos-loaders/spinner.gif")        center 4px / 44px 44px no-repeat !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12) !important;
    color: transparent !important;
    overflow: hidden !important;
    height: 52px;
    width: 70px !important;
    margin-left: -35px !important;
}
.dataTables_processing > div {
    display: none !important;
}


/* Boarding detail selected row */
#boarding-detail-rows tr.boarding-row-selected > td {
  --bs-table-accent-bg: #cfd8e6;
  background-color: #cfd8e6 !important;
  box-shadow: inset 0 0 0 9999px #cfd8e6 !important;
}

/* Boarding terminals table + compact Select2 */
.boarding-terminals-table {
  table-layout: fixed;
  width: 100%;
  margin-bottom: 0;
  font-size: 12px;
}
.boarding-terminals-table th,
.boarding-terminals-table td {
  vertical-align: middle;
  padding: 0.35rem 0.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.boarding-terminals-table th:nth-child(1),
.boarding-terminals-table td:nth-child(1) { width: 36px; }
.boarding-terminals-table th:nth-child(2),
.boarding-terminals-table td:nth-child(2) { width: 130px; }
.boarding-terminals-table th:nth-child(3),
.boarding-terminals-table td:nth-child(3) { width: 150px; }
.boarding-terminals-table th:nth-child(4),
.boarding-terminals-table td:nth-child(4) { width: 150px; }
.boarding-terminals-table th:nth-child(5),
.boarding-terminals-table td:nth-child(5) { width: 130px; }
.boarding-terminals-table th:nth-child(6),
.boarding-terminals-table td:nth-child(6) { width: 90px; }
.boarding-terminals-table th:nth-child(7),
.boarding-terminals-table td:nth-child(7) { width: 60px; }
.boarding-terminals-table th:nth-child(8),
.boarding-terminals-table td:nth-child(8) { width: 120px; }
.boarding-terminals-table .select2-container {
  width: 100% !important;
  max-width: 100%;
  font-size: 12px !important;
}
.boarding-terminals-table .select2-container--default .select2-selection--single {
  height: 28px !important;
  min-height: 28px !important;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  padding: 0;
}
.boarding-terminals-table .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 26px !important;
  padding-left: 6px !important;
  padding-right: 22px !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #212529;
}
.boarding-terminals-table .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 26px !important;
  width: 20px !important;
  top: 1px !important;
  right: 1px !important;
}
.boarding-terminals-table .select2-container--default.select2-container--focus .select2-selection--single,
.boarding-terminals-table .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}
.boarding-terminals-table .edit-amount-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 28px !important;
  padding: 0.15rem 0.4rem !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}
.boarding-terminals-table .btn-sm {
  padding: 0.15rem 0.45rem;
  font-size: 12px;
  line-height: 1.3;
}
.select2-container--default .boarding-terminal-select2-dropdown {
  font-size: 12px !important;
  border-color: #ced4da;
}
.select2-container--default .boarding-terminal-select2-dropdown .select2-search--dropdown {
  padding: 4px;
}
.select2-container--default .boarding-terminal-select2-dropdown .select2-search--dropdown .select2-search__field {
  height: 26px !important;
  padding: 2px 6px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.2rem;
}
.select2-container--default .boarding-terminal-select2-dropdown .select2-results__option {
  padding: 3px 8px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  min-height: 0 !important;
}
.select2-container--default .boarding-terminal-select2-dropdown .select2-results__option--highlighted {
  background-color: #0d6efd;
}

/* Brand / Processor remarks box in modals */
.boarding-remarks-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0d6efd;
  border-radius: 8px;
  padding: 12px 14px;
}
.boarding-remarks-box__label {
  font-weight: 600;
  margin-bottom: 6px;
}
.boarding-remarks-box__input {
  background: #fff;
  border-color: #cbd5e1;
  min-height: 96px;
}
.boarding-remarks-box__hint {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
}

/* Brand / Processor history modal Ã¢â‚¬â€ compact, Merchants Desk colors */
.boarding-history-modal .modal-body {
  background: #f4f8f9;
  padding: 0.75rem 0.85rem;
}
.boarding-history-modal__header {
  background: #14420d;
  color: #fff;
  align-items: center;
  padding: 0.7rem 1rem;
  border-bottom: 0;
}
.boarding-history-modal__header .modal-title,
.boarding-history-modal__title {
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}
.boarding-history-modal__header .btn-close {
  filter: invert(1);
  opacity: 0.9;
}
.boarding-history-modal__subtitle {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 500;
}
.boarding-history-modal .modal-footer {
  background: #fff;
  border-top: 1px solid #dce8eb;
  padding: 0.55rem 0.85rem;
}
.boarding-history-shell {
  background: #eef4f6;
  border: 0;
  border-radius: 12px;
  padding: 12px;
}
.boarding-history-shell__head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #d7e6ea;
  border-radius: 10px;
}
.boarding-history-shell__icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #14420d;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}
.boarding-history-shell__title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  flex: 1;
  min-width: 0;
}
.boarding-history-shell__badge {
  display: none;
}
.boarding-history-list,
.boarding-history-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 16px;
}
.boarding-history-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 16px;
  width: 2px;
  background: #14420d;
  border-radius: 2px;
  opacity: 0.45;
}
.boarding-history-empty {
  text-align: center;
  padding: 18px 10px;
  color: #64748b;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
}
.boarding-history-empty--error {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}
.boarding-history-event {
  position: relative;
  padding: 0 0 14px 14px;
}
.boarding-history-event::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 16px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #14420d;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #14420d;
  z-index: 1;
}
.boarding-history-event__card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #c9dde2;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
  padding: 12px 14px;
  overflow: hidden;
}
.boarding-history-event__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef2f7;
}
.boarding-history-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #14420d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.boarding-history-event__who {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
.boarding-history-type {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid transparent;
}
.boarding-history-type.is-brand {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.boarding-history-type.is-processor {
  background: #ecfeff;
  color: #0e7490;
  border-color: #a5f3fc;
}
.boarding-history-when {
  margin-left: auto;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 8px;
}
.boarding-history-when::before {
  content: none;
}
.boarding-history-change {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .boarding-history-change {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}
.boarding-history-change__item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
}
.boarding-history-change__label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
  margin-bottom: 5px;
  font-weight: 700;
}
.boarding-history-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.boarding-history-pill {
  display: inline-block;
  max-width: 100%;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.boarding-history-pill--old {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  text-decoration: line-through;
  text-decoration-color: #dc2626;
  text-decoration-thickness: 1.5px;
}
.boarding-history-pill--new {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.boarding-history-arrow {
  color: #94a3b8;
  font-weight: 700;
  font-size: 12px;
}
.boarding-history-remarks {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 8px;
}
.boarding-history-remarks__label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #b45309;
  margin-bottom: 3px;
}
.boarding-history-remarks__text {
  margin: 0;
  color: #78350f;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}
.boarding-history-card__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
}
.boarding-history-card__foot-label {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.boarding-history-card__foot-name {
  color: #14420d;
  font-weight: 700;
  font-size: 13px;
}

/* Detail row actions */
.boarding-row-actions {
  gap: 6px !important;
}
.boarding-edit-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #14420d;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1.2;
  border: 1px solid #384a8b;
}
.boarding-edit-badge:hover {
  background: #2e3b73;
  color: #fff !important;
}
.boarding-edit-badge i {
  font-size: 11px;
}
.view-boarding-bp-history {
  border-radius: 999px !important;
  font-weight: 600;
}
.boarding-history-card {
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Boarding edit form Ã¢â‚¬â€ Remarks accordion */
.boarding-remarks-panel {
  background: transparent;
  border-radius: 0;
}
.boarding-remarks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
@media (min-width: 992px) {
  .boarding-remarks-grid {
    grid-template-columns: 1fr 1fr;
  }
  .boarding-remarks-section--wide {
    grid-column: 1 / -1;
  }
}
.boarding-remarks-section {
  background: #fff;
  border: 1px solid #d7e6ea;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.boarding-remarks-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid transparent;
}
.boarding-remarks-section.is-lead .boarding-remarks-section__head {
  background: #eff6ff;
  border-bottom-color: #bfdbfe;
}
.boarding-remarks-section.is-qc .boarding-remarks-section__head {
  background: #f5f3ff;
  border-bottom-color: #ddd6fe;
}
.boarding-remarks-section.is-boarding .boarding-remarks-section__head {
  background: #14420d;
  border-bottom-color: #2e3b73;
}
.boarding-remarks-section__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}
.boarding-remarks-section__tone {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.boarding-remarks-section.is-lead .boarding-remarks-section__tone {
  background: #dbeafe;
  color: #1d4ed8;
}
.boarding-remarks-section.is-qc .boarding-remarks-section__tone {
  background: #ede9fe;
  color: #6d28d9;
}
.boarding-remarks-section.is-boarding .boarding-remarks-section__tone {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.boarding-remarks-section__title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
.boarding-remarks-section.is-boarding .boarding-remarks-section__title {
  color: #fff;
}
.boarding-remarks-section__count {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.boarding-remarks-section.is-boarding .boarding-remarks-section__count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.boarding-remarks-feed {
  max-height: 220px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f4f8f9;
}
.boarding-remarks-feed--tall {
  max-height: 280px;
}
.boarding-remarks-empty {
  text-align: center;
  padding: 16px 10px;
  color: #64748b;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  font-size: 12px;
}
.boarding-remark-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  border-left: 3px solid #94a3b8;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.boarding-remark-card.is-lead {
  border-left-color: #2563eb;
}
.boarding-remark-card.is-qc {
  border-left-color: #7c3aed;
}
.boarding-remark-card.is-boarding {
  border-left-color: #14420d;
}
.boarding-remark-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.boarding-remark-card__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #14420d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.boarding-remark-card.is-lead .boarding-remark-card__avatar {
  background: #2563eb;
}
.boarding-remark-card.is-qc .boarding-remark-card__avatar {
  background: #7c3aed;
}
.boarding-remark-card__who {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}
.boarding-remark-card__author {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}
.boarding-remark-card__date {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}
.boarding-remark-card__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #1e293b;
  white-space: pre-wrap;
}
.boarding-remarks-compose {
  background: #fff;
  border: 1px solid #d7e6ea;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.boarding-remarks-compose__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0;
  padding: 10px 14px;
  background: #14420d;
}
.boarding-remarks-compose__title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.boarding-remarks-compose__sub {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
}
.boarding-remarks-compose__required {
  font-size: 11px;
  font-weight: 700;
  color: #78350f;
  background: #fef3c7;
  border: 0;
  border-radius: 999px;
  padding: 3px 10px;
}
.boarding-remarks-compose__options,
.boarding-remarks-box,
.boarding-remarks-compose__files,
.boarding-remarks-status, .boarding-remarks-mid {
  padding-left: 14px;
  padding-right: 14px;
}
.boarding-remarks-mid {
  padding-bottom: 10px;
}
.boarding-remarks-compose__options {
  margin: 12px 0 0;
}
.boarding-remarks-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
  margin: 0;
}
.boarding-remarks-box {
  background: #f4f8f9;
  border: 1px solid #d7e6ea;
  border-left: 3px solid #14420d;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 12px 14px 0;
}
.boarding-remarks-box__label {
  font-weight: 700;
  margin-bottom: 6px;
  color: #0f3f43;
  font-size: 12px;
}
.boarding-remarks-box__input {
  background: #fff;
  border-color: #cbd5e1;
  min-height: 96px;
}
.boarding-remarks-box__hint {
  display: none;
}
.boarding-remarks-compose__files {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}
@media (min-width: 768px) {
  .boarding-remarks-compose__files {
    grid-template-columns: 1fr 1fr;
  }
}
.boarding-remarks-file-field .form-label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}
.boarding-remarks-status {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 14px;
  padding-top: 12px;
  border-top: 1px solid #e6eef1;
}
@media (min-width: 768px) {
  .boarding-remarks-status {
    grid-template-columns: 1fr 1.4fr;
    align-items: end;
  }
}
.boarding-remarks-status__current {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.boarding-remarks-change__label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 6px;
  font-weight: 700;
}
div#sidebar-scroll {
    background: #14420d;
}
.app-sidebar .side-menu__item:hover .side-menu__icon {
    color: #fff;
    fill: #fff;
}
.app-sidebar .side-menu__item:hover .side-menu__label, .app-sidebar .side-menu__item:hover .side-menu__angle {
    color: #fff;
}
[data-menu-styles=light] .app-sidebar .side-menu__icon {
    color: #fff;
    fill: #fff;
}
.app-sidebar .side-menu__angle {
    color: #fff;
}

#boarding-detail-table tbody tr.boarding-uw-highlight > td {
  background: #fff6d8 !important;
}
#boarding-detail-table tbody tr.boarding-uw-highlight > td:first-child {
  box-shadow: inset 3px 0 0 #e0a800;
}
.boarding-deal-panel {
  border: 1px solid #eef1f6;
  border-radius: 0.5rem;
  padding: 1rem 1rem 0.35rem;
  background: #fcfdff;
  height: 100%;
}
.boarding-deal-panel__title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.profile-col-menu {
  min-width: 240px;
  max-height: 360px;
  overflow-y: auto;
}
.profile-col-item {
  cursor: pointer;
  border-radius: 0.35rem;
}
.profile-col-item:hover {
  background: #f5f7fb;
}
#profile-boardings-table thead th {
  white-space: nowrap;
}

.profile-double-scroll {
  position: relative;
}

.profile-scroll-top {
  overflow-x: auto;
  overflow-y: hidden;
  height: 14px;
  margin-bottom: 6px;
  scrollbar-color: #14420d #e9ecf5;
  scrollbar-width: thin;
}

.profile-scroll-top-inner {
  height: 1px;
}

.profile-table-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: #14420d #e9ecf5;
  scrollbar-width: thin;
}

.profile-scroll-top::-webkit-scrollbar,
.profile-table-scroll::-webkit-scrollbar {
  height: 10px;
}

.profile-scroll-top::-webkit-scrollbar-track,
.profile-table-scroll::-webkit-scrollbar-track {
  background: #e9ecf5;
  border-radius: 8px;
}

.profile-scroll-top::-webkit-scrollbar-thumb,
.profile-table-scroll::-webkit-scrollbar-thumb {
  background: #14420d;
  border-radius: 8px;
}

.profile-scroll-top::-webkit-scrollbar-thumb:hover,
.profile-table-scroll::-webkit-scrollbar-thumb:hover {
  background: #354589;
}