/** custom css**/
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #F5F5F5;
  border-radius: 4px;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: #F5F5F5;
}

.text-muted {
  --bs-text-opacity: 1;
  color: #a5a3ae !important;
}



::-webkit-scrollbar-thumb {
  border-radius: 4px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-image: -webkit-linear-gradient(330deg, #bbbbbb 0%, #bbbbbb 100%);
  background-image: linear-gradient(120deg, #bbbbbb 0%, #bbbbbb 100%);
}

.brand-logo img {
  max-width: 200px;
}

.app-brand-text img {
  max-width: 90px;
  margin-left: 10px;
}

.menu-vertical .app-brand {
  padding-top: 5px;
  padding-bottom: 5px;
}

.app-brand-logo.demo {
  width: auto;
  height: auto;
}

.app-brand-logo.demo img {
  max-width: 40px;
}

.menu-vertical .menu-inner>.menu-item {
  margin: .375rem 0 0 !important;
}

body {
  overflow-x: hidden;
}

.layout-navbar-fixed.dark-style .light-logo {
  display: none;
}

.layout-navbar-fixed.dark-style .light-logo-text {
  display: none;
}

.layout-navbar-fixed .dark-logo {
  display: none;
}

.layout-navbar-fixed .dark-logo-text {
  display: none;
}

.layout-navbar-fixed.dark-style .dark-logo {
  display: block !important;
}

.layout-navbar-fixed.dark-style .dark-logo-text {
  display: block !important;
}

.menu-vertical .menu-item .menu-link {
  font-size: 14px !important;
}

.dark-style .menu-icon {
  font-size: 22px !important;
  color: #b6bee3 !important;
}

body {
  font-size: 14px !important;
  color: #111 !important;
}

.dark-style body {
  color: #b6bee3 !important;
}

.menu-vertical,
.menu-vertical .menu-block,
.menu-vertical .menu-inner>.menu-item,
.menu-vertical .menu-inner>.menu-header {
  width: 15rem !important;
}

.app-brand {
  gap: 5px !important;
}

.layout-navbar-fixed.layout-menu-collapsed .layout-navbar.navbar-detached {
  width: calc(100% - 1.5rem* 2 - 5.25rem) !important;
}

.bg-menu-theme .menu-link,
.bg-menu-theme .menu-horizontal-prev,
.bg-menu-theme .menu-horizontal-next {
  color: #111 !important;
}

.card {
  --bs-card-title-color: #111 !important;
}

.dark-style .card {
  --bs-card-title-color: #cfd3ec !important;
}

:root,
[data-bs-theme=light] {
  --bs-heading-color: #111 !important;
}

.dark-style .bg-menu-theme .menu-link,
.dark-style .bg-menu-theme .menu-horizontal-prev,
.dark-style .bg-menu-theme .menu-horizontal-next {
  color: #b6bee3 !important;
}

.nav-link {
  color: #111;
}

.nav .nav-item {
  background: #fff;
  border-radius: 0.375rem;
  margin-right: 10px;
  box-shadow: 0 0.25rem 1.125rem rgba(75, 70, 92, 0.1);
}

.dark-style .nav .nav-item {
  background: #2f3349;
}

.nav-item h5 {
  color: #111;
}

.bg-menu-theme {
  background: #fff;
}

.dark-style .nav-item h5 {
  color: #fff;
}

.table-row-1 {
  border-top: 1px solid #e7e7e7;
}

.dark-style .table-row-1 {
  border-top: 1px solid #434968;
}

.brand-logo img {
  max-width: 100px !important;
}

.menu-vertical .app-brand {
  padding-top: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control:focus {
  color: #000 !important;
}

.form-select {
  color: #000 !important;
}

.select2-selection--multiple .select2-selection__rendered {
  background: url(../img/branding/download.svg) no-repeat right 12px center;
  background-size: 20px;
}

span.app-brand-logo.demo.login img {
  max-width: 250px !important;
}

.app-brand-logo.demo img {
  max-width: 48px !important;
}

.app-brand-text img {
  max-width: 85px;
  margin: 0;
  margin-left: -1px;
}

.menu-toggle::after {
  mask-size: 85% 85%;
}

.table> :not(caption)>*>* {
  color: #111 !important;
}

.table:not(.table-dark) thead:not(.table-dark) th {
  color: #5d596c !important;
  text-transform: none;
  font-weight: 300;
  letter-spacing: 0;
  font-size: 14px;
}

.white-space-none {
  white-space: normal;
}

/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
}

.header_modal {
  margin-bottom: 10px;
  padding: 1px;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9;
  padding-left: 15rem;
  opacity: 1;
  transition: opacity 0.3s ease;
  /* Add smooth fade */
}

.sk-bounce-dot {
  background-color: #0d9394 !important;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #fff;
  /* Solid background for scroll */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Nice shadow */
}

/* Custom scrollbar (optional - for webkit browsers) */
.autocomplete-items::-webkit-scrollbar {
  width: 8px;
}

.autocomplete-items::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.autocomplete-items::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.autocomplete-items::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important;
  color: #ffffff;
}

.c-address {
  width: 200px;
  display: inline-block;
}

.form-modal .modal-dialog {
  max-width: 500px;
}

/* Add Customer + Follow-up modal: pinned explicitly rather than relying on
   Bootstrap's .modal-dialog-scrollable, whose height calc wasn't taking
   effect in this theme build — only this scrollbar moves, header/footer
   (incl. the Submit button) stay fixed in view. */
.cf-modal-body {
  max-height: 60vh;
  overflow-y: auto;
}

.form-label,
.col-form-label {
  color: #444050 !important;
}

.form-control {
  font-size: 14px;
}

.flatpickr-calendar.open {
  z-index: 99999;
}

.modal-backdrop {
  background-color: #34323b;
}

.nav .nav-item {
  background: #fff;
  border-radius: 0 !important;
  margin-right: 10px !important;
  box-shadow: 0 0.25rem 1.125rem rgba(75, 70, 92, 0.1);
}

.inventory-border-card {
  border: 1px solid #ddddec;
  border-radius: 6px;
  margin-bottom: 20px;
}

.inventory-border-card-body {
  padding: 13px 15px;
}

.inventory-border-card-head {
  padding: 8px 15px;
  border-bottom: 1px solid #ddddec;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus {
  border-radius: 0;
}

.rate-input {
  height: 30px;
  width: 105px;
}

.sl-customer {
  width: 250px;
}

.view-label {
  margin-bottom: 0 !important;
  font-size: 12px !important;
}

p {
  color: #000;
}

.date-filter {
  position: relative;
  display: inline-block;
  width: 100%;
}

.filter-input {
  padding: 8px 12px;
  border: 1px solid #dbdade;
  cursor: pointer;
  min-width: 100%;
  width: 100%;
  border-radius: 7px;
  color: #000;
}

.date-filter .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  border: 1px solid #ccc;
  background: white;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dropdown-option {
  padding: 8px 12px;
  cursor: pointer;
}

.dropdown-option:hover {
  background: #f2f2f2;
}

.date-filter.open .dropdown {
  display: block;
  position: absolute;
  height: 240px;
  overflow-y: auto;
}

#customRangeInput {
  position: absolute;
  left: 0;
  top: 13px;
  visibility: hidden;
}

