.nav_right ul > li.admin-photo > a { box-sizing: border-box; display: flex; flex-direction: row; align-items: center; padding: 8px; gap: 12px; height: 40px; border: 1px solid rgba(158, 158, 158, 0.16); border-radius: 8px; text-decoration: none; }
.nav_right ul > li.admin-photo > a .profile-info { display: flex; flex-direction: row; align-items: center; gap: 8px; }
.nav_right ul > li.admin-photo > a .avatar { display: flex; justify-content: center; align-items: center; width: 24px; height: 24px; background: #E0E0E0; border-radius: 6px; }
.nav_right ul > li.admin-photo > a .avatar img { width: 24px; height: 24px; object-fit: cover; border-radius: 6px; }
.nav_right ul > li.admin-photo > a .user-name { font-family: 'Nunito', sans-serif; font-style: normal; font-weight: 600; font-size: 14px; line-height: 18px; color: #26282D; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.nav_right ul > li.admin-photo > a .chevron { width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; }

.badge.badge-quote-accepted{ color: #0B4A6F ; background: #E0F2FE }
.badge.badge-ftl-draft{ color: var(--txtPrimary); background: #9E9E9E29;}
.badge.badge-ftl-quote-requested{ color: var(--warningDark); background: #F7900929;}
.badge.badge-ftl-quoted{ color: var(--infoDark); background: var(--info12);}
.badge.badge-ftl-cancelled{ color: #FFF5F1; background: #B42318;}
.badge.badge-ftl-in-transit{ color: #FFF6ED; background: #C4320A;}
.badge.badge-ftl-scheduled{ color: #F4F3FF; background: #5925DC;}

.auth-page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  width: 100vw;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #000;
  padding: 28vh 0 40px;
  box-sizing: border-box;
}

.auth-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.auth-fader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 64px 72px;
  z-index: 1;
  pointer-events: none;
}

.auth-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  text-align: center;
}

.auth-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--auth-badge-bg, rgba(43, 127, 255, 0.3));
  border: 2px solid var(--auth-badge-border, rgba(43, 127, 255, 0.3));
  border-radius: 50px;
}

.auth-badge img {
  width: 14px;
  height: 14px;
}

.auth-badge span {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  color: var(--auth-badge-text, #FFFFFF);
  margin-top: 2px;
}

.auth-heading {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 60px;
  color: var(--auth-heading-color, #FFFFFF);
  margin: 0;
}

.auth-subtext {
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  color: var(--auth-subtext-color, #CAD5E2);
  margin: 0;
}

.auth-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  gap: 40px;
  width: 440px;
  margin-bottom: auto;
  background: #FFFFFF;
  box-shadow: 0px 6px 10px 4px rgba(0, 0, 0, 0.15), 0px 2px 3px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  box-sizing: border-box;
}

.auth-card-logo {
  height: 48px;
}

.auth-card-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  color: #26282D;
  margin: 0;
  text-align: center;
  padding-top: 48px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.auth-input-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.auth-password-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.auth-remember-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}
.auth-remember-row .form-check-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #26282D;
}

.auth-submit-btn {
  width: 100%;
  height: 40px;
  background: #26282D;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.auth-submit-btn:hover {
  background: #3F4144;
}

.auth-page .alert-error {
  width: 100%;
  margin-bottom: 24px;
  border-radius: 6px;
  border: none;
  padding: 8px 16px;
  background: var(--errorlighter);
  font-size: 14px;
  font-weight: 600;
  color: var(--errorDark);
  text-align: left;
  line-height: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check.form-switch,
.form-check.form-switch .form-check-input,
.form-check.form-switch .form-check-label {
  cursor: pointer;
}

.has-submenu > .submenu-trigger-btn {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  padding: 10px 8px 10px 5px;
  height: 44px;
  min-height: 44px;
  text-decoration: none;
  color: #26282D;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  border-left: 3px solid transparent;
  background: transparent;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  position: relative;
}

.has-submenu > .submenu-trigger-btn:hover {
  color: var(--brand);
  border-left-color: var(--brand);
  background: var(--lightF5);
  box-shadow: -1px 1px 3px 0px rgba(0, 0, 0, 0.14);
}

.has-submenu > .submenu-trigger-btn:hover img {
  filter: none;
}

.submenu-arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #3F4144;
  border-bottom: 2px solid #3F4144;
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.has-submenu > .submenu-trigger-btn .submenu-arrow {
  margin-left: auto;
  flex-shrink: 0;
}

.has-submenu.open > .submenu-trigger-btn .submenu-arrow {
  transform: rotate(-135deg);
}

.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.has-submenu.open > .submenu {
  max-height: 200px;
}

.submenu li a {
  display: flex;
  align-items: center;
  padding: 0px 8px 0px 44px;
  height: 44px;
  min-height: 44px;
  width: 100%;
  box-sizing: border-box;
  border-left: 3px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #26282D;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.submenu li a:hover {
  background: #F5F5F5;
  border-left-color: var(--brand);
  border-radius: 4px;
  box-shadow: -1px 1px 3px 0px rgba(0, 0, 0, 0.14);
  color: var(--brand);
  font-weight: 700;
}

.submenu li.active a {
  background: #F5F5F5;
  border-left: 3px solid var(--brand);
  border-radius: 4px;
  box-shadow: -1px 1px 3px 0px rgba(0, 0, 0, 0.14);
  color: var(--brand);
  font-weight: 700;
}

.asterisk-sign {
  color: #F04438;
}

table.dataTable.ftl_datatable > tbody > tr > td.customerid a{ text-decoration: none;}

.theme-datatable table.dataTable > tbody > tr.purple_row > td:first-child { box-shadow: 2px 2px 4px #0000000A, inset 0 -0.5px 0 var(--greyLightest), inset 0 0.5px 0 var(--greyLightest), inset 3px 0 0 #7A5AF8 !important; }

.theme-datatable table.dataTable > tbody > tr.sky_row > td:first-child { box-shadow: 2px 2px 4px #0000000A, inset 0 -0.5px 0 var(--greyLightest), inset 0 0.5px 0 var(--greyLightest), inset 3px 0 0 #0BA5EC !important; }

.ftl-left-sections > .aac_body:last-child::before{ display: block;}

.ftl-float-field {
	position: relative;
}

.ftl-float-field .ftl-input {
	font-family: 'Nunito', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #26282D;
	background: #FFFFFF;
	border: 1px solid rgba(158, 158, 158, 0.32);
	border-radius: 8px;
	height: 42px;
	min-height: 42px;
	padding: 12px 12px 4px 12px;
	transition: border-color 0.15s ease;
}

.ftl-float-field .ftl-input:focus {
	outline: none;
	border-color: #9A130A;
	box-shadow: 0 0 0 3px rgba(154, 19, 10, 0.08);
}

.ftl-float-field .ftl-input.is-filled,
.ftl-float-field .ftl-input:not(:placeholder-shown) {
	border-color: rgba(158, 158, 158, 0.16);
}

.ftl-float-field .ftl-input.is-invalid {
	border-color: var(--error) !important;
}

.ftl-float-field .ftl-input.is-invalid:focus {
	box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.08) !important;
}

.ftl-float-field .ftl-input.is-invalid ~ label {
	color: var(--error) !important;
}

.ftl-float-field label {
	font-family: 'Nunito', sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: #5F6165;
	position: absolute;
	top: 50%;
	left: 12px;
	transform: translateY(-50%);
	pointer-events: none;
	transition: all 0.15s ease;
	background: transparent;
	padding: 0 2px;
	display: flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

.ftl-float-field .ftl-input:focus ~ label,
.ftl-float-field .ftl-input:not(:placeholder-shown) ~ label {
	top: -8px;
	font-size: 11px;
	background: #FFFFFF;
	transform: translateY(0);
}

.ftl-request-info .form-floating {
	margin-bottom: 0;
}

.ftl-request-info .row {
	--bs-gutter-x: 24px;
	--bs-gutter-y: 24px;
	margin-left: calc(var(--bs-gutter-x) * -0.5);
	margin-right: calc(var(--bs-gutter-x) * -0.5);
}

.ftl-request-info .row > .col-sm-6,
.ftl-request-info .row > .col-12 {
	padding-left: calc(var(--bs-gutter-x) * 0.5);
	padding-right: calc(var(--bs-gutter-x) * 0.5);
}

.ftl-request-info .row > .col-sm-6 {
	flex: 0 0 50%;
	max-width: 50%;
	width: 50%;
}

.ftl-request-info .row > .col-12 {
	flex: 0 0 464px;
	max-width: 464px;
	width: 464px;
}

.ftl-request-info .ftl-req-alert,
.ftl-request-info .ftl-doc-table-wrap {
	width: 100%;
	max-width: 464px;
}

.ftl-request-info .ftl-float-field .ftl-input {
	height: 42px;
	min-height: 42px;
	padding: 14px 14px 4px 14px;
	line-height: 18px;
	border-color: rgba(158, 158, 158, 0.2);
	border-radius: 10px;
}

.ftl-request-info .ftl-float-field label,
.ftl-request-info .ftl-request-select.form-floating > label {
	top: -9px;
	left: 14px;
	transform: none;
	font-size: 12px;
	line-height: 16px;
	padding: 0 4px;
	background: #FFFFFF;
	z-index: 2;
}

.ftl-request-info .ftl-float-field .ftl-input:focus ~ label,
.ftl-request-info .ftl-float-field .ftl-input:not(:placeholder-shown) ~ label,
.ftl-request-info .ftl-request-select.form-floating > .form-select ~ label,
.ftl-request-info .ftl-request-select.form-floating > .bootstrap-select ~ label {
	top: -9px;
	font-size: 12px;
	transform: none;
}

.ftl-request-info .ftl-field-icon {
	position: absolute;
	left: 14px;
	top: calc(50% + 4px);
	transform: translateY(-50%);
}

.ftl-request-info .ftl-po-field .ftl-input,
.ftl-request-info .ftl-date-field .ftl-input {
	padding-left: 44px !important;
}

.ftl-request-info .ftl-request-select .bootstrap-select > .btn {
	height: 42px;
	min-height: 42px;
	padding: 14px 40px 4px 14px;
	line-height: 18px;
	border-color: rgba(158, 158, 158, 0.2);
	border-radius: 10px;
}

.ftl-request-info .ftl-request-select .bootstrap-select > .btn .filter-option {
	justify-content: flex-start;
	height: 100%;
}

.ftl-request-info .ftl-request-select .bootstrap-select > .btn .filter-option-inner-inner {
	text-align: left;
}

.ftl-request-info .ftl-request-select .bootstrap-select > .dropdown-toggle::after {
	width: 20px;
	height: 20px;
	margin: 0;
}

.ftl-select-field {
	position: relative;
}

.ftl-select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 36px !important;
	cursor: pointer;
}

.ftl-select-arrow {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	display: flex;
	align-items: center;
}

.ftl-req-alert {
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 8px;
	gap: 12px;
	width: 464px;
	height: 36px;
	background: rgba(247, 144, 9, 0.08);
	border: 1px solid rgba(247, 144, 9, 0.16);
	border-radius: 8px;
	flex: none;
	order: 0;
	align-self: stretch;
	flex-grow: 0;
}

.ftl-alert-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.ftl-alert-text {
	font-family: 'Nunito', sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: #B54708;
	line-height: 16px;
}

.ftl-doc-table-wrap {
	width: 100%;
}

.ftl-doc-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.ftl-doc-table thead tr th {
	font-family: 'Nunito', sans-serif;
	font-size: 12px;
	font-weight: 600;
	color: #26282D;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	background: #F5F5F5;
	padding: 8px 16px;
	border-top: 0.5px solid #BDBDBD;
	border-bottom: 0.5px solid #BDBDBD;
	white-space: nowrap;
}

.ftl-doc-table thead tr th:first-child {
	border-left: 0.6px solid #BDBDBD;
	border-radius: 6px 0 0 6px;
}

.ftl-doc-table thead tr th:last-child {
	border-right: 0.6px solid #BDBDBD;
	border-radius: 0 6px 6px 0;
}

.ftl-doc-table tbody tr td {
	font-family: 'Nunito', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #26282D;
	padding: 0;
	height: 60px;
	max-height: 60px;
	background: #FFFFFF;
	border-top: 0.6px solid rgba(158, 158, 158, 0.2);
	border-bottom: 0.6px solid rgba(158, 158, 158, 0.2);
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.04);
	vertical-align: middle;
}

.ftl-doc-table tbody tr td:first-child {
	border-left: 0.6px solid rgba(158, 158, 158, 0.2);
	border-radius: 6px 0 0 6px;
	padding: 8px 16px;
}

.ftl-doc-table tbody tr td:last-child {
	border-right: 0.6px solid rgba(158, 158, 158, 0.2);
	border-radius: 0 6px 6px 0;
	padding: 8px 16px;
	white-space: nowrap;
}

.ftl-doc-table tbody tr td:not(:first-child):not(:last-child) {
	padding: 8px 16px;
}

.ftl-doc-table tbody tr + tr td {
	margin-top: 10px;
}

.ftl-doc-table tbody tr:not(:last-child) td {
	margin-bottom: 10px;
}

.ftl-doc-table {
	border-spacing: 0 10px;
}

.ftl-doc-table tbody tr td {
	border-top: 0.6px solid rgba(158, 158, 158, 0.2);
	border-bottom: 0.6px solid rgba(158, 158, 158, 0.2);
}

.ftl-doc-file {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ftl-pdf-icon {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.ftl-doc-name {
	font-family: 'Nunito', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #26282D;
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 150px;
}

.removefile-btn28x {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 4px;
	border: none;
	background: transparent;
	border-radius: 8px;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.15s ease;
}

.removefile-btn28x:hover {
	background: rgba(240, 68, 56, 0.08);
}

.ftl-upload-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	height: 28px;
	min-height: 28px;
	font-family: 'Nunito', sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: #26282D;
	background: #FFFFFF;
	border: 1px solid rgba(158, 158, 158, 0.32) !important;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.ftl-upload-btn img {
    transform: rotate(180deg);
}

.ftl-upload-btn:hover {
	background: #F5F5F5;
	border-color: rgba(158, 158, 158, 0.5) !important;
}

.ftl-divider {
	border: none;
	border-top: 1px solid rgba(158, 158, 158, 0.2);
	margin: 0;
}

.ftl-handling-table-wrap {
	width: 100%;
}

.ftl-handling-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 10px;
}

.ftl-handling-table thead tr th {
	font-family: 'Nunito', sans-serif;
	font-size: 12px;
	font-weight: 600;
	color: #26282D;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	background: #F5F5F5;
	padding: 8px 16px;
	border-top: 0.5px solid #BDBDBD;
	border-bottom: 0.5px solid #BDBDBD;
}

.ftl-handling-table thead tr th:first-child {
	border-left: 0.6px solid #BDBDBD;
	border-radius: 6px 0 0 6px;
}

.ftl-handling-table thead tr th:last-child {
	border-right: 0.6px solid #BDBDBD;
	border-radius: 0 6px 6px 0;
}

.ftl-handling-table tbody tr td {
	font-family: 'Nunito', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #26282D;
	background: #FFFFFF;
	height: 60px;
	max-height: 60px;
	padding: 8px 16px;
	border-top: 0.6px solid rgba(158, 158, 158, 0.2);
	border-bottom: 0.6px solid rgba(158, 158, 158, 0.2);
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.04);
	vertical-align: middle;
}

.ftl-handling-table tbody tr td:first-child {
	border-left: 0.6px solid rgba(158, 158, 158, 0.2);
	border-radius: 6px 0 0 6px;
}

.ftl-handling-table tbody tr td:last-child {
	border-right: 0.6px solid rgba(158, 158, 158, 0.2);
	border-radius: 0 6px 6px 0;
}

.ftl-radio-choice {
	display: flex;
	align-items: center;
	gap: 0;
}

.ftl-radio-choice > .ftl-radio-opt:first-of-type {
	min-width: 115px;
}

.ftl-radio-opt {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	user-select: none;
	font-family: 'Nunito', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #26282D;
	line-height: 18px;
}

.ftl-radio-opt input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.ftl-radio-ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	flex-shrink: 0;
	position: relative;
	transition: all 0.15s ease;
}

.ftl-radio-ic--off {
	border: 2px solid #3F4144;
	background: transparent;
}

.ftl-radio-ic--on {
	width: 20px;
	height: 20px;
	border: 2px solid #A31B14;
	background: transparent;
}

.ftl-radio-ic--on::after {
	content: '';
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #9A130A;
}

.ftl-radio-opt--selected strong,
.ftl-radio-opt input[type="radio"]:checked ~ strong {
	font-weight: 700;
}

.ftl-radio-opt input[type="radio"]:checked + .ftl-radio-ic {
	width: 20px;
	height: 20px;
	border-color: #A31B14;
	border-width: 2px;
	background: transparent;
}

.ftl-radio-opt input[type="radio"]:checked + .ftl-radio-ic::after {
	content: '';
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #9A130A;
}

.ftl-radio-opt input[type="radio"]:not(:checked) + .ftl-radio-ic {
	border-color: #3F4144;
	background: transparent;
}

.ftl-radio-opt input[type="radio"]:not(:checked) + .ftl-radio-ic::after {
	display: none;
}

.ftl-radio-divider {
	display: inline-block;
	width: 2px;
	height: 32px;
	background: rgba(158, 158, 158, 0.2);
	border-radius: 1px;
	flex-shrink: 0;
	align-self: center;
	margin: 0 12px;
}

.ftlod-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ftlod-overlay.ftlod-overlay--show {
    display: block;
    opacity: 1;
}

.ftlod-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 480px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -40px 40px 80px -8px rgba(145, 158, 171, 0.24);
    display: flex;
    flex-direction: column;
    z-index: 1101;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Nunito', sans-serif;
}
.ftlod-drawer.ftlod-drawer--open {
    transform: translateX(0);
}
.ftlod-drawer *,
.ftlod-drawer *::before,
.ftlod-drawer *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.ftlod-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 64px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(158, 158, 158, 0.2);
    gap: 12px;
}
.ftlod-hdr__center {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.ftlod-hdr__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    color: #26282D;
    white-space: nowrap;
}
.ftlod-hdr__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    /*background: rgba(247, 144, 9, 0.16);*/
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    /*color: #B54708;*/
    white-space: nowrap;
    flex-shrink: 0;
}
.ftlod-hdr__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}
.ftlod-hdr__close:hover {
    background: rgba(63, 65, 68, 0.08);
}

