@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: none;
  font-family: "Poppins", sans-serif;
  font-family: "Be Vietnam Pro", sans-serif;
  scroll-behavior: smooth;
}

/* @media (max-width: 1399px) {
  body {
    zoom: 85%;
  }
}

@media (max-width: 1279px) {
  body {
    zoom: 80%;
  }
} */

:root {
  --bs-tooltipbg: #167e81;
  --bs-tooltipcolor: #ffffff;
  --bs-primary-bg-subtle: #d1e7dd;
  
  --danger: #ef4444;
  --danger-hover: #dc2626;
  --danger-light: #fef2f2;

  --border: #cbd5e1;
  --text-muted: #64748b;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-thumb {
  background: #b8b7b7;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
@keyframes pulse-active {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.25);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(29, 158, 117, 0);
  }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.breadcrumb-item a {
  color: #545a6d;
  font-weight: 500;
  text-decoration: none;
}
.breadcrumb-item a:hover {
  color: #212529;
}

.btn-clear {
    background: #ffffff;
    color: var(--text-muted);
    border-color: var(--border);
}
.btn-clear:hover {
    background: var(--danger-light);
    border-color: var(--danger);
    color: var(--danger-hover);
}
.btn-clear:active {
    background: #fee2e2;
}


/* Arrow separator for non-active items */
.breadcrumb-item + .breadcrumb-item:not(.active)::before {
  content: "›";
  color: #adb5bd;
  margin-right: 2px;
}

/* Arrow BEFORE the active chip (the › before the chip box) */
.breadcrumb-item.active::before {
  content: "›";
  color: #adb5bd;
  margin-right: 2px;
  width: unset;
  height: unset;
  border-radius: unset;
  background: unset;
}

/* The green dot INSIDE the chip using a pseudo on the span */
.breadcrumb-item.active {
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb-item.active span {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8f9fa;
  padding: 3px 10px 3px 7px;
  border-radius: 6px;
  border: 0.5px solid #dee2e6;
  color: #212529;
  font-weight: 500;
}
.breadcrumb-item.active span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1d9e75;
  flex-shrink: 0;
  display: inline-block;

  box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.25);
  animation: pulse-active 1.8s infinite;
}
.sidebar-scroll {
  height: 100vh;
  overflow-y: auto;
}

.reportBtn {
  position: relative; /* Fixes the absolute positioning boundary */
  overflow: hidden;
  background: linear-gradient(45deg, #ff4d4d, #ff914d);
  color: #fff;
  border-radius: 25px;
  padding: 8px 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-sizing: border-box;
  height: 40px;
}


.reportBtn .icon {
  width: 24px;
  transition: all 0.3s ease-in-out;
}

.reportBtn:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.reportBtn:hover::before {
  animation: mshine 1.5s ease-out infinite;
}

.reportBtn::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  opacity: 0.6;
}

@keyframes mshine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}

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

.page-content {
  padding: calc(45px + 24px) calc(24px / 2) 60px calc(24px / 2);
}
.data-info {
  font-size: 12px;
  color: #1c84ee;
}

.form-label,
.form-check-label {
  color: #a88cbd;
  color: rgb(82 153 223);
  margin-bottom: 0.5rem;
}
.form-control,
.form-select {
  transition: all 0.3s ease-in-out;
  appearance: none;
}

.form-control:focus,
.form-select:focus {
  border-color: #1c84ee;
  background-color: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

/* Common Styles */
.filter_button {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding-inline: 1.25rem;
  background-color: rgb(0 107 179);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffff;
  gap: 3px;
  border: 3px solid #ffffff4d;
  outline: none;
  overflow: hidden;
  font-size: 13px;
  height: 40px;
}

.filter_button .icon {
  width: 24px;
  transition: all 0.3s ease-in-out;
}

.filter_button:hover {
  border-color: #fff9;
}

.filter_button:hover::before {
  animation: shine 1.5s ease-out infinite;
}

.filter_button::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  opacity: 0.6;
}

@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}