.flatpickr-calendar {
  z-index: 9999 !important;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.od-count {
  position: relative;
  border-radius: 200px;
  color: #0d9394;
  font-size: 10px;
  font-weight: 600;
  margin-left: 7px;
  padding: 2px 6px;
  background: #f1f4fb;
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}

.inventory-view-modal .btn-close {
  position: absolute;
  top: 0 !important;
  right: 0 !important;
}

.border-card {
  border: 1px solid #e7e7e7;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.text-mobile {
  color: #0d9394;
}

.inventory-border-card-head.od-head {
  background: #0d9394;
  border-radius: 6px 6px 0 0;
}

.inventory-border-card-head.od-head h5 {
  color: #fff;
}

.inventory-border-card-details li {
  padding: 12px;
  border-bottom: 1px solid #ddddec;
}

.inventory-border-card-details .active {
  background: #edfcfc;
}

.inventory-border-card-details .active .bg-label-secondary {
  background: #0d9394 !important;
  color: #fff !important;
}

.inventory-border-card-details li:hover {
  background: #edfcfc !important;
}

.inventory-border-card-details li:hover .bg-label-secondary {
  background: #0d9394 !important;
  color: #fff !important;
}

.inventory-border-card-head.od-head.od-head-details {
  background: rgb(128, 131, 144);
}

.inventory-border-card-head.od-head.od-tanker-head {
  background: #28c76f;
}

.low-value {
  margin-top: 4px !important;
  color: #333;
  font-size: 0.8125rem;
  font-weight: 300;
}

.text-body {
  color: #333 !important;
}

.font-500 {
  font-weight: 500;
}

.font-600 {
  font-weight: 600;
}

.text-match {
  color: #28c76f;
}

.sub-text {
  font-size: 12px;
}

button.btn.waves-effect.sl-btn-bg.configure-btn {
  padding: 3px 10px;
  font-size: 13px;
}

.order-filter {
  padding: 15px 10px;
  border-bottom: 1px solid #E7E7E7;
}

#order_matching_tankers a.btn.waves-effect.sl-btn-bg.configure-btn {
  padding: 3px 10px !important;
  font-size: 13px;
}