.ftlod-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.ftlod-body::-webkit-scrollbar {
    width: 4px;
}
.ftlod-body::-webkit-scrollbar-thumb {
    background: rgba(158, 158, 158, 0.35);
    border-radius: 4px;
}

.ftlod-sec {
    border-bottom: 1px solid rgba(158, 158, 158, 0.2);
}
.ftlod-sec__hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    height: 52px;
    border-bottom: 1px solid rgba(158, 158, 158, 0.2);
    gap: 16px;
}
.ftlod-sec__ttl {
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    color: #9A130A;
}
.ftlod-sec__chev {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}
.ftlod-sec__chev:hover {
    background: rgba(158, 158, 158, 0.12);
}
.ftlod-sec__chev-ico {
    transition: transform 0.25s ease;
}
.ftlod-sec__body--collapsed {
    display: none;
}
.ftlod-sec__chev--rotated .ftlod-sec__chev-ico {
    transform: rotate(-90deg);
}

.ftlod-consignee {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
}
.ftlod-consignee__avatar {
    width: 40px;
    height: 40px;
    background: #DCE8FF;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #265BBE;
    flex-shrink: 0;
}

.ftlod-consignee__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.ftlod-consignee__top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ftlod-consignee__name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: #26282D;
}
.ftlod-consignee__phone {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #26282D;
}

