.wrapper-query{
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wrapper-query .logo{
  text-align:center;
  margin-bottom: 25px;
}

/* 导航栏样式 */
.nav-bar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 20px;
  gap: 20px;
  padding-left: 50px;
}

.nav-item {
  padding: 12px 24px;
  background-color: #f5f5f5;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item:hover {
  background-color: #e8f4ff;
  border-color: #0058E8;
  color: #0058E8;
}

.nav-item.active {
  background-color: #0058E8;
  border-color: #0058E8;
  color: #ffffff;
}

.nav-item i {
  font-size: 18px;
}

.nav-item .peso-icon {
  font-size: 18px;
  font-weight: bold;
  display: inline-block;
}

.nav-item .delivery-icon {
  font-size: 18px;
  font-weight: bold;
  display: inline-block;
}

.wrapper-query .title{
  font-size: 44px;
  font-weight: bold;
  color: #0058E8;
  text-align: center;
}

.wrapper-query .form{
  margin-top: 10px;
}

.wrapper-query .form-box{
  width: 100%;
  height: 134px;
}

.wrapper-query .form-box .layui-textarea{
  width: 100%;
  height: 100%;
  border: 1px solid #0058E8;
  border-radius: 5px;
  resize: none;
}

.wrapper-query .form-box .layui-textarea:hover,.wrapper-query .form-box .layui-textarea:focus{
  border: 1px solid #0058E8 !important;
}

.wrapper-query .form-area{
  width: 100%;
  height: 134px;
}

.wrapper-query .form-area .search-btn{
  width: 100%;
  height: 100%;
  background-color: #0058E8;
  border: 0;
  border-radius: 5px;
  color: #ffffff;
  font-size: 26px;
  cursor:pointer;
}

.wrapper-query .form-area .search-btn i{
  font-size: 26px;
}

.wrapper-query .latest-tracked{
  color: #242426;
}

.wrapper-query .latest-tracked a{
  color: #0058E8;
}

/* 主容器内容区域 */
.wrapper-query .layui-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  /* 隐藏滚动条但保持滚动功能 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.wrapper-query .layui-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* 费率计算表单样式 - 垂直布局 */
.rate-form-vertical {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.form-section {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 3px 15px rgba(0, 88, 232, 0.08);
  border: 1px solid #e8f4ff;
  backdrop-filter: blur(5px);
  min-height: auto;
}

.result-section {
  width: 100%;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

/* 提示信息样式 */
.tip-info {
  background-color: #e8f4ff;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 12px;
  color: #666;
  margin-top: 15px;
  border-left: 3px solid #0058E8;
}

.tip-info i {
  color: #0058E8;
  margin-right: 6px;
  }
  
/* 费率计算按钮样式 */
.form-section .search-btn {
  width: 100px;
  height: 30px;
  background-color: #0058E8;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.form-section .search-btn:hover {
  background-color: #003d99;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 88, 232, 0.25);
}

.form-section .search-btn i {
  font-size: 12px;
  margin-right: 4px;
}

/* Free Delivery页面样式 */
.free-delivery-section {
  padding: 40px 20px;
  text-align: center;
}

.free-delivery-info h3 {
  color: #0058E8;
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: bold;
}

.free-delivery-info p {
  color: #666;
  font-size: 16px;
  margin-bottom: 30px;
}

.delivery-features {
  margin: 30px 0;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #28a745;
}

.feature-item i {
  color: #28a745;
  font-size: 18px;
  margin-right: 12px;
}

.feature-item span {
  color: #333;
  font-size: 14px;
}

/* 运输方式筛选样式已移除 */

/* 地区选择样式 */
.delivery-areas {
  margin: 30px 0;
}

/* delivery-areas h4 样式已移除 */

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 250px));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  justify-content: center;
}