.matching-card .inventory-border-card-details {
  height: 560px;
  overflow-y: auto;
  position: relative;
}

.matching-card .inventory-border-card-body {
  height: 560px;
  overflow-y: auto;
}

#assign .modal-dialog {
  max-width: 620px !important;
}

#unassignCancel .modal-dialog {
  max-width: 630px !important;
}

.match-filter {
  background: #fff !important;
  border-radius: 6px;
}

.match-filter .form-select {
  height: 30px;
  line-height: 18px;
  font-size: 13px;
}

.custom-border {
  border-bottom: 1px solid #e7e7e7;
  padding-top: 20px;
  margin-bottom: 20px;
}

.dpr-details-edit,
.dpr-details-edit:hover {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #fff;
  background-color: #0d9394;
  border-color: #0d9394;
  box-shadow: 0 0.125rem 0.25rem rgba(165, 163, 174, 0.3);
  padding: 4px 13px;
  border-radius: 4px;
}

.menu-item.active>.menu-link:not(.menu-toggle) {
  background: linear-gradient(270deg, #0d9394b3 0%, var(--bs-primary) 100%) !important;
  box-shadow: 0 0.125rem 0.375rem 0 rgba(13, 147, 148 0.3);
}

a.template-customizer-open-btn {
  display: none !important;
}

.text-primary {
  color: #0d9394 !important;
}

.form-control:focus,
.select2-container--default.select2-container--open .select2-selection {
  box-shadow: 0 0.125rem 0.375rem 0 rgba(13, 147, 148, 0.3) !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: rgba(13, 147, 148, 0.16) !important;
}

@media (min-width: 1200px) {

  .layout-menu-fixed:not(.layout-menu-collapsed) .layout-page,
  .layout-menu-fixed-offcanvas:not(.layout-menu-collapsed) .layout-page {
    padding-left: 15rem !important;
  }

  .layout-navbar-fixed:not(.layout-menu-collapsed) .layout-content-navbar:not(.layout-without-menu) .layout-navbar,
  .layout-menu-fixed.layout-navbar-fixed:not(.layout-menu-collapsed) .layout-content-navbar:not(.layout-without-menu) .layout-navbar,
  .layout-menu-fixed-offcanvas.layout-navbar-fixed:not(.layout-menu-collapsed) .layout-content-navbar:not(.layout-without-menu) .layout-navbar {
    left: 15rem !important;
  }

  .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .menu-vertical,
  .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu.menu-vertical {
    width: 4.8rem !important;
  }

  .layout-menu-collapsed:not(.layout-menu-hover, .layout-menu-offcanvas, .layout-menu-fixed-offcanvas) .layout-menu .menu-vertical .menu-inner>.menu-item,
  .layout-menu-collapsed:not(.layout-menu-hover, .layout-menu-offcanvas, .layout-menu-fixed-offcanvas) .layout-menu.menu-vertical .menu-inner>.menu-item {
    inline-size: 4.375rem !important;
  }

  .layout-navbar-fixed .layout-navbar.navbar-detached {
    width: calc(100% - 1.5rem * 2 - 15rem);
  }

  .layout-navbar-fixed .modal-open .layout-navbar.navbar-detached,
  .layout-navbar-fixed.swal2-shown .layout-navbar.navbar-detached {
    width: calc(100% - 1.5rem * 2 - 15rem);
  }
}

@media (max-width:767px) {
  .mobile-btm {
    margin-bottom: 15px;
  }

  .mob-filter {
    text-align: end;
  }

  ul.nav.nav-pills {
    overflow-x: scroll;
    padding-bottom: 7px;
  }

  .mob-add-btn {
    margin-bottom: 10px;
  }

  .modal-dialog {
    margin: 20px 3px 0;
  }

  .modal-body {
    padding: 10px !important;
  }

  .modal .modal-header {
    padding-left: 10px;
    padding-right: 10px;
  }

  .m-details {
    justify-content: flex-start !important;
    margin-top: 5px;
  }

  .mobile-mb-1 {
    margin-bottom: 20px !important;
  }

  .mob-text-left {
    text-align: left !important;
  }

  h6 {
    font-size: 14px !important;
  }

  .float-end.mt-3.pe-3 {
    float: inline-start !important;
    padding-left: 10px;
  }

  #navbar-collapse {
    justify-content: space-between !important;
  }

  .mob-alert-btn {
    font-size: 14px;
    padding: 8px 15px;
  }

  .mobile-grid {
    padding: 0 5px !important;
  }

  button.btn.waves-effect.sl-btn-bg.configure-btn {
    padding: 3px 5px;
    font-size: 12px;
  }

  .matching-distance {
    font-size: 11px;
  }

  .white-space-none {
    white-space: nowrap;
  }

  .mob-text-center {
    text-align: center !important;
  }

  .mob-w-100 {
    width: 90%;
  }

  .mob-add-grid {
    text-align: center !important;
  }
}