.ftlod-consignee__date {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: #26282D;
    white-space: nowrap;
    flex-shrink: 0;
}

.ftlod-route__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    min-height: 64px;
    border-bottom: 1px solid rgba(158, 158, 158, 0.2);
}
.ftlod-route__row:last-child {
    border-bottom: none;
}
.ftlod-route__ico {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
}
.ftlod-route__txt {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ftlod-route__lbl {
    display: block;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: #5F6165;
}
.ftlod-route__val {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    color: #26282D;
}

.ftlod-shipreq__grid {
    display: flex;
}
.ftlod-shipreq__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
}
.ftlod-shipreq__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ftlod-shipreq__lbl {
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #5F6165;
}
.ftlod-shipreq__val {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    color: #26282D;
}

.ftlod-cargo__chips {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    flex-wrap: wrap;
}
.ftlod-cargo__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: #0D2B63;
}
.ftlod-cargo__chip--filled {
    background: rgba(38, 91, 190, 0.12);
}
.ftlod-cargo__chip--outline {
    background: rgba(38, 91, 190, 0.12);
}
.ftlod-cargo__tblwrap {
    overflow-x: auto;
}
.ftlod-cargo__tbl {
    width: 100%;
    border-collapse: collapse;
}
.ftlod-cargo__tbl thead tr {
    background: #F5F5F5;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.04);
}
.ftlod-cargo__th {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    color: #26282D;
    text-align: left;
    white-space: nowrap;
}
.ftlod-cargo__tbl tbody tr {
    background: #ffffff;
}
.ftlod-cargo__tbl tbody tr:not(:last-child) .ftlod-cargo__td {
    border-bottom: 0.5px solid rgba(158, 158, 158, 0.2);
}
.ftlod-cargo__td {
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #26282D;
    height: 60px;
}