.card {
  margin-bottom: 8px !important;
}
/* logo */
.navbar-brand-box .logo-light .logo-lg img {
  height: 50px;
  margin-left: 15px;
}
.navbar-brand-box .logo-light .logo-sm img {
  height: 30px;
  margin-left: -17px;
  width: 77px;
}
.login-bg {
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;   /* WHERE it sits */
    background-size: contain;      /* HOW BIG it renders */
}
.page-title-box {
  padding-bottom: 12px;
  padding-top: 15px !important;
}
.page-title-box .title,
.title_heading .title {
  font-size: 0.9rem;
  font-weight: 500;
}
.page-content {
  background-color: #f4f5f8;
}

.feather-arrow-left-circle {
  cursor: pointer;
}

.table {
  background-color: #fff;
}

.form_filter label {
  margin-bottom: 0.1rem !important;
}

/* Data Table */

.dataTables_filter,
.dataTables_length {
  display: none;
}
div.dataTables_wrapper div.dataTables_info,
div.dataTables_wrapper div.dataTables_paginate {
  font-size: 12px;
  color: #1c84ee;
  font-weight: 400;
  margin-top: 10px;
  margin-bottom: 50px;
  white-space: nowrap;
}

.pagination {
  --bs-pagination-active-border-color: none !important;
}
.pagination .active {
  --bs-pagination-active-color: #fff !important;
  --bs-pagination-active-bg: rgb(28 132 238) !important;
}
.pagination .page-link:not(.pagination .active > .page-link) {
  color: #1273eb;
}
.page-item .page-link {
  margin: 0 5px;
  border-radius: 30% !important;
  padding: 1px 10px;
}

/* Modern Professional Pagination Styles */
/* .pagination {
  --bs-pagination-border-width: 0;
  --bs-pagination-border-radius: 0.75rem;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.pagination .page-item {
  margin: 0 0.15rem;
}

.pagination .page-link {
  color: #4F46E5;
  background: #F3F4F6;
  border: none;
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  min-width: 42px;
  text-align: center;
}

.pagination .page-link:hover {
  color: #fff;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.pagination .page-link:focus {
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
  outline: none;
} */

/* Active Page */
/* .pagination .active .page-link {
  color: #fff !important;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
  transform: translateY(-2px);
} */

/* Disabled State */
/* .pagination .disabled .page-link {
  color: #9CA3AF;
  background: #F9FAFB;
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
} */

/* .pagination .disabled .page-link:hover {
  transform: none;
  background: #F9FAFB;
} */

/* First, Previous, Next, Last Buttons */
/* .pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  background: #EEF2FF;
  color: #4F46E5;
  font-weight: 700;
} */

/* .pagination .page-item:first-child .page-link:hover,
.pagination .page-item:last-child .page-link:hover {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  color: #fff;
} */

/* Optional: Add icons to navigation buttons */
/* .pagination .page-item:first-child .page-link::before {
  content: "«";
  margin-right: 0.25rem;
}

.pagination .page-item:last-child .page-link::after {
  content: "»";
  margin-left: 0.25rem;
}  */

th.sorting_asc::before,
th.sorting_desc::before,
th.sorting::before,
th.sorting_asc::after,
th.sorting_desc::after,
th.sorting::after {
  color: ivory !important;
  opacity: 1;
}

.table th {
  padding: 13px 15px;
  font-size: 12px;
  /* font-weight: 700; */
  color: #1c84ee;
  text-align: left;
  /* white-space: nowrap; */
  /* text-transform: capitalize; */
  font-family: "Poppins", sans-serif;
  font-family: "Be Vietnam Pro", sans-serif;
  border: 0 !important;
  background: #ebeef5;
}

.table.table-padded tbody td {
  padding: 0.85rem 0.7rem;
  font-size: 0.75rem;
  background-color: #fff;
  border: none;
  border-right: 1px solid rgba(0, 0, 0, 0.03);
  vertical-align: middle;
  text-align: center !important;
}

table .tEdit {
  text-align: center;
}

table .tcenter {
  text-align: center;
}

.table tbody tr:hover {
  background-color: #edeeef;
}

/* Folio Master */

