/* 
 * Package Tracker - Main Stylesheet
 * Imports all module stylesheets
 */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
} /* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
  font-family: "DM Sans", sans-serif;
}

main {
  min-height: 100%;
  position: relative;
}

header {
  padding: 7.5px 24px;
  border-bottom: 1px solid #E9E9E9;
  background: #FEFEFE;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 999; /* Increased z-index to be higher than any other element */
}
@media screen and (max-height: 769px) {
  header {
    z-index: 9999; /* Consistent z-index for all screen heights */
  }
}
header .wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
header .wrapper .logo-light {
  display: flex;
  height: 40px;
}
header .wrapper .logo-light img {
  width: 179px;
  height: 40px;
}
header .wrapper .logo-light,
header .wrapper .logo-dark {
  margin-right: 32px;
}
header .wrapper .search-bar {
  width: 100%;
  margin-right: 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
header .wrapper .search-bar .search-container {
  padding: 0 16px;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  border-radius: 68px;
  border: 1px solid #E9E9E9;
  background: #FFF;
}
header .wrapper .search-bar .search-container .search-icon {
  width: 16px;
  height: 16px;
  pointer-events: none;
  cursor: default;
}
header .wrapper .search-bar input {
  width: 100%;
  height: 38px;
  color: #0C0F16;
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 125% */
  border: 0;
  outline: none;
}
header .wrapper .search-bar input::-moz-placeholder {
  color: #B5B5B5;
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: light;
  line-height: 20px; /* 125% */
}
header .wrapper .search-bar input::placeholder {
  color: #B5B5B5;
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: light;
  line-height: 20px; /* 125% */
}
header .wrapper nav ul {
  display: flex;
  gap: 24px;
  align-items: center;
}
header .wrapper nav ul li a {
  color: #0C0F16;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  letter-spacing: 0;
  text-decoration: none;
}
header .wrapper nav ul li a:hover {
  color: #D38A52;
}
header .wrapper nav ul li.save-shipments {
  padding: 4px;
}
header .wrapper nav ul li.save-shipments a {
  display: flex;
  gap: 8px;
  align-items: center;
}
header .wrapper nav ul li.save-shipments span {
  white-space: nowrap;
}
header .wrapper nav ul li.save-shipments.active, header .wrapper nav ul li.save-shipments:hover {
  position: relative;
  border-radius: 4px;
  background: #FFF9F5;
}
header .wrapper nav ul li.save-shipments.active a, header .wrapper nav ul li.save-shipments:hover a {
  color: var(--Dark-500, #0C0F16);
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
}
header .wrapper nav ul li.save-shipments.active a img, header .wrapper nav ul li.save-shipments:hover a img {
  filter: brightness(0);
}
header .wrapper nav ul li.save-shipments.disabled a {
  cursor: not-allowed;
}
header .wrapper nav ul li.save-shipments.disabled:hover {
  background: transparent;
}
header .wrapper nav ul li.save-shipments.disabled:hover img {
  filter: brightness(1);
}
header .wrapper nav ul li.language-selector {
  display: none;
}
header .wrapper nav ul li.language-selector a {
  display: flex;
  gap: 24px;
}
header .wrapper nav ul li.language-selector a div {
  display: flex;
  gap: 8px;
  align-items: center;
}
header .wrapper nav ul li.theme-selector {
  display: flex;
  border-radius: 8px;
}
header .wrapper nav ul li.theme-selector a {
  display: flex;
  gap: 4px;
  align-items: center;
  background-color: #F0E4DA;
  padding: 2px;
  border-radius: 8px;
  color: #D38A52;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  text-decoration: none;
  transition: background 0.3s;
}
header .wrapper nav ul li.theme-selector a span {
  display: block;
  padding-right: 6px;
  padding-top: 2px;
  padding-bottom: 2px;
}
header .wrapper nav ul li.theme-selector a img {
  padding: 4px;
  background-color: #fff;
  border-radius: 8px;
}
header .wrapper nav ul li.theme-selector a.dark-theme {
  flex-direction: row-reverse;
  border-radius: 8px;
  background: #0C0F16;
  color: #fff;
  display: none;
}
header .wrapper nav ul li.theme-selector a.dark-theme img {
  background-color: #fff;
}
header .wrapper nav ul li.theme-selector a.dark-theme span {
  padding-left: 6px;
  padding-right: 0;
}

.optin-active .save-shipments a {
  cursor: not-allowed;
}
.optin-active header .wrapper nav ul li.save-shipments:hover {
  background: transparent;
}
.optin-active header .wrapper nav ul li.save-shipments:hover a {
  cursor: not-allowed;
  color: #0C0F16;
}
.optin-active header .wrapper nav ul li.save-shipments:hover a img {
  filter: brightness(1);
}
.optin-active header .wrapper nav ul li.save-shipments a {
  cursor: not-allowed;
}

.theme-toggle-switch {
  width: 69px;
  height: 28px;
  background: #F0E4DA;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-family: sans-serif;
  font-size: 14px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  padding: 0 10px;
  transition: background 0.3s;
}

/* Hide both labels by default */
.label {
  position: absolute;
  color: #333;
  transition: opacity 0.3s ease;
  opacity: 0;
  z-index: 1;
}

.light-label {
  top: 7px;
  left: 32px;
  color: #D38A52;
}

.dark-label {
  left: 8px;
  color: #fff;
  top: 7px;
}

/* Show only the current theme's label */
body.light .light-label {
  opacity: 1;
}

body.dark .dark-label {
  opacity: 1;
}

.toggle-knob {
  background: #fff;
  border-radius: 8px;
  position: absolute;
  top: 2px;
  left: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 0.3s ease;
  z-index: 2;
}

.toggle-knob img {
  pointer-events: none;
  padding: 4px;
  border-radius: 8px;
}

/* Dark theme styles */
body.dark .theme-toggle-switch {
  background: #0C0F16;
}

body.dark .toggle-knob {
  left: calc(100% - 26px); /* slide right */
}

.track-now {
  padding: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(../../assets/images/bg-tracknow.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1200px auto;
  background-position: top 100px center;
  height: calc(100vh - 97px);
  overflow: hidden;
  min-height: 500px;
  overflow-y: auto;
}
.track-now .wrapper {
  width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.track-now .input-section {
  width: 600px;
  max-width: 100%;
  height: auto;
}
.track-now .input-section .title h1, .track-now .input-section .title p {
  opacity: 0;
  transform: translateY(-50px);
  animation: slideDown 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.track-now .input-section .tracking-container {
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.track-now figure {
  width: 100px;
  height: 100px;
  opacity: 0;
  transform: translateY(-50px);
  animation: slideDown 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.track-now figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.track-now figure img.light-img {
  display: block;
}
.track-now figure img.dark-img {
  display: none;
}
.track-now h1 {
  margin-bottom: 8px;
  color: #0C0F16;
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 36px; /* 128.571% */
  cursor: default;
}
.track-now p {
  color: #0C0F16;
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 14px;
  margin-bottom: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 137.5% */
  cursor: default;
}

.tracking-container {
  max-width: 600px;
  width: 100%;
  margin: auto;
  color: #fff;
  font-family: sans-serif;
  border-radius: 10px;
}

.tracking-header {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  color: #797B82;
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
}
.tracking-header span:nth-child(1) {
  cursor: default;
}

.upload-csv {
  display: flex;
  align-items: center;
  color: #d5894e;
  cursor: pointer;
  font-weight: bold;
}
.upload-csv .upload-wrap {
  display: flex;
  justify-content: center;
}
.upload-csv .upload-wrap[data-tooltip] {
  position: relative;
}
.upload-csv .upload-wrap[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}
@media screen and (max-height: 769px) {
  .upload-csv .upload-wrap[data-tooltip]::after {
    z-index: 10002;
    top: -30px;
  }
}
.upload-csv .upload-wrap[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}
.upload-csv .upload-wrap span {
  color: #D38A52;
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}
.upload-csv .upload-wrap.disabled {
  cursor: not-allowed;
}
.upload-csv .upload-wrap.disabled span {
  color: #E6C4AA;
}
.upload-csv .upload-wrap.disabled svg path {
  fill: #E6C4AA;
}
.upload-csv .separator {
  margin: 0 10px;
}
.upload-csv .separator svg[data-tooltip] {
  position: relative;
  cursor: pointer;
}
.upload-csv .separator svg[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}
@media screen and (max-height: 769px) {
  .upload-csv .separator svg[data-tooltip]::after {
    z-index: 10002;
    top: -30px;
  }
}
.upload-csv .separator svg[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}
.upload-csv .download-sample-template[data-tooltip] {
  position: relative;
  cursor: pointer;
}
.upload-csv .download-sample-template[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}
@media screen and (max-height: 769px) {
  .upload-csv .download-sample-template[data-tooltip]::after {
    z-index: 10002;
    top: -30px;
  }
}
.upload-csv .download-sample-template[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}

.tracking-input {
  min-height: 32px;
  height: 128px;
  background: #fff;
  border-radius: 8px 8px 0 0;
  outline: none;
  margin: 0;
  overflow-y: auto;
  border: 1px solid #B5B5B5;
  border-bottom: 0;
  color: #0C0F16;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  counter-reset: my-counter;
}
.tracking-input li {
  padding: 10px 0;
  color: #0C0F16;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  padding-right: 16px;
  position: relative;
  counter-increment: my-counter;
}
.tracking-input li::before {
  content: counter(my-counter) ".";
  margin-left: 16px;
  position: absolute;
  left: 0;
  width: 12px;
  height: 12px;
  padding-right: 0;
  color: var(--Dark-400, #797B82);
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}
.tracking-input li .tracking-item {
  display: flex;
  justify-content: space-between;
  margin-left: 40px;
}
.tracking-input li .tracking-item span {
  width: 300px;
  outline: none;
}
.tracking-input li .tracking-item .delete-btn {
  display: none;
  cursor: pointer;
}
.tracking-input li .tracking-item .delete-btn:hover img {
  filter: invert(40%) sepia(54%) saturate(2160%) hue-rotate(328deg) brightness(93%) contrast(95%);
  /* Matches #D34F4F from tracking menu */
}
.tracking-input li:hover {
  background: #FFF9F5;
}
.tracking-input li:hover .delete-btn {
  display: block;
}

.tracking-input:empty::before {
  content: attr(data-placeholder);
  color: #B5B5B5;
  padding: 16px 16px;
  position: absolute;
}

.courier-bar {
  padding: 7px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0 0 8px 8px;
  border-top: 1px solid #E9E9E9;
  border-bottom: 1px solid #B5B5B5;
  border-left: 1px solid #B5B5B5;
  border-right: 1px solid #B5B5B5;
  background: var(--Brand-light, #FFF9F5);
}
.courier-bar .courier-placeholder {
  color: var(--Dark-400, #797B82);
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 20px;
  letter-spacing: 0;
  display: flex;
  cursor: default;
}
.courier-bar .courier-placeholder img {
  margin-right: 8px;
}

#removeAll {
  background: none;
  border: 0;
  outline: none;
  color: #D34F4F;
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 20px; /* 142.857% */
  cursor: pointer;
  display: none;
}
#removeAll:hover {
  color: #BE3030;
}

.traking-input-error {
  display: none;
  position: relative;
}
.traking-input-error p {
  margin-bottom: 0;
  position: absolute;
  top: 2px;
  text-align: left;
  color: #D34F4F;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

#trackBtn {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background-color: #d5894e;
  border: none;
  width: 100%;
  padding: 9px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin-top: 24px;
  margin-bottom: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
#trackBtn:hover {
  background-color: #B26C38;
}
#trackBtn.disabled {
  background: #E6C4AA;
  cursor: not-allowed;
}
#trackBtn.disabled:hover {
  background-color: #E6C4AA;
}

.recent-shipments {
  text-align: center;
}

.recent-shipments a {
  margin-bottom: 4px;
  color: #D38A52;
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; /* 137.5% */
  letter-spacing: 0;
  text-decoration: none;
}

.recent-shipments p {
  color: #B5B5B5;
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
  margin: 0;
}

/* Animation Keyframes */
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@media only screen and (max-width: 1265px) {
  .track-now {
    padding: 15px 20px;
  }
  .track-now p {
    margin-bottom: 15px;
  }
}
body {
  overflow: auto; /* or scroll */
}

/* Chrome, Edge, Safari */
body::-webkit-scrollbar {
  display: none;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF9F8;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  display: none;
}

.center-popup {
  width: 100%;
  position: fixed;
  top: 56px;
  bottom: 40px;
  background: rgba(74, 50, 27, 0.4);
  display: none;
  z-index: 9999;
}
.center-popup .icon img {
  margin-top: 2px;
}
.center-popup .center-popup-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  width: 400px;
  padding: 24px;
  border-radius: 8px;
  background: #FFF;
  box-shadow: 0px 8px 24px 0px rgba(149, 157, 165, 0.2);
  gap: 8px;
}
.center-popup .content {
  color: #0C0F16;
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; /* 137.5% */
  letter-spacing: 0;
  display: flex;
  flex-direction: column;
}
.center-popup .content p {
  margin-bottom: 16px;
}
.center-popup .content .center-popup-actions {
  align-self: flex-end;
}
.center-popup .content .center-popup-actions button {
  background-color: transparent;
  border: 0;
  color: #797B82;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  transition: color 0.3s ease;
}
.center-popup .content .center-popup-actions button.cancel-button:hover {
  color: #0C0F16;
}
.center-popup .content .center-popup-actions button.delete-button, .center-popup .content .center-popup-actions button.continue-button {
  color: #D34F4F;
  margin-left: 16px;
}
.center-popup .content .center-popup-actions button.delete-button:hover, .center-popup .content .center-popup-actions button.continue-button:hover {
  color: #B26C38;
}

footer {
  width: 100%;
  border-top: 1px solid #E9E9E9;
  background: #FFF;
  padding: 10.5px 0;
  position: sticky;
  bottom: 0;
  z-index: 9999;
}
@media screen and (max-width: 1366px) and (max-height: 635px) {
  footer {
    padding: 10.5px 0;
  }
}
footer .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 16px;
  gap: 10px;
}
@media screen and (max-width: 1024px) {
  footer .wrapper {
    flex-direction: column;
    gap: 10px;
  }
}
footer .footer-desc {
  color: #797B82;
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
  margin: 0;
  max-width: 60%;
}
@media screen and (max-width: 1024px) {
  footer .footer-desc {
    max-width: 100%;
    text-align: center;
    margin-bottom: 8px;
  }
}
footer .footer-links {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  list-style: none;
}
@media screen and (max-width: 1024px) {
  footer .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
}
footer .footer-links li a {
  color: #797B82;
  text-align: center;
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px; /* 150% */
  text-decoration: none;
  white-space: nowrap;
}
footer .footer-links li a:hover {
  text-decoration: underline;
}

.csv-popup {
  border-radius: 8px;
  background: var(--White, #FFF);
  box-shadow: 0px 8px 24px 0px rgba(149, 157, 165, 0.2);
  background: #fff;
  z-index: 9999;
}
.csv-popup .notification {
  width: 400px;
  padding: 24px;
  position: absolute;
  right: 16px;
  top: 88px;
  border-radius: 8px;
  background: var(--White, #FFF);
  box-shadow: 0px 8px 24px 0px rgba(149, 157, 165, 0.2);
  background: #fff;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-radius: 8px;
  z-index: 1000;
}
.csv-popup .notification .notification-inner {
  display: flex;
  gap: 8px;
  color: var(--Dark-500, #0C0F16);
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
}
.csv-popup .notification .notification-inner .icon {
  margin-right: 8px;
  flex-shrink: 0;
  transform: translateY(-2px);
}
.csv-popup .notification .notification-inner .content {
  display: flex;
  flex-direction: column;
}
.csv-popup .notification .notification-inner .content p {
  padding-bottom: 16px;
}
.csv-popup .notification .notification-inner .content .close-popup {
  align-self: flex-end;
  background: none;
  outline: none;
  border: none;
  color: #D38A52;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
}
.csv-popup .notification .notification-inner .content .close-popup:hover {
  color: #B26C38;
}
.csv-popup .notification .notification-inner .content .error-actions {
  display: flex;
  justify-content: right;
  gap: 16px;
}
.csv-popup .notification .notification-inner .content .error-actions button {
  background: transparent;
  border: none;
  padding: 0;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  letter-spacing: 0;
}
.csv-popup .notification .notification-inner .content .error-actions button.cancel-button {
  color: #797B82;
}
.csv-popup .notification .notification-inner .content .error-actions button.cancel-button:hover {
  color: #0C0F16;
}
.csv-popup .notification .notification-inner .content .error-actions button.retry-button {
  color: #D38A52;
}
.csv-popup .notification .notification-inner .content .error-actions button.retry-button:hover {
  color: #B26C38;
}
.csv-popup .notification.csv-error-popup {
  display: none;
}
.csv-popup .notification.csv-success-popup {
  display: none;
  opacity: 0;
  transform: translateX(80px);
  animation: slideInFromRight 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.csv-popup .notification.csv-success-popup.closing {
  animation: slideOutToRight 0.5s ease-out forwards;
}

/* Animation for notification popup sliding in from right */
@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Animation for notification popup sliding out to right */
@keyframes slideOutToRight {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(80px);
  }
}
.loading-shipments-overlay {
  width: 100%;
  position: fixed;
  top: 56px;
  bottom: 40px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(17px);
          backdrop-filter: blur(17px);
  display: none;
}
.loading-shipments-overlay .loading-shipments-inner .loading-shipments-icon {
  text-align: center;
}
.loading-shipments-overlay .loading-shipments-inner .loading-title {
  text-align: center;
}
.loading-shipments-overlay .loading-shipments-inner .loading-title h2 {
  margin-bottom: 24px;
  color: #D38A52;
  font-family: "DM Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
}
.loading-shipments-overlay .loading-shipments-inner .loading-title .loading-text {
  text-align: center;
}
.loading-shipments-overlay .loading-shipments-inner .loading-title .loading-text p {
  margin-bottom: 16px;
  color: #797B82;
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; /* 137.5% */
}
.loading-shipments-overlay .loading-shipments-inner .loading-title .loading-text .progress-bar {
  width: 234px;
  height: 8px;
  background-color: #F0F0F0;
  border-radius: 4px;
  margin: 16px auto 0;
  overflow: hidden;
  position: relative;
  margin-bottom: 32px;
}
.loading-shipments-overlay .loading-shipments-inner .loading-title .loading-text .progress-bar .progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #D38A52 0%, #E8A871 100%);
  width: 0%;
  transition: width 0.5s ease-in-out;
  position: relative;
}
.loading-shipments-overlay .loading-shipments-inner .loading-title .loading-text .progress-bar .progress-bar-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.loading-shipments-overlay .loading-shipments-inner .loading-title .cancel-button {
  text-align: center;
}
.loading-shipments-overlay .loading-shipments-inner .loading-title .cancel-button button {
  width: 122px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid #E9E9E9;
  background: #FFF;
  color: #797B82;
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; /* 137.5% */
  cursor: pointer;
}

.review-untrack-overlay {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(74, 50, 27, 0.4);
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.review-untrack-overlay.active {
  opacity: 1;
}
@media only screen and (max-height: 635px) {
  .review-untrack-overlay {
    overflow-y: auto;
  }
}
.review-untrack-overlay .review-untrack-inner {
  width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-height: 635px) {
  .review-untrack-overlay .review-untrack-inner {
    margin-top: auto;
    margin-bottom: auto;
  }
}
.review-untrack-overlay .review-untrack-inner .review-untrack-header {
  width: 100%;
  border-bottom: 1px solid #E9E9E9;
  background: #FFF9F5;
  padding: 12px 16px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.review-untrack-overlay .review-untrack-inner .review-untrack-header h2 {
  color: #0C0F16;
  font-family: "DM Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
}
.review-untrack-overlay .review-untrack-inner .review-untrack-body {
  width: 100%;
  background: #FFF;
}
@media screen and (max-height: 764px) {
  .review-untrack-overlay .review-untrack-inner .review-untrack-body {
    height: 500px;
    overflow-y: auto;
  }
}
@media screen and (max-height: 764px) {
  .review-untrack-overlay .review-untrack-inner .review-untrack-body {
    height: 455px;
    overflow-y: auto;
  }
}
@media screen and (max-height: 635px) {
  .review-untrack-overlay .review-untrack-inner .review-untrack-body {
    height: 339px;
    overflow-y: auto;
  }
}
.review-untrack-overlay .review-untrack-inner .review-untrack-body p {
  padding: 16px 24px;
  color: #797B82;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}
.review-untrack-overlay .review-untrack-inner .review-untrack-body .review-untrack-body-header {
  display: flex;
  align-items: center;
}
.review-untrack-overlay .review-untrack-inner .search {
  width: 100%;
  padding-bottom: 12px;
}
.review-untrack-overlay .review-untrack-inner .search .search-wrap {
  padding: 0 16px;
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid #E9E9E9;
  margin: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.review-untrack-overlay .review-untrack-inner .search #search-shipments {
  width: 100%;
  height: 50px;
  border: 0;
  outline: none;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}
.review-untrack-overlay .review-untrack-inner .multi-shipment-selector {
  width: auto;
  margin: 0 24px;
  margin-bottom: 12px;
  background: #FFF5DC;
  display: flex;
  justify-content: space-between;
}
.review-untrack-overlay .review-untrack-inner .multi-shipment-selector .total-selected-shipments {
  padding: 12px 16px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review-untrack-overlay .review-untrack-inner .multi-shipment-selector .total-selected-shipments p {
  color: #D8A013;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}
.review-untrack-overlay .review-untrack-inner .multi-shipment-selector .total-selected-shipments .select-carrier {
  display: flex;
  gap: 17px;
  align-items: center;
}
.review-untrack-overlay .review-untrack-inner .multi-shipment-selector .total-selected-shipments .select-carrier select {
  width: 170px;
  outline: none;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #E9E9E9;
  background: #FFF;
  color: #0C0F16; /* Changed from #797B82 to make selected value more visible */
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  /* Style for the placeholder option */
}
.review-untrack-overlay .review-untrack-inner .multi-shipment-selector .total-selected-shipments .select-carrier select:focus {
  border-color: #D38A52;
}
.review-untrack-overlay .review-untrack-inner .multi-shipment-selector .total-selected-shipments .select-carrier select option[value=""] {
  color: #797B82;
}
.review-untrack-overlay .review-untrack-inner .multi-shipment-selector .total-selected-shipments .delete-btn {
  cursor: pointer;
}
.review-untrack-overlay .review-untrack-inner .multi-shipment-selector .total-selected-shipments .delete-btn img {
  transition: all 0.3s ease;
}
.review-untrack-overlay .review-untrack-inner .multi-shipment-selector .total-selected-shipments .delete-btn img:hover {
  content: url(../assets/icons/delete-hover.svg);
}
.review-untrack-overlay .review-untrack-inner .multi-shipment-selector p {
  padding: 0;
}
.review-untrack-overlay .review-untrack-inner .delete-multi {
  margin: 0 24px;
  margin-bottom: 12px;
  background: #FFE8E8;
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
}
.review-untrack-overlay .review-untrack-inner .delete-multi p {
  padding: 0;
  color: #D34F4F;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}
.review-untrack-overlay .review-untrack-inner .delete-multi .action-controls {
  display: flex;
}
.review-untrack-overlay .review-untrack-inner .delete-multi .action-controls button {
  padding: 0;
  background-color: transparent;
  border: 0;
  color: #797B82;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  cursor: pointer;
}
.review-untrack-overlay .review-untrack-inner .delete-multi .action-controls button.cancel-button {
  margin-right: 16px;
  color: #797B82;
}
.review-untrack-overlay .review-untrack-inner .delete-multi .action-controls button.cancel-button:hover {
  color: #0C0F16;
}
.review-untrack-overlay .review-untrack-inner .delete-multi .action-controls button.delete-button {
  color: #D34F4F;
}
.review-untrack-overlay .review-untrack-inner ul {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  margin-bottom: 8px;
}
.review-untrack-overlay .review-untrack-inner ul .select-checkbox,
.review-untrack-overlay .review-untrack-inner ul .select-all-checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
}
.review-untrack-overlay .review-untrack-inner ul .select-checkbox .custom-checkbox,
.review-untrack-overlay .review-untrack-inner ul .select-all-checkbox .custom-checkbox {
  display: inline-block;
  position: relative;
  cursor: pointer;
  width: 16px;
  height: 16px;
}
.review-untrack-overlay .review-untrack-inner ul .select-checkbox .custom-checkbox input,
.review-untrack-overlay .review-untrack-inner ul .select-all-checkbox .custom-checkbox input {
  opacity: 0;
  width: 0;
  height: 0;
}
.review-untrack-overlay .review-untrack-inner ul .select-checkbox .checkmark,
.review-untrack-overlay .review-untrack-inner ul .select-all-checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #fff;
  border: 1px solid #B5B5B5;
  border-radius: 4px;
  box-sizing: border-box;
}
.review-untrack-overlay .review-untrack-inner ul .select-checkbox .custom-checkbox input:checked + .checkmark::after,
.review-untrack-overlay .review-untrack-inner ul .select-all-checkbox .custom-checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 3.5px;
  height: 7px;
  border: solid #d98650;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  border-radius: 2px 2px 2px 2px;
}
.review-untrack-overlay .review-untrack-inner ul .header-row {
  display: flex;
  background: #F9F9F9;
}
.review-untrack-overlay .review-untrack-inner ul .header-row .select-all-checkbox {
  width: 44px;
  height: 48px;
}
.review-untrack-overlay .review-untrack-inner ul .header-row .tracking-id {
  width: 239px;
  padding-left: 16px;
  display: flex;
  align-items: center;
}
.review-untrack-overlay .review-untrack-inner ul .header-row .tracking-id span {
  color: #797B82;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}
.review-untrack-overlay .review-untrack-inner ul .header-row .courier {
  width: 239px;
  padding-left: 16px;
  display: flex;
  align-items: center;
}
.review-untrack-overlay .review-untrack-inner ul .header-row .courier span {
  color: #797B82;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row {
  display: flex;
  flex-direction: column;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row:hover {
  background: #FFF9F5;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .list-control {
  display: flex;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .select-checkbox {
  width: 44px;
  height: 38px;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .tracking-id {
  width: 239.5px;
  display: flex;
  align-items: center;
  padding-left: 16px;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .tracking-id span {
  color: #0C0F16;
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; /* 137.5% */
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .courier {
  width: 239.5px;
  display: flex;
  align-items: center;
  padding-left: 16px;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .courier select {
  width: 207px;
  border-radius: 4px;
  color: #797B82;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  padding: 4px 8px;
  outline: none;
  border-radius: 4px;
  border: 1px solid #E9E9E9;
  background: transparent;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .courier select option {
  background: #fff;
  color: #0C0F16;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .courier select option:checked {
  color: #0C0F16;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .action {
  width: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19.5px;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .action .error-wrap {
  opacity: 0;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .action .error-wrap .error-icon {
  cursor: pointer;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .action .error-wrap .error-msg {
  display: none;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .action .delete-btn {
  cursor: pointer;
  opacity: 0;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .action .delete-btn:hover {
  opacity: 1;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .action .delete-btn:hover img {
  transition: all 0.3s ease;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .action .delete-btn:hover img:hover {
  content: url(../assets/icons/delete-hover.svg);
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row.active {
  background: #FFF9F5;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row.error-shipment .error-wrap {
  display: block;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row.shipment-error .tracking-id span {
  color: #D34F4F;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row.shipment-error .courier-selected {
  color: #D34F4F;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .shipment-error-msg {
  display: flex;
  justify-content: space-between;
  background: #FFE8E8;
  padding-left: 16px;
  padding-right: 16px;
  display: none;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .shipment-error-msg p {
  padding-top: 8px;
  padding-bottom: 8px;
  color: #D34F4F;
  padding-left: 0;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .shipment-error-msg .delete-controls {
  display: flex;
  gap: 16px;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .shipment-error-msg .delete-controls button {
  padding: 0;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  border: 0;
  background-color: transparent;
  outline: none;
  cursor: pointer;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .shipment-error-msg .delete-controls button.cancel-button {
  color: #797B82;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .shipment-error-msg .delete-controls button.cancel-button:hover {
  opacity: 0.8;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .shipment-error-msg .delete-controls button.delete-button {
  color: #D34F4F;
}
.review-untrack-overlay .review-untrack-inner ul .shipment-row .shipment-error-msg .delete-controls button.delete-button:hover {
  opacity: 0.8;
}
.review-untrack-overlay .review-untrack-inner .pagination {
  margin: 0 24px;
  margin-bottom: 0;
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  width: auto;
  border-top: 1px solid #E9E9E9;
}
.review-untrack-overlay .review-untrack-inner .pagination .page-num {
  padding: 0 16px;
  color: #0C0F16;
}
.review-untrack-overlay .review-untrack-inner .pagination .pagination-controls {
  width: 88px;
  display: flex;
  gap: 12px;
}
.review-untrack-overlay .review-untrack-inner .pagination .pagination-controls a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #E9E9E9;
  background: #FFF;
  text-decoration: none;
  transition: all 0.3s ease;
}
.review-untrack-overlay .review-untrack-inner .pagination .pagination-controls a img {
  padding: 9px 16px;
}
.review-untrack-overlay .review-untrack-inner .pagination .pagination-controls a:hover {
  border: 1px solid #D38A52;
}
.review-untrack-overlay .review-untrack-inner .failed-msg {
  padding: 0 24px;
  display: flex;
  gap: 8px;
  background: #FDEBEB;
}
.review-untrack-overlay .review-untrack-inner .failed-msg p {
  width: 100%;
  padding: 4px 0;
  background: #FDEBEB;
  color: #D34F4F;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
}
.review-untrack-overlay .review-untrack-inner .failed-msg p img {
  margin-right: 8px;
}
.review-untrack-overlay .review-untrack-inner .review-controls {
  padding: 16px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  border-top: 1px solid #E9E9E9;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  width: 100%;
  background-color: #fff;
}
.review-untrack-overlay .review-untrack-inner .review-controls button {
  padding: 8px 45.5px;
  border: 0;
  background-color: #fff;
  outline: none;
  border-radius: 12px;
  border: 1px solid #E9E9E9;
  background: #FFF;
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
  cursor: pointer;
}
.review-untrack-overlay .review-untrack-inner .review-controls button.cancel-button {
  padding: 8px 34px;
  color: #797B82;
}
.review-untrack-overlay .review-untrack-inner .review-controls button.cancel-button:hover {
  color: #0C0F16;
}
.review-untrack-overlay .review-untrack-inner .review-controls button.add-button {
  color: #fff;
  background: #D38A52;
}
.review-untrack-overlay .review-untrack-inner .review-controls button.add-button:hover {
  background: #B26C38;
}
.review-untrack-overlay .review-untrack-inner .review-controls button.add-button:disabled {
  cursor: not-allowed !important;
}

/* Label notification popup styles */
.label-added-popup {
  display: none; /* Hidden by default */
  position: absolute;
  right: 16px;
  top: 88px;
  width: 400px;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0px 8px 24px 0px rgba(149, 157, 165, 0.2);
  padding: 24px;
  z-index: 9999;
  opacity: 0;
  transform: translateX(80px);
  animation: slideInFromRight 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.label-added-popup .label-added-content {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.label-added-popup .label-added-content .success-icon {
  margin-right: 8px;
  flex-shrink: 0;
  transform: translateY(2px);
}
.label-added-popup .label-added-content p {
  color: #0C0F16;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin: 0;
}
.label-added-popup .notification-close {
  display: block;
  margin-left: auto;
  background: none;
  border: none;
  outline: none;
  color: #D38A52;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  padding: 0;
}
.label-added-popup .notification-close:hover {
  color: #B26C38;
}

/* Animation for notification popup sliding in from right */
@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Animation for notification popup sliding out to right */
@keyframes slideOutToRight {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(80px);
  }
}
/* Class to apply when closing the notification */
.label-added-popup.closing {
  animation: slideOutToRight 0.5s ease-out forwards;
}

/* Filter notification popup styles */
.filter-applied-popup {
  display: none; /* Hidden by default */
  position: absolute;
  right: 16px;
  top: 88px;
  width: 400px;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0px 8px 24px 0px rgba(149, 157, 165, 0.2);
  padding: 24px;
  z-index: 9999;
  opacity: 0;
  transform: translateX(80px);
  animation: slideInFromRight 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.filter-applied-popup .filter-applied-content {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.filter-applied-popup .filter-applied-content .success-icon {
  margin-right: 8px;
  flex-shrink: 0;
  transform: translateY(2px);
  /* Icon color is defined in the SVG */
}
.filter-applied-popup .filter-applied-content p {
  color: #0C0F16;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin: 0;
}
.filter-applied-popup .notification-close {
  display: block;
  margin-left: auto;
  background: none;
  border: none;
  outline: none;
  color: #D38A52;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  padding: 0;
}
.filter-applied-popup .notification-close:hover {
  color: #B26C38;
}

/* Animation for notification popup sliding in from right */
@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Animation for notification popup sliding out to right */
@keyframes slideOutToRight {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(80px);
  }
}
/* Class to apply when closing the notification */
.filter-applied-popup.closing {
  animation: slideOutToRight 0.5s ease-out forwards;
}

/* Shipment notification popup styles */
.shipment-saved-popup {
  display: none; /* Hidden by default */
  position: absolute;
  right: 16px;
  top: 88px;
  width: 400px;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0px 8px 24px 0px rgba(149, 157, 165, 0.2);
  padding: 24px;
  z-index: 1000;
  opacity: 0;
  transform: translateX(80px);
  will-change: transform, opacity;
  animation-name: slideInFromRight;
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation-fill-mode: forwards;
  flex-direction: column;
  z-index: 9999;
}
.shipment-saved-popup .shipment-saved-content {
  display: flex;
  margin-bottom: 16px;
}
.shipment-saved-popup .shipment-saved-content .success-icon {
  margin-right: 8px;
  flex-shrink: 0;
  transform: translateY(2px);
  /* Icon color is defined in the SVG */
}
.shipment-saved-popup .shipment-saved-content p {
  color: #0C0F16;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin: 0;
  white-space: pre-line; /* Preserve line breaks */
}
.shipment-saved-popup .notification-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}
.shipment-saved-popup .notification-close,
.shipment-saved-popup .notification-open {
  background: none;
  border: none;
  outline: none;
  color: #797B82;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  padding: 0;
}
.shipment-saved-popup .notification-close:hover,
.shipment-saved-popup .notification-open:hover {
  color: #B26C38;
}
.shipment-saved-popup .notification-open {
  color: #D38A52;
  font-weight: 700;
}

/* Class to apply when closing the notification */
.shipment-saved-popup.closing {
  animation-name: slideOutToRight;
  animation-duration: 0.5s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  pointer-events: none; /* Prevent interactions during animation */
}

/* 
 * Lander Module Styles
 */
/* 
 * Tracking Module Styles
 */
.save-notification {
  position: fixed;
  top: 160px;
  right: 20px;
  padding: 16px;
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: opacity 0.5s ease;
  background-color: white;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 320px;
}
.save-notification .notification-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #D38A52;
  border-radius: 50%;
}
.save-notification .notification-icon svg {
  width: 20px;
  height: 20px;
}
.save-notification .notification-content {
  flex: 1;
}
.save-notification .notification-content .notification-title {
  font-size: 14px;
  font-weight: 600;
  color: #0C0F16;
  margin-bottom: 4px;
}
.save-notification .notification-content .notification-message {
  font-size: 14px;
  font-weight: 500;
  color: #0C0F16;
}
.save-notification.error .notification-icon {
  background-color: #F44336;
}
.save-notification.fade-out {
  opacity: 0;
}

.save-btn {
  /* No need for special styling here anymore since we're using separate SVGs */
  /* The saved-icon already has the correct fill color in its path */
}

/* 
 * Timeline Module Styles
 */
/* Special styling for delivered events without dots */
.timeline-event .event-content.no-dot {
  margin-left: 0;
  padding-left: 0;
}

/* Adjust timeline-dot with delivered icon */
.timeline-dot.current img {
  margin: -8px;
  box-shadow: 0 10px 10px -10px rgba(33, 35, 38, 0.1);
}

/* Style for delivered icon and package icon */
.timeline-section[data-section=delivery].status-current .timeline-dot img,
.timeline-event .event-dot.package-icon img {
  box-shadow: 0 10px 10px -10px rgba(33, 35, 38, 0.1);
}

/* Hide timeline line in delivered section */
.timeline-section[data-section=delivery].status-current {
  position: relative;
}

/* Create a pseudo-element that matches the page background */
.timeline-section[data-section=delivery].status-current::before {
  content: "";
  position: absolute;
  top: 45px; /* Position right below the icon */
  bottom: 0;
  left: -22px; /* Adjusted left position */
  width: 4px; /* Slightly wider to ensure full coverage */
  background-color: #F8F8F8; /* Light theme background */
  z-index: 5;
}

/* Create another pseudo-element for content area with different background */
.timeline-section[data-section=delivery].status-current::after {
  content: "";
  position: absolute;
  top: 39px; /* Position below the header to target content area */
  bottom: 0;
  left: -22px; /* Same position as ::before */
  width: 4px; /* Same width as ::before */
  background-color: #fff; /* Content area background color - light mode */
  z-index: 4; /* Lower z-index than ::before */
}

/* Remove timeline line from delivered events */
.timeline-section[data-section=delivery].status-current .timeline-event::before {
  display: none !important;
}

/* Ensure proper spacing for delivered events content */
.timeline-section[data-section=delivery].status-current .timeline-event {
  padding-left: 16px !important;
  border-left: none !important;
}

/* Add specific styling for delivered event content */
.timeline-section[data-section=delivery].status-current .event-content.no-dot {
  padding-left: 0;
  margin-left: 0;
}

/* Styling for delivered events content area */
.timeline-section[data-section=delivery].status-current .delivered-event {
  position: relative;
  background-color: #fff; /* Light mode content background */
}

/* Add a pseudo-element to hide the timeline line in the content area */
.timeline-section[data-section=delivery].status-current .delivered-event::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12px;
  width: 4px;
  background-color: #fff; /* Content area background */
  z-index: 6; /* Higher z-index to override other elements */
}

/* Set default cursor style for all timeline headers */
.timeline-header {
  cursor: default !important;
}

/* Show pointer cursor only on headers that have a toggle button */
.timeline-header:has(.timeline-toggle) {
  cursor: pointer !important;
}

/* Fallback for browsers that don't support :has() */
@supports not (selector(:has(.timeline-toggle))) {
  .timeline-section .timeline-header {
    cursor: pointer !important;
  }
  /* Override for delivered section */
  .timeline-section[data-section=delivery].status-current .timeline-header {
    cursor: default !important;
  }
}
/* Highlight last event date in delivered section */
.timeline-section[data-section=delivery].status-current .timeline-event:last-child .event-content .event-date {
  color: #D38A52 !important;
  font-weight: 600 !important;
}

/* Pending Timeline Styles */
.timeline-pending {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 40px 20px;
}

.timeline-pending-content {
  text-align: center;
  max-width: 300px;
}

.timeline-pending-icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.timeline-pending-text h3 {
  color: #212326;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.timeline-pending-text p {
  color: #797B82;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* 
 * Shipment Options Module Styles
 */
.shipping-details {
  display: none;
}

/* 
 * Labels Module Styles
 */
.overlay-popup#label-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.overlay-popup#label-popup.active {
  opacity: 1;
  display: flex;
  z-index: 9999;
}
.overlay-popup#label-popup.active .label-popup-content {
  opacity: 1;
}
.overlay-popup#label-popup .label-popup-content {
  width: 100%;
  max-width: 600px;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
  min-height: 428px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.overlay-popup#label-popup .label-popup-header {
  padding: 14.5px 24px;
  border-bottom: 1px solid #E9E9E9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #FFF9F5;
}
.overlay-popup#label-popup .label-popup-header h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #0C0F16;
  margin: 0;
}
.overlay-popup#label-popup .label-popup-header .label-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.overlay-popup#label-popup .label-popup-header .label-close-btn:hover {
  background-color: #F5F5F5;
}
.overlay-popup#label-popup .label-popup-body {
  padding: 16px 24px;
  flex: 1;
  overflow-y: auto;
}
.overlay-popup#label-popup .label-popup-body .label-list-view,
.overlay-popup#label-popup .label-popup-body .label-create-view {
  transition: opacity 0.3s ease;
}
.overlay-popup#label-popup .label-popup-body .label-search-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.overlay-popup#label-popup .label-popup-body .label-search-container .label-search-wrapper {
  position: relative;
  flex: 1;
  margin-right: 12px;
}
.overlay-popup#label-popup .label-popup-body .label-search-container .label-search-wrapper svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #797B82;
}
.overlay-popup#label-popup .label-popup-body .label-search-container .label-search-wrapper input {
  width: 100%;
  padding: 16px 16px 16px 44px;
  border: 1px solid #E9E9E9;
  border-radius: 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  min-height: 56px;
}
.overlay-popup#label-popup .label-popup-body .label-search-container .label-search-wrapper input::-moz-placeholder {
  color: #797B82;
}
.overlay-popup#label-popup .label-popup-body .label-search-container .label-search-wrapper input::placeholder {
  color: #797B82;
}
.overlay-popup#label-popup .label-popup-body .label-search-container .label-search-wrapper input:focus {
  outline: none;
}
.overlay-popup#label-popup .label-popup-body .label-search-container .label-search-wrapper input:disabled {
  background-color: #F5F5F5;
  cursor: not-allowed;
  opacity: 0.8;
}
.overlay-popup#label-popup .label-popup-body .label-search-container .label-search-wrapper input:disabled::-moz-placeholder {
  color: #A0A0A0;
}
.overlay-popup#label-popup .label-popup-body .label-search-container .label-search-wrapper input:disabled::placeholder {
  color: #A0A0A0;
}
.overlay-popup#label-popup .label-popup-body .label-search-container .label-new-btn {
  display: flex;
  align-items: center;
  background: none;
  border: 1px solid #E9E9E9;
  border-radius: 12px;
  padding: 10px 16px;
  color: #D38A52;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  min-height: 56px;
}
.overlay-popup#label-popup .label-popup-body .label-search-container .label-new-btn svg {
  margin-right: 8px;
}
.overlay-popup#label-popup .label-popup-body .label-search-container .label-new-btn:hover {
  background-color: #FFF9F5;
}
.overlay-popup#label-popup .label-popup-body .label-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  text-align: center;
}
.overlay-popup#label-popup .label-popup-body .label-empty-state .label-empty-icon {
  margin-bottom: 16px;
}
.overlay-popup#label-popup .label-popup-body .label-empty-state h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #0C0F16;
  margin: 0 0 8px;
}
.overlay-popup#label-popup .label-popup-body .label-empty-state p {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #0C0F16;
  margin: 0;
  font-weight: 400;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  margin-bottom: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item:hover {
  background-color: #FFF9F5;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item:hover label {
  color: #0C0F16;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item input[type=checkbox] {
  margin-right: 12px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #B5B5B5;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item input[type=checkbox]:checked {
  border-color: #D38A52;
  background-color: transparent;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item input[type=checkbox]:checked:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #D38A52;
  border-radius: 50%;
  top: 6px;
  left: 6px;
  transform: translate(-50%, -50%);
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item input[type=checkbox]:hover {
  border-color: #D38A52;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item input[type=checkbox]:focus {
  outline: none;
  border-color: #D38A52;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item input[type=radio] {
  margin-right: 12px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #797B82;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item input[type=radio]:checked {
  border-color: #D38A52;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item input[type=radio]:checked:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #D38A52;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item label {
  flex: 1;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #797B82;
  cursor: pointer;
  font-weight: 500;
  word-break: break-all;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item .label-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item .label-actions button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 24px;
  height: 24px;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item .label-actions button:hover {
  background-color: transparent;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item .label-actions button:hover svg path {
  fill: #0C0F16;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item .label-actions button:hover:after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10;
  font-weight: 400;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item .label-actions button.label-delete-btn:hover svg path {
  fill: #D34F4F;
}
.overlay-popup#label-popup .label-popup-body .label-items-list .label-item:hover .label-actions {
  opacity: 1;
}
.overlay-popup#label-popup .label-popup-body .label-create-view .label-back-btn {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  cursor: pointer;
}
.overlay-popup#label-popup .label-popup-body .label-create-view .label-back-btn svg {
  margin-right: 12px;
}
.overlay-popup#label-popup .label-popup-body .label-create-view .label-back-btn span {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #797B82;
}
.overlay-popup#label-popup .label-popup-body .label-create-view .label-form .label-form-group {
  margin-bottom: 24px;
}
.overlay-popup#label-popup .label-popup-body .label-create-view .label-form .label-form-group label {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #797B82;
  margin-bottom: 8px;
  font-weight: 500;
}
.overlay-popup#label-popup .label-popup-body .label-create-view .label-form .label-form-group input[type=text] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E9E9E9;
  border-radius: 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  min-height: 52px;
}
.overlay-popup#label-popup .label-popup-body .label-create-view .label-form .label-form-group input[type=text]::-moz-placeholder {
  color: #797B82;
}
.overlay-popup#label-popup .label-popup-body .label-create-view .label-form .label-form-group input[type=text]::placeholder {
  color: #797B82;
}
.overlay-popup#label-popup .label-popup-body .label-create-view .label-form .label-form-group input[type=text]:focus {
  outline: none;
}
.overlay-popup#label-popup .label-popup-footer {
  padding: 16px 24px;
  border-top: 1px solid #E9E9E9;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.overlay-popup#label-popup .label-popup-footer button {
  padding: 7.5px 10px;
  border-radius: 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  max-width: 122px;
  width: 100%;
}
.overlay-popup#label-popup .label-popup-footer .label-cancel-btn {
  background-color: transparent;
  border: 1px solid #E9E9E9;
  color: #797B82;
}
.overlay-popup#label-popup .label-popup-footer .label-cancel-btn:hover {
  background-color: #F9F9F9;
}
.overlay-popup#label-popup .label-popup-footer .label-add-btn {
  background-color: #D38A52;
  border: none;
  color: #FFFFFF;
}
.overlay-popup#label-popup .label-popup-footer .label-add-btn:hover {
  background-color: #ce7c3e;
}
.overlay-popup#label-popup .label-popup-footer .label-add-btn:disabled {
  background-color: #E6C4AA;
  color: #fff;
  cursor: not-allowed;
}