.text-center.no-data-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 !important;
}

.select2-selection__clear {
  color: #ec1d43 !important;
  font-weight: 600 !important;
}

#addTransport {
  background: rgba(0, 0, 0, 0.5);
}

#addCustomer {
  background: rgba(0, 0, 0, 0.5);
}

/* ── Matching panel card item ── */
.matching-item-id,
.matching-item-name {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.matching-badge {
  /* no fixed max-width: let the badge show full text naturally;
     only truncate when truly forced by the flex container */
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  cursor: default;
  vertical-align: middle;
}

.matching-distance {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: #28c76f;
}

/* ============================================================
   FOLLOW-UP PAGE — sidebar + list cards
   ============================================================ */

/* Layout wrappers */
.side-bar-left-cnt {
  width: 340px;
  min-width: 340px;
  flex-shrink: 0;
}

.right-side-cnt {
  flex: 1;
  min-width: 0;
}

/* ---- Filter area (inside card, no padding on card-body) ---- */
.fu-filter-wrap {
  padding: 16px 16px 0 16px;
  border-bottom: 1px solid #e7e7e7;
  padding-bottom: 16px;
}

.dark-style .fu-filter-wrap {
  border-bottom-color: #434968;
}

/* ---- Status pill group ---- */
.fu-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fu-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #dbdade;
  background: #fff;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.6;
}

.fu-pill:hover {
  border-color: #0d9394;
  color: #0d9394;
}

.fu-pill.fu-pill-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

.dark-style .fu-pill {
  background: #2f3349;
  border-color: #434968;
  color: #b6bee3;
}

.dark-style .fu-pill.fu-pill-active {
  background: #0d9394;
  border-color: #0d9394;
  color: #fff;
}

/* pill dot colours */
.fu-pill-overdue {
  color: #ea5455;
  border-color: #ffd5d5;
}

.fu-pill-today {
  color: #ff9f43;
  border-color: #ffe5c4;
}

.fu-pill-upcoming {
  color: #28c76f;
  border-color: #c8f5dc;
}

.fu-pill-converted {
  color: #7367f0;
  border-color: #d5d2fc;
}

/* ---- Comment filter label ---- */
.fu-filter-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #a0a0b0;
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* ---- List item cards ---- */
.fu-item-list {
  padding: 8px 0;
}

.fu-item {
  padding: 13px 16px;
  border-bottom: 1px solid #f0f0f5;
  cursor: pointer;
  transition: background 0.13s;
  border-left: 3px solid transparent;
  background: #fff;
}

.dark-style .fu-item {
  background: #2f3349;
  border-bottom-color: #3a3f5c;
}

.fu-item:last-child {
  border-bottom: none;
}

.fu-item:hover {
  background: #f5fafa;
  border-left-color: #0d9394;
}

.dark-style .fu-item:hover {
  background: #363b55;
}

.fu-item.fu-item-active {
  background: #edfcfc;
  border-left-color: #0d9394;
}