.area-card {
  border: 2px solid #e6e6e6;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  /* 移除背景色，让图片背景直接显示 */
  background-color: transparent;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 马尼拉按钮特殊背景样式 */
.area-card[data-area="manila"] {
  background-image: url('../images/Free Delivery/manilaimg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #333;
  position: relative;
}

/* 马尼拉按钮内容样式 */
.area-card[data-area="manila"] > * {
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  color: #fff;
  font-weight: bold;
}

/* 达沃按钮特殊背景样式 */
.area-card[data-area="davao"] {
  background-image: url('../images/Free Delivery/davaoimg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #333;
  position: relative;
}

/* 达沃按钮内容样式 */
.area-card[data-area="davao"] > * {
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  color: #fff;
  font-weight: bold;
}

/* 宿务按钮特殊背景样式 */
.area-card[data-area="cebu"] {
  background-image: url('../images/Free Delivery/cebuimg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #333;
  position: relative;
}

/* 宿务按钮内容样式 */
.area-card[data-area="cebu"] > * {
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  color: #fff;
  font-weight: bold;
}

/* 宿务按钮特殊背景样式 */
.area-card[data-area="cagayan"] {
  background-image: url('../images/Free Delivery/cagayanimg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #333;
  position: relative;
}

/* cagayan按钮内容样式 */
.area-card[data-area="cagayan"] > * {
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  color: #fff;
  font-weight: bold;
}

/* Manila Air Transport按钮特殊背景样式 */
.area-card[data-area="manila"][data-transport="air"] {
  background-image: url('../images/Free Delivery/manila-air-img.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #333;
  position: relative;
}

/* Manila Air Transport按钮内容样式 */
.area-card[data-area="manila"][data-transport="air"] > * {
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  color: #fff;
  font-weight: bold;
}

.area-card:hover {
  border-color: #0058E8;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 88, 232, 0.15);
}

.area-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.area-name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.area-transport {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

/* 派送范围展示页面样式 */
.coverage-section {
  padding: 20px;
}

.coverage-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e6e6e6;
}

.back-btn {
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 15px;
  color: #666;
  cursor: pointer;
  font-size: 14px;
  margin-right: 20px;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: #e9ecef;
  color: #333;
}

.back-btn i {
  margin-right: 5px;
}

#coverage-title {
  color: #0058E8;
  font-size: 24px;
  margin: 0;
  font-weight: bold;
}

.coverage-content {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 25px;
}

.coverage-area {
  margin-bottom: 25px;
}

.coverage-area h4 {
  color: #0058E8;
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 2px solid #0058E8;
  padding-bottom: 5px;
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.coverage-item {
  background: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  border-left: 4px solid #28a745;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.coverage-info {
  background: #e7f3ff;
  border: 1px solid #0058E8;
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
}

.coverage-info h5 {
  color: #0058E8;
  margin-bottom: 10px;
  font-size: 16px;
}

.coverage-info p {
  color: #666;
  margin: 5px 0;
  font-size: 14px;
}

/* 地图显示样式 */
.coverage-map {
  margin-bottom: 30px;
}

.coverage-map h4 {
  color: #0058E8;
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 2px solid #0058E8;
  padding-bottom: 5px;
}

.map-container {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.delivery-map {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 可点击地图样式 */
.clickable-map {
  cursor: pointer;
  transition: all 0.3s ease;
}

.clickable-map:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-color: #0058E8;
}

.map-zoom-hint {
  text-align: center;
  margin-top: 8px;
  color: #666;
  font-size: 12px;
  opacity: 0.8;
}

.map-zoom-hint:before {
  content: "🔍 ";
  margin-right: 4px;
}

/* 图片加载占位符样式 */
.image-loading-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background-color: #f5f5f5;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
  position: relative;
}

.image-loading-placeholder:before {
  content: "📷 ";
  margin-right: 8px;
  font-size: 18px;
}

.image-loading-placeholder.error {
  background-color: #fff2f0;
  border-color: #ffccc7;
  color: #ff4d4f;
}

.image-loading-placeholder.error:before {
  content: "⚠ ";
  color: #ff4d4f;
}

/* 配送说明样式 */
.delivery-notes {
  margin-top: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.note-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.note-item:last-child {
  margin-bottom: 0;
}

.note-item.note-free {
  border-left: 4px solid #28a745;
}

.note-item.note-warning {
  border-left: 4px solid #dc3545;
}

.note-item.note-important {
  border-left: 4px solid #ffc107;
}

.note-icon {
  font-size: 18px;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.note-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.contact-link {
  color: #0058E8;
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover {
  color: #003d99;
  text-decoration: underline;
}

/* 全局悬浮联系客服按钮样式 */
.floating-contact-btn {
  position: fixed;
  bottom: 30px;
  top: 80%;
  right: 30px;
  z-index: 1000;
  transform: translateY(-80%);
  display: block; /* 全局显示 */
}

.contact-btn-link {
  display: flex;
  align-items: center;
  background: white;
  color: #0058E8;
  text-decoration: none;
  padding: 12px;
  border-radius: 50px;
  border: 2px solid #0058E8;
  box-shadow: 0 4px 20px rgba(0, 88, 232, 0.3);
  transition: all 0.4s ease;
  font-size: 14px;
  font-weight: 500;
  width: 48px;
  height: 48px;
  justify-content: center;
  overflow: hidden;
}

.contact-btn-link:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 88, 232, 0.4);
  color: #0058E8;
  border: 2px solid #0058E8;
  text-decoration: none;
  width: auto;
  padding: 12px 20px;
}

.contact-btn-icon {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.messenger-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-btn-text {
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  width: 0;
  margin-left: 0;
  transition: all 0.4s ease;
  overflow: hidden;
}

.contact-btn-link:hover .contact-btn-text {
  opacity: 1;
  width: auto;
  margin-left: 8px;
}

.contact-btn-link:hover .contact-btn-icon {
  margin-right: 0;
}

/* 移动端悬浮按钮适配 */
@media (max-width: 768px) {
  .floating-contact-btn {
    top: 80%;
    bottom: 20px;
    right: 20px;
    transform: translateY(-80%);
  }
  
  .contact-btn-link {
    padding: 10px;
    font-size: 13px;
    width: 44px;
    height: 44px;
  }
  
  .contact-btn-link:hover {
    padding: 10px 16px;
  }
  
  .contact-btn-icon {
    font-size: 16px;
  }
  
  .messenger-logo {
    width: 20px;
    height: 20px;
  }
  
  .contact-btn-text {
    font-size: 13px;
  }
}

/* 多图片并列显示样式 */
.map-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 15px;
  direction: rtl; /* 从右到左排列 */
}

.map-grid-container .map-item {
  direction: ltr; /* 恢复内容的正常方向 */
}

/* 桌面端单张图片居中 */
.map-grid-container.single-image {
  grid-template-columns: 1fr;
  justify-items: center;
}

.map-grid-container.single-image .map-item {
  max-width: 50%;
}

.map-item {
  text-align: center;
}

.map-item .delivery-map {
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-item .delivery-map:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-color: #0058E8;
}

.map-item .map-zoom-hint {
  text-align: center;
  margin-top: 8px;
  color: #666;
  font-size: 12px;
  opacity: 0.8;
}

/* 大屏幕桌面端优化 */
@media (min-width: 1400px) {
  .area-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 280px));
    gap: 25px;
    max-width: 1400px;
  }
  
  .area-card {
    padding: 30px;
    min-height: 160px;
  }
  
  .area-name {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .area-transport {
    font-size: 16px;
  }
}

/* 平板端响应式样式 */
@media (max-width: 1024px) and (min-width: 769px) {
  .area-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
    gap: 12px;
    max-width: 900px;
    padding: 0 15px;
    justify-content: center;
  }
  
  .area-card {
    padding: 18px;
  }
}

/* 中等手机屏幕适配 */
@media (max-width: 768px) and (min-width: 481px) {
  .area-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 180px));
    gap: 12px;
    max-width: 100%;
    padding: 0 15px;
    justify-content: center;
  }
  
  .area-card {
    padding: 15px;
    margin: 0;
    min-height: 120px;
  }
}

/* 小屏幕手机端响应式样式 */
@media (max-width: 480px) {
  /* Free Delivery页面手机端适配 */
  .free-delivery-section {
    padding: 20px 10px;
  }
  
  .free-delivery-info p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  /* 运输方式筛选手机端样式已移除 */
  
  /* delivery-areas h4 移动端样式已移除 */
  
  /* 地区选择网格小屏手机端 */
  .area-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 140px));
    gap: 8px;
    max-width: 100%;
    padding: 0 5px;
    justify-content: center;
  }
  
  .area-card {
    padding: 10px;
    margin: 0;
    min-height: 80px;
  }
  
  .area-icon {
    font-size: 28px;
    margin-bottom: 8px;
  }
  
  .area-name {
    font-size: 15px;
    margin-bottom: 4px;
  }
  
  .area-transport {
    font-size: 11px;
  }
  
  /* 派送范围详情页手机端 */
  .coverage-section {
    padding: 15px 10px;
  }
  
  .coverage-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
  
  .back-btn {
    margin-right: 0;
    margin-bottom: 10px;
    padding: 10px 15px;
    font-size: 13px;
  }
  
  #coverage-title {
    font-size: 20px;
    line-height: 1.3;
  }
  
  .coverage-content {
    padding: 15px;
  }
  
  /* 地区列表手机端 */
  .coverage-area h4 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .coverage-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .coverage-item {
    padding: 10px 12px;
    font-size: 14px;
    text-align: center;
  }
  
  /* 地图手机端 */
  .coverage-map h4 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .map-container {
    padding: 10px;
  }
  
  .delivery-map {
    max-height: 300px;
    object-fit: contain;
    width: 100%;
  }
  
  .map-zoom-hint {
    font-size: 11px;
    margin-top: 6px;
  }
  
  /* 多图片并列手机端适配 */
  .map-grid-container {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  
  /* 单张图片时居中显示 */
  .map-grid-container.single-image {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  
  .map-grid-container.single-image .map-item {
    max-width: 70%;
  }
  
  .map-item .delivery-map {
    max-height: 250px;
    height: auto;
    object-fit: contain;
  }
  
  .map-item .map-zoom-hint {
    font-size: 11px;
    margin-top: 6px;
  }
  
  /* 配送说明移动端样式 */
  .delivery-notes {
    margin-top: 20px;
    padding: 15px;
  }
  
  .note-item {
    padding: 10px;
    margin-bottom: 12px;
  }
  
  .note-icon {
    font-size: 16px;
    margin-right: 10px;
  }
  
  .note-text {
    font-size: 13px;
    line-height: 1.4;
  }

  .area-icon {
    font-size: 24px;
  }
  
  .area-name {
    font-size: 14px;
  }
  
  .coverage-section {
    padding: 10px 8px;
  }
  
  .coverage-content {
    padding: 12px;
  }
  
  #coverage-title {
    font-size: 18px;
  }
  
  .coverage-item {
    padding: 8px 10px;
    font-size: 13px;
  }
  
  .delivery-map {
    max-height: 250px;
  }
  
  .map-item .delivery-map {
    max-height: 200px;
    height: auto;
    object-fit: contain;
  }
}

