@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;700&display=swap");
body {
  background: #00c4b4;
}
body .content {
  background: white;
  margin-top: 50px;
  margin-bottom: 50px;
}

body:has(.tracking-cross-border-wrapper) {
  background: linear-gradient(178.41deg, #f3f7f8 0%, #ffffff 100%) !important;
}

.tracking-navbar {
  background-color: transparent;
  padding: 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.tracking-navbar .tracking-navbar-brand {
  display: inline-block;
  text-decoration: none;
}
.tracking-navbar .tracking-navbar-brand img {
  max-height: 30px;
  width: auto;
  height: auto;
}
.tracking-navbar .tracking-navbar-brand:hover, .tracking-navbar .tracking-navbar-brand:focus {
  text-decoration: none;
  opacity: 0.8;
}

.tracking-cross-border-wrapper {
  position: relative;
  min-height: 100vh;
  padding: 80px 20px;
  background: linear-gradient(178.41deg, #f3f7f8 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tracking-cross-border-wrapper .deco {
  position: absolute;
  z-index: 0;
  opacity: 0.6;
}
.tracking-cross-border-wrapper .deco img {
  max-width: 100%;
}
.tracking-cross-border-wrapper .deco#deco_1 {
  top: -70px;
  left: -50px;
  width: 120px;
}
.tracking-cross-border-wrapper .deco#deco_2 {
  top: 200px;
  right: -80px;
  width: 150px;
}
.tracking-cross-border-wrapper .deco#deco_3 {
  bottom: 150px;
  left: 100px;
  width: 80px;
}
.tracking-cross-border-wrapper .tracking-cross-border-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}
.tracking-cross-border-wrapper .tracking-cross-border-content .tracking-header {
  text-align: center;
  margin-bottom: 50px;
}
.tracking-cross-border-wrapper .tracking-cross-border-content .tracking-header .tracking-title {
  font-size: 36px;
  line-height: 48px;
  font-weight: 700;
  color: #324a5e;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.tracking-cross-border-wrapper .tracking-cross-border-content .tracking-header .tracking-subtitle {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: #64646c;
  margin: 0;
}
.tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card {
  background: #ffffff;
  border: 1px solid #e6e8eb;
  box-sizing: border-box;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0px 9px 28px 8px rgba(0, 0, 0, 0.05), 0px 3px 6px -4px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}
.tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card:hover {
  box-shadow: 0px 12px 32px 12px rgba(0, 0, 0, 0.08), 0px 4px 8px -4px rgba(0, 0, 0, 0.15);
}
.tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card .tracking-form .form-group {
  margin-bottom: 32px;
}
.tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card .tracking-form .form-group .form-label {
  display: block;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #324a5e;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card .tracking-form .form-group .form-control {
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
  line-height: 24px;
  color: #20333e;
  background: #ffffff;
  border: 2px solid #e6e8eb;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card .tracking-form .form-group .form-control:focus {
  outline: none;
  border-color: #00c4b3;
  box-shadow: 0 0 0 3px rgba(0, 196, 179, 0.1);
}
.tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card .tracking-form .form-group .form-control::placeholder {
  color: #9ca3af;
}
.tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card .tracking-form .form-submit {
  text-align: center;
  margin-top: 40px;
}
.tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card .tracking-form .form-submit .btn-submit {
  background: linear-gradient(58.05deg, #6574ff -316.31%, #00c4b3 58.1%);
  border: none;
  border-radius: 24px;
  padding: 14px 60px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 2px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0px 6px 16px rgba(0, 196, 179, 0.24);
}
.tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card .tracking-form .form-submit .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 20px rgba(0, 196, 179, 0.32);
}
.tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card .tracking-form .form-submit .btn-submit:active {
  transform: translateY(0);
}