.dark-style .fu-item.fu-item-active {
  background: #1e3a3a;
}

/* item header row */
.fu-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 3px;
}

.fu-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
  flex: 1;
}

.dark-style .fu-item-name {
  color: #cfd3ec;
}

.fu-item-num {
  font-size: 11px;
  color: #a0a0b0;
  white-space: nowrap;
  padding-top: 1px;
}

/* meta (material • place • zone) */
.fu-item-meta {
  font-size: 11.5px;
  color: #8a8a9a;
  margin-bottom: 7px;
}

/* badge + user row */
.fu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fu-item-user {
  font-size: 12px;
  font-weight: 600;
  color: #0d9394;
}

/* status badges */
.fu-s-overdue {
  background: #fff0f0;
  color: #ea5455;
  font-size: 11px;
  font-weight: 500;
}

.fu-s-today {
  background: #fff8ed;
  color: #ff9f43;
  font-size: 11px;
  font-weight: 500;
}

.fu-s-upcoming {
  background: #edfcf0;
  color: #28c76f;
  font-size: 11px;
  font-weight: 500;
}

.fu-s-converted {
  background: #f0efff;
  color: #7367f0;
  font-size: 11px;
  font-weight: 500;
}

/* comment text */
.fu-item-comment {
  font-size: 12.5px;
  font-weight: 600;
  color: #333;
  margin: 5px 0 2px;
}

.dark-style .fu-item-comment {
  color: #b6bee3;
}

/* date + location row */
.fu-item-date {
  font-size: 11px;
  color: #888;
}

.fu-date-overdue {
  color: #ea5455;
}

.fu-date-converted {
  color: #28c76f;
}

.fu-item-loc {
  font-size: 11px;
  color: #a0a0b0;
  text-align: right;
}

/* Layout & Responsive Design (Equal Height on Desktop, Stacking on Mobile/Tablet) */
@media (min-width: 992px) {
  .fu-main-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }

  .side-bar-left-cnt,
  .right-side-cnt {
    display: flex !important;
    flex-direction: column !important;
  }

  .side-bar-left-cnt>.card,
  .right-side-cnt>.card {
    flex: 1 1 0% !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
  }

  .fu-card-list {
    flex: 1 1 0%;
    min-height: 0;
    overflow-y: auto;
  }
}

@media (max-width: 991px) {
  .fu-main-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .side-bar-left-cnt {
    width: 100% !important;
    min-width: 0 !important;
  }

  .right-side-cnt {
    width: 100% !important;
    margin-top: 15px;
  }

  .fu-card-list {
    max-height: 380px !important;
    overflow-y: auto;
  }

  /* Less spacing for mobile screen sizes */
  .card-body.p-4 {
    padding: 1rem !important;
  }

  .inventory-border-card-body {
    padding: 10px;
  }

  .fu-timeline-item {
    gap: 8px;
  }

  /* Reduce company name font size and line-height on mobile/tablet */
  #det-company-text {
    font-size: 17px !important;
    line-height: normal !important;
  }

  .right-side-cnt h4 {
    font-size: 18px !important;
    line-height: normal !important;
  }

  .fu-ci-name {
    font-size: 13px !important;
    line-height: normal !important;
  }
}

/* ============================================================
   FOLLOW-UP SIDEBAR — Clean 3-line mini-card design
   Colors used: #111 (dark), #888 (muted), #0d9394 (teal)
   ============================================================ */

/* Sidebar outer wrapper — header bar */
.fu-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid #e7e7e7;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  background: #fff;
}

.fu-sidebar-count {
  font-size: 11px;
  font-weight: 600;
  background: #e8f8f8;
  color: #0d9394;
  border-radius: 10px;
  padding: 2px 8px;
}

/* Search bar */
.fu-sidebar-search {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f5;
  background: #fff;
}

.fu-sidebar-search .form-control {
  font-size: 13px;
  color: #555;
}

.fu-sidebar-search .form-control::placeholder {
  color: #bbb;
}

/* Sidebar tabs container */
.fu-sidebar-tabs {
  padding: 8px 12px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #fff;
  border-bottom: 1px solid #e7e7e7;
}

/* Tab button - clean, dot-free */
.fu-tab-btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dbdade;
  background: #fff;
  border-radius: 200px;
  padding: 4px 14px;
  font-size: 10.9px;
  font-weight: 500;
  color: #5b6070;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.4;
}