.dark-theme .overlay-popup#label-popup .label-popup-content {
  background-color: #1E1E1E;
  border: 1px solid #2A2A2A;
}
.dark-theme .overlay-popup#label-popup .label-popup-header {
  border-bottom-color: #2A2A2A;
}
.dark-theme .overlay-popup#label-popup .label-popup-header h2 {
  color: #FFFFFF;
}
.dark-theme .overlay-popup#label-popup .label-popup-header .label-close-btn:hover {
  background-color: #2A2A2A;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-search-wrapper input {
  background-color: #1E1E1E;
  border-color: #2A2A2A;
  color: #FFFFFF;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-search-wrapper input::-moz-placeholder {
  color: #A0A0A0;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-search-wrapper input::placeholder {
  color: #A0A0A0;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-search-wrapper input:disabled {
  background-color: #252525;
  border-color: #333333;
  opacity: 0.7;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-search-wrapper input:disabled::-moz-placeholder {
  color: #777777;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-search-wrapper input:disabled::placeholder {
  color: #777777;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-new-btn:hover {
  background-color: rgba(211, 138, 82, 0.1);
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-empty-state h3 {
  color: #FFFFFF;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-empty-state p {
  color: #A0A0A0;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-items-list .label-item:hover {
  background-color: rgba(211, 138, 82, 0.1);
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-items-list .label-item:hover label {
  color: #FFFFFF;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-items-list .label-item label {
  color: #FFFFFF;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-items-list .label-item .label-actions button:hover {
  background-color: transparent;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-items-list .label-item .label-actions button:hover svg path {
  fill: #FFFFFF;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-items-list .label-item .label-actions button:hover:after {
  background-color: rgba(0, 0, 0, 0.85);
  color: #FFFFFF;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-create-view .label-back-btn span {
  color: #FFFFFF;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-create-view .label-form label {
  color: #FFFFFF;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-create-view .label-form input[type=text] {
  background-color: #1E1E1E;
  border-color: #2A2A2A;
  color: #FFFFFF;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-create-view .label-form input[type=text]::-moz-placeholder {
  color: #A0A0A0;
}
.dark-theme .overlay-popup#label-popup .label-popup-body .label-create-view .label-form input[type=text]::placeholder {
  color: #A0A0A0;
}
.dark-theme .overlay-popup#label-popup .label-popup-footer {
  border-top-color: #2A2A2A;
}
.dark-theme .overlay-popup#label-popup .label-popup-footer .label-cancel-btn {
  border-color: #2A2A2A;
  color: #A0A0A0;
}
.dark-theme .overlay-popup#label-popup .label-popup-footer .label-cancel-btn:hover {
  background-color: #2A2A2A;
}