/* 运输类型选择样式 */
.transport-type-section {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f2f5;
}

.transport-type-buttons {
  display: flex;
  gap: 10px;
}

.transport-btn {
  flex: 1;
  height: 36px;
  border: 2px solid #e0e6ed;
  border-radius: 6px;
  background-color: #ffffff;
  color: #666;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
}

.transport-btn:hover {
  border-color: #0058E8;
  color: #0058E8;
  background-color: #f8f9ff;
}

.transport-btn.active {
  border-color: #0058E8;
  background-color: #0058E8;
  color: #ffffff;
}

.transport-btn.active:hover {
  background-color: #003d99;
  border-color: #003d99;
}

.transport-icon {
  font-size: 16px;
  display: inline-block;
}

.transport-btn i {
  font-size: 16px;
}

/* 货物列表样式 */
.cargo-section {
  margin-top: 20px;
  border-top: 1px solid #f0f2f5;
  padding-top: 20px;
}

.cargo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.cargo-header h4 {
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.add-cargo-btn {
  background-color: #28a745;
  border: none;
  border-radius: 4px;
  color: white;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.add-cargo-btn:hover {
  background-color: #218838;
  transform: translateY(-1px);
}

.cargo-item {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 15px;
  position: relative;
}

.cargo-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.cargo-title {
  font-weight: 600;
  color: #0058E8;
  font-size: 14px;
}

.remove-cargo-btn {
  background-color: #dc3545;
  border: none;
  border-radius: 50%;
  color: white;
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-cargo-btn:hover {
  background-color: #c82333;
  transform: scale(1.1);
}

.cargo-inputs .layui-form-label {
  width: 45px;
  font-size: 10px;
  padding: 0 3px 0 0;
}

.cargo-inputs .layui-input-block {
  margin-left: 50px;
}

.cargo-inputs .layui-input {
  height: 32px;
  font-size: 10px;
  padding: 6px 6px;
  max-width: 85px;
}

.cargo-total-weight {
  background-color: #f5f5f5 !important;
  color: #666 !important;
}

.cargo-summary {
  background-color: #e8f4ff;
  border: 1px solid #d4edda;
  border-radius: 6px;
  padding: 15px;
  margin-top: 15px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary-item label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.summary-item span {
  font-weight: bold;
  color: #0058E8;
  font-size: 16px;
}

/* 输入框与单位组合样式 */
.input-with-unit {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 2px;
  transition: all 0.3s ease;
  min-width: 120px;
}

/* 让重量和体积在一行显示 */
.cargo-summary .layui-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}

.cargo-summary .layui-row .layui-col-sm4:nth-child(1) {
  flex: 0 0 auto;
}

.cargo-summary .layui-row .layui-col-sm4:nth-child(2),
.cargo-summary .layui-row .layui-col-sm4:nth-child(3) {
  flex: 0 0 auto;
  width: auto;
  min-width: 150px;
}

.input-with-unit:hover {
  border-color: #cbd5e0;
  background: #f1f5f9;
}

.input-with-unit:focus-within {
  border-color: #0058E8;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 88, 232, 0.1);
}

.summary-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  outline: none;
  min-width: 0;
}

.summary-input::placeholder {
  color: #a0aec0;
  font-weight: 400;
}

.unit-label {
  display: none;
}

.summary-label {
  font-weight: 600;
  color: #4a5568;
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
}

/* 垂直显示汇总信息的样式 */
.summary-vertical {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.row-label {
  font-weight: 600;
  color: #4a5568;
  font-size: 14px;
  min-width: 120px;
}

.row-value {
  font-weight: bold;
  color: #0058E8;
  font-size: 16px;
}

.input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.row-input {
  width: 100px;
  height: 36px;
  padding: 8px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  background: #ffffff;
  transition: border-color 0.3s ease;
}

.row-input:focus {
  outline: none;
  border-color: #0058E8;
  box-shadow: 0 0 0 3px rgba(0, 88, 232, 0.1);
}

.row-input:hover {
  border-color: #cbd5e0;
}

.row-unit {
  font-size: 14px;
  font-weight: 600;
  color: #0058E8;
  min-width: 35px;
}

/* 占位内容样式 */
.result-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  border: 2px dashed #e0e6ed;
  backdrop-filter: blur(5px);
}

.placeholder-content {
  text-align: center;
  padding: 40px 20px;
}

.placeholder-content p {
  margin: 8px 0;
}

/* 表单项样式 */
.form-section .layui-form-item {
  margin-bottom: 15px;
  overflow: hidden;
  zoom: 1;
}

.form-section .layui-form-item:after {
  content: '';
  display: block;
  clear: both;
}

.form-section .layui-form-label {
  width: 70px;
  font-weight: 600;
  color: #333;
  font-size: 12px;
  line-height: 36px;
  height: 36px;
  padding: 0 8px 0 0;
  float: left;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.form-section .layui-input-block {
  margin-left: 85px;
  position: relative;
  overflow: hidden;
}

.form-section .layui-input,
.form-section .layui-select {
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  height: 36px;
  font-size: 12px;
  transition: all 0.3s ease;
  background-color: #ffffff;
  line-height: normal;
  padding: 8px 8px;
  box-sizing: border-box;
  width: 100%;
  max-width: 150px;
  vertical-align: top;
}

/* 下拉框样式优化 */
.form-section select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px;
  padding: 8px 25px 8px 8px;
  cursor: pointer;
  color: #333;
  line-height: normal;
  vertical-align: top;
  z-index: 10;
  position: relative;
}

.form-section select:focus {
  outline: none;
  border-color: #0058E8 !important;
  box-shadow: 0 0 0 2px rgba(0, 88, 232, 0.1) !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230058E8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

.form-section select:hover {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230058E8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

.form-section select option {
  padding: 8px 12px;
  background-color: #ffffff;
  color: #333;
}

.form-section select option:hover,
.form-section select option:checked {
  background-color: #f0f7ff;
  color: #0058E8;
}

.form-section .layui-input:hover,
.form-section .layui-select:hover {
  border-color: #0058E8;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 88, 232, 0.1);
}

.form-section .layui-input:focus {
  border-color: #0058E8 !important;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 88, 232, 0.15) !important;
}

.form-section .layui-input::placeholder {
  color: #999;
  font-size: 13px;
  line-height: normal;
}

.form-section .layui-input::-webkit-input-placeholder {
  color: #999;
  font-size: 13px;
}

.form-section .layui-input::-moz-placeholder {
  color: #999;
  font-size: 13px;
}

.form-section .layui-input:-ms-input-placeholder {
  color: #999;
  font-size: 13px;
}

/* 表单分组样式 */
.form-group {
  background-color: rgba(248, 249, 250, 0.8);
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 15px;
  border-left: 3px solid #0058E8;
}

.form-group-title {
  font-size: 15px;
  font-weight: 600;
  color: #0058E8;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 计算结果样式 - 横向布局 */
.result-section .rate-result {
  width: 100%;
  margin-top: 0;
  animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
  border: 1px solid #e8f4ff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 12px rgba(0, 88, 232, 0.08);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0058E8, #4A90E2);
}

.result-card h3 {
  color: #0058E8;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.result-card h3::before {
  content: '💰';
  font-size: 18px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  margin: 4px -6px;
  border-radius: 8px;
  background-color: rgba(250, 251, 252, 0.8);
  border: 1px solid #f0f2f5;
  transition: all 0.3s ease;
}

.result-item:hover {
  background-color: #f0f7ff;
  border-color: #d4edda;
  transform: translateX(5px);
}

.result-item.total {
  background: linear-gradient(135deg, #0058E8 0%, #4A90E2 100%);
  color: white;
  margin: 15px -20px -20px -20px;
  padding: 15px 25px;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 3px 15px rgba(0, 88, 232, 0.25);
  border: none;
}

.result-item.total:hover {
  transform: none;
  background: linear-gradient(135deg, #003d99 0%, #0058E8 100%);
}

.result-item .label {
  font-weight: 600;
  color: #555;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.result-item .value {
  font-weight: 700;
  color: #0058E8;
  font-size: 14px;
  background-color: #e8f4ff;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #d4edda;
}

.result-item.total .label,
.result-item.total .value {
  color: white;
  font-size: 18px;
}

.result-item.total .value {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

/* 添加图标 */
.result-item .label::before {
  font-family: 'layui-icon';
  margin-right: 5px;
}

.result-item:nth-child(2) .label::before {
  content: '\e715'; /* 路线图标 */
}

.result-item:nth-child(3) .label::before {
  content: '\e857'; /* 重量图标 */
}

.result-item:nth-child(4) .label::before {
  content: '\e65e'; /* 价格图标 */
}

.result-item.total .label::before {
  content: '\e65f'; /* 总计图标 */
}

/* 基础响应式样式已移至 responsive.css */

.bg{
  background-color: #f7f7f7;
}

.wrapper-detail {
  padding: 15px;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* 添加滚动条样式 */
.wrapper-detail::-webkit-scrollbar {
  width: 8px;
}

.wrapper-detail::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.wrapper-detail::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.wrapper-detail::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.wrapper-detail .header{
  background-color: #ffffff;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}

.wrapper-detail .header span{
  font-weight: bold;
  font-size: 16px;
}

.wrapper-detail .track{
  background-color: #ffffff;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}

.wrapper-detail .foot{
  background-color: #ffffff;
  border-radius: 8px;
  padding: 15px;
  text-align: right;
}

.wrapper-detail .pandect .pandect-one{
  height: 50px;
}

.wrapper-detail .pandect .pandect-one .icon img{
  width: 50px;
  height: 50px;
}

.wrapper-detail .pandect .pandect-one .text{
  margin-left: 10px;
}

.wrapper-detail .pandect .pandect-one .text p:nth-child(1) b{
  font-size: 20px;
}

.wrapper-detail .pandect .pandect-one .text p:nth-child(2){
  color: #FF3B3B;
}

.wrapper-detail .pandect .pandect-two{
  height: 50px;
}

.wrapper-detail .pandect .pandect-two .piece{
  text-align: center;
  margin-top: 2px;
}

.wrapper-detail .pandect .pandect-two span{
  font-size: 16px;
  font-weight: 600;
}

.wrapper-detail .pandect .pandect-two img{
  padding: 0 10px;
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
}

.wrapper-detail .pandect .pandect-three{
  height: 50px;
}

.wrapper-detail .pandect .pandect-three p{
  text-align: right;
}

.wrapper-detail .pandect .pandect-three p:nth-child(1){
  font-size: 16px;
}

.wrapper-detail .pandect .pandect-three p:nth-child(2){
  color: #0058E8;
}

.wrapper-detail .tip{
  padding: 20px;
  box-shadow: 0px 2px 13px 0px rgba(110,147,208,0.15);
  border-radius: 5px;
  margin: 15px 0;
}

.wrapper-detail .tip span{
  color: #0058E8;
}

.wrapper-detail .steps{
  margin-bottom: 15px;
}

.wrapper-detail .copy{
  margin-bottom: 15px;
}

.wrapper-detail .copy .layui-btn{
  border: 1px solid #DCDEE0;
}

.wrapper-detail .copy .layui-btn .layui-icon{
  font-size: 12px;
  vertical-align:unset;
}

.wrapper-detail .layui-timeline .layui-timeline-axis{
  color: #C6C6C6;
}

.wrapper-detail .layui-timeline .layui-timeline-item:first-child .layui-timeline-axis{
  color: #0058E8;
}

.wrapper-detail .layui-timeline .layui-timeline-item:last-child{
  padding-bottom: 0;
}

.wrapper-detail .layui-timeline .layui-timeline-item:before{
  background-color: #C6C6C6;
  left: 4px;
}

.wrapper-detail .layui-timeline .layui-timeline-title{
  line-height:20px;
}

.wrapper-detail .layui-timeline .layui-timeline-item:first-child .layui-timeline-title{
  color: #0058E8;
}

.wrapper-detail .layui-timeline .layui-timeline-title span{
  margin-right: 10px;
}

.err{
  text-align: center;
  margin-bottom: 15px;
}

.err .err-img img{
  width: 250px;
  height: auto;
}

.err .err-text{
  margin-top: 10px;
  font-size: 16px;
}