.ftlod-ftr {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 16px;
    height: 64px;
    flex-shrink: 0;
    border-top: 1px solid rgba(158, 158, 158, 0.2);
    gap: 12px;
}

/* Sidebar Action Buttons Styles */

/* Accept Quote Button (default dark slate) */
#ftlodActionBar #ftlodAcceptBtn {
    background: #26282D;
    color: #ffffff;
    border: 1px solid #26282D;
    box-shadow: none;
}
#ftlodActionBar #ftlodAcceptBtn:hover {
    background: #3F4144;
    border-color: #3F4144;
}
#ftlodActionBar #ftlodAcceptBtn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); /* Make checkmark white */
}

/* Reject Quote Button (outlined grey) */
#ftlodActionBar #ftlodRejectBtn {
    background: #ffffff;
    color: #344054;
    border: 1px solid #D0D5DD;
    box-shadow: none;
}
#ftlodActionBar #ftlodRejectBtn:hover {
    background: #F9FAFB;
    color: #1D2939;
    border-color: #C6C5D0;
}
#ftlodActionBar #ftlodRejectBtn img {
    width: 20px;
    height: 20px;
}

/* Cancel Order & Delete Order Buttons (outlined red) */
#ftlodActionBar #ftlodCancelBtn,
#ftlodActionBar #ftlodDeleteBtn {
    background: #ffffff;
    color: #F04438;
    border: 1px solid #FDA29B;
    box-shadow: none;
}
#ftlodActionBar #ftlodCancelBtn:hover,
#ftlodActionBar #ftlodDeleteBtn:hover {
    background: #FEF3F2;
    border-color: #F89687;
    color: #B42318;
}
#ftlodActionBar #ftlodCancelBtn img,
#ftlodActionBar #ftlodDeleteBtn img {
    width: 20px;
    height: 20px;
}

