html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.tracking {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  position: relative;
}
.tracking > .tracking--nav {
  position: absolute;
  top: 0;
  z-index: 4;
}
.track-detail {
  /* background-color: rgb(246, 247, 250); */
  border-radius: 1rem;
}
.track-detail h2 {
  border-bottom: 1px solid #ddd;
  font-size: 1.2rem;
  font-weight: normal !important;
}
.track-detail h2 .title {
  font-weight: bold !important;
}
.track-detail .track-item {
  display: flex;
}

.track-detail .track-item .track-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 480px;
}
.track-detail .track-item .track-content .blue-camera {
  width: 22px;
  margin-left: 5px;
  margin-bottom: 8px;
}

.track-detail .date {
  /* width: auto;
  min-width: 12rem; */
  color: #333;
  font-weight: bold;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
  width: 220px;
}
.track-detail .track-info {
  border-left: 1px solid #ddd;
  position: relative;
  padding: 0.5rem;
}
.track-detail .track-info::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border: 4px solid rgb(246, 247, 250);
  background: #888;
  position: absolute;
  left: -8px;
  border-radius: 50%;
}
.track-detail .active .track-info::before {
  background: #ff4800;
}
.track-detail .active .time-list:first-child h4 {
  color: #000;
}
.track-detail .track-item:first-child .time-list:first-child h4 {
  color: #ff4800;
}
.track-detail .track-info .time-list {
  flex: 1;
  display: flex;
  margin-bottom: 1rem;
}
.track-detail .track-info .time-list .time {
  min-width: 3.125rem;
}
.track-detail .track-info h4 {
  font-size: 1.2rem;
}

.track-fluid {
  width: 100%;
  max-height: 560px;
  /* display: flex; */
  max-width: 100%;
  overflow: auto;
}
.track-fluid .track-detail {
  flex: 1;
  margin: 0 20px;
}
.track-fluid .right-sidebar {
  width: 280px;
  min-width: 280px;
  margin-right: 20px;
  margin-top: 48px;
  margin-bottom: 48px;
}
.track-fluid .right-sidebar > .sticky {
  position: fixed;
  background-color: #ffffff;
  width: 280px;
}
.track-fluid .right-sidebar .right-sidebar__container {
  margin-bottom: 20px;
}

.track-fluid .right-sidebar .right-sidebar__container:last-child {
  margin-bottom: 0;
}
.track-fluid .right-sidebar .right-sidebar__container > span {
  display: block;
}
.right-sidebar__container > .title {
  font-size: 1.2rem;
  width: 100%;
  padding: 8px 20px;
  box-sizing: border-box;
  background-color: #ff4800;
  color: #ffffff;
  border-radius: 10px;
}
.right-sidebar__container > .label {
  color: #1e1e1e;
  font-weight: 700;
  margin-left: 20px;
  margin-top: 10px;
}
.right-sidebar__container > .content {
  margin-top: 10px;
  margin-left: 20px;
  color: #252523;
}

.track-fluid__pod {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1000000005;
  overflow: hidden;
  display: none;
}

.track-fluid__pod--container,
.track-fluid__image--container,
.track-fluid__errorWaybill--container {
  position: absolute;
  width: calc(100% - 20px);
  max-width: 820px;
  height: 230px;
  background-color: #ffffff;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  padding: 15px;
  border-radius: 6px;
  box-sizing: border-box;
}
.track-fluid__pod--container > .header,
.track-fluid__image--container > .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.track-fluid__pod--container > .header > .title,
.track-fluid__image--container > .header > .title {
  color: #2b2a2a;
  font-weight: 700;
}
.track-fluid__pod--container > .header .icon-guanbi,
.track-fluid__image--container > .header .icon-guanbi {
  cursor: pointer;
}

.header .icon-guanbi:hover {
  opacity: 0.8;
}

.track-fluid__pod--container > .content {
  margin-top: 20px;
  color: #2b2a2a;
  font-size: 14px;
}
.track-fluid__pod--container > .content input {
  width: 100%;
  height: 32px;
  border: 1px solid #dcdbe1;
  border-radius: 5px;
  margin-top: 10px;
  padding: 10px;
  padding-right: 50px;
}
.track-fluid__pod--container > .content input:focus-visible {
  outline: none;
}
.track-fluid__pod--container > .content .footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-color: #ffffff;
  padding-bottom: 0;
}
.track-fluid__pod--container > .content .footer button {
  margin-left: 10px;
  border: 1px solid #dcdbe1;
  background-color: #ffffff;
  color: #2b2a2a;
  border-radius: 5px;
  padding: 2px 10px;
  font-weight: 400;
}
.track-fluid__pod--container > .content .text-danger {
  font-size: 12px;
  margin-bottom: 0;
  height: 18px;
}
.clickable:hover {
  color: #ff4800;
  cursor: pointer;
}