.fu-tab-btn:hover {
  border-color: #0d9394;
  color: #0d9394;
}

.fu-tab-btn.active {
  background: #0d9394;
  border-color: #0d9394;
  color: #fff;
}

/* Card list container */
.fu-card-list {
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  max-height: calc(100vh - 200px);
}

/* Individual mini-card */
.fu-card-item {
  border: 1px solid #ddddec;
  border-radius: 8px;
  padding: 12px 13px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}

.fu-card-item:hover {
  border-color: #0d9394;
  background: #f5fafa;
}

.fu-card-item.fu-card-active {
  border-color: #0d9394;
  border-left: 3px solid #0d9394;
}

/* Row 1: name + number */
.fu-ci-row1 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
}

.fu-ci-name {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.35;
  flex: 1;
}

.fu-ci-num {
  font-size: 11px;
  color: #5b6070;
  white-space: nowrap;
  padding-top: 1px;
}

/* Row 2: meta info */
.fu-ci-row2 {
  font-size: 11px;
  color: #7d8490;
  margin-bottom: 6px;
  font-weight: 400;
  letter-spacing: 0.1px;
}

/* Comment line — styled as a clean box/well */
.fu-ci-comment {
  font-size: 12px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  padding: 5px 10px;
  background: #f0f1f3;
  border-radius: 4px;
  display: block;
}

/* Active card comment box styling override */
.fu-card-active .fu-ci-comment {
  background: #edf8f8;
  color: #0a6b6c;
}

/* Row 3: status • employee • date */
.fu-ci-row3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 11.5px;
  color: #5b6070;
}

.fu-ci-sep {
  color: #ccc;
  font-size: 9px;
}

.fu-ci-user {
  color: #0d9394;
  font-weight: 600;
}

.fu-ci-date {
  color: #000;
  font-size: 12px;
}

.fu-ci-date strong {
  color: #000;
  font-weight: 600;
}

/* Status badge — minimal: just text with light tint, no rainbow */
.fu-ci-badge {
  font-size: 11px;
  font-weight: 600;
  border-radius: 200px;
  padding: 6px 11px;
  background: #f0f0f0;
  line-height: normal;
  color: #555;
}

/* Only the overdue badge gets a distinct indicator — still minimal */
.fu-ci-overdue {
  background: #fff0f0;
  color: #c0392b;
}

.fu-ci-today {
  background: #fff8ed;
  color: #d68910;
}

.fu-ci-upcoming {
  background: #edfcf0;
  color: #1e8449;
}

.fu-ci-converted {
  background: #f0f0ff;
  color: #5b4fcf;
}

/* Card Restructuring Styles */
.fu-custom-card {
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  border-radius: 8px !important;
}

.fu-custom-card-header {
  font-size: 15px !important;
  border-bottom: 1px solid #e5e7eb !important;
}

.fu-custom-card-header-icon {
  font-size: 16px !important;
  color: #0d9394 !important;
}

.fu-loading-table {
  font-size: 13px !important;
}

.fu-loading-table th {
  font-weight: 600 !important;
  color: #444 !important;
  padding: 6px 8px !important;
}

.fu-loading-table th.fu-col-state {
  width: 45% !important;
}

.fu-detail-value {
  font-size: 13.5px !important;
}

.fu-meta-row {
  font-size: 13px !important;
}

.fu-meta-col-box {
  border: 1px solid #e2e8f0 !important;
  min-height: 70px !important;
}

.fu-meta-icon-roundel {
  width: 38px !important;
  height: 38px !important;
  flex-shrink: 0 !important;
}

.fu-roundel-blue {
  background: #e0f2fe !important;
  color: #0284c7 !important;
}

.fu-roundel-green {
  background: #e2f6f6 !important;
  color: #0d9394 !important;
}

.fu-roundel-red {
  background: #ffebeb !important;
  color: #ff3e1d !important;
}

.fu-roundel-orange {
  background: #fff1e6 !important;
  color: #ffab00 !important;
}

.fu-roundel-purple {
  background: #f2f0ff !important;
  color: #6f5cc3 !important;
}

/* Timeline Custom Styles */
.fu-timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.2rem;
}

.fu-timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  bottom: -20px;
  width: 1px;
  background: #e2e8f0;
}

.fu-timeline-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  margin-top: 4px;
  z-index: 1;
  background: #0d9394 !important;
}