.delete_cstmr_modal {
    z-index: 1200 !important;
}

.ftlod-ftr__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    min-width: 64px;
    height: 40px;
    background: #26282D;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    cursor: pointer;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
    transition: background 0.2s;
}
.ftlod-ftr__btn:hover {
    background: #3F4144;
}
.ftlod-ftr__btn:active {
    background: #1a1c1f;
}
.dtable-dropmenu li:last-child a.add-quote-action {
    color: inherit !important;
}

.ftlod-hdr__badge.quote-requested {
    color: #B54708;
    background: rgba(247, 144, 9, 0.16);
}

.ftlod-hdr__badge.quoted {
    background: #265BBE1F;
    color: #265BBE;
}

.ftlod-hdr__badge.accepted {
    background: #E0F2FE;
    color: #0B4A6F;
}

.ftlod-hdr__badge.scheduled {
    background: #F4F3FF;
    color: #5925DC;
}

.ftlod-hdr__badge.delivered {
    background: #28A7451F;
    color: #2B6834;
}

.ftlod-hdr__badge.in-transit {
    color: #B54708;
    background: rgba(247, 144, 9, 0.16);
}

.ftlod-hdr__badge.cancelled {
    background: #F044381F;
    color: #B42318;
}

.ftl-status-modal-open {
    overflow: hidden;
}