.track-fluid__image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1000000005;
  overflow: hidden;
  display: none;
}
.track-fluid__image--container {
  top: 50%;
  max-height: 558px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.track-fluid__image--container > .header {
  margin-bottom: 10px;
}
.track-fluid__image--container > .content {
  height: 100%;
  overflow: hidden;
}
.track-fluid__image--container > .content > .swiper {
  /* margin: 10px 0; */
  height: 100%;
}

.track-fluid__image--container > .content .swiper-button-prev {
  width: 20px;
  height: 40px;
  border-radius: 4px;
  color: #eeeeee;
  background-color: rgba(0, 0, 0, 0.45);
}

.track-fluid__image--container > .content .swiper-button-prev::after {
  font-size: 12px;
}
.track-fluid__image--container > .content .swiper-button-next {
  width: 20px;
  height: 40px;
  border-radius: 4px;
  color: #eeeeee;
  background-color: rgba(0, 0, 0, 0.45);
}

.track-fluid__image--container > .content .swiper-button-next::after {
  font-size: 12px;
}
.track-fluid__image--container > .content .swiper-pagination {
  display: flex;
  justify-content: center;
}
.track-fluid__image--container > .content .swiper-pagination-bullet {
  flex: 1;
  max-width: 42px;
  height: 2px;
  border-radius: 0;
  background-color: #beb2a8;
}
.track-fluid__image--container > .content .swiper-pagination-bullet-active {
  background-color: rgba(0, 0, 0, 0.6);
}
.track-fluid__pod .control-group-input {
  position: relative;
}
.track-fluid__pod .control-group-input .show-word-limit {
  position: absolute;
  top: 18px;
  right: 5px;
  font-size: 12px;
  color: #9e9cb0;
}
.track-fluid__pod .control-group-input .show-word-limit::after {
  content: attr(data-content);
  display: inline-block;
}
.invalid-text {
  position: absolute;
  bottom: -34px;
  color: #fd0007;
  font-size: 16px;
  width: 100%;
  padding: 2px 10px;
  text-align: left;
  word-wrap: break-word;
}
/* 移动端 */
@media (max-width: 991.98px) {
  .track-detail .date {
    /* width: auto;
    min-width: 8rem !important; */
  }
  .right-sidebar {
    display: none;
  }
  .track-fluid {
    overflow: hidden;
  }
  .track-fluid .track-detail {
    width: calc(100% - 40px) !important;
    margin: 0 20px;
  }
  .track-fluid__image--container {
    padding: 0;
    width: 100%;
    max-width: 420px;
  }
  .track-fluid__image--container .header {
    display: none;
  }
}

@media (max-height: 683px) {
  .track-fluid__image--container {
    height: calc(100% - 80px);
  }
}

.input-group {
  padding: 12px;
  background-color: #fff;
  border-radius: 8px;
}
.form-control {
  background-color: #fff !important;
}
.trackFluidCard {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-top: 30px;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  display: none;
}
.track-container {
  position: relative;
  background-color: #fff;
  border-radius: 8px;
}
.track-header {
  padding: 35px 0 15px;
  border-bottom: 1px solid #ccc;
  margin: 40px 40px 0;
  color: #000;
}
.track-header-fail {
  color: #ff4800;
  cursor: pointer;
}
.track-list-detail {
  display: flex;
}
.track-detail-head {
  width: 100%;
  display: flex;
  text-align: center;
  padding: 20px;
  color: #ff4800;
  font-weight: bold;
  font-size: 18px;
}
.track-list-desc {
  height: 68px;
  width: 100%;
  display: flex;
  text-align: center;
  align-items: center;
  padding: 10px 20px;
  color: #000;
  overflow: hidden;
}

.track-list-desc .toggle-details {
  color: #ff4800;
}
.track-list-desc.active {
  background-color: #ff4800;
  color: #fff;
}
.track-list-desc.active .toggle-details {
  color: #fff;
}
.flx1 {
  flex: 1;
}
.flx2 {
  flex: 2;
}
.flx3 {
  flex: 3;
}
.fwb {
  font-weight: 500;
}
.ft12 {
  font-size: 12px;
}
.date-date {
  color: #ff4800;
}
@media (min-width: 576px) {
  .trackFluidCard {
    max-width: 540px;
  }
}
@media (max-width: 576px) {
  .trackFluidCard {
    max-width: 540px;
  }
  .track-detail .date {
    width: 120px;
  }
  .track-detail .track-info .time-list {
    width: 200px;
  }
}
@media (min-width: 768px) {
  .trackFluidCard {
    max-width: 720px;
  }
}
@media (max-width: 768px) {
  .trackFluidCard {
    max-width: 720px;
  }
  .invalid-text {
    bottom: -34px;
  }
  .track-detail .date {
    width: 120px;
  }
  .track-detail .track-info .time-list {
    width: 200px;
  }
}

@media (min-width: 992px) {
  .trackFluidCard {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .trackFluidCard {
    max-width: 960px;
    margin-top: 55px;
  }
  .invalid-text {
    bottom: -52px;
  }
  .track-detail .date {
    width: 120px;
  }
  .track-detail .track-info .time-list {
    width: 200px;
  }
}
@media (min-width: 1200px) {
  .trackFluidCard {
    max-width: 1140px;
  }
}
.searchIcon {
  width: 30px;
  height: 30px;
  margin: 15px;
  cursor: pointer;
}
.expand-alt {
  background-image: url('../img/expand-alt.svg');
  background-repeat: no-repeat;
}
.compress-alt {
  background-image: url('../img/compress-alt.svg');
  background-repeat: no-repeat;
}
.track-list-card {
  border-top: 1px solid #ccc;
}
.toggle-details {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
}
.my-1 {
  margin-top: 1rem !important;
}
.hidden {
  display: none;
}
.expanded {
  display: show;
}
.date .time {
  font-weight: 300;
}
.track-fluid__errorWaybill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1000000005;
  overflow: hidden;
  display: none;
}
.track-fluid__errorWaybill--container {
  min-height: 360px;
}
.error_content {
  min-height: 280px;
  background-color: rgba(242, 242, 242, 1);
}

.track-fluid__errorWaybill--container > .content {
  color: #2b2a2a;
  font-size: 14px;
}
.track-fluid__errorWaybill--container > .content .error_content {
  padding: 20px;
  background-color: rgba(242, 242, 242, 1);
  /* color: #ff4800; */
  max-height: 280px;
  overflow-y: auto;
  word-wrap: break-word;
}
.error_message_href {
  color: #00f;
  cursor: pointer;
}
.error_message_item {
  margin-bottom: 10px;
}
.error_message_item_list {
  padding: 8px;
  color: #fc4c02;
}
.track-fluid__errorWaybill--container > .content .footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-color: #ffffff;
  padding-bottom: 0;
}
.track-fluid__errorWaybill--container > .content .footer button {
  margin-left: 10px;
  background-color: #ffffff;
  color: #2b2a2a;
  border-radius: 5px;
  padding: 2px 10px;
  font-weight: 400;
}

.track-export {
  position: absolute;
  top: 94px;
  right: 16px;
}
/* 下拉按钮容器 */
.dropdown-container {
  position: relative;
  display: inline-block;
}

/* 主按钮样式 */
.dropdown-button {
  background-color: #ff4800;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  transition: background-color 0.2s;
}

.dropdown-button:hover {
  background-color: #ff4800;
}

.dropdown-button:focus {
  outline: none;
}

/* 下拉菜单样式 */
.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  min-width: 160px;
  padding: 5px 0;
  display: none;
  animation: fadeIn 0.2s ease-in-out;
  z-index: 100;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 下拉菜单项样式 */
.dropdown-item {
  display: block;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
}

.dropdown-item:hover {
  background-color: #f5f5f5;
  color: #ff4800;
}

/* 下拉菜单打开状态 */
.dropdown-open .dropdown-menu {
  display: block;
}
.error_message {
  height: 42px;
  max-width: 300px;
  min-width: 100px;
  line-height: 42px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid red;
  color: red;
  padding: 0 20px;
  z-index: 9999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: none;
}