.label-edit-mode {
  display: flex;
  align-items: center;
  width: 100%;
}
.label-edit-mode input[type=checkbox] {
  margin-right: 12px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #797B82;
  border-radius: 50%;
  position: relative;
  cursor: default;
  opacity: 0.6;
}
.label-edit-mode input[type=checkbox]:checked {
  border-color: #D38A52;
}
.label-edit-mode input[type=checkbox]:checked:after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  background-color: #D38A52;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}
.label-edit-mode .label-edit-input {
  flex: 1;
  border: 1px solid #E9E9E9;
  border-radius: 12px;
  padding: 8px 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #0C0F16;
  outline: none;
  margin-right: 12px;
  font-weight: 500;
  outline: none;
}
.label-edit-mode .label-edit-input:focus {
  border: 1px solid #E9E9E9;
}
.label-edit-mode .label-edit-input.active {
  border: 1px solid #E9E9E9;
}
.label-edit-mode .label-edit-actions {
  display: flex;
  gap: 8px;
}
.label-edit-mode .label-edit-actions button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.label-edit-mode .label-edit-actions button:hover {
  opacity: 0.85;
  transform: scale(1.05);
}
.label-edit-mode .label-edit-actions button:active {
  opacity: 0.75;
  transform: scale(0.95);
}
.label-edit-mode .label-edit-actions button svg {
  width: 24px;
  height: 25px;
}
.label-edit-mode .label-edit-actions button.label-save-edit:hover {
  box-shadow: 0 2px 4px rgba(211, 138, 82, 0.3);
}
.label-edit-mode .label-edit-actions button.label-cancel-edit:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.label-delete-confirmation {
  width: 100%;
}
.label-delete-confirmation .label-delete-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.label-delete-confirmation .label-delete-content .label-delete-info {
  display: flex;
  align-items: center;
}
.label-delete-confirmation .label-delete-content .label-delete-info .label-delete-warning {
  display: flex;
  align-items: center;
  margin-right: 16px;
}
.label-delete-confirmation .label-delete-content .label-delete-info .label-delete-warning svg {
  margin-right: 8px;
  flex-shrink: 0;
  width: 16px;
  height: 15px;
}
.label-delete-confirmation .label-delete-content .label-delete-info .label-delete-warning span {
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  color: #0C0F16;
  /* white-space: nowrap; */
  word-break: break-all;
  max-width: 200px;
}
.label-delete-confirmation .label-delete-content .label-delete-info .label-linked-shipments {
  display: flex;
  align-items: center;
}
.label-delete-confirmation .label-delete-content .label-delete-info .label-linked-shipments svg {
  margin-right: 4px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.label-delete-confirmation .label-delete-content .label-delete-info .label-linked-shipments span {
  color: #797B82;
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
}
.label-delete-confirmation .label-delete-content .label-delete-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.label-delete-confirmation .label-delete-content .label-delete-actions button {
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: "DM Sans", sans-serif;
}
.label-delete-confirmation .label-delete-content .label-delete-actions button.label-cancel-delete {
  background: none;
  border: none;
  color: #797B82;
}
.label-delete-confirmation .label-delete-content .label-delete-actions button.label-cancel-delete:hover {
  color: #0C0F16;
}
.label-delete-confirmation .label-delete-content .label-delete-actions button.label-confirm-delete {
  background: none;
  border: none;
  color: #D34F4F;
}
.label-delete-confirmation .label-delete-content .label-delete-actions button.label-confirm-delete:hover {
  color: #bf3030;
}

.label-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
  text-align: center;
}
.label-no-results svg {
  margin-bottom: 16px;
  color: #797B82;
}
.label-no-results p {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  color: #797B82;
  margin: 0;
}

.dark-theme .label-no-results svg {
  color: #A0A0A0;
}
.dark-theme .label-no-results p {
  color: #A0A0A0;
}

/* 
 * Search Module Styles
 */
/* 
* Shipping Details Styles
*/
/* Global Add tracking tooltip styles */
#add-tracking-tooltip {
  position: fixed;
  display: none;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  max-width: 300px;
  z-index: 10000;
  pointer-events: none;
  white-space: nowrap;
  text-align: center;
}
@media screen and (max-height: 769px) {
  #add-tracking-tooltip {
    z-index: 10002; /* Lower z-index to appear below header when screen height is small */
  }
}

/* Global Remove label tooltip styles */
#remove-label-tooltip {
  position: fixed;
  display: none;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  max-width: 300px;
  z-index: 10000;
  pointer-events: none;
  white-space: nowrap;
  text-align: center;
}
@media screen and (max-height: 769px) {
  #remove-label-tooltip {
    z-index: 10002; /* Adjusted z-index for small screens */
  }
}