.ftl-status-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
}

.ftl-status-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 30, 30, 0.72);
}

.ftl-status-modal__dialog {
    position: absolute;
    top: 44px;
    left: 50%;
    transform: translateX(-50%);
    width: min(400px, calc(100vw - 32px));
    background: var(--white);
    border-radius: 12px;
    box-shadow: -40px 40px 80px -8px rgba(0, 0, 0, 0.24);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ftl-status-modal__dialog--schedule {
    width: min(400px, calc(100vw - 32px));
    min-height: 230px;
}

.ftl-status-modal__dialog--compact {
    width: min(423px, calc(100vw - 32px));
    min-height: 110px;
    padding: 12px 16px;
    gap: 16px;
}

.ftl-status-modal__dialog--wide {
    width: min(638px, calc(100vw - 32px));
    min-height: 110px;
    padding: 12px 16px;
    gap: 16px;
}

.ftl-status-modal__header {
    align-items: flex-start;
    gap: 12px;
}

.ftl-status-modal__icon {
    width: 40px;
    min-width: 40px;
    margin-bottom: 24px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: var(--greyLightest);
    border-radius: 8px;
}

.ftl-status-modal__text-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.ftl-status-modal__title {
    margin: 0;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    color: var(--txtPrimary);
}

.ftl-status-modal__description {
    margin: 0;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    color: var(--txtSecondary);
}

.ftl-status-modal__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ftl-status-modal__field {
    position: relative;
    width: 100%;
}

.ftl-status-modal__input {
    width: 100%;
    height: 44px;
    border: 1px solid var(--borderColor);
    border-radius: 8px;
    padding: 14px 44px 10px 14px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    color: var(--txtPrimary);
    background: var(--white);
}

.ftl-status-modal__input:focus {
    border-color: var(--txtPrimary);
}

.ftl-status-modal__label {
    position: absolute;
    top: -8px;
    left: 12px;
    padding: 0 2px;
    background: var(--white);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: var(--txtSecondary);
}

.ftl-status-modal__calendar-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ftl-status-modal__actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.ftl-status-modal__btn {
    min-width: 96px;
    height: 40px;
    border-radius: 8px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    border: none;
}

.ftl-status-modal__btn--ghost {
    background: transparent;
    color: var(--txtPrimary);
    box-shadow: none;
}

.ftl-status-modal__btn--primary {
    background: var(--txtPrimary);
    color: var(--white);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
}

.theme-datatable table#ftlOrderTable > thead > tr > th > .search-wrapper input{ border: none; border-bottom: 1px solid var(--borderColor); background: none; font-size: 12px; font-weight: 500; color: var(--txtGrey); border-radius: 0; margin-top:9px; width: 100%; color: var(--txtPrimary);}
.theme-datatable table#ftlOrderTable > thead > tr > th > .search-wrapper input::placeholder{ color: var(--txtGrey); opacity: 1;}
.theme-datatable table#ftlOrderTable > thead > tr > th > select{ padding-right: 28px;}
.theme-datatable table#ftlOrderTable > thead > tr > th .priority-selectpckr > .btn{ padding-right: 30px;}
.theme-datatable table#ftlOrderTable > thead > tr > th .clear-btn{ position: absolute; bottom: 2px; right: 0; border: none; background: none;}
.theme-datatable table#ftlOrderTable > thead > tr > th .clear-select-btn{ position: absolute; bottom: 2px; right: 17px; border: none; background: none;}
.theme-datatable table#ftlOrderTable > thead > tr > th > select ~ .clear-btn{ right: 37px;}
.theme-datatable table#ftlOrderTable > thead > tr > th > .priority-select ~ .clear-btn{ right: 37px;}

.sidebar-menu > li > .submenu-trigger-btn img {
  filter: brightness(0) saturate(100%) invert(12%) sepia(8%) saturate(886%) hue-rotate(185deg) brightness(96%) contrast(89%);
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  -ms-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

div.bs-container.form-select,
div.bs-container.form-control {
  background: none !important;
  border: none !important;
  height: auto !important;
  min-height: auto !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.finance-account-truncate {
  max-width: 180px;
}

.address-truncate {
  max-width: 300px;
}

.finance-summary-truncate {
  max-width: 300px;
}

.finance-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.ftl-dashed-divider {
    box-sizing: border-box;
    width: 100%;
    height: 1px;
    border: none;
    margin: 32px 0 24px 0;
    background-image: repeating-linear-gradient(
            to right,
            rgba(158, 158, 158, 0.2) 0,
            rgba(158, 158, 158, 0.2) 9px,
            transparent 2px,
            transparent 12px
    );
    flex: none;
    align-self: stretch;
    flex-grow: 0;
    opacity: 1;
}

.ftl-vehicle-details-title {
    font-weight: 700;
    color: #26282D;
}

.ftlod-order-header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.ftlod-order-header-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ftlod-order-header-updated-row {
    display: flex;
    align-items: center;
}

.ftlod-order-header-updated-text {
    font-size: 11px;
    color: #5F6165;
    text-transform: uppercase;
    font-weight: 600;
}



.range-filter-dropdown {
    overflow-x: hidden;
}

.range-error-msg {
    display: none;
    align-items: flex-start;
    gap: 8px;
    padding: 0 8px 12px 8px;
    box-sizing: border-box;
    width: 100%;
}

.range-error-msg.show {
    display: flex;
}

.range-error-msg span {
    font-size: 13px;
    font-weight: 500;
    color: var(--error);
    line-height: 18px;
    word-break: break-word;
}

input[type="number"].range-input-field::-webkit-outer-spin-button,
input[type="number"].range-input-field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"].range-input-field {
    -moz-appearance: textfield;
}

nput[type="number"].range-input-field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"].range-input-field {
    -moz-appearance: textfield;
}

.range-filter-wrapper{ position: relative; width: 100%; margin-top: 9px;}
.range-filter-trigger{ display: flex; align-items: center; justify-content: space-between; cursor: pointer; border-bottom: 1px solid var(--borderColor) !important; font-size: 12px; color: var(--txtGrey); font-weight: 500; background: transparent; user-select: none; transition: border-color 0.2s; text-transform: none !important;}
.range-trigger-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 24px; }
.range-filter-trigger .dropdown-icon{ width: 8px; height: 8px; transition: transform 0.2s;}
.range-filter-wrapper.active .range-filter-trigger .dropdown-icon{ transform: rotate(180deg);}
.range-filter-wrapper .clear-select-btn{ position: absolute; right: 20px; top: 50%; transform: translateY(-50%); background: none; border: none; padding: 0; display: none; align-items: center; cursor: pointer; z-index: 5;}
.range-filter-dropdown{ display: flex; flex-direction: column; align-items: center; padding: 16px 8px 8px 8px; gap: 12px; position: absolute; width: 256px; max-height: 392px; overflow-y: auto; right: 0; top: calc(100% + 4px); background: #FFFFFF; box-shadow: -40px 40px 80px -8px rgba(0, 0, 0, 0.24); border-radius: 8px; z-index: 1050; border: 1px solid var(--borderColor);}
.range-inputs-row{ display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 8px; padding: 0 8px;}
.range-input-field{ width: 96px; height: 36px; border: 1px solid var(--borderColor); border-radius: 8px; outline: none; padding: 0 8px; font-size: 13px; color: var(--txtPrimary); text-align: center; transition: border-color 0.2s;}
.range-input-field:focus{ border-color: var(--brand);}
.range-input-field::placeholder{ color: var(--txtGrey); font-size: 11px;}
.range-sep{ font-size: 14px; color: var(--txtGrey); font-weight: 500;}
.range-or-divider{ display: flex; align-items: center; width: 100%; padding: 0 8px;}
.range-or-divider .line{ flex: 1; height: 1px; background-color: var(--borderColor);}
.range-or-divider .text{ padding: 0 8px; font-size: 11px; font-weight: 600; color: var(--txtGrey); text-transform: uppercase;}
.predefined-ranges-list{ width: 100%; display: flex; flex-direction: column; gap: 4px;}
.predefined-range-item{ display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; border-radius: 6px; cursor: pointer; transition: background-color 0.2s; user-select: none; text-transform: none !important;}
.predefined-range-item:hover{ background-color: #f5f5f5;}
.predefined-range-left{ display: flex; align-items: center; gap: 10px;}
.range-custom-radio{ width: 20px; height: 20px; min-width: 20px; border: 2px solid #919EAB; border-radius: 50%; display: inline-block; position: relative; transition: border-color 0.2s;}
.predefined-range-item.active .range-custom-radio{ border-color: #8C1D18;}
.predefined-range-item.active .range-custom-radio::after{ content: ""; width: 10px; height: 10px; background-color: #8C1D18; border-radius: 50%; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);}
.predefined-range-label-text{ font-size: 13px; font-weight: 500; color: var(--txtPrimary); white-space: nowrap;}
.predefined-range-count{ font-size: 12px; font-weight: 500; color: var(--txtGrey);}