@media screen and (max-width: 768px) {
  .tracking-navbar {
    padding: 16px;
  }
  .tracking-navbar .tracking-navbar-brand img {
    max-height: 25px;
  }
  .tracking-cross-border-wrapper {
    padding: 40px 16px;
    min-height: calc(100vh - 100px);
  }
  .tracking-cross-border-wrapper .deco {
    display: none;
  }
  .tracking-cross-border-wrapper .tracking-cross-border-content .tracking-header {
    margin-bottom: 32px;
  }
  .tracking-cross-border-wrapper .tracking-cross-border-content .tracking-header .tracking-title {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 12px;
  }
  .tracking-cross-border-wrapper .tracking-cross-border-content .tracking-header .tracking-subtitle {
    font-size: 16px;
    line-height: 24px;
    padding: 0 10px;
  }
  .tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card {
    padding: 32px 24px;
    border-radius: 12px;
  }
  .tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card .tracking-form .form-group {
    margin-bottom: 24px;
  }
  .tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card .tracking-form .form-group .form-label {
    font-size: 15px;
  }
  .tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card .tracking-form .form-group .form-control {
    padding: 12px 16px;
    font-size: 15px;
  }
  .tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card .tracking-form .form-submit {
    margin-top: 32px;
  }
  .tracking-cross-border-wrapper .tracking-cross-border-content .tracking-card .tracking-form .form-submit .btn-submit {
    width: 100%;
    padding: 14px 40px;
    font-size: 15px;
    border-radius: 20px;
  }
}
.tracking-result-wrapper .tracking-header .tracking-number-display {
  margin-top: 24px;
  padding: 16px 24px;
  background: #ffffff;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
}
.tracking-result-wrapper .tracking-header .tracking-number-display .label {
  font-size: 16px;
  font-weight: 600;
  color: #64646c;
  margin-right: 8px;
}
.tracking-result-wrapper .tracking-header .tracking-number-display .value {
  font-size: 18px;
  font-weight: 700;
  color: #00c4b3;
  font-family: "Courier New", monospace;
}
.tracking-result-wrapper .tracking-card .tracking-timeline {
  padding: 20px 0;
}
.tracking-result-wrapper .tracking-card .tracking-timeline .timeline-item {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding-bottom: 24px;
}
.tracking-result-wrapper .tracking-card .tracking-timeline .timeline-item.active .timeline-dot {
  background: linear-gradient(58.05deg, #6574ff -316.31%, #00c4b3 58.1%);
  box-shadow: 0px 4px 12px rgba(0, 196, 179, 0.4);
}
.tracking-result-wrapper .tracking-card .tracking-timeline .timeline-item.active .timeline-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
}
.tracking-result-wrapper .tracking-card .tracking-timeline .timeline-item.active .timeline-content .timeline-note {
  color: #324a5e;
  font-weight: 600;
}
.tracking-result-wrapper .tracking-card .tracking-timeline .timeline-item .timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e6e8eb;
  flex-shrink: 0;
  margin-right: 16px;
  margin-top: 4px;
  position: relative;
  transition: all 0.3s ease;
}
.tracking-result-wrapper .tracking-card .tracking-timeline .timeline-item .timeline-content {
  flex: 1;
  padding-top: 2px;
}
.tracking-result-wrapper .tracking-card .tracking-timeline .timeline-item .timeline-content .timeline-note {
  font-size: 16px;
  line-height: 24px;
  color: #64646c;
  font-weight: 400;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.tracking-result-wrapper .tracking-card .tracking-timeline .timeline-item .timeline-content .timeline-time {
  font-size: 14px;
  line-height: 20px;
  color: #9ca3af;
  font-weight: 400;
}
.tracking-result-wrapper .tracking-card .tracking-timeline .timeline-line {
  width: 2px;
  height: 24px;
  background: #e6e8eb;
  margin-left: 9px;
  margin-bottom: 0;
}
.tracking-result-wrapper .tracking-card .tracking-empty {
  text-align: center;
  padding: 60px 20px;
}
.tracking-result-wrapper .tracking-card .tracking-empty .empty-icon {
  font-size: 64px;
  color: #e6e8eb;
  margin-bottom: 24px;
}
.tracking-result-wrapper .tracking-card .tracking-empty .empty-icon i {
  display: inline-block;
}
.tracking-result-wrapper .tracking-card .tracking-empty .empty-title {
  font-size: 24px;
  font-weight: 700;
  color: #324a5e;
  margin-bottom: 12px;
}
.tracking-result-wrapper .tracking-card .tracking-empty .empty-description {
  font-size: 16px;
  line-height: 24px;
  color: #64646c;
  margin: 0;
}
.tracking-result-wrapper .tracking-card .tracking-actions {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e6e8eb;
  text-align: center;
}
.tracking-result-wrapper .tracking-card .tracking-actions .btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  border: 2px solid #00c4b3;
  border-radius: 24px;
  padding: 12px 32px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1px;
  color: #00c4b3;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tracking-result-wrapper .tracking-card .tracking-actions .btn-back:hover {
  background: #00c4b3;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0px 4px 12px rgba(0, 196, 179, 0.3);
  text-decoration: none;
}
.tracking-result-wrapper .tracking-card .tracking-actions .btn-back:active {
  transform: translateY(0);
}
.tracking-result-wrapper .tracking-card .tracking-actions .btn-back i {
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .tracking-result-wrapper .tracking-header .tracking-number-display {
    padding: 12px 20px;
    margin-top: 20px;
  }
  .tracking-result-wrapper .tracking-header .tracking-number-display .label {
    font-size: 14px;
  }
  .tracking-result-wrapper .tracking-header .tracking-number-display .value {
    font-size: 16px;
  }
  .tracking-result-wrapper .tracking-card .tracking-timeline {
    padding: 16px 0;
  }
  .tracking-result-wrapper .tracking-card .tracking-timeline .timeline-item {
    padding-bottom: 20px;
  }
  .tracking-result-wrapper .tracking-card .tracking-timeline .timeline-item .timeline-dot {
    width: 16px;
    height: 16px;
    margin-right: 12px;
    margin-top: 3px;
  }
  .tracking-result-wrapper .tracking-card .tracking-timeline .timeline-item .timeline-content .timeline-note {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 6px;
  }
  .tracking-result-wrapper .tracking-card .tracking-timeline .timeline-item .timeline-content .timeline-time {
    font-size: 13px;
    line-height: 18px;
  }
  .tracking-result-wrapper .tracking-card .tracking-timeline .timeline-line {
    margin-left: 7px;
  }
  .tracking-result-wrapper .tracking-card .tracking-empty {
    padding: 40px 16px;
  }
  .tracking-result-wrapper .tracking-card .tracking-empty .empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
  }
  .tracking-result-wrapper .tracking-card .tracking-empty .empty-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .tracking-result-wrapper .tracking-card .tracking-empty .empty-description {
    font-size: 14px;
    line-height: 20px;
  }
  .tracking-result-wrapper .tracking-card .tracking-actions {
    margin-top: 32px;
    padding-top: 24px;
  }
  .tracking-result-wrapper .tracking-card .tracking-actions .btn-back {
    width: 100%;
    padding: 12px 24px;
    font-size: 15px;
  }
}