.fu-timeline-content {
  flex-grow: 1;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #f3f4f6;
  min-width: 0;
}

.fu-timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.fu-timeline-notes {
  font-size: 12px !important;
  color: #4b5563 !important;
  margin: 6px 0 !important;
  line-height: 1.4 !important;
  word-break: break-word;
}

.fu-timeline-next {
  font-size: 11px !important;
  color: #7d8490 !important;
}

/* ============================================================
   FOLLOW-UP SIDEBAR — Tabs row with inline filter icon
   ============================================================ */

.fu-sidebar-tabs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 10px;
  border-bottom: 1px solid #e7e7e7;
  background: #fff;
}

.fu-sidebar-tabs-row .fu-sidebar-tabs {
  flex: 1;
  display: flex;
  gap: 6px;
  padding: 0;
  border-bottom: none;
  margin: 0;
}

.fu-filter-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid #dbdade;
  border-radius: 6px;
  background: #fff;
  color: #555;
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.fu-filter-icon-btn:hover {
  border-color: #0d9394;
  color: #0d9394;
  background: #f0fdfc;
}

.fu-filter-icon-btn.fu-filter-icon-active {
  border-color: #0d9394;
  background: #0d9394;
  color: #fff;
}

/* =========================================
   Contact Info Card Blocks
   ========================================= */
.fu-contact-block {
  background: #fff;
  border: 1px solid #e4e9f0;
  border-left: 3px solid #26a69a;
  border-radius: 8px;
  padding: 10px 14px;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.fu-contact-block:hover {
  box-shadow: 0 2px 10px rgba(13, 147, 148, 0.10);
  border-color: #26a69a;
}

.fu-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.fu-contact-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fu-contact-name {
  font-weight: 600;
  font-size: 13px;
  color: #2d3748;
}

.fu-contact-badge-desig {
  font-size: 11px;
  background: #e8f5e9;
  color: #388e3c;
  border-radius: 4px;
  padding: 2px 8px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.fu-contact-type-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fu-contact-type-label {
  font-size: 11px;
  color: #6c757d;
  font-weight: 500;
}

.fu-contact-badge-type {
  font-size: 11px;
  background: #e3f2fd;
  color: #1565c0;
  border-radius: 4px;
  padding: 2px 8px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.fu-contact-phone {
  margin-top: 6px;
  font-size: 12px;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 5px;
}

.fu-contact-phone-link {
  color: inherit;
  text-decoration: none;
}

.fu-contact-phone-link:hover {
  color: #0d9394;
  text-decoration: underline;
}

/* Shortage Allowance value — truncates long text with ellipsis + tooltip */
.fu-shortage-val {
  display: inline-block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  cursor: help;
}

/* Extracted followup details inline classes */
.fu-header-info-wrap {
  flex: 1;
  min-width: 0;
}

.fu-det-record-lbl {
  font-size: 11px !important;
  letter-spacing: 0.5px !important;
}

.fu-icon-desig {
  font-size: 13px !important;
  opacity: 0.7 !important;
}

.fu-det-company-title {
  font-size: 22px !important;
}

.fu-meta-subtitle {
  font-size: 13px !important;
}

.fu-icon-meta {
  font-size: 14px !important;
  opacity: 0.7 !important;
}

.fu-shortage-wrapper {
  min-width: 0;
  max-width: 340px;
}

.fu-icon-shortage {
  font-size: 14px !important;
  opacity: 0.7 !important;
  flex-shrink: 0 !important;
}

.fu-text-nowrap {
  white-space: nowrap !important;
}

.fu-zone-badge-wrap {
  flex-shrink: 0;
}

.fu-zone-badge {
  font-size: 12px !important;
}

.fu-meta-col-icon {
  font-size: 20px !important;
}

.fu-meta-col-title {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.fu-meta-col-val {
  font-size: 14px !important;
}

.fu-meta-badge-inline {
  padding: 3px 8px !important;
  font-size: 10px !important;
}

.fu-meta-badge-last-comment {
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
}

.fu-history-timeline-scroll {
  max-height: 290px !important;
  overflow-y: auto !important;
  padding-right: 5px !important;
}

.fu-timeline-badge-style {
  font-size: 10px !important;
  padding: 2px 6px !important;
}

.fu-timeline-date-style {
  font-size: 11px !important;
}