.folio_section .folio-content .tab-content .cancelBtn {
  border: 1px solid #1c84ee !important;
  outline: none !important;
  background-color: #fff !important;
}
.folio_section .folio-content .tab-content .cancelBtn:hover {
  outline: none !important;
  background-color: #fff !important;
  box-shadow:
    rgba(45, 35, 66, 0.3) 0 4px 8px,
    rgba(45, 35, 66, 0.2) 0 7px 13px -3px,
    #d6d6e7 0 -3px 0 inset;
  transform: scale(1.02);
}
.folio_section .folio-content .tab-content .btn:hover {
  outline: none !important;
  transform: scale(1.02);
}

.filter_button.accordion {
  cursor: pointer;
  transition: 0.4s;
}
.list-view .card {
  /* cursor: pointer; */
  border-radius: 10px;
}
.list-view .icons {
  color: #ffffff;
  background-color: rgb(82 153 223);
  padding: 4px 5px;
  font-size: 0.6rem;
  border-radius: 4px;
}
/* .view-toggle-btn {
  padding: 5px 10px;
  background-color: #f8f9fa !important;
  border: 1px solid #dee2e6 !important;
  color: #6c757d !important;
  transition: all 0.3s ease !important;
}

.view-toggle-btn:hover {
  background-color: #e9ecef !important;
  color: #212529 !important;
}

.view-toggle-btn.active {
  background-color: rgba(28, 132, 238, 1) !important;
  color: white !important;
  border-color: rgba(28, 132, 238, 1) !important;
}

.view-toggle-group {
  border-radius: 4px !important;
  margin-right: 15px !important;
}

.view-toggle-btn:first-child {
  border-right: none !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.view-toggle-btn:last-child {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
} */

.view-toggle-group {
  background: #e8ecef;
  padding: 4px;
  border-radius: 10px;
}

.view-toggle-btn {
  background: transparent;
  border: none;
  padding: 6px 16px;
  color: #7f8c8d;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
}

.view-toggle-btn:hover {
  color: rgb(28 132 238);
  transform: scale(1.05);
}