.shipping-details {
  background-color: #f8f8f8;
  width: 100%;
}
.shipping-details .status-icon {
  width: 24px;
  height: 24px;
}
.shipping-details .status-icon.active-icon {
  display: none;
}
.shipping-details .wrapper {
  display: flex;
}
@media screen and (max-height: 635px) {
  .shipping-details .wrapper {
    max-height: 534px;
  }
}
.shipping-details .wrapper .details-left {
  padding: 16px 16px 0;
  max-width: 384px;
  width: 100%;
  background: #fff;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.04);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 99;
}
.shipping-details .wrapper .details-left::-webkit-scrollbar {
  width: 4px; /* vertical scrollbar width */
}
.shipping-details .wrapper .details-left::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 8px;
}
.shipping-details .wrapper .details-left::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: var(--Dark-200, #E9E9E9);
}
.shipping-details .wrapper .details-left .search-content {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.shipping-details .wrapper .details-left .search-content .back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 56px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #E9E9E9;
  background-color: #fff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.04);
}
.shipping-details .wrapper .details-left .search-content .back-btn svg {
  width: 18px;
  height: 16px;
}
.shipping-details .wrapper .details-left .search-content .search-container {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  height: 44px;
  border: 1px solid #E9E9E9;
  border-radius: 12px;
  background: #FFF;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.04);
  padding: 0;
}
.shipping-details .wrapper .details-left .search-content .search-container .search-icon {
  display: flex;
  align-items: center;
  margin: 0 8px;
}
.shipping-details .wrapper .details-left .search-content .search-container .search-icon img {
  width: 16px;
  height: 16px;
}
.shipping-details .wrapper .details-left .search-content .search-container .search-input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #0C0F16;
  outline: none;
}
.shipping-details .wrapper .details-left .search-content .search-container .search-input::-moz-placeholder {
  color: #797B82;
}
.shipping-details .wrapper .details-left .search-content .search-container .search-input::placeholder {
  color: #797B82;
}
.shipping-details .wrapper .details-left .search-content .search-container .action-buttons {
  display: flex;
  align-items: center;
  /* Add tracking tooltip styles moved to global scope */
}
.shipping-details .wrapper .details-left .search-content .search-container .action-buttons button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 42px;
}
.shipping-details .wrapper .details-left .search-content .search-container .action-buttons button.add-btn {
  border-left: 1px solid #E9E9E9;
  border-radius: 0 12px 12px 0;
}
.shipping-details .wrapper .details-left .search-content .search-container .action-buttons button.add-btn:hover {
  background-color: #D38A52;
}
.shipping-details .wrapper .details-left .search-content .search-container .action-buttons button.add-btn:hover svg path {
  fill: #fff;
}
.shipping-details .wrapper .details-left .search-content .search-container .action-buttons button.filter-btn.active, .shipping-details .wrapper .details-left .search-content .search-container .action-buttons button.filter-btn:hover {
  background-color: #FFF9F5;
}
.shipping-details .wrapper .details-left .search-content .search-container .action-buttons .add-btn[data-tooltip] {
  position: relative;
}
.shipping-details .wrapper .details-left .listing-error {
  display: none;
  height: calc(100vh - 212px);
  min-height: 540px;
}
.shipping-details .wrapper .details-left .listing-error .no-search-results, .shipping-details .wrapper .details-left .listing-error .error-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  height: 100%;
}
.shipping-details .wrapper .details-left .listing-error .no-search-results .empty-box-illustration, .shipping-details .wrapper .details-left .listing-error .error-message .empty-box-illustration {
  margin-bottom: 32px;
  width: 149px;
  height: auto;
}
.shipping-details .wrapper .details-left .listing-error .no-search-results .no-results-title, .shipping-details .wrapper .details-left .listing-error .no-search-results .error-title, .shipping-details .wrapper .details-left .listing-error .error-message .no-results-title, .shipping-details .wrapper .details-left .listing-error .error-message .error-title {
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
  color: #D38A52;
  margin-bottom: 12px;
}
.shipping-details .wrapper .details-left .listing-error .no-search-results .retry-text, .shipping-details .wrapper .details-left .listing-error .no-search-results .error-text, .shipping-details .wrapper .details-left .listing-error .error-message .retry-text, .shipping-details .wrapper .details-left .listing-error .error-message .error-text {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  color: #797B82;
  margin-bottom: 12px;
  font-weight: 500;
  line-height: 22px;
}
.shipping-details .wrapper .details-left .listing-error .no-search-results .or-divider, .shipping-details .wrapper .details-left .listing-error .error-message .or-divider {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  color: #B5B5B5;
  font-weight: 500;
  line-height: 22px;
  margin-bottom: 12px;
}
.shipping-details .wrapper .details-left .listing-error .no-search-results .add-new-btn, .shipping-details .wrapper .details-left .listing-error .no-search-results .retry-btn, .shipping-details .wrapper .details-left .listing-error .error-message .add-new-btn, .shipping-details .wrapper .details-left .listing-error .error-message .retry-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #fff;
  border: 1px solid #E9E9E9;
  border-radius: 12px;
  padding: 16px;
  color: #D38A52;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.04);
}
.shipping-details .wrapper .details-left .listing-error .no-search-results .add-new-btn:hover, .shipping-details .wrapper .details-left .listing-error .no-search-results .retry-btn:hover, .shipping-details .wrapper .details-left .listing-error .error-message .add-new-btn:hover, .shipping-details .wrapper .details-left .listing-error .error-message .retry-btn:hover {
  background-color: rgba(211, 138, 82, 0.1);
}
.shipping-details .wrapper .details-left .listing-error .no-search-results .add-new-btn svg, .shipping-details .wrapper .details-left .listing-error .no-search-results .retry-btn svg, .shipping-details .wrapper .details-left .listing-error .error-message .add-new-btn svg, .shipping-details .wrapper .details-left .listing-error .error-message .retry-btn svg {
  width: 20px;
  height: 20px;
}
.shipping-details .wrapper .details-left .listing-content {
  height: calc(100vh - 176px);
  min-height: calc(100vh - 176px);
  overflow-y: auto;
  padding-bottom: 16px;
  padding-top: 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.shipping-details .wrapper .details-left .listing-content::-webkit-scrollbar {
  display: none;
}
.shipping-details .wrapper .details-left .listing-content .tracking-list-header {
  position: sticky;
  top: 0;
  z-index: 9;
  background: #fff;
  padding: 0 0 8px;
}
.shipping-details .wrapper .details-left .listing-content .tracking-list-header h2 {
  margin: 0;
  color: #0C0F16;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.shipping-details .wrapper .details-left .listing-content .tracking-list-header h2 span {
  color: #0C0F16;
  font-weight: 600;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card {
  background: #FFFFFF;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.06);
  border: 2px solid #E9E9E9;
  position: relative;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .status-badge {
  position: absolute;
  top: 15px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .status-badge .status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .status-badge.in-transit {
  background-color: #e8f1ff;
  color: #2979ff;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .status-badge.in-transit .status-dot {
  background-color: #2979ff;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .status-badge.out-for-delivery {
  background-color: #FFECC7;
  color: #D0911D;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .status-badge.out-for-delivery .status-dot {
  background-color: #D0911D;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .status-badge.delivered {
  background-color: #EAFFE7;
  color: #41A220;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .status-badge.delivered .status-dot {
  background-color: #41A220;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .status-badge.failed {
  background-color: #FFE3DB;
  color: #D34F4F;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .status-badge.failed .status-dot {
  background-color: #D34F4F;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card[data-status=pending] .shipment-header .shipment-details .shipment-id {
  max-width: 120px;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card[data-status=in-transit] {
  border-color: #E9E9E9;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card[data-status=out-for-delivery] {
  border-color: #E9E9E9;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card[data-status=delivered] {
  border-color: #E9E9E9;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card[data-status=failed] {
  border-color: #E9E9E9;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid transparent;
  padding: 10px 16px;
  border-radius: 11px 11px 0 0;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-header .shipment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-header .shipment-icon img {
  width: 37px;
  height: auto;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-header .shipment-details {
  cursor: pointer;
  position: relative;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-header .shipment-details[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -25px;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
  pointer-events: none; /* Prevent tooltip from interfering with mouse events */
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-header .shipment-details[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-header .shipment-details .shipment-label {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: #797B82;
  font-weight: 500;
  margin-bottom: 2px;
  line-height: 18px;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-header .shipment-details .shipment-id {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #0C0F16;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 175px;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-body {
  padding-top: 8px;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-body .shipment-row {
  display: flex;
  justify-content: space-between;
  padding: 0 16px 4px;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-body .shipment-row .row-label {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: #797B82;
  font-weight: 500;
  line-height: 20px;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-body .shipment-row .row-value {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #0C0F16;
  line-height: 20px;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-body .shipment-row .row-value.na {
  color: #797B82;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-body .shipment-progress-update-wrapper {
  padding: 0 16px 10px;
  background: #F9F9F9;
  border-radius: 0 0 11px 11px;
  overflow: hidden;
  margin-top: 4px;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-body .shipment-progress-update-wrapper .shipment-progress {
  margin: 3px 0 0;
  text-align: center;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-body .shipment-progress-update-wrapper .shipment-progress .progress-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-body .shipment-update .update-time {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: #797B82;
  margin-bottom: 4px;
  font-weight: 500;
  line-height: normal;
  margin-top: -8px;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card .shipment-body .shipment-update .update-status {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #0C0F16;
  line-height: 20px;
  font-weight: 500;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card.active, .shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card:hover {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card.active .shipment-icon .default-icon, .shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card:hover .shipment-icon .default-icon {
  display: none;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card.active .shipment-icon .active-icon, .shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card:hover .shipment-icon .active-icon {
  display: inline-block;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card.active[data-status=in-transit], .shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card:hover[data-status=in-transit] {
  border-color: #D38A52;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card.active[data-status=out-for-delivery], .shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card:hover[data-status=out-for-delivery] {
  border-color: #D38A52;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card.active[data-status=delivered], .shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card:hover[data-status=delivered] {
  border-color: #D38A52;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card.active[data-status=failed], .shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card:hover[data-status=failed] {
  border-color: #D38A52;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card.active .shipment-header, .shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card:hover .shipment-header {
  border-bottom: 1px solid #E9E9E9;
  background: #FFF9F5;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card[data-status=in-transit] .shipment-details .shipment-id {
  max-width: 136px;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card[data-status=out-for-delivery] .shipment-details .shipment-id {
  max-width: 136px;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card[data-status=delivered] .shipment-details .shipment-id {
  max-width: 136px;
}
.shipping-details .wrapper .details-left .listing-content .shipment-cards .shipment-card[data-status=failed] .shipment-details .shipment-id {
  max-width: 136px;
}
.shipping-details .wrapper .details-right {
  background: url("../../assets/images/bg-tracknow.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1200px auto;
  background-position: top 100px center;
  flex: 1;
  padding: 0;
}
.shipping-details .wrapper .details-right .details-right-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.shipping-details .wrapper .details-right .tracking-info {
  flex: 1;
  display: flex;
  gap: 16px;
  margin: 0 16px 12px;
}
@media screen and (min-height: 760px) and (min-width: 1023px) {
  .shipping-details .wrapper .details-right .tracking-info {
    height: calc(100vh - 97px); /* Make tracking-info fill available height */
  }
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-left .info-box {
  border-radius: 12px;
  background: #FFF;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.04);
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-left h2 {
  font-family: "DM Sans", sans-serif;
  /* font-size: 18px; */
  /* font-weight: 600; */
  color: #0C0F16;
  /* margin: 0 0 16px 0; */
  padding: 12px 15.5px;
  border-bottom: 1px solid #E9E9E9;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 8px;
  cursor: default;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-left .shipment-details-section,
.shipping-details .wrapper .details-right .tracking-info .tracking-info-left .other-information-section {
  margin-bottom: 0;
  height: 277px;
  overflow-y: auto;
}
@media screen and (min-height: 760px) and (min-width: 1023px) {
  .shipping-details .wrapper .details-right .tracking-info .tracking-info-left .shipment-details-section,
  .shipping-details .wrapper .details-right .tracking-info .tracking-info-left .other-information-section {
    flex: 1; /* Enable flex grow */
    height: auto; /* Allow height to be determined by flex container */
    min-height: 277px; /* Set minimum height */
  }
}
@media screen and (max-height: 635px) {
  .shipping-details .wrapper .details-right .tracking-info .tracking-info-left .shipment-details-section,
  .shipping-details .wrapper .details-right .tracking-info .tracking-info-left .other-information-section {
    height: 257px;
  }
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-left .other-information-section {
  position: relative;
  background-image: url("../../assets/icons/shipinfo2.png"), url("../../assets/icons/shipinfo1.png");
  background-position: calc(100% - 190px) bottom, right bottom, right bottom;
  background-repeat: no-repeat, no-repeat;
  background-size: 77px auto, 205px auto;
}
@media screen and (min-height: 760px) and (min-width: 1023px) {
  .shipping-details .wrapper .details-right .tracking-info .tracking-info-left .other-information-section {
    min-height: 176px;
    height: auto;
  }
}
@media screen and (max-height: 635px) {
  .shipping-details .wrapper .details-right .tracking-info .tracking-info-left .other-information-section {
    height: 176px;
  }
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-left .details-table {
  padding: 0 16px 16px;
}
@media screen and (max-height: 635px) {
  .shipping-details .wrapper .details-right .tracking-info .tracking-info-left .details-table {
    padding-bottom: 8px;
  }
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-left .details-table .detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}
@media screen and (max-height: 635px) {
  .shipping-details .wrapper .details-right .tracking-info .tracking-info-left .details-table .detail-row {
    margin-bottom: 15px;
  }
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-left .details-table .detail-row:last-child {
  margin-bottom: 0;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-left .details-table .detail-row .detail-label {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  color: #797B82;
  flex: 1;
  cursor: default;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-left .details-table .detail-row .detail-value {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  color: #0C0F16;
  text-align: right;
  flex: 1;
  cursor: default;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-left .details-table .detail-row .detail-value a {
  color: #D38A52;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-left .details-table .detail-row .detail-value a:hover {
  text-decoration: underline;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-left .details-table .detail-row .detail-value a .external-link-icon {
  font-size: 14px;
  margin-left: 4px;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right {
  flex: 1;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.04);
  height: -moz-max-content;
  height: max-content;
}
@media screen and (min-height: 760px) and (min-width: 1023px) {
  .shipping-details .wrapper .details-right .tracking-info .tracking-info-right {
    height: 100%; /* Changed from max-content to 100% to fill available height */
  }
}
@media (max-height: 635px) {
  .shipping-details .wrapper .details-right .tracking-info .tracking-info-right {
    height: 450px;
  }
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline {
  height: 570px;
}
@media screen and (min-height: 760px) and (min-width: 1023px) {
  .shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline {
    height: 100%; /* Changed from fixed height to 100% to fill available space */
  }
}
@media screen and (max-height: 635px) {
  .shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline {
    height: 450px;
  }
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  color: #0C0F16;
  padding: 12px 16px;
  border-bottom: 1px solid #E9E9E9;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container-main {
  padding: 4px 16px 16px;
  padding-right: 8px;
  padding-left: 27px;
  overflow-y: auto;
  height: 517px;
}
@media screen and (min-height: 760px) and (min-width: 1023px) {
  .shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container-main {
    min-height: calc(100% - 53px);
    min-height: calc(100% - 53px); /* /* Adjusted to account for header height */
  }
}
@media screen and (max-height: 635px) {
  .shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container-main {
    height: 402px;
  }
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container-main::-webkit-scrollbar {
  width: 4px; /* vertical scrollbar width */
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container-main::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 8px;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container-main::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #DBDBDB;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container {
  position: relative;
  padding-left: 34px;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container:before {
  content: "";
  position: absolute;
  top: 17px;
  bottom: 32px;
  left: 12px;
  width: 2px;
  background-color: #D38A52;
  z-index: 1;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container.timeline-pending-state:before {
  display: none;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section {
  position: relative;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section:last-child {
  margin-bottom: 0;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section.status-pending:before {
  content: "";
  position: absolute;
  top: -24px;
  bottom: 17px;
  left: -22px;
  width: 2px;
  background-color: #fff;
  border-left: 2px dashed #CCCCCC;
  z-index: 1;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-header {
  display: flex;
  align-items: center;
  padding: 12px 0;
  cursor: pointer;
  position: relative;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: all 0.2s ease;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-header .timeline-dot {
  position: absolute;
  left: -29px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #D38A52;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-header .timeline-dot.completed {
  background-color: #D38A52;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-header .timeline-dot.current {
  background-color: transparent;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-header .timeline-dot.current svg {
  width: 16px;
  height: 16px;
  z-index: 3;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-header .timeline-dot.pending {
  background-color: transparent;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-header .timeline-title {
  flex: 1;
  font-family: "DM Sans", sans-serif;
  color: #0C0F16;
  margin-left: 8px;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-header .timeline-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-header .timeline-toggle svg {
  transition: transform 0.3s ease;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-header .timeline-toggle svg.chevron-up {
  transform: rotate(180deg);
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-header .timeline-toggle svg.chevron-up path {
  fill: #0C0F16;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-header .timeline-toggle svg.chevron-down {
  transform: rotate(0deg);
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section.active .timeline-header .timeline-toggle svg {
  transform: rotate(180deg);
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section.active .timeline-content {
  display: block;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section.status-completed .timeline-dot {
  background-color: #D38A52;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section.status-current .timeline-dot {
  background-color: #D38A52;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section.status-pending .timeline-dot {
  background-color: transparent;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section.status-failed .timeline-dot {
  background-color: #F44336;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section.status-delivered .timeline-dot {
  background-color: #4CAF50;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content {
  padding: 8px 16px 8px 30px;
  background-color: #F8F8F8;
  border-radius: 8px;
  margin-left: -43px;
  overflow: hidden;
  transition: max-height 0.35s ease-in-out, opacity 0.25s ease-in-out, padding 0.3s ease-in-out 0.05s;
  opacity: 1;
  transform-origin: top;
  cursor: default;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content.collapsed {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event {
  position: relative;
  padding: 0 0 16px 24px;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event:first-child {
  padding-top: 0;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event:last-child {
  padding-bottom: 0;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-pending:before {
  background-color: #CCCCCC;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event .event-dot {
  position: absolute;
  left: -16px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-image: url("/assets/icons/info-dot.svg");
  background-size: 16px;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  z-index: 2;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event .event-content .event-date {
  font-family: "DM Sans", sans-serif;
  color: #0C0F16;
  margin-bottom: 4px;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event .event-content .event-title {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #797B82;
  margin-bottom: 4px;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event .event-content .event-location {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #797B82;
  font-weight: 500;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.current.last-update:before, .shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-current.last-update:before {
  display: none;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.current.last-update .event-dot.package-icon, .shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-current.last-update .event-dot.package-icon {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  left: -32px;
  top: 0;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.current.last-update .event-dot.package-icon img, .shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-current.last-update .event-dot.package-icon img {
  width: 32px;
  height: 32px;
  position: relative;
  left: 8px;
  top: 0;
  -o-object-fit: contain;
     object-fit: contain;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.current.last-update .event-content, .shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-current.last-update .event-content {
  margin-left: 16px;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.current.last-update .event-content .event-date, .shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-current.last-update .event-content .event-date {
  font-weight: 600;
  color: #D38A52;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.current.last-update .event-content .event-title, .shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-current.last-update .event-content .event-title {
  font-weight: 500;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-completed.last-update:before {
  display: none;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-completed.last-update .event-dot.package-icon {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  left: -22px;
  top: 0;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-completed.last-update .event-dot.package-icon img {
  width: 32px;
  height: 42px;
  position: relative;
  left: 0px;
  top: 15px;
  -o-object-fit: contain;
     object-fit: contain;
}
@media screen and (max-height: 635px) {
  .shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-completed.last-update .event-dot.package-icon img {
    left: 1px;
    top: 17px;
  }
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-completed.last-update .event-content {
  margin-left: 8px;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-completed.last-update .event-content .event-date {
  font-weight: 600;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-completed.last-update .event-content .event-title {
  font-weight: 500;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.pending:before, .shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.pending .event-dot, .shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-pending:before, .shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-pending .event-dot {
  background-color: #CCCCCC;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.pending .event-content .event-date, .shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event.status-pending .event-content .event-date {
  color: #797B82;
}
.shipping-details .wrapper .details-right .tracking-info .tracking-info-right .delivery-timeline .status-fetchingDetails {
  margin: 50px auto 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.not-found-tracking-info {
  height: 100%;
  width: 100%;
  background: url("/assets/images/questionmark.png") no-repeat left center;
}

.failed-tracking-info {
  width: auto;
  height: 100%;
  margin: 0 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #FFF;
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.04);
}
.failed-tracking-info .failed-tracking-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.failed-tracking-info .failed-tracking-content figure {
  margin-bottom: 16px;
}
.failed-tracking-info .failed-tracking-content p {
  margin-bottom: 16px;
  color: var(--Dark-500, #0C0F16);
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 133.333% */
}
.failed-tracking-info .failed-tracking-content .failed-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.failed-tracking-info .failed-tracking-content button {
  padding: 4px 8px;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  outline: none;
  border-radius: 4px;
  border: 1px solid #E9E9E9;
  background: #FFF;
  cursor: pointer;
}
.failed-tracking-info .failed-tracking-content button.review-shipment-btn {
  color: #D38A52;
  border-color: #D38A52;
  transition: all 0.3s ease;
}
.failed-tracking-info .failed-tracking-content button.review-shipment-btn:hover {
  background: #D38A52;
  color: #fff;
}
.failed-tracking-info .failed-tracking-content button.ignore-delete-shipment-btn {
  color: #797B82;
  border-color: #797B82;
  transition: all 0.3s ease;
}
.failed-tracking-info .failed-tracking-content button.ignore-delete-shipment-btn:hover {
  color: #0C0F16;
}

.select-courier-dropdown {
  position: relative;
}
.select-courier-dropdown .select-selected-courier {
  width: 207px;
  padding: 3px 8px;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid #E9E9E9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--WHite, #FFF);
  color: var(--Dark-400, #797B82);
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
}
.select-courier-dropdown .select-selected-courier svg {
  transition: transform 0.4s ease-in-out;
}
.select-courier-dropdown .select-selected-courier.courier-selected {
  color: #0C0F16;
  font-weight: 500;
}
.select-courier-dropdown .select-selected-courier.dropdown-open svg {
  transform: rotate(180deg);
}
.select-courier-dropdown .select-selected-courier.dropdown-open svg path {
  fill: #0C0F16;
}
.select-courier-dropdown .select-items {
  display: none;
  width: 208px;
  height: 204px;
  overflow-y: auto;
  box-shadow: 0px 8px 24px 0px rgba(149, 157, 165, 0.2);
  border-radius: 12px;
  background: #FFF;
  position: absolute;
  top: 32px;
  left: 0;
  z-index: 1000;
}
@media screen and (max-height: 635px) {
  .select-courier-dropdown .select-items {
    height: 156px;
  }
}
.select-courier-dropdown .select-items.dropdown-upward {
  box-shadow: 0px -8px 24px 0px rgba(149, 157, 165, 0.2);
}
.select-courier-dropdown .select-items::-webkit-scrollbar {
  width: 4px; /* vertical scrollbar width */
}
.select-courier-dropdown .select-items::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 8px;
}
.select-courier-dropdown .select-items::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: var(--Dark-200, #E9E9E9);
}
.select-courier-dropdown .select-items .search-courier-dropdown {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #E9E9E9;
}
.select-courier-dropdown .select-items .search-courier-dropdown input {
  width: 100%;
  outline: none;
  border: 0;
  font-family: "DM Sans";
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0px;
}
.select-courier-dropdown .select-items .search-courier-dropdown input:focus, .select-courier-dropdown .select-items .search-courier-dropdown input:active {
  outline: none;
  border: 0;
}
.select-courier-dropdown .select-items .courier-option {
  padding: 8px 16px;
  overflow: hidden;
  color: var(--Dark-500, #0C0F16);
  text-overflow: ellipsis;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px; /* 128.571% */
  cursor: pointer;
}
.select-courier-dropdown .select-items .courier-option:hover {
  background: #FFF9F5;
}

/* 
 * Add Tracking Module Styles
 */
.operations-wrapper {
  height: calc(100vh - 127px);
}

.add-operations {
  position: relative;
}
.add-operations .traking-input-error p {
  white-space: nowrap;
}
.add-operations .header {
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.add-operations .header button {
  background: none;
  padding: 0;
  border: none;
  outline: none;
  cursor: pointer;
}
.add-operations .header button svg {
  height: 16px;
  width: 16px;
}
.add-operations #addTrackingList {
  height: 355px;
  overflow-y: auto;
  counter-reset: my-counter;
  padding: 0;
  margin: 0;
  list-style: none;
}
.add-operations #addTrackingList::-webkit-scrollbar {
  width: 4px; /* vertical scrollbar width */
}
.add-operations #addTrackingList::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 8px;
  height: 100%;
}
.add-operations #addTrackingList::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: var(--Dark-200, #E9E9E9);
}
.add-operations #addTrackingList li {
  padding: 10px 0;
  color: #0C0F16;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  padding-right: 16px;
  position: relative;
  counter-increment: my-counter;
}
.add-operations #addTrackingList li::before {
  content: counter(my-counter) ".";
  position: absolute;
  left: 0;
  width: 22px;
  color: var(--Dark-400, #797B82);
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  margin-left: 16px;
}
.add-operations #addTrackingList li .tracking-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 40px;
}
.add-operations #addTrackingList li .tracking-item span {
  flex: 1;
  outline: none;
  margin-right: 8px;
  min-height: 20px;
  cursor: text;
  font-family: "DM Sans";
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  width: 0;
}
.add-operations #addTrackingList li .tracking-item .delete-btn {
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  display: none;
}
.add-operations #addTrackingList li .tracking-item .delete-btn img {
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.add-operations #addTrackingList li .tracking-item .delete-btn:hover img {
  filter: invert(40%) sepia(54%) saturate(2160%) hue-rotate(328deg) brightness(93%) contrast(95%);
  /* Matches #D34F4F from tracking menu */
}
.add-operations #addTrackingList li:hover {
  background: #FFF9F5;
}
.add-operations #addTrackingList li:hover .delete-btn {
  display: block;
}
.add-operations .tracking-input:empty::before {
  content: attr(data-placeholder);
  color: #888;
  padding: 10px 10px;
}
.add-operations #addRemoveAll {
  background: none;
  border: 0;
  outline: none;
  color: #D34F4F;
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 20px;
  cursor: pointer;
  display: none;
}
.add-operations #addTrackBtn {
  margin-bottom: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background-color: #d5894e;
  border: none;
  width: 100%;
  padding: 9px 15px;
  color: #FFF;
  text-align: center;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px; /* 157.143% */
  text-transform: capitalize;
  margin-top: 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
.add-operations .input-section h1 {
  color: #0C0F16;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  cursor: default;
}
.add-operations .input-section .tracking-header {
  margin-bottom: 8px;
  text-align: left;
}
.add-operations .input-section .tracking-header span {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  max-width: 285px;
}
.add-operations .add-operations-loader {
  display: none;
  height: 81vh;
  justify-content: center;
  align-items: center;
}
.add-operations .add-operations-loader .loading-shipments-icon {
  padding-bottom: 30px;
  text-align: center;
}
.add-operations .add-operations-loader .loading-shipments-icon img {
  width: 100px;
}
.add-operations .add-operations-loader .loading-title {
  text-align: center;
}
.add-operations .add-operations-loader .loading-title .loading-text {
  text-align: center;
}
.add-operations .add-operations-loader .loading-title .loading-text .progress-bar {
  width: 300px;
  height: 8px;
  background-color: #F0F0F0;
  border-radius: 4px;
  margin: 0 auto 32px;
  overflow: hidden;
  position: relative;
}
.add-operations .add-operations-loader .loading-title .loading-text .progress-bar .progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #D38A52 0%, #E8A871 100%);
  border-radius: 4px;
  width: 0%;
  transition: width 0.5s ease-in-out;
  position: relative;
}
.add-operations .add-operations-loader .loading-title .loading-text .progress-bar .progress-bar-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  animation: shimmer 1.5s infinite;
}
.add-operations .add-operations-loader .loading-title h2 {
  margin-bottom: 24px;
  text-align: center;
  color: #D38A52;
  font-family: "DM Sans";
  font-feature-settings: "liga" off, "clig" off;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px; /* 125% */
}
.add-operations .add-operations-loader .cancel-button button {
  margin-top: 20px;
  padding: 8px 34.5px;
  color: #797B82;
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; /* 137.5% */
  border-radius: 12px;
  border: 1px solid var(--Dark-200, #E9E9E9);
  background: var(--WHite, #FFF);
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
.add-operations .add-operations-loader .cancel-button button:hover {
  border-color: #D38A52;
}
.add-operations .upload-csv .upload-wrap[data-tooltip] {
  position: relative;
}
.add-operations .upload-csv .upload-wrap[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}
@media screen and (max-height: 769px) {
  .add-operations .upload-csv .upload-wrap[data-tooltip]::after {
    z-index: 10002;
    top: -30px;
  }
}
.add-operations .upload-csv .upload-wrap[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}
.add-operations .upload-csv .upload-wrap span {
  white-space: nowrap;
}
.add-operations .upload-csv.disabled {
  cursor: not-allowed;
}
.add-operations .upload-csv.disabled .upload-wrap span {
  color: #E6C4AA;
}
.add-operations .upload-csv.disabled svg path {
  fill: #E6C4AA;
}

/* Dark theme styles for add-tracking */
.dark-theme .add-operations #addTrackingList li {
  color: #FFFFFF;
}
.dark-theme .add-operations #addTrackingList li:hover {
  background: rgba(255, 255, 255, 0.1);
}
.dark-theme .add-operations #addTrackingList li::before {
  color: #A0A0A0;
}
.dark-theme .add-operations #addTrackingList li .tracking-item span {
  color: #FFFFFF;
}
.dark-theme .add-operations .tracking-input:empty::before {
  color: #A0A0A0;
}

.review-shipments-warning {
  background: #FFF9EA;
  padding: 12px;
  margin-bottom: 16px;
  display: none;
}
.review-shipments-warning .wrap {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.review-shipments-warning .icon img {
  margin-top: 2px;
}
.review-shipments-warning p {
  margin-bottom: 0;
  color: #BE8D10;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  cursor: default;
}
.review-shipments-warning .action-buttons {
  margin-top: 10px;
  display: flex;
  gap: 12px;
}
.review-shipments-warning .action-buttons button {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #BE8D10;
  background: #FFF;
  color: #BE8D10;
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.review-shipments-warning .action-buttons button.review {
  border: 1px solid #BE8D10;
}
.review-shipments-warning .action-buttons button.review:hover {
  background: #BE8D10;
  color: #fff;
}
.review-shipments-warning .action-buttons button.delete {
  border: 0;
  color: #797B82;
}
.review-shipments-warning .action-buttons button.delete:hover {
  border-radius: 4px;
  background: #D38A52;
  color: #fff;
}

/* Responsive styles for review-shipments-warning */
@media screen and (max-width: 1200px) {
  .review-shipments-warning {
    padding: 10px;
  }
  .review-shipments-warning p {
    font-size: 13px;
    line-height: 18px;
  }
  .review-shipments-warning .action-buttons {
    gap: 10px;
  }
  .review-shipments-warning .action-buttons button {
    padding: 3px 7px;
    font-size: 13px;
  }
}
@media screen and (max-width: 1100px) {
  .review-shipments-warning .wrap {
    gap: 8px;
  }
  .review-shipments-warning .icon img {
    width: 18px;
    height: auto;
  }
  .review-shipments-warning p {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 8px;
  }
  .review-shipments-warning .action-buttons {
    gap: 8px;
  }
  .review-shipments-warning .action-buttons button {
    padding: 3px 6px;
    font-size: 12px;
    line-height: 18px;
  }
}
/* 
 * Filters Module Styles
 */
/**
 * Filter Styles
 */
.filter-content {
  display: none; /* Hidden by default */
  padding: 0;
  background-color: #fff;
  height: calc(100vh - 176px);
  min-height: 540px;
  margin: 0 -16px;
  position: relative; /* For sticky positioning context */
  transition: opacity 0.3s ease-in-out;
}
@media screen and (max-height: 635px) {
  .filter-content {
    height: calc(100vh - 198px);
    min-height: 454px;
  }
}
.filter-content.active {
  display: block;
}
.filter-content .filter-operations {
  height: 100%; /* Leave space for the filter actions */
  overflow-y: auto;
  scrollbar-width: none; /* Hide Firefox scrollbar */
  -ms-overflow-style: none; /* Hide IE/Edge scrollbar */
}
.filter-content .filter-operations::-webkit-scrollbar {
  display: none; /* Hide WebKit scrollbar */
}
.filter-content .filter-section {
  border-bottom: 1px solid #E9E9E9;
}
.filter-content .filter-section:last-child {
  border-bottom: none;
}
.filter-content .filter-section.section-open .filter-header {
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid #E9E9E9;
}
.filter-content .filter-section .filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 16px;
  cursor: pointer;
  background-color: #fff;
  transition: box-shadow 0.3s ease, background-color 0.2s ease;
}
.filter-content .filter-section .filter-header:hover {
  background-color: #FFF9F5;
}
.filter-content .filter-section .filter-header .filter-header-left {
  display: flex;
  align-items: center;
}
.filter-content .filter-section .filter-header .filter-header-left h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #0C0F16;
  margin: 0;
  line-height: 22px;
}
.filter-content .filter-section .filter-header .filter-header-right {
  display: flex;
  align-items: center;
}
.filter-content .filter-section .filter-header .filter-header-right .clear-filter {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  color: #D34F4F;
  margin-right: 16px;
  cursor: pointer;
  display: none;
  font-weight: 500;
}
.filter-content .filter-section .filter-header .filter-header-right .clear-filter:hover {
  text-decoration: underline;
}
.filter-content .filter-section .filter-header .filter-header-right .clear-filter.active {
  display: block;
}
.filter-content .filter-section .filter-header .filter-header-right .filter-count {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background-color: #D38A52;
  color: white;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  padding: 0 6px;
  margin-right: 12px;
}
.filter-content .filter-section .filter-header .filter-header-right .filter-count.active {
  display: flex;
}
.filter-content .filter-section .filter-header .filter-header-right .chevron {
  width: 22px;
  height: auto;
  color: #797B82;
  transition: transform 0.3s ease;
}
.filter-content .filter-section .filter-header .filter-header-right .chevron.open {
  transform: rotate(180deg);
}
.filter-content .filter-section .filter-body {
  background: #FFFCF9;
  box-shadow: 0 -1px 4px 0 rgba(0, 0, 0, 0.06) inset;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
  padding: 0;
}
.filter-content .filter-section .filter-body.open {
  padding: 12px 0;
  max-height: 500px; /* Large enough to fit any filter content */
}
.filter-content .filter-section .filter-body .search-courier {
  position: relative;
  margin-bottom: 6px;
  padding: 0 16px;
}
.filter-content .filter-section .filter-body .search-courier .search-courier-input {
  width: 100%;
  height: 36px;
  border: 1px solid #E9E9E9;
  border-radius: 12px;
  padding: 0 16px 0 36px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #B5B5B5;
  outline: none;
  background-color: #fff;
}
.filter-content .filter-section .filter-body .search-courier .search-courier-input::-moz-placeholder {
  color: #B5B5B5;
}
.filter-content .filter-section .filter-body .search-courier .search-courier-input::placeholder {
  color: #B5B5B5;
}
.filter-content .filter-section .filter-body .search-courier .search-icon {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
}
.filter-content .filter-section .filter-body .courier-options, .filter-content .filter-section .filter-body .status-options, .filter-content .filter-section .filter-body .label-options, .filter-content .filter-section .filter-body .origin-options, .filter-content .filter-section .filter-body .destination-options {
  max-height: 300px;
  overflow-y: auto;
}
.filter-content .filter-section .filter-body .courier-options::-webkit-scrollbar, .filter-content .filter-section .filter-body .status-options::-webkit-scrollbar, .filter-content .filter-section .filter-body .label-options::-webkit-scrollbar, .filter-content .filter-section .filter-body .origin-options::-webkit-scrollbar, .filter-content .filter-section .filter-body .destination-options::-webkit-scrollbar {
  width: 4px; /* vertical scrollbar width */
}
.filter-content .filter-section .filter-body .courier-options::-webkit-scrollbar-track, .filter-content .filter-section .filter-body .status-options::-webkit-scrollbar-track, .filter-content .filter-section .filter-body .label-options::-webkit-scrollbar-track, .filter-content .filter-section .filter-body .origin-options::-webkit-scrollbar-track, .filter-content .filter-section .filter-body .destination-options::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 8px;
}
.filter-content .filter-section .filter-body .courier-options::-webkit-scrollbar-thumb, .filter-content .filter-section .filter-body .status-options::-webkit-scrollbar-thumb, .filter-content .filter-section .filter-body .label-options::-webkit-scrollbar-thumb, .filter-content .filter-section .filter-body .origin-options::-webkit-scrollbar-thumb, .filter-content .filter-section .filter-body .destination-options::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: var(--Dark-200, #E9E9E9);
}
@media screen and (max-height: 635px) {
  .filter-content .filter-section .filter-body .courier-options, .filter-content .filter-section .filter-body .status-options, .filter-content .filter-section .filter-body .label-options, .filter-content .filter-section .filter-body .origin-options, .filter-content .filter-section .filter-body .destination-options {
    height: 125px;
  }
}
@media screen and (max-height: 540px) {
  .filter-content .filter-section .filter-body .courier-options, .filter-content .filter-section .filter-body .status-options, .filter-content .filter-section .filter-body .label-options, .filter-content .filter-section .filter-body .origin-options, .filter-content .filter-section .filter-body .destination-options {
    height: 160px;
  }
}
.filter-content .filter-section .filter-body .courier-options .courier-option, .filter-content .filter-section .filter-body .courier-options .status-option, .filter-content .filter-section .filter-body .courier-options .label-option, .filter-content .filter-section .filter-body .courier-options .origin-option, .filter-content .filter-section .filter-body .courier-options .destination-option, .filter-content .filter-section .filter-body .status-options .courier-option, .filter-content .filter-section .filter-body .status-options .status-option, .filter-content .filter-section .filter-body .status-options .label-option, .filter-content .filter-section .filter-body .status-options .origin-option, .filter-content .filter-section .filter-body .status-options .destination-option, .filter-content .filter-section .filter-body .label-options .courier-option, .filter-content .filter-section .filter-body .label-options .status-option, .filter-content .filter-section .filter-body .label-options .label-option, .filter-content .filter-section .filter-body .label-options .origin-option, .filter-content .filter-section .filter-body .label-options .destination-option, .filter-content .filter-section .filter-body .origin-options .courier-option, .filter-content .filter-section .filter-body .origin-options .status-option, .filter-content .filter-section .filter-body .origin-options .label-option, .filter-content .filter-section .filter-body .origin-options .origin-option, .filter-content .filter-section .filter-body .origin-options .destination-option, .filter-content .filter-section .filter-body .destination-options .courier-option, .filter-content .filter-section .filter-body .destination-options .status-option, .filter-content .filter-section .filter-body .destination-options .label-option, .filter-content .filter-section .filter-body .destination-options .origin-option, .filter-content .filter-section .filter-body .destination-options .destination-option {
  padding: 8px 16px;
  transition: background-color 0.2s ease;
}
.filter-content .filter-section .filter-body .courier-options .courier-option:hover, .filter-content .filter-section .filter-body .courier-options .status-option:hover, .filter-content .filter-section .filter-body .courier-options .label-option:hover, .filter-content .filter-section .filter-body .courier-options .origin-option:hover, .filter-content .filter-section .filter-body .courier-options .destination-option:hover, .filter-content .filter-section .filter-body .status-options .courier-option:hover, .filter-content .filter-section .filter-body .status-options .status-option:hover, .filter-content .filter-section .filter-body .status-options .label-option:hover, .filter-content .filter-section .filter-body .status-options .origin-option:hover, .filter-content .filter-section .filter-body .status-options .destination-option:hover, .filter-content .filter-section .filter-body .label-options .courier-option:hover, .filter-content .filter-section .filter-body .label-options .status-option:hover, .filter-content .filter-section .filter-body .label-options .label-option:hover, .filter-content .filter-section .filter-body .label-options .origin-option:hover, .filter-content .filter-section .filter-body .label-options .destination-option:hover, .filter-content .filter-section .filter-body .origin-options .courier-option:hover, .filter-content .filter-section .filter-body .origin-options .status-option:hover, .filter-content .filter-section .filter-body .origin-options .label-option:hover, .filter-content .filter-section .filter-body .origin-options .origin-option:hover, .filter-content .filter-section .filter-body .origin-options .destination-option:hover, .filter-content .filter-section .filter-body .destination-options .courier-option:hover, .filter-content .filter-section .filter-body .destination-options .status-option:hover, .filter-content .filter-section .filter-body .destination-options .label-option:hover, .filter-content .filter-section .filter-body .destination-options .origin-option:hover, .filter-content .filter-section .filter-body .destination-options .destination-option:hover {
  background-color: #FFF9F5;
}
.filter-content .filter-section .filter-body .courier-options .courier-option:hover .checkbox-label, .filter-content .filter-section .filter-body .courier-options .status-option:hover .checkbox-label, .filter-content .filter-section .filter-body .courier-options .label-option:hover .checkbox-label, .filter-content .filter-section .filter-body .courier-options .origin-option:hover .checkbox-label, .filter-content .filter-section .filter-body .courier-options .destination-option:hover .checkbox-label, .filter-content .filter-section .filter-body .status-options .courier-option:hover .checkbox-label, .filter-content .filter-section .filter-body .status-options .status-option:hover .checkbox-label, .filter-content .filter-section .filter-body .status-options .label-option:hover .checkbox-label, .filter-content .filter-section .filter-body .status-options .origin-option:hover .checkbox-label, .filter-content .filter-section .filter-body .status-options .destination-option:hover .checkbox-label, .filter-content .filter-section .filter-body .label-options .courier-option:hover .checkbox-label, .filter-content .filter-section .filter-body .label-options .status-option:hover .checkbox-label, .filter-content .filter-section .filter-body .label-options .label-option:hover .checkbox-label, .filter-content .filter-section .filter-body .label-options .origin-option:hover .checkbox-label, .filter-content .filter-section .filter-body .label-options .destination-option:hover .checkbox-label, .filter-content .filter-section .filter-body .origin-options .courier-option:hover .checkbox-label, .filter-content .filter-section .filter-body .origin-options .status-option:hover .checkbox-label, .filter-content .filter-section .filter-body .origin-options .label-option:hover .checkbox-label, .filter-content .filter-section .filter-body .origin-options .origin-option:hover .checkbox-label, .filter-content .filter-section .filter-body .origin-options .destination-option:hover .checkbox-label, .filter-content .filter-section .filter-body .destination-options .courier-option:hover .checkbox-label, .filter-content .filter-section .filter-body .destination-options .status-option:hover .checkbox-label, .filter-content .filter-section .filter-body .destination-options .label-option:hover .checkbox-label, .filter-content .filter-section .filter-body .destination-options .origin-option:hover .checkbox-label, .filter-content .filter-section .filter-body .destination-options .destination-option:hover .checkbox-label {
  color: #0C0F16;
}
.filter-content .filter-section .filter-body .courier-options .courier-option:last-child, .filter-content .filter-section .filter-body .courier-options .status-option:last-child, .filter-content .filter-section .filter-body .courier-options .label-option:last-child, .filter-content .filter-section .filter-body .courier-options .origin-option:last-child, .filter-content .filter-section .filter-body .courier-options .destination-option:last-child, .filter-content .filter-section .filter-body .status-options .courier-option:last-child, .filter-content .filter-section .filter-body .status-options .status-option:last-child, .filter-content .filter-section .filter-body .status-options .label-option:last-child, .filter-content .filter-section .filter-body .status-options .origin-option:last-child, .filter-content .filter-section .filter-body .status-options .destination-option:last-child, .filter-content .filter-section .filter-body .label-options .courier-option:last-child, .filter-content .filter-section .filter-body .label-options .status-option:last-child, .filter-content .filter-section .filter-body .label-options .label-option:last-child, .filter-content .filter-section .filter-body .label-options .origin-option:last-child, .filter-content .filter-section .filter-body .label-options .destination-option:last-child, .filter-content .filter-section .filter-body .origin-options .courier-option:last-child, .filter-content .filter-section .filter-body .origin-options .status-option:last-child, .filter-content .filter-section .filter-body .origin-options .label-option:last-child, .filter-content .filter-section .filter-body .origin-options .origin-option:last-child, .filter-content .filter-section .filter-body .origin-options .destination-option:last-child, .filter-content .filter-section .filter-body .destination-options .courier-option:last-child, .filter-content .filter-section .filter-body .destination-options .status-option:last-child, .filter-content .filter-section .filter-body .destination-options .label-option:last-child, .filter-content .filter-section .filter-body .destination-options .origin-option:last-child, .filter-content .filter-section .filter-body .destination-options .destination-option:last-child {
  margin-bottom: 0;
}
.filter-content .filter-section .filter-body .courier-options .no-options, .filter-content .filter-section .filter-body .status-options .no-options, .filter-content .filter-section .filter-body .label-options .no-options, .filter-content .filter-section .filter-body .origin-options .no-options, .filter-content .filter-section .filter-body .destination-options .no-options {
  color: #797B82;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  text-align: center;
  padding: 12px 0;
}
.filter-content .filter-section .filter-body .checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: #797B82;
  line-height: normal;
  font-weight: 500;
  width: 100%;
  overflow: hidden;
}
.filter-content .filter-section .filter-body .checkbox-container input[type=checkbox] {
  position: relative;
  width: 16px;
  height: 16px;
  min-width: 16px; /* Prevent shrinking */
  flex-shrink: 0; /* Prevent shrinking */
  margin-right: 10px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid #B5B5B5;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  background-color: #F9F9F9;
}
.filter-content .filter-section .filter-body .checkbox-container input[type=checkbox]:checked {
  background-color: white;
  border: 1.5px solid #D38A52;
}
.filter-content .filter-section .filter-body .checkbox-container input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 7px;
  border: solid #D38A52;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transform-origin: center;
}
.filter-content .filter-section .filter-body .checkbox-container .checkbox-label {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px; /* Adjust as needed */
  display: block;
}
.filter-content .filter-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  padding: 8px 24px;
  border-top: 1px solid #E9E9E9;
  position: sticky;
  bottom: 0;
  background-color: #fff;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  bottom: 0;
  width: 100%;
}
.filter-content .filter-actions .btn-clear, .filter-content .filter-actions .btn-apply {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 122px;
}
@media screen and (max-height: 635px) {
  .filter-content .filter-actions .btn-clear, .filter-content .filter-actions .btn-apply {
    padding: 0 18px;
    height: 32px;
    font-size: 14px;
  }
}
.filter-content .filter-actions .btn-clear {
  background-color: #fff;
  border: 1px solid #E9E9E9;
  color: #797B82;
}
.filter-content .filter-actions .btn-clear:hover {
  background-color: #F9F9F9;
}
.filter-content .filter-actions .btn-clear.disabled {
  opacity: 0.8;
  cursor: not-allowed;
}
.filter-content .filter-actions .btn-clear.disabled:hover {
  background-color: #fff;
}
.filter-content .filter-actions .btn-apply {
  background-color: #D38A52;
  border: none;
  color: #fff;
}
.filter-content .filter-actions .btn-apply:hover {
  background-color: #ce7c3e;
}
.filter-content .filter-actions .btn-apply.disabled {
  opacity: 0.8;
  cursor: not-allowed;
}
.filter-content .filter-actions .btn-apply.disabled:hover {
  background-color: #D38A52;
}

.filter-btn {
  position: relative;
  transition: background-color 0.2s ease;
}
.filter-btn.active {
  background-color: #FFF9F5 !important;
}
.filter-btn.active svg path {
  fill: #D38A52;
}
.filter-btn.has-filters {
  background-color: #FFF9F5 !important;
}
.filter-btn.has-filters svg path {
  fill: #D38A52;
}
.filter-btn:hover {
  background-color: #FFF9F5;
}
.filter-btn:hover svg path {
  fill: #D38A52;
}
.filter-btn .filter-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  background-color: #D38A52;
  color: white;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  padding: 0 4px;
  z-index: 99;
}

#filter-global-tooltip {
  position: fixed;
  display: none;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  max-width: 220px;
  z-index: 10000;
  pointer-events: none;
}
@media screen and (max-height: 769px) {
  #filter-global-tooltip {
    z-index: 10002; /* Lower z-index to appear below header when screen height is small */
  }
}
#filter-global-tooltip .filter-tooltip-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#filter-global-tooltip .filter-tooltip-column .filter-tooltip-item {
  margin: 2px 0;
  white-space: nowrap;
  color: white;
}
#filter-global-tooltip .filter-tooltip-column .label-filter-item {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}
#filter-global-tooltip strong {
  font-weight: 600;
  color: #D38A52;
}

.filter-operations {
  padding: 0;
}
.filter-operations .filter-group {
  margin-bottom: 24px;
}
.filter-operations .filter-group h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Responsive Media Queries */
@media screen and (max-width: 992px) {
  .filter-content {
    /* Height controls removed as requested */
  }
}
@media screen and (max-width: 768px) {
  .filter-content {
    /* Height controls removed as requested */
  }
}
@media screen and (max-width: 600px) {
  .filter-content {
    /* Height controls removed as requested */
  }
  .filter-content .filter-section .filter-header {
    padding: 12px 16px;
  }
  .filter-content .filter-section .filter-header .filter-header-left h3 {
    font-size: 16px;
  }
  .filter-content .filter-section .filter-header .filter-header-right .clear-filter {
    font-size: 14px;
    margin-right: 12px;
  }
  .filter-content .filter-section .filter-header .filter-header-right .filter-count {
    min-width: 28px;
    height: 28px;
    font-size: 14px;
  }
  .filter-content .filter-section .filter-body.open {
    padding: 0 16px 12px;
  }
  .filter-content .filter-actions {
    padding: 12px 16px;
    margin-top: 16px;
  }
  .filter-content .filter-actions .btn-clear, .filter-content .filter-actions .btn-apply {
    padding: 8px 20px;
    font-size: 13px;
  }
}
@media screen and (max-width: 600px) and (max-height: 635px) {
  .filter-content .filter-actions .btn-clear, .filter-content .filter-actions .btn-apply {
    padding-top: 0;
    padding-bottom: 0;
    height: 32px;
  }
}
.saved-shipments-header {
  background-color: #fff;
  border-bottom: 1px solid #E9E9E9;
  padding: 15.5px 16px;
  display: none;
}
.saved-shipments-header .wrapper {
  display: flex;
  align-items: center;
  margin: 0 auto;
}
.saved-shipments-header .back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 16px;
}
.saved-shipments-header .back-btn:active {
  background-color: rgba(0, 0, 0, 0.1);
  transform: scale(0.98);
}
.saved-shipments-header .back-btn svg {
  width: 24px;
  height: 24px;
}
.saved-shipments-header h1 {
  font-size: 20px;
  font-weight: 500;
  color: #0C0F16;
  margin: 0;
  line-height: 26px;
  font-family: "DM Sans", sans-serif;
}

.dark-theme .saved-shipments-header {
  background-color: #1e1e1e;
  border-bottom: 1px solid #333;
}
.dark-theme .saved-shipments-header h1 {
  color: #e5e5e5;
}
.dark-theme .saved-shipments-header .back-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.dark-theme .saved-shipments-header .back-btn svg path {
  fill: #e5e5e5;
}

body.saved-view .saved-shipments-header {
  display: block;
}

body.saved-view .shipping-details .wrapper .details-left .search-content .back-btn {
  display: none;
}

@media (max-width: 768px) {
  .saved-shipments-header .wrapper {
    padding: 0 15px;
  }
  .saved-shipments-header h1 {
    font-size: 16px;
  }
}
/* 
 * Chatbot Module Styles
 */
.chatbot-icon .open-btn {
  position: fixed;
  bottom: 55px;
  right: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.chatbot-icon .open-btn .rive-chatbot {
  width: 80px;
  height: 80px;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-icon .open-btn .rive-chatbot canvas {
  width: 80px !important;
  height: 80px !important;
  display: block;
}
.chatbot-icon .open-btn .fallback-gif {
  width: auto;
  height: auto;
  display: none; /* Hidden by default, shown if Rive fails */
}
.chatbot-icon .open-btn img {
  width: auto;
  height: auto;
}
.chatbot-icon .close-btn {
  cursor: pointer;
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 9999;
  display: none;
}

.chatbot-container {
  position: fixed;
  bottom: 120px;
  right: 20px;
  width: 360px;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  overflow: hidden;
  display: none;
  flex-direction: column;
  border: 1px solid #F3D1B0;
  background: linear-gradient(169.57deg, #FFFDFB 23.38%, #EBD5BD 52.46%, #C99051 72.33%);
  justify-content: space-between;
  opacity: 0;
  transform: scale(0.3) translateY(100px);
  transform-origin: bottom right;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}
.chatbot-container.active {
  display: flex;
  opacity: 1;
  transform: scale(1) translateY(0);
}
.chatbot-container .chatbot-header {
  padding: 16px 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}
.chatbot-container .chatbot-header::before {
  content: "";
  position: absolute;
  top: 80px;
  left: 88px;
  width: 100%;
  height: 100%;
  background: url(../../assets/icons/Objects.png) no-repeat center center;
  z-index: -9;
}
.chatbot-container .chatbot-header .header-text h3 {
  margin-bottom: 8px;
  color: var(--Brand-Primary, #D38A52);
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 140% */
}
.chatbot-container .chatbot-header .header-text p {
  color: var(--Dark-400, #797B82);
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
}
.chatbot-container .chatbot-header .close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #797B82;
  font-size: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}
.chatbot-container .chatbot-header .close-btn:hover {
  color: #0C0F16;
}
.chatbot-container .chatbot-body {
  margin: 0 16px;
  margin-bottom: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px;
  background: #FFF;
}
.chatbot-container .chatbot-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chatbot-container .chatbot-options .option-item {
  display: flex;
  align-items: center;
  padding: 12px;
  background-color: #F9F9F9;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border: 1px solid #EFEFEF;
}
.chatbot-container .chatbot-options .option-item:hover .option-arrow svg path {
  fill: #0C0F16;
}
.chatbot-container .chatbot-options .option-item .option-icon {
  margin-right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-container .chatbot-options .option-item .option-icon img {
  width: 100%;
  height: 100%;
}
.chatbot-container .chatbot-options .option-item .option-text {
  font-family: "DM Sans", sans-serif;
  color: var(--Dark-500, #0C0F16);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; /* 137.5% */
}
.chatbot-container .chatbot-options .option-item .option-arrow {
  margin-left: auto;
  color: #D38A52;
  font-size: 20px;
}

/* Messaging App Styles */
.messaging-app {
  position: fixed;
  bottom: 64px;
  right: 20px;
  width: 360px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  border-radius: 8px;
  border: 1px solid #FFF;
  background: linear-gradient(170deg, #FFFDFB 23.38%, #EBD5BD 52.46%, #C99051 72.33%);
  box-shadow: 0 4px 16px 0 rgba(17, 17, 26, 0.1), 0 8px 32px 0 rgba(17, 17, 26, 0.05);
  /* Chat Messages Area */
  /* Message Styles */
  /* Quick Actions */
  /* Typing Indicator */
  /* Input Area */
  /* Action Buttons in Messages */
  /* Scrollbar Styling */
  /* Responsive Design */
  /* Animation Keyframes */
  /* Animation Classes */
}
.messaging-app.active {
  display: flex;
}
.messaging-app .chat-header {
  background: transparent;
  padding: 16px 16px 0 16px;
}
.messaging-app .chat-header .header-offline {
  margin-bottom: 20px;
}
.messaging-app .chat-header .header-offline span {
  display: block;
  margin-bottom: 8px;
  color: #D38A52;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 140% */
}
.messaging-app .chat-header .header-offline p {
  color: #797B82;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
}
.messaging-app .chat-header .header-online {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}
.messaging-app .chat-header .header-online .header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.messaging-app .chat-header .header-online .header-left .header-info h3 {
  color: #D38A52;
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 140% */
}
.messaging-app .chat-header .header-online .header-left .header-info .status {
  color: var(--Success-Primary, #258D1A);
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px; /* 133.333% */
}
.messaging-app .chat-header .header-online .header-left .header-info .status .status-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
}
.messaging-app .chat-header .header-online .header-actions .close-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.2s;
  font-size: 16px;
  display: none;
}
.messaging-app .chat-header .header-online .header-actions .close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.messaging-app .chat-messages {
  position: relative;
}
.messaging-app .chat-messages .chats {
  min-height: 426px;
  height: 426px;
  margin: 8px 16px 0;
  padding-bottom: 10px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;
}
.messaging-app .chat-messages .chats::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}
@media screen and (max-height: 635px) {
  .messaging-app .chat-messages .chats {
    min-height: 350px;
    height: 350px;
  }
}
.messaging-app .chat-messages .chats .dynamic-typing-indicator {
  margin: 0;
}
.messaging-app .chat-messages .chats .dynamic-typing-indicator .typing-content {
  padding: 0;
}
.messaging-app .chat-messages .message {
  max-width: 100%;
  animation: fadeIn 0.3s ease-in;
}
.messaging-app .chat-messages .message.bot-message {
  align-self: flex-start;
}
.messaging-app .chat-messages .message.bot-message .message-content {
  width: auto;
  border-radius: 8px;
  background: #FFF9F5;
  padding: 12px;
}
.messaging-app .chat-messages .message.bot-message .message-content .message-text {
  color: #0C0F16;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
}
.messaging-app .chat-messages .message.user-message {
  align-self: flex-end;
}
.messaging-app .chat-messages .message.user-message .message-content {
  max-width: 90%;
  background: #D38A52;
  color: white;
  border-radius: 8px;
  background: #F9F9F9;
}
.messaging-app .chat-messages .message.user-message .message-content .message-text {
  color: var(--Dark-500, #0C0F16);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
}
.messaging-app .chat-messages .message .message-time {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
  text-align: right;
  display: none;
}
.messaging-app .chat-messages .message .tracking-results {
  border-radius: 8px;
  font-size: 13px;
}
.messaging-app .chat-messages .message .tracking-results .result-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}
.messaging-app .chat-messages .message .tracking-results .result-row .result-label {
  color: #797B82;
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 150% */
  text-transform: capitalize;
}
.messaging-app .chat-messages .message .tracking-results .result-row .result-value {
  color: var(--Dark-500, #0C0F16);
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  text-transform: capitalize;
}
.messaging-app .chat-messages .message .tracking-results .result-row .result-value a {
  text-transform: lowercase;
  color: #0C0F16;
  width: 100%;
  text-decoration: none;
  transition: all 0.3s ease;
  word-break: break-all;
}
.messaging-app .chat-messages .message .tracking-results .result-row .result-value a:hover {
  text-decoration: underline;
}
.messaging-app .chat-messages .message .tracking-results .message-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.messaging-app .chat-messages .message .tracking-results .message-actions .action-btn {
  background: #D38A52;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.messaging-app .chat-messages .message .tracking-results .message-actions .action-btn:hover {
  background: #c17a42;
}
.messaging-app .chat-messages .quick-actions::before {
  content: "";
  background: url(../../assets/images/Objects.png) no-repeat center center;
  width: 86px;
  height: 100px;
  position: absolute;
  top: -40px;
  right: 47px;
  z-index: -1;
}
.messaging-app .chat-messages .quick-action-inner {
  padding: 16px;
  margin: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 8px;
  background: #FFF;
  position: relative;
  z-index: 99;
}
.messaging-app .chat-messages .quick-action-inner .quick-action-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11.4px 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  text-align: left;
  color: #374151;
  border-radius: 8px;
  border: 1px solid var(--Dark-200, #E9E9E9);
  background: var(--Dark-100, #F9F9F9);
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.04);
}
.messaging-app .chat-messages .quick-action-inner .quick-action-btn:hover .arrow-right svg path {
  fill: #0C0F16;
}
.messaging-app .chat-messages .quick-action-inner .quick-action-btn .text-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.messaging-app .chat-messages .quick-action-inner .quick-action-btn .text-wrap svg {
  margin-right: 12px;
}
.messaging-app .chat-messages .quick-action-inner .quick-action-btn .text-wrap span {
  color: var(--Dark-500, #0C0F16);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; /* 137.5% */
}
.messaging-app .chat-messages .courier-options {
  margin-bottom: 10px;
  justify-content: right;
}
.messaging-app .chat-messages .courier-options .courier-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.messaging-app .chat-messages .courier-options .courier-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: #374151;
  border-radius: 8px;
  border: 1px solid var(--Dark-200, #E9E9E9);
  background: var(--Dark-100, #F9F9F9);
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.04);
}
.messaging-app .chat-messages .courier-options .courier-btn:hover {
  background: var(--Dark-50, #FAFAFA);
  border-color: #D1D5DB;
  transform: translateY(-1px);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.08);
}
.messaging-app .chat-messages .courier-options .courier-btn.other-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #667eea;
}
.messaging-app .chat-messages .courier-options .courier-btn.other-btn:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  border-color: #5a6fd8;
}
.messaging-app .chat-messages .courier-options .courier-btn .courier-name {
  font-weight: 600;
}
.messaging-app .typing-indicator {
  margin: 0 16px 0;
  padding-bottom: 8px;
  background-color: #fff;
}
.messaging-app .typing-indicator.hidden {
  display: none;
}
.messaging-app .typing-indicator .typing-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.messaging-app .typing-indicator .typing-content .avatar {
  width: 24px;
  height: 24px;
  background: rgba(211, 138, 82, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.messaging-app .typing-indicator .typing-content .typing-dots {
  display: flex;
  gap: 4px;
}
.messaging-app .typing-indicator .typing-content .typing-dots span {
  width: 6px;
  height: 6px;
  background: #D38A52;
  border-radius: 50%;
  animation: typingDot 1.5s infinite;
}
.messaging-app .typing-indicator .typing-content .typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.messaging-app .typing-indicator .typing-content .typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
.messaging-app .chat-input-area {
  margin: 0 16px 16px;
  background: #fff;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.messaging-app .chat-input-area .input-container {
  background-color: #fff;
  padding: 0 16px 16px;
}
.messaging-app .chat-input-area .input-container .input-container-inner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f9f9f9;
  padding-right: 8px;
  border-radius: 8px;
}
.messaging-app .chat-input-area .input-container input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  padding: 8px 0;
  font-size: 14px;
  color: #1f2937;
}
.messaging-app .chat-input-area .input-container input::-moz-placeholder {
  color: #9ca3af;
}
.messaging-app .chat-input-area .input-container input::placeholder {
  color: #9ca3af;
}
.messaging-app .chat-input-area .input-container input:disabled {
  color: #9ca3af;
  cursor: not-allowed;
}
.messaging-app .chat-input-area .input-container button {
  width: 36px;
  height: 36px;
  background: #D38A52;
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}
.messaging-app .chat-input-area .input-container button:hover:not(:disabled) {
  background: #c17a42;
}
.messaging-app .chat-input-area .input-container button:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}
.messaging-app .chat-input-area .input-container button svg {
  width: 16px;
  height: 14px;
}
.messaging-app .header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.messaging-app .avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.messaging-app .header-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 2px;
}
.messaging-app .status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  opacity: 0.9;
}
.messaging-app .status-dot {
  width: 6px;
  height: 6px;
  background: #2ecc71;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
.messaging-app .close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}
.messaging-app .close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.messaging-app .message {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}
.messaging-app .bot-message {
  align-items: flex-start;
}
.messaging-app .user-message {
  align-items: flex-end;
}
.messaging-app .message-content {
  max-width: 100%;
  position: relative;
}
.messaging-app .user-message .message-content {
  background: linear-gradient(135deg, #e67e22, #d4772a);
  color: white;
  border-radius: 18px 18px 5px 18px;
  padding: 12px 16px;
}
.messaging-app .message-text {
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}
.messaging-app .message-time {
  font-size: 11px;
  color: #95a5a6;
  margin-top: 4px;
  margin-left: 8px;
}
.messaging-app .user-message .message-time {
  text-align: right;
  margin-left: 0;
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.7);
}
.messaging-app .quick-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.messaging-app .quick-action-btn {
  background: white;
  border: 2px solid #e67e22;
  color: #e67e22;
  padding: 12px 16px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: left;
}
.messaging-app .typing-indicator.hidden {
  display: none;
}
.messaging-app .typing-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}
.messaging-app .typing-content .avatar {
  width: 30px;
  height: 30px;
  font-size: 14px;
  background: #e9ecef;
}
.messaging-app .typing-dots {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.messaging-app .typing-dots span {
  width: 6px;
  height: 6px;
  background: #bdc3c7;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}
.messaging-app .typing-dots span:nth-child(1) {
  animation-delay: -0.32s;
}
.messaging-app .typing-dots span:nth-child(2) {
  animation-delay: -0.16s;
}
@keyframes typing {
  0%, 80%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}
.messaging-app .input-container {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  background: var(--Dark-100, #F9F9F9);
}
.messaging-app #messageInput {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  padding: 15px 8px 15px 16px;
  color: #2c3e50;
  border-radius: 8px;
  line-height: 18px;
}
.messaging-app #messageInput::-moz-placeholder {
  color: #bdc3c7;
}
.messaging-app #messageInput::placeholder {
  color: #bdc3c7;
}
.messaging-app #messageInput:disabled {
  color: #bdc3c7;
}
.messaging-app #sendButton {
  border-radius: 8px;
  background: var(--Brand-Dark, #B26C38);
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.messaging-app #sendButton:hover:not(:disabled) {
  background: #d4772a;
  transform: scale(1.05);
}
.messaging-app #sendButton:disabled {
  background: #fff;
  cursor: not-allowed;
  transform: none;
}
.messaging-app .message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.messaging-app .action-btn {
  padding: 8px;
  border: 1px solid #D38A52;
  outline: none;
  border-radius: 8px;
  background: #FFF9F5;
  color: #D38A52;
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px; /* 133.333% */
  cursor: pointer;
}
.messaging-app .action-btn:hover {
  background: #e67e22;
  color: white;
}
.messaging-app .chat-messages::-webkit-scrollbar {
  width: 4px;
}
.messaging-app .chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.messaging-app .chat-messages::-webkit-scrollbar-thumb {
  background: #bdc3c7;
  border-radius: 2px;
}
.messaging-app .chat-messages::-webkit-scrollbar-thumb:hover {
  background: #95a5a6;
}
@media (max-width: 480px) {
  .messaging-app .messaging-app {
    height: 100vh;
    max-width: 100%;
    border-radius: 0;
  }
  .messaging-app body {
    padding: 0;
  }
  .messaging-app .chat-messages {
    padding: 15px;
  }
  .messaging-app .message-content {
    max-width: 85%;
  }
}
@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.messaging-app .fade-in {
  animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes typingDot {
  0%, 60%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  30% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Header Styles */
/* 
 * Language Module Styles
 */
/* 
 * Tracking Menu Styles
 */
@media screen and (max-width: 1024px) {
  .tracking-header-menu {
    padding: 16px;
  }
  .tracking-header-menu .tracking-header-menu-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .tracking-header-menu .tracking-number-container {
    margin-bottom: 4px;
  }
  .tracking-header-menu .tracking-status {
    margin-left: 0;
  }
}
.tracking-header-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 24px;
  margin: 16px;
  margin-top: 12px;
  border-radius: 12px;
  background: #FFF;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.04);
}
.tracking-header-menu .tracking-header-menu-left {
  display: flex;
  gap: 12px;
}
.tracking-header-menu .tracking-number-container {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tracking-header-menu .tracking-number-container .tracking-number {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #0C0F16;
  line-height: 24px;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tracking-header-menu .tracking-number-container .tracking-tooltip-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 100%;
  cursor: default;
  z-index: 2;
}
.tracking-header-menu .tracking-number-container .tracking-tooltip-overlay[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 100%;
  margin-top: 5px;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10000;
  pointer-events: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}
@media screen and (max-height: 769px) {
  .tracking-header-menu .tracking-number-container .tracking-tooltip-overlay[data-tooltip]::after {
    z-index: 10002;
  }
}
.tracking-header-menu .tracking-number-container .tracking-tooltip-overlay[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}
.tracking-header-menu .tracking-number-container .copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  position: relative;
}
.tracking-header-menu .tracking-number-container .copy-btn.copy-tooltip-btn[data-tooltip] {
  position: relative;
}
.tracking-header-menu .tracking-number-container .copy-btn.copy-tooltip-btn[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -35px; /* Fine-tuned to match other tooltips while preventing cutoff */
  bottom: auto;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10000; /* Higher z-index to ensure visibility */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Added box-shadow to match other tooltips */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}
@media screen and (max-height: 769px) {
  .tracking-header-menu .tracking-number-container .copy-btn.copy-tooltip-btn[data-tooltip]::after {
    z-index: 10002; /* Adjusted to match other tooltips on small screens */
  }
}
.tracking-header-menu .tracking-number-container .copy-btn.copy-tooltip-btn[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
  transition: opacity 0.3s ease, visibility 0s;
}
.tracking-header-menu .tracking-number-container .copy-btn:hover {
  background-color: #FFF9F5;
  border-radius: 4px;
}
.tracking-header-menu .tracking-number-container .copy-btn .copy-tooltip {
  position: absolute;
  top: -30px;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10000;
}
@media screen and (max-height: 769px) {
  .tracking-header-menu .tracking-number-container .copy-btn .copy-tooltip {
    z-index: 10002; /* Adjusted to match other tooltips on small screens */
  }
}
.tracking-header-menu .tracking-number-container .copy-btn .copy-tooltip:after {
  display: none;
}
.tracking-header-menu .tracking-status {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: default;
}
.tracking-header-menu .tracking-status .status-text {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #797B82;
  font-weight: 500;
  line-height: 20px;
  margin-right: 12px;
}
.tracking-header-menu .tracking-status .status-text .status-text-icon {
  margin-right: 12px;
}
.tracking-header-menu .tracking-status .status-date {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #797B82;
  font-weight: 500;
  line-height: 20px;
  margin-right: 12px;
}
.tracking-header-menu .tracking-status .status-date .status-date-icon {
  margin-right: 12px;
}
.tracking-header-menu .tracking-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  /* Increased z-index to ensure proper stacking context for tooltips */
}
.tracking-header-menu .tracking-actions .tracking-labels {
  display: flex;
  align-items: center;
  gap: 8px; /* Increased gap for better spacing */
  margin-right: 8px;
}
.tracking-header-menu .tracking-actions .tracking-labels.animate-in {
  animation: slideInLabelFromRight 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.tracking-header-menu .tracking-actions .tracking-labels.hidden-container {
  opacity: 0;
  transform: translateX(40px);
}
.tracking-header-menu .tracking-actions .tracking-labels .tracking-label {
  background-color: #FFF9F5;
  border: 1px solid #E6C4AA;
  border-radius: 8px;
  padding: 5px 4px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #0C0F16;
  white-space: nowrap;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  min-width: 112px;
  max-width: 160px;
}
.tracking-header-menu .tracking-actions .tracking-labels .tracking-label .label-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60px;
  margin-left: 4px;
  flex: 1;
}
.tracking-header-menu .tracking-actions .tracking-labels .tracking-label .label-icon {
  margin-right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tracking-header-menu .tracking-actions .tracking-labels .tracking-label .label-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
}
.tracking-header-menu .tracking-actions .tracking-labels .tracking-label .label-icon svg path {
  fill: #D38A52;
  stroke: none;
}
.tracking-header-menu .tracking-actions .tracking-labels .tracking-label .label-remove-icon {
  margin-left: 8px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.2s ease;
  /* Global tooltip is used instead */
}
.tracking-header-menu .tracking-actions .tracking-labels .tracking-label .label-remove-icon svg {
  width: 12px;
  height: 12px;
}
.tracking-header-menu .tracking-actions .tracking-labels .tracking-label .label-remove-icon:hover {
  opacity: 0.8;
}
.tracking-header-menu .tracking-actions .tracking-labels .tracking-label .label-remove-icon:hover svg path {
  fill: #D34F4F;
}
.tracking-header-menu .tracking-actions .tracking-labels .tracking-label:hover {
  background-color: #F8F8F8;
  border-color: #D8D8D8;
}
.tracking-header-menu .tracking-actions .tracking-labels .label-count {
  background-color: #D38A52;
  color: white;
  border-radius: 100px;
  min-width: 18px; /* Slightly larger */
  height: 18px;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  position: relative;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}
.tracking-header-menu .tracking-actions .tracking-labels .label-count:hover {
  background-color: #ce7c3e;
  /* Removed box-shadow and transform to prevent movement on hover */
}
.tracking-header-menu .tracking-actions .tracking-labels .label-count[data-tooltip] {
  position: relative;
}
.tracking-header-menu .tracking-actions .tracking-labels .label-count[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -35px; /* Updated to match working copy tooltip */
  left: 50%;
  transform: translateX(-50%); /* Simplified transform to match copy tooltip */
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 10px; /* Kept increased padding */
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10002; /* Increased z-index to ensure visibility */
  max-width: 250px; /* Kept increased max width */
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* Prevent tooltip from interfering with interactions */
  transition: opacity 0.3s ease, visibility 0s 0.3s;
}
.tracking-header-menu .tracking-actions .tracking-labels .label-count[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
  transition: opacity 0.3s ease, visibility 0s;
}
.tracking-header-menu .tracking-actions .action-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  transition: background-color 0.3s ease 0.3s;
  position: relative;
  /* Prevent hover color change for saved icon */
}
.tracking-header-menu .tracking-actions .action-btn svg path {
  transition: fill 0.3s ease 0.6s;
}
.tracking-header-menu .tracking-actions .action-btn:hover {
  background-color: #FFF9F5;
}
.tracking-header-menu .tracking-actions .action-btn:hover svg path {
  fill: #000000;
  transition: fill 0.3s ease 0.6s;
}
.tracking-header-menu .tracking-actions .action-btn.saved:hover .saved-icon path {
  fill: #D38A52; /* Keep the orange color on hover */
}
.tracking-header-menu .tracking-actions .action-btn.delete-btn:hover svg path {
  fill: #D34F4F;
  transition: fill 0.3s ease 0.6s;
}
.tracking-header-menu .tracking-actions .action-btn.active svg path {
  fill: #D38A52;
  stroke: #D38A52;
}
.tracking-header-menu .tracking-actions .action-btn.favorite-btn.active svg path, .tracking-header-menu .tracking-actions .action-btn.bookmark-btn.active svg path {
  fill: #D38A52;
  stroke: #D38A52;
}
.tracking-header-menu .tracking-actions .action-btn.download-btn {
  position: relative;
}
.tracking-header-menu .tracking-actions .action-btn.download-btn .download-icon {
  position: relative;
  z-index: 1;
}
.tracking-header-menu .tracking-actions .action-btn.download-btn .download-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.tracking-header-menu .tracking-actions .action-btn.download-btn .download-spinner .spinner-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2.5px solid rgba(211, 138, 82, 0.2);
  border-top: 2.5px solid #D38A52;
  animation: download_spinner 0.8s linear infinite;
}
.tracking-header-menu .tracking-actions .action-btn.download-btn.loading {
  pointer-events: none;
}
.tracking-header-menu .tracking-actions .action-btn.download-btn.loading .download-icon {
  opacity: 0;
}
.tracking-header-menu .tracking-actions .action-btn.download-btn.loading .download-spinner {
  display: flex;
}
@keyframes download_spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.tracking-header-menu .tracking-actions .action-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: auto; /* Override any pointer-events: none to allow tooltips */
}
.tracking-header-menu .tracking-actions .action-btn.disabled:hover {
  background-color: transparent; /* Don't show hover effect on disabled buttons */
}
.tracking-header-menu .tracking-actions .action-btn.disabled svg path {
  fill: #797B82; /* Use muted color for disabled state */
}
.tracking-header-menu .tracking-actions .action-btn.hidden {
  display: none;
}
.tracking-header-menu .tracking-actions .action-btn .copy-tooltip {
  position: absolute;
  top: -30px;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10000;
}
@media screen and (max-height: 769px) {
  .tracking-header-menu .tracking-actions .action-btn .copy-tooltip {
    z-index: 10002; /* Adjusted to match other tooltips on small screens */
  }
}
.tracking-header-menu .tracking-actions .action-btn .copy-tooltip:after {
  display: none;
}
.tracking-header-menu .tracking-actions .action-btn[data-tooltip] {
  position: relative;
}
.tracking-header-menu .tracking-actions .action-btn[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -35px; /* Updated to match working copy tooltip */
  bottom: auto;
  left: 50%;
  transform: translateX(-50%); /* Simplified transform to match copy tooltip */
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10002; /* Increased z-index to ensure visibility */
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* Prevent tooltip from interfering with interactions */
  transition: opacity 0.3s ease, visibility 0s 0.3s;
}
.tracking-header-menu .tracking-actions .action-btn[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
  transition: opacity 0.3s ease, visibility 0s;
}
.tracking-header-menu .tracking-actions .action-btn[data-tooltip]::before, .tracking-header-menu .tracking-actions .action-btn[data-tooltip]:hover::before {
  display: none;
}

/* Animation for tracking label sliding in from right */
@keyframes slideInLabelFromRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Download disabled tooltip styles */
.download-disabled-tooltip {
  position: absolute;
  display: none;
  top: -35px; /* Match the position of other tooltips */
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px; /* Match the padding of other tooltips */
  border-radius: 4px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px; /* Match the font size of other tooltips */
  white-space: nowrap;
  z-index: 10002; /* Match the z-index of other tooltips */
  pointer-events: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Delete Confirmation Overlay */
#delete-confirmation-popup,
.delete-overlay-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  font-family: "DM Sans", sans-serif;
}

.delete-overlay-content {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0px 8px 24px 0px rgba(149, 157, 165, 0.2);
  width: 400px;
  max-width: 90%;
  padding: 24px;
}

.delete-overlay-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.delete-overlay-warning-icon svg {
  width: 16px;
  height: auto;
}

.delete-overlay-message {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.delete-overlay-warning-icon {
  position: relative;
  top: 3px;
}

.delete-overlay-message p {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
  text-align: left;
}

.delete-overlay-actions {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  gap: 16px;
}

.delete-overlay-btn-cancel, .delete-overlay-btn-delete {
  border: none;
  background-color: transparent;
  color: #333;
  cursor: pointer;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.delete-overlay-btn-delete {
  color: #D34F4F;
}

.delete-overlay-btn-cancel:hover, .delete-overlay-btn-delete:hover {
  text-decoration: underline;
}

/* Label Delete Confirmation Overlay */
#label-delete-confirmation-popup,
.label-delete-overlay-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  font-family: "DM Sans", sans-serif;
}

.label-delete-overlay-content {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0px 8px 24px 0px rgba(149, 157, 165, 0.2);
  width: 400px;
  max-width: 90%;
  padding: 24px;
}

.label-delete-overlay-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.label-delete-overlay-warning-icon svg {
  width: 16px;
  height: auto;
}

.label-delete-overlay-message {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.label-delete-overlay-warning-icon {
  position: relative;
  top: 3px;
}

.label-delete-overlay-message p {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
  text-align: left;
  word-break: break-all;
}

.label-delete-overlay-info {
  color: #797B82;
  font-size: 14px !important;
  margin-top: 4px;
}

.label-delete-overlay-actions {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  gap: 16px;
}

.label-delete-overlay-btn-cancel,
.label-delete-overlay-btn-delete {
  border: none;
  background-color: transparent;
  color: #333;
  cursor: pointer;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.label-delete-overlay-btn-delete {
  color: #D34F4F;
}

.label-delete-overlay-btn-cancel:hover,
.label-delete-overlay-btn-delete:hover {
  text-decoration: underline;
}

/* Dark theme styles for label delete overlay */
.dark-theme #label-delete-confirmation-popup .label-delete-overlay-content {
  background-color: #1E1E1E;
  color: #FFFFFF;
}

.dark-theme #label-delete-confirmation-popup .label-delete-overlay-message p {
  color: #FFFFFF;
}

.dark-theme #label-delete-confirmation-popup .label-delete-overlay-info {
  color: #A0A0A0;
}

.dark-theme #label-delete-confirmation-popup .label-delete-overlay-btn-cancel {
  color: #A0A0A0;
}

.privacyOptin-overlay {
  position: fixed;
  display: none;
  left: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  font-family: "Red Hat Display", arial, sans-serif;
  background: #4c4c4c;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}
.privacyOptin-overlay span.optin-close {
  position: absolute;
  right: 15px;
  top: 15px;
  cursor: pointer;
  line-height: 0;
}
.privacyOptin-overlay .optin-wrap {
  border-radius: 10px;
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  text-align: center;
  position: relative;
}
@media only screen and (max-height: 760px) {
  .privacyOptin-overlay .optin-wrap {
    max-height: 550px;
  }
}
.privacyOptin-overlay .optin-wrap p.optin-head {
  color: #000;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: capitalize;
  padding: 32px 10px 34px;
  border-bottom: 4px solid #dfebff;
}
@media only screen and (max-height: 760px) {
  .privacyOptin-overlay .optin-wrap p.optin-head {
    padding: 20px 10px;
    font-size: 30px;
  }
}
.privacyOptin-overlay .optin-wrap .p-icon-wrap {
  background: #fff;
  width: 60px;
  margin: 0 auto;
  padding: 0 10px;
  transform: translateY(-24px);
  line-height: 0;
}
@media only screen and (max-height: 760px) {
  .privacyOptin-overlay .optin-wrap .p-icon-wrap {
    width: 50px;
    transform: translateY(-21px);
  }
  .privacyOptin-overlay .optin-wrap .p-icon-wrap img {
    width: 30px;
    height: auto;
  }
}
.privacyOptin-overlay .optin-wrap .privacy-cont {
  padding: 0 31px 48px;
  text-align: left;
}
@media only screen and (max-height: 760px) {
  .privacyOptin-overlay .optin-wrap .privacy-cont {
    transform: translateY(-10px);
    padding-bottom: 20px;
  }
}
.privacyOptin-overlay .optin-wrap .privacy-cont a.optin-cta {
  width: 400px;
  height: 70px;
  border-radius: 10px;
  background: #0bbc08;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #fff;
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 auto 15px;
  transition: all 420ms;
}
.privacyOptin-overlay .optin-wrap .privacy-cont a.optin-cta:hover {
  background: #23a321;
}
.privacyOptin-overlay .optin-wrap .privacy-cont a.optin-cta.disagree {
  background-color: #b5b5b5;
}
.privacyOptin-overlay .optin-wrap .privacy-cont a.optin-cta.disagree:hover {
  background-color: #9f9f9f;
}
.privacyOptin-overlay .optin-wrap .privacy-cont #uninstallForm {
  max-width: 570px;
  margin: 0 auto;
}
.privacyOptin-overlay .optin-wrap .privacy-cont .form-group {
  display: block;
  margin-bottom: 30px;
}
@media only screen and (max-height: 760px) {
  .privacyOptin-overlay .optin-wrap .privacy-cont .form-group {
    margin-bottom: 20px;
  }
}
.privacyOptin-overlay .optin-wrap .privacy-cont .form-group ul li {
  position: relative;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  display: block;
  margin-bottom: 10px;
  text-align: center;
}
@media only screen and (max-height: 760px) {
  .privacyOptin-overlay .optin-wrap .privacy-cont .form-group ul li {
    font-size: 14px;
    margin-bottom: 3px;
  }
}
.privacyOptin-overlay .optin-wrap .privacy-cont .form-group input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}
.privacyOptin-overlay .optin-wrap .privacy-cont .form-group label {
  position: relative;
  cursor: pointer;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  display: block;
  margin-bottom: 10px;
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
}
@media only screen and (max-height: 760px) {
  .privacyOptin-overlay .optin-wrap .privacy-cont .form-group label {
    font-size: 14px;
    margin-bottom: 3px;
  }
}
.privacyOptin-overlay .optin-wrap .privacy-cont .form-group p {
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
.privacyOptin-overlay .optin-wrap .privacy-cont .form-group p.frst-para {
  margin-bottom: 12px;
}
@media only screen and (max-height: 760px) {
  .privacyOptin-overlay .optin-wrap .privacy-cont .form-group p.frst-para {
    margin-bottom: 3px;
  }
}
.privacyOptin-overlay .optin-wrap .privacy-cont .form-group label:before {
  content: "";
  -webkit-appearance: none;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 30px;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid #353b4a;
  background: #dfebff;
  box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.25);
}
@media only screen and (max-height: 760px) {
  .privacyOptin-overlay .optin-wrap .privacy-cont .form-group label:before {
    margin-right: 30px;
    width: 15px;
    height: 15px;
  }
}
.privacyOptin-overlay .optin-wrap .privacy-cont .form-group input:checked + label:after {
  content: "";
  display: block;
  position: absolute;
  top: 7px;
  left: 2.5px;
  width: 19px;
  height: 12px;
  background: url(../images/checked.svg) center no-repeat;
}
@media only screen and (max-height: 760px) {
  .privacyOptin-overlay .optin-wrap .privacy-cont .form-group input:checked + label:after {
    background-size: 10px auto !important;
    top: 4px;
    left: -1.5px;
  }
}
.privacyOptin-overlay .optin-wrap .privacy-cont .form-group.disabled label:before {
  box-shadow: none;
  border-radius: 4px;
  border: 1px solid #353b4a;
  opacity: 0.400000006;
  background: #d8d8d8;
}
.privacyOptin-overlay .optin-wrap .privacy-cont .form-group.disabled input:checked + label:after {
  background: url(../images/checkedisabled.svg) center no-repeat;
}
.privacyOptin-overlay .optin-wrap .privacy-cont .ref-desc {
  color: #5c5c5c;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 30px;
}
@media only screen and (max-height: 760px) {
  .privacyOptin-overlay .optin-wrap .privacy-cont .ref-desc {
    margin-bottom: 20px;
  }
}
.privacyOptin-overlay .optin-wrap .privacy-cont p.privacy-desc {
  color: #5c5c5c;
  text-align: center;
  font-size: 12px;
  font-family: "Red Hat Display", arial, sans-serif;
  line-height: 120%;
  max-width: 385px;
  margin: 0 auto 20px;
}
.privacyOptin-overlay .optin-wrap .privacy-cont p.privacy-desc a {
  color: inherit;
  text-decoration: underline;
}
.privacyOptin-overlay .optin-wrap .privacy-cont p.privacy-desc a:hover {
  text-decoration: none;
}
.privacyOptin-overlay .optin-wrap .privacy-cont .button-flex {
  display: flex;
  gap: 20px;
}
.privacyOptin-overlay .optin-wrap .privacy-cont p.privacy-desc {
  color: #5c5c5c;
  text-align: center;
  font-size: 12px;
  line-height: 120%;
  max-width: 385px;
  margin: 0 auto 20px;
}
.privacyOptin-overlay .optin-wrap .privacy-cont p.privacy-desc a {
  color: inherit;
  text-decoration: underline;
}
.privacyOptin-overlay .optin-wrap .privacy-cont p.privacy-desc a:hover {
  text-decoration: none;
}
.privacyOptin-overlay .optin-wrap .privacy-cont a.un-steps {
  display: block;
  color: #333;
  text-align: center;
  font-size: 12px;
  font-family: Roboto;
  line-height: 120%;
  text-decoration-line: underline;
  width: 113px;
  margin: 0 auto;
}
.privacyOptin-overlay .optin-wrap .privacy-cont a.un-steps:hover {
  text-decoration: none;
}

.optin-desc-1 {
  margin-bottom: 10px;
}

.permission-container {
  font-family: "Red Hat Display";
  position: fixed;
  top: 57px;
  left: 0;
  right: 0;
  bottom: 51px;
  background-color: rgba(249, 249, 249, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  display: none;
}
.permission-container .permission-content {
  padding: 72px 30px;
  text-align: center;
  width: 100%;
  position: absolute;
  bottom: -11px;
  border-radius: 40px 40px 0 0;
  background: #FFF;
  box-shadow: 0 -6px 60px 0 rgba(71, 67, 65, 0.16);
}
.permission-container .permission-content figure {
  margin-bottom: 32px;
}
.permission-container .permission-content figure img {
  width: 55px;
  height: 63px;
  vertical-align: bottom;
}
.permission-container .permission-content h2 {
  margin-bottom: 32px;
  color: #111;
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.permission-container .permission-content p {
  max-width: 642px;
  width: 100%;
  margin: 0 auto;
  color: #797B82;
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px; /* 128.571% */
}
.permission-container .permission-content .permissions-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #D38A52;
  width: 229px;
  height: 54px;
  cursor: pointer;
  margin: 0 auto;
  margin-bottom: 16px;
  border: 1px solid transparent;
  color: #FFF;
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "DM Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px; /* 122.222% */
  text-transform: capitalize;
  transition: all 0.3s ease;
}
.permission-container .permission-content .permissions-button:hover {
  background-color: #fff;
  border: 1px solid #D38A52;
  color: #D38A52;
}
.permission-container .permission-content .disabled-desc a {
  color: #797B82;
  text-decoration: none;
}
.permission-container .permission-content .disabled-desc a:hover {
  text-decoration: underline;
}

/* 
 * Mobile Responsive Styles
 * Contains all responsive styles for mobile devices
 */
/* Tracking Header Menu responsive styles */
@media screen and (max-width: 768px) {
  .tracking-header-menu {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .tracking-header-menu .tracking-header-menu-left {
    width: 100%;
  }
  .tracking-header-menu .tracking-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
@media screen and (max-width: 576px) {
  .tracking-header-menu .tracking-header-menu-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .tracking-header-menu .tracking-number-container {
    margin-bottom: 4px;
  }
  .tracking-header-menu .tracking-number-container .tracking-number {
    font-size: 16px;
    line-height: 20px;
  }
  .tracking-header-menu .tracking-status {
    margin-left: 0;
    flex-wrap: wrap;
    gap: 4px;
  }
  .tracking-header-menu .tracking-status .status-text, .tracking-header-menu .tracking-status .status-date {
    font-size: 13px;
    line-height: 18px;
  }
  .tracking-header-menu .tracking-actions {
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .tracking-header-menu .tracking-actions .tracking-labels {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 4px;
  }
}
@media screen and (max-width: 420px) {
  .tracking-header-menu .tracking-actions {
    gap: 4px;
  }
  .tracking-header-menu .tracking-actions .action-btn {
    width: 32px;
    height: 32px;
  }
  .tracking-header-menu .tracking-actions .tracking-labels {
    margin-right: 4px;
    gap: 6px;
  }
  .tracking-header-menu .tracking-actions .tracking-labels .tracking-label {
    padding: 4px 10px;
    font-size: 11px;
  }
}
@media screen and (max-width: 360px) {
  .tracking-header-menu {
    padding: 10px 12px;
  }
  .tracking-header-menu .tracking-number-container .tracking-number {
    font-size: 14px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tracking-header-menu .tracking-status .status-text, .tracking-header-menu .tracking-status .status-date {
    font-size: 12px;
    margin-right: 8px;
  }
  .tracking-header-menu .tracking-actions {
    gap: 2px;
  }
  .tracking-header-menu .tracking-actions .action-btn {
    width: 28px;
    height: 28px;
  }
  .tracking-header-menu .tracking-actions .action-btn svg {
    width: 20px;
    height: 20px;
  }
  .tracking-header-menu .tracking-actions .tracking-labels {
    gap: 4px;
  }
  .tracking-header-menu .tracking-actions .tracking-labels .tracking-label {
    padding: 3px 8px;
    font-size: 10px;
  }
  .tracking-header-menu .tracking-actions .tracking-labels .tracking-label .label-icon {
    margin-right: 4px;
  }
}
/* Footer responsive styles */
@media screen and (max-width: 1024px) {
  .shipping-details .wrapper .details-toggle {
    display: none; /* Hidden by default on larger screens */
  }
  .shipping-details .wrapper .details-overlay {
    display: none; /* Hidden by default */
  }
  .shipping-details .wrapper .details-left {
    max-width: 380px;
    position: static; /* Default position for desktop */
    opacity: 1;
    visibility: visible;
    width: auto;
    box-shadow: none;
  }
  .shipping-details .wrapper .details-right .tracking-info {
    gap: 16px;
  }
  /* Shipping Details Toggle Styles */
  main {
    display: block;
  }
  .shipping-details .wrapper .details-toggle {
    display: flex !important; /* Show toggle on tablet and below */
    position: fixed;
    width: 30px;
    height: 80px;
    background-color: #fff;
    border-radius: 0 6px 6px 0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.15);
    align-items: center;
    justify-content: center;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 110;
    cursor: pointer;
    border: 1px solid #E9E9E9;
    border-left: none;
    /* Removed pseudo element */
  }
  .shipping-details .wrapper .details-toggle svg {
    width: 16px;
    height: 16px;
    fill: #D38A52;
    transform: rotate(180deg); /* Point right by default */
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
  }
  .shipping-details .wrapper .details-toggle.active {
    /* Position is now handled by JavaScript */
  }
  .shipping-details .wrapper .details-toggle.active svg {
    transform: rotate(0deg); /* Point left when active */
  }
  .shipping-details .wrapper .details-left {
    position: absolute;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 350px;
    height: auto;
    max-height: 100%;
    background: #fff;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
  }
  .shipping-details .wrapper .details-left.active {
    left: 0;
    bottom: 0;
    opacity: 1;
    visibility: visible;
  }
  .shipping-details .wrapper .not-found-tracking-info {
    height: 100vh;
  }
}
@media screen and (max-width: 768px) {
  header {
    padding: 8px 12px;
  }
  header .wrapper {
    gap: 12px;
  }
  header .wrapper .logo img {
    width: 120px;
  }
  header .wrapper .search-bar .search-container {
    padding: 0 12px;
  }
  header .wrapper .search-bar input {
    height: 34px;
    font-size: 13px;
  }
  header .wrapper .search-bar input::-moz-placeholder {
    font-size: 13px;
  }
  header .wrapper .search-bar input::placeholder {
    font-size: 13px;
  }
  header .wrapper nav ul {
    gap: 12px;
  }
  .track-now {
    padding: 12px;
    background-size: 800px auto;
    background-position: top 80px center;
    height: auto;
    min-height: calc(100vh - 56px);
  }
  .track-now .wrapper {
    width: 450px;
  }
  .track-now figure {
    width: 120px;
    height: 120px;
  }
  .track-now h1 {
    font-size: 24px;
    line-height: 30px;
  }
  .track-now p {
    font-size: 14px;
    margin-bottom: 35px;
  }
  .track-now .input-section {
    width: 450px;
  }
  .tracking-container {
    max-width: 450px;
  }
  .tracking-input {
    min-height: 150px;
    height: 150px;
  }
  .tracking-input li .tracking-item span {
    width: 250px;
  }
  #trackBtn {
    margin-bottom: 35px;
    padding: 12px;
    font-size: 16px;
  }
  /* Shipping Details Responsive Styles */
  .shipping-details .wrapper .details-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 90;
  }
  .shipping-details .wrapper .details-overlay.active {
    display: block;
  }
  .shipping-details .wrapper .details-right {
    padding: 12px;
    width: 100%;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info {
    flex-direction: column;
    gap: 16px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-left,
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-right {
    width: 100%;
  }
  footer {
    position: static; /* Remove sticky positioning on mobile */
    padding: 12px 0;
  }
  footer ul {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }
  footer ul li a {
    font-size: 11px;
  }
}
@media screen and (max-width: 540px) {
  header .wrapper .logo-light img, header .wrapper .logo-dark img {
    width: 110px;
    height: auto;
  }
  header .wrapper .search-bar .search-container {
    padding: 0 10px;
  }
  header .wrapper .search-bar input {
    height: 32px;
    font-size: 12px;
  }
  header .wrapper .search-bar input::-moz-placeholder {
    font-size: 12px;
  }
  header .wrapper .search-bar input::placeholder {
    font-size: 12px;
  }
  header .wrapper nav ul {
    gap: 10px;
  }
  header .wrapper nav ul li a {
    font-size: 12px;
  }
  /* Shipping Details Responsive Styles */
  .shipping-details .wrapper .details-right {
    padding: 10px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-left .info-box h2 {
    font-size: 16px;
    padding: 12px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-left .info-box .details-table {
    padding: 0 12px 12px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-left .info-box .details-table .detail-row {
    margin-bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-left .info-box .details-table .detail-row .detail-label {
    margin-bottom: 4px;
    font-size: 13px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-left .info-box .details-table .detail-row .detail-value {
    font-size: 13px;
    text-align: left;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-left .other-information-section {
    background-position: right bottom;
    background-size: 150px auto;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-right .delivery-timeline h2 {
    font-size: 16px;
    padding: 12px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-right .delivery-timeline .timeline-container-main {
    padding: 12px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-header .timeline-title {
    font-size: 14px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content {
    padding: 12px 12px 12px 24px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event .event-content .event-date, .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event .event-content .event-title, .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event .event-content .event-location {
    font-size: 13px;
  }
}
@media screen and (max-width: 480px) {
  .track-now {
    padding: 10px;
    background-size: 600px auto;
    background-position: top 60px center;
  }
  .track-now .wrapper {
    width: 90%;
    max-width: 350px;
  }
  .track-now figure {
    width: 100px;
    height: 100px;
  }
  .track-now h1 {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 6px;
  }
  .track-now p {
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 25px;
  }
  .track-now .input-section {
    width: 100%;
  }
  .tracking-container {
    max-width: 100%;
  }
  .tracking-header {
    font-size: 13px;
  }
  .upload-csv .upload-wrap span {
    font-size: 13px;
  }
  .tracking-input {
    min-height: 130px;
    height: 130px;
  }
  .tracking-input li {
    font-size: 13px;
  }
  .tracking-input li .tracking-item span {
    width: 200px;
  }
  .courier-bar {
    padding: 8px 12px;
  }
  #trackBtn {
    margin-bottom: 25px;
    padding: 10px;
    font-size: 15px;
    margin-top: 20px;
  }
  .recent-shipments a {
    font-size: 14px;
    line-height: 20px;
  }
  .recent-shipments p {
    font-size: 11px;
    line-height: 16px;
  }
  footer {
    padding: 10px 0;
  }
  footer ul {
    gap: 15px;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }
  footer ul li a {
    font-size: 10px;
  }
}
@media screen and (max-width: 360px) {
  .track-now {
    padding: 8px;
    background-size: 500px auto;
    background-position: top 50px center;
  }
  .track-now .wrapper {
    width: 95%;
    max-width: 300px;
  }
  .track-now figure {
    width: 80px;
    height: 80px;
  }
  .track-now h1 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 4px;
  }
  .track-now p {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 20px;
  }
  .tracking-header {
    font-size: 12px;
  }
  .upload-csv .upload-wrap span {
    font-size: 12px;
  }
  .tracking-input {
    min-height: 120px;
    height: 120px;
  }
  .tracking-input li {
    font-size: 12px;
    padding: 6px 0;
  }
  .tracking-input li::before {
    font-size: 12px;
  }
  .tracking-input li .tracking-item {
    margin-left: 30px;
  }
  .tracking-input li .tracking-item span {
    width: 170px;
  }
  .courier-bar {
    padding: 6px 10px;
  }
  .courier-bar .courier-placeholder {
    font-size: 12px;
  }
  #trackBtn {
    margin-bottom: 20px;
    padding: 8px;
    font-size: 14px;
    margin-top: 16px;
  }
  .recent-shipments a {
    font-size: 13px;
    line-height: 18px;
  }
  .recent-shipments p {
    font-size: 10px;
    line-height: 14px;
  }
  /* Shipping Details Mobile Styles */
  .shipping-details .wrapper {
    /* Keep the same toggle style across all breakpoints */
  }
  .shipping-details .wrapper .details-left {
    width: 90%;
  }
  .shipping-details .wrapper .details-right {
    padding: 8px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-left .info-box h2 {
    font-size: 15px;
    padding: 10px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-left .info-box .details-table {
    padding: 0 10px 10px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-left .info-box .details-table .detail-row {
    margin-bottom: 10px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-left .info-box .details-table .detail-row .detail-label, .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-left .info-box .details-table .detail-row .detail-value {
    font-size: 12px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-left .other-information-section {
    background-size: 120px auto;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-right .delivery-timeline h2 {
    font-size: 15px;
    padding: 10px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-right .delivery-timeline .timeline-container-main {
    padding: 10px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-header .timeline-title {
    font-size: 13px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content {
    padding: 10px 10px 10px 20px;
  }
  .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event .event-content .event-date, .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event .event-content .event-title, .shipping-details .wrapper .details-right .details-right-inner .tracking-info .tracking-info-right .delivery-timeline .timeline-container .timeline-section .timeline-content .timeline-event .event-content .event-location {
    font-size: 12px;
  }
  header {
    padding: 5px 8px;
  }
  header .wrapper {
    gap: 6px;
  }
  header .wrapper .logo img {
    width: 90px;
  }
  header .wrapper .search-bar .search-container {
    padding: 0 8px;
  }
  header .wrapper .search-bar input {
    height: 30px;
    font-size: 11px;
  }
  header .wrapper .search-bar input::-moz-placeholder {
    font-size: 11px;
  }
  header .wrapper .search-bar input::placeholder {
    font-size: 11px;
  }
  header .wrapper nav ul {
    gap: 6px;
  }
  header .wrapper nav ul li a {
    font-size: 11px;
  }
  header .wrapper nav ul li.theme-selector a img {
    padding: 2px;
    width: 18px;
    height: 18px;
  }
  footer {
    padding: 8px 0;
  }
  footer ul {
    gap: 10px;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
  }
  footer ul li a {
    font-size: 9px;
  }
}/*# sourceMappingURL=main.css.map */