.view-toggle-btn.active {
  background: white;
  color: rgb(28 132 238);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vessel_data,
.charge_data,
.airline_data,
.cont_data,
.currency_data,
.dangerous_data,
.country_data,
.port_data,
.shipping_data,
.seal_data,
.state_data,
.package_data,
.weight_data,
.quotations_data {
  padding: 0.8rem 1.25rem !important;
}

.master_table th {
  padding: 8px 15px;
  color: #fff;
  background: rgba(28, 132, 238, 1);
}

.master_table > :not(caption) > * > * {
  padding: 8px 15px;
  border-right-width: 1px;
}
.filter_wrapper {
  display: none;
  background-color: white;
  /* overflow: hidden; */
}
.filter_wrapper .filter_card {
  border-radius: 0 !important;
  margin-right: 5px;
}
.alert-light {
  background-color: #e1e4f9;
}
.filter_wrapper .filter_card .Clear_filter {
  cursor: pointer;
  color: #5390dd !important;
}
.filter_wrapper .filter_card .Clear_filter:hover {
  transform: scale(1.02);
}
.filter_wrapper .form-control {
  padding: 0.27rem 0.5rem;
}
.filter_wrapper .form-select {
  padding: 0.27rem 0.5rem;
}
.filter_wrapper .filter_apply {
  padding: 0.27rem 1.5rem;
  border-radius: 1.25rem !important;
  transform: translateY(-7px);
}

.folio_master .folio_list .card {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  margin-bottom: 15px;
  --bs-card-spacer-y: 0.8rem;
}
.folio_master .folio_list .folio_info .folio_name {
  text-transform: capitalize;
  font-weight: 400;
}
.folio_master .folio_list .folio_info .folio_type {
  font-size: 0.7rem;
  background-color: #3bc345;
  font-weight: 600;
}
.folio_master .folio_list .folio_info .ellipsis {
  color: #1c4f91;
  white-space: nowrap;
  width: 15rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.folio_master .folio_list .folio_card .folio_data .status_btn {
  display: inline-block;
  padding: 2px 15px;
  font-size: 9px;
  font-weight: 300;
  color: #1c84ee;
  color: #fff !important;
  background: #4b8ed3;
  border-radius: 30px;
  text-transform: capitalize;
  white-space: nowrap;
  min-width: 70px;
  text-align: center;
}
.folio_master .folio_list .folio_card .folio_data .ellipsis {
  white-space: nowrap;
  width: 17rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.add_button {
  color: #fff;
  background-color: #43ad4b;
  box-shadow: 0 3px 11px #43ad4b;
}
.add_button-check:focus + .add_button,
.add_button:hover,
.add_button:focus,
.add_button:active {
  color: #fff;
  background-color: #43ad4b;
  box-shadow: 0 3px 11px #43ad4b;
}

.folio_master .page-title-box {
  padding-bottom: 12px;
  padding-top: 20px !important;
}
.folio_master table.dataTable {
  margin: 0;
}

/* Folio Section */
.folio_section .folio_cardSection {
  background-color: #f4f5f8;
  box-shadow: none;
  outline: none;
}
.folio_section .folio-content {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.folio_section .folio_cardSection .card-header {
  border: 0 !important;
}
.folio_section .nav-tabs-custom .nav-item .nav-link.active {
  /* color: #fff; */
  /* background-color: #1c84ee; */
}
.folio_section .folio_cardSection .tab-pane .input-container {
  position: relative;
}
.folio_section .folio_cardSection .tab-pane .input-container input {
  text-indent: 30px;
}
.folio_section .folio_cardSection .tab-pane .input-container i {
  position: absolute;
  left: 0px;
  padding: 9px 12px;
  cursor: pointer;
  color: #1c84ee;
  color: #f4f5f8;
  color: #d0d1d7;
  color: #b4b5c1;
}

.folio_section .nav-tabs-custom .nav-item .nav-link::after {
  background: rgba(var(--bs-primary-rgb), 1);
  height: 2px !important;
  position: absolute;
  width: 100%;
}

.folio_section .nav-tabs .nav-item {
  background-color: #fff;
}

.folio_section .nav-tabs .nav-link {
  border-radius: var(--bs-nav-tabs-border-radius);
}

/* Charge Section */
.charge_section .tax_calculation_section {
  width: 93%;
  /* min-height: 83%;
  max-height: 100%; */
  border: 1px solid #ced4da;
  border-radius: 5px;
}
.charge_section
  .tax_calculation_section
  .tax-grid
  .table
  > :not(caption)
  > *
  > * {
  border-bottom-width: 0px !important;
  padding: 0.5rem 0.5rem !important;
}
.charge_section .tax_calculation_section .tax-grid .table th {
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 700;
  color: #1c84ee;
  white-space: nowrap;
  text-transform: capitalize;
  font-family: nunito, sans-serif;
  border: 0 !important;
  background: #ebeef5;
}
.charge_section .tax_calculation_section .tax-grid .btn {
  padding: 0.1rem 0.4rem !important;
}
.charge_section .tax_calculation_section .tax-grid .edit {
  color: #fff;
  background-color: #568bc1;
  border: 1px solid #568bc1;
}
.charge_section .tax_calculation_section .addTaxButton button:hover,
.charge_section .tax_calculation_section .addTaxButton button:focus,
.charge_section .tax_calculation_section .addTaxButton button:active {
  color: #fff;
  background-color: #43ad4b;
  box-shadow: 0 3px 11px #43ad4b;
  border: 1px solid #fff;
}
.charge_section .taxTableBody .form-select {
  padding: 2px 6px !important;
  width: 130% !important;
}
.charge_section .taxTableBody .form-control {
  margin-left: 20px;
  text-indent: 13px;
  padding: 2px 6px !important;
  width: 67% !important;
}
.charge_section .tax_calculation_section .addTaxButton button {
  color: #fff;
  background-color: #43ad4b;
  padding: 0.1rem 0.5rem !important;
  border: 1px solid #43ad4b;
}
.charge_section .tax_calculation_section .tax_calculaton_info .form-select {
  padding: 2px 6px !important;
  width: 110% !important;
}
.charge_section
  .tax_calculation_section
  .tax_calculaton_info
  .tax_Rate
  .form-control {
  padding: 2px 10px !important;
}

.charge_section
  .tax_calculation_section
  .baseCharge-grid
  .table
  > :not(caption)
  > *
  > * {
  border-bottom-width: 0px !important;
  padding: 0.5rem 0.5rem !important;
}
.charge_section .tax_calculation_section .baseCharge-grid .btn {
  padding: 0.1rem 0.4rem !important;
}
.charge_section .tax_calculation_section .baseCharge-grid .table th {
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 700;
  color: #1c84ee;
  white-space: nowrap;
  text-transform: capitalize;
  font-family: nunito, sans-serif;
  border: 0 !important;
  background: #ebeef5;
}
/* virtual select */

.folio_section .roles_field .vscomp-toggle-button {
  display: none;
}

.folio_section .roles_field .vscomp-option.group-option {
  padding-left: 15px !important;
}

.folio_section .roles_field .vscomp-options-container {
  /* max-height: 254px !important; */
  max-height: 305px !important;
}

.vscomp-wrapper.focused .vscomp-toggle-button,
.vscomp-wrapper:focus .vscomp-toggle-button {
  box-shadow: none !important;
}

.folio_section .contact_container {
  padding: 20px 15px 50px 15px;
}
.folio_section .contact_container .contact_grid .contact_info {
  margin: 0 7px 15px !important;
}
.folio_section .contact_container .card-body {
  padding: 10px;
  border-radius: 0.3rem;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.folio_section .contact_container .ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.folio_section .contact_container .ellipsis_contactname {
  width: 9.2rem;
}
.folio_section .contact_container .ellipsis_contactno {
  width: 9rem;
}
.folio_section .contact_container .ellipsis_emailID {
  width: 14rem;
}
.folio_section .contact_container .ellipsis_department {
  width: 18rem;
}

.folio_section .contact_container .grid-item .icons {
  color: #ffffff;
  background-color: rgb(82 153 223);
  padding: 4px 5px;
  font-size: 0.6rem;
  border-radius: 4px;
}
.folio_section .contact_container .grid-item .svg-icon {
  background-color: rgb(82 153 223);
  border-radius: 4px;
  padding: 2px;
  width: 1.5em !important;
  height: 1.3em !important;
  fill: #fff !important;
}
.folio_section .contact_container .new_Contact {
  color: #fff;
  background-color: #43ad4b;
  border: 1px solid #43ad4b;
  box-shadow: 0 3px 11px #43ad4b;
}
.folio_section .contact_container .new_Contact:hover {
  color: #fff;
  background-color: #43ad4b;
  border: 1px solid #fff;
  box-shadow: 0 3px 11px #43ad4b;
}
.folio_section .contact_container .newContactModal .modal-header,
.folio_section .contact_container .newContactModal .modal-footer {
  border: none !important;
}

.folio_section .contact_container .newContactModal .modal-footer .btn {
  border-radius: 0;
}

.folio_section
  .contact_container
  .newContactModal
  .modal-footer
  .btn-outline-primary {
  color: #4285f4 !important;
  background-color: transparent !important;
  border: 1px solid #4285f4 !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:active:focus,
.btn-outline-primary.active {
  color: #4285f4 !important;
  background-color: transparent !important;
  border-color: #4285f4 !important;
  outline: 0;
}
.btn:hover,
.btn:focus,
.btn:active {
  outline: 0;
  box-shadow:
    0 5px 11px 0 rgba(0, 0, 0, 0.18),
    0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.folio_section .contact_container .newContactModal .modal-footer .btn-primary {
  color: #fff;
  background-color: #4285f4 !important;
}
.folio_section .contact_container .form-control,
.folio_section .contact_container .form-select {
  /* color: #7a8695; */
  background-color: #ecf0f4;
  border-color: transparent;
  transition: all 0.3s ease-in-out;
  appearance: none;
}
.folio_section
  .department_field
  .vscomp-wrapper.has-clear-button
  .vscomp-toggle-button {
  background-color: #ecf0f4 !important;
  border-color: transparent !important;
  transition: all 0.3s ease-in-out !important;
  appearance: none !important;
}
.folio_section .contact_container .modal-content {
  border-radius: 0;
}
.folio_section .contact_container .modal {
  --bs-modal-width: 600px;
}
.folio_section .contact_container .modal-body {
  padding: 1rem 2rem;
}
.folio_section .contact_container .form-select::after {
  content: "\25BC"; /* Unicode down arrow character */
  position: absolute;
  top: 50%;
  right: 0.5em;
  transform: translateY(-50%);
  pointer-events: none;
}
.folio_section .contact_container .form-control:focus,
.folio_section .contact_container .form-select:focus {
  border-color: #1c84ee;
  background-color: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

/* footer */
.footer {
  opacity: 0;
  pointer-events: none;
}
.footer.show {
  opacity: 1;
  pointer-events: auto;
}

/* Vessel Master */
.vessel_master .add_button {
  color: #fff;
  background-color: #43ad4b;
  box-shadow: 0 3px 11px #43ad4b;
}
.vessel_master .filter_button:hover {
  border-color: #fff9;
}

.filter_button.accordion {
  cursor: pointer;
  transition: 0.4s;
}
.vessel_master .filter_button {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding-inline: 1.25rem;
  background-color: rgb(0 107 179);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffff;
  gap: 3px;
  border: 3px solid #ffffff4d;
  outline: none;
  overflow: hidden;
}
.vessel_section {
  margin: 10px 0px 30px 0px;
}

/* Airline */
.airline_section .input-container {
  position: relative;
}
.airline_section .input-container input {
  text-indent: 30px;
}
.airline_section .input-container i {
  position: absolute;
  left: 0px;
  padding: 9px 12px;
  cursor: pointer;
  color: #b4b5c1;
}
.Port_button button {
  color: #fff;
  padding: 0.1rem 0.5rem !important;
}
.Port_button .add_button {
  background-color: #43ad4b;
  border: 1px solid #43ad4b;
  box-shadow: none !important;
}

.Port_button .add_button:hover,
.add_button:focus,
.add_button:active {
  color: #fff;
  background-color: #43ad4b;
  box-shadow: none !important;
}
.Port_button .delete_button:hover,
.delete_button:focus,
.delete_button:active {
  background-color: #ee5d6c;
  box-shadow: none !important;
}
.airline_section .Port_button .btn:hover {
  outline: none !important;
  transform: scale(1.02);
}
.form-label.required::after {
  content: " *";
  color: red;
  font-weight: bold;
}
.card-list {
  width: 50%;
}

.grid-list {
  width: 50%;
  border-radius: 10px;
}

.btn-sm-new {
  background: rgba(0, 188, 212, 0.1);
  color: #00838f;
  border: 1px solid rgba(0, 188, 212, 0.25);
  border-radius: 6px;
  padding: 2px 12px;
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-sm-new:hover {
  background: #00bcd4;
  color: #fff;
}

.cancelled-badge {
  width: fit-content;
  background: #ff4444;
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 6px;
  font-weight: 600;
  margin-left: 8px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ── Section Card ── */
.section-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s;
}

.section-card:hover {
  box-shadow: 0 4px 16px rgba(21, 101, 192, 0.1);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(90deg, rgba(21, 101, 192, 0.04), transparent);
}

.section-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #1565c0, #00bcd4);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  box-shadow: 0 3px 8px rgba(21, 101, 192, 0.25);
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.section-body {
  padding: 22px;
}

.input-container {
  position: relative;
}

.input-container i {
  position: absolute;
  left: 0px;
  padding: 9px 10px;
  cursor: pointer;
  color: #b4b5c1;
}

.input-container input {
  text-indent: 30px;
}

.exchange-table {
  table-layout: fixed;
  width: 100%;
}

.exchange-table th,
.exchange-table td {
  vertical-align: middle;
}

.exc-rate-details .table th {
  background: #ebeef5 !important;
  padding: 0.5rem 0.5rem !important;
}

.exchange-table th:last-child,
.exchange-table td:last-child {
  border: none !important;
}

.exchange-table tbody tr:hover,
.exchange-table tbody tr:hover > td {
  background-color: transparent !important;
}

.exc-rate-details {
  max-height: 300px;
  overflow-y: auto;
}

/* ── Shipper / Consignee Grid ── */
.sc-grid {
  display: flex;
  gap: 0;
}

.sc-col {
  flex: 1;
  min-width: 0;
}

.sc-divider {
  width: 1px;
  background: #e2e8f0;
  margin: 0 4px;
  flex-shrink: 0;
}

.sc-col-header {
  background: linear-gradient(
    90deg,
    rgba(21, 101, 192, 0.06),
    rgba(0, 188, 212, 0.04)
  );
  border-bottom: 1.5px solid #e2e8f0;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sc-col-title {
  font-weight: 700;
  color: #1565c0;
}

.sc-col-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}

.sc-field-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
}

.sc-addr-row {
  align-items: flex-start;
}

.sc-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #5a6a7e;
  width: 52px;
  flex-shrink: 0;
  white-space: nowrap;
}

.sc-label-mid {
  width: auto;
  white-space: nowrap;
  color: #5a6a7e;
  font-size: 11.5px;
  font-weight: 600;
  margin-left: 4px;
}

.sc-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  position: relative;
}

.sc-edit-btn {
  flex-shrink: 0;
  height: 32px;
  padding: 0 10px !important;
  font-size: 11.5px !important;
  white-space: nowrap;
}

.sc-counter {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: #1565c0;
  background: rgba(21, 101, 192, 0.1);
  border: 1px solid rgba(21, 101, 192, 0.18);
  border-radius: 12px;
  padding: 1px 7px;
  min-width: 26px;
  text-align: center;
}

.sc-counter-inline {
  margin-left: 2px;
}

.sc-counter-addr {
  position: absolute;
  bottom: 6px;
  right: 6px;
}

.action-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cancel-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-type {
  padding: 3px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  display: inline-block;
}

.badge-import {
  background: #fff3e0;
  color: #f57c00;
}

.badge-export {
  background: #f3e5f5;
  color: #7b1fa2;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1;
}

.status-badge--cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.status-badge svg { width: 13px; height: 13px; }

/* ===== Cancelled panel (replaces the grid) ===== */
.cancelled-panel {
  border: 1px solid #fecaca;
  background: #fef2f2;
  border-radius: 8px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.cancelled-panel__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.cancelled-panel__icon svg { width: 22px; height: 22px; color: #dc2626; }

.cancelled-panel__title {
  font-size: 15px;
  font-weight: 600;
  color: #991b1b;
  margin: 0;
}

.cancelled-panel__subtitle {
  font-size: 13px;
  color: #6b7280;
  margin: 4px 0 0;
  max-width: 300px;
  line-height: 1.5;
}

.cancelled-panel__actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.btnDelete {
    display: inline-flex;
    align-items: center;
    padding: 10px 12px;
    background-color: #dc3545;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.35);
    transition: all 0.2s ease-in-out;
}

.btnDelete:hover {
    background-color: #c82333;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.45);
    transform: translateY(-2px);
}

.btnDelete:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.btnDelete i {
    font-size: 14px;
}

.btnDelete:disabled,
.btnDelete.disabled {
    background-color: #e9ecef;
    color: #adb5bd;
    border: 1px solid #dee2e6;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1; /* override so it doesn't look "half-rendered" */
    transform: none;
    pointer-events: none;
}

.btnDelete:disabled i,
.btnDelete.disabled i {
    color: #adb5bd;
}

.btnDelete:disabled:hover,
.btnDelete.disabled:hover {
    background-color: #e9ecef;
    box-shadow: none;
    transform: none;
}

/* Media query for screens with a maximum width of 768px (typical for mobile devices) */
@media (max-width: 768px) {
  body {
    font-size: 14px;
    height: 100vh !important;
    overflow: auto !important;
  }
  .folio_section .folio_cardSection {
    padding: 0;
  }
  .folio_section .tabview.card-body {
    padding: 5px;
    margin: 0;
  }
  .folio_section .tabview.card-body .folio-content .nav-tabs {
    width: 100% !important;
  }
  .folio_section .nav-tabs-custom .nav-item .nav-link {
    color: #495057;
    background-color: #fff;
  }
  .folio_section .nav-tabs-custom .nav-item .nav-link.active {
    color: #2e87e0;
    background-color: #fff;
  }
  .folio_section .nav-tabs-custom .nav-item .nav-link::after {
    background: rgba(var(--bs-primary-rgb), 1);
    height: 2px !important;
    position: absolute;
    width: 100%;
  }
  .folio_section .folio-content .tab-content .input-container input {
    margin-bottom: 10px;
  }
  .card-list {
    width: 108%;
    font-size: 0.8125rem;
  }
  .grid-list {
    width: 100%;
    font-size: 0.8125rem;
  }
}

.cancel-label {
  color: #c62828;
}
