/*查询表单*/
.freights_query {
  width: 100%;
  height: 4rem;
  position: relative;
  background: url(../images/other/cost_banner.png) no-repeat center center;
  background-size: cover;
}
.freights_bar {
  position: absolute;
  z-index: 10;
  left: 50%;
  width: 8.95rem;
  margin: 1rem auto auto -4.475rem;
  padding: 0.3rem 0.23rem 0.27rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.36);
}
.freights_bar .freight_tab a {
  display: inline-block;
  background: #F2680C;
  width: 1rem;
  height: 0.38rem;
  line-height: 0.38rem;
  color: #fff;
  text-decoration: none;
  text-align: center;
}
.freights_bar .freight_tab a span {
  display: block;
  position: relative;
  width: 0.94rem;
  height: 0.37rem;
  line-height: 0.34rem;
  left: 0.03rem;
  top: 0.04rem;
  color: #fff;
}
.freights_bar .freight_tab a.active span {
  background: #fff;
  color: #000;
}
.freights_bar .freight_form {
  background: #fff;
  border: 0.03rem solid #F2680C;
  height: 0.56rem;
}
.freights_bar .freight_form .icon,
.freights_bar .freight_form .pol_list,
.freights_bar .freight_form .pod_list,
.freights_bar .freight_form .btn {
  float: left;
  height: 0.5rem;
}
.freights_bar .freight_form .pol_list_click {
  background: #f5f5f5 url(../images/other/fright_up.png) no-repeat 1.7rem center !important;
}
.freights_bar .freight_form .pol_list {
  width: 2rem;
  background: #f5f5f5 url(../images/other/fright_down.png) no-repeat 1.7rem center;
}
.freights_bar .freight_form .pol_list input {
  height: 0.5rem;
  border: 0;
  outline: 0;
  background: none;
  cursor: pointer;
  text-indent: 1em;
  border-left: 1px solid #ccc;
  padding-right: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.freights_bar .freight_form .pol_list ul {
  display: none;
  background-color: #fff;
  position: relative;
  z-index: 2;
}
.freights_bar .freight_form .pol_list ul li {
  text-indent: 1em;
  height: 0.4rem;
  line-height: 0.4rem;
  border-bottom: 1px solid #ccc;
  font-size: 0.14rem;
  cursor: pointer;
}
.freights_bar .freight_form .pol_list ul li span {
  float: right;
  margin-right: 1em;
}
.freights_bar .freight_form .pol_list ul li:hover {
  background-color: #f5f5f5;
}
.freights_bar .freight_form .pod_list input {
  padding: 0;
  margin: 0;
  width: 4.31rem;
  border: none;
  height: 0.5rem;
}
.freights_bar .freight_form #pod {
  padding-right: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 4.315rem;
  height: 0.5rem;
  line-height: 0.5rem;
  color: #333;
  cursor: pointer;
}
.freights_bar .freight_form .pol_list_click {
  background: #f5f5f5 url(../images/other/fright_up.png) no-repeat 1.7rem center !important;
}
.freights_bar .freight_form .icon {
  background: #fff url("../images/other/fright_icon.png") no-repeat center;
  width: 0.6rem;
  margin: 0 0.1rem;
}
.freights_bar .freight_form .btn input {
  background: #F2680C;
  border: none;
  height: 0.5rem;
  width: 1.32rem;
  color: #fff;
  cursor: pointer;
}
.freights_bar .freight_common {
  display: none;
  position: relative;
  top: 0.03rem;
  right: 0.03rem;
  background: #fff;
  width: 8.49rem;
  border: 1px solid #ccc;
  z-index: 1;
  font-size: 0.14rem;
}
.freights_bar .freight_common .route_tabs {
  height: 0.41rem;
  background: #f5f5f5;
}
.freights_bar .freight_common .route_tabs a {
  float: left;
  display: block;
  height: 0.4rem;
  line-height: 0.4rem;
  padding: 0 0.2rem;
  color: #333;
  margin-left: 0.01rem;
  text-decoration: none;
  position: relative;
  top: 0.01rem;
}
.freights_bar .freight_common .route_tabs a:hover {
  color: #F2680C;
}
.freights_bar .freight_common .route_tabs a.active {
  background: #fff;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
  height: calc(0.4rem + 1px);
}
.freights_bar .freight_common .route_content {
  border-top: 1px solid #ccc;
  padding: 0.1rem 0 0.2rem 0;
  overflow: hidden;
}
.freights_bar .freight_common .route_content div {
  display: none;
}
.freights_bar .freight_common .route_content a {
  float: left;
  width: 1rem;
  margin: 0.1rem 0 0 0.05rem;
  text-decoration: none;
  text-align: center;
  color: #555;
  overflow: hidden;
}
.freights_bar .freight_common .route_content a:hover {
  color: #F2680C;
}
.freights_bar .freight_common .tip {
  border-top: 1px solid #ccc;
  padding: 0.1rem 0;
  text-indent: 2em;
  color: #333;
}
/*定义首页通用样式*/
.freights_model_box {
  margin-top: 0.4rem;
  /*相关运价*/
}
.freights_model_box .shipowner_list {
  width: 100%;
  /*910*/
  margin-bottom: 0.2rem;
  overflow: hidden;
}
.freights_model_box .shipowner_list li {
  float: left;
  padding: 0.05rem 0.08rem;
  margin: 0 0.05rem 0.05rem 0;
  cursor: pointer;
}
.freights_model_box .shipowner_list li.selected {
  background: #F2680C;
  color: #fff;
  border-radius: 4px;
}
.freights_model_box .freights_list {
  margin-top: 0.3rem;
}
.freights_model_box .freights_list table {
  border-collapse: collapse;
  border: none;
  width: 100%;
}
.freights_model_box .port_list {
  overflow: hidden;
  width: 9.1rem;
}
.freights_model_box .port_list p.title {
  height: 0.4rem;
  line-height: 0.4rem;
  background: #F2680C;
  color: #fff;
  font-weight: bold;
  text-indent: 1em;
}
.freights_model_box .port_list p span {
  float: right;
  margin-right: 0.1rem;
  cursor: pointer;
  display: none;
}
.freights_model_box .port_list ul {
  padding: 0.1rem 0;
}
.freights_model_box .port_list li {
  display: inline-block;
  height: 0.25rem;
  line-height: 0.25rem;
  width: 1.9rem;
  margin-left: 0.25rem;
  text-indent: 1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.freights_model_box .port_list li:hover {
  background: #f5f5f5;
}
.freights_model_box .friendlink {
  margin: 0.2rem;
}
.freights_model_box .friendlink li {
  float: left;
  padding: 0 0.05rem;
  margin-top: 0.05rem;
  border-right: 1px solid #ccc;
}
.clear {
  clear: both;
}
.freights_model_box .shipowner_list {
  margin-bottom: 0.2rem;
  overflow: hidden;
}
.freights_model_box .shipowner_list li {
  padding: 0.05rem 0.1rem;
  margin: 0 0.05rem 0.05rem 0;
  cursor: pointer;
}
.freights_model_box .shipowner_list li.selected {
  background: #3892E8;
  color: #fff;
  border-radius: 4px;
}
.freights_model_box .freights_list {
  border-collapse: collapse;
  border: none;
  width: 100%;
}
.freights_model_box .freights_list table tr {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #D9D9D9;
}
.freights_model_box .freights_list table tr:hover {
  background-color: #f5f5f5;
}
.freights_model_box .freights_list table th {
  height: 0.52rem;
  line-height: 0.52rem;
  text-align: center;
  background-color: #3892E8;
  color: #fff;
}
.freights_model_box .freights_list table th span {
  color: #fff;
  width: 100%;
}
.freights_model_box .freights_list table th span.sort_asc {
  display: inline-block;
  padding-right: 0.05rem;
  height: 0.3rem;
  line-height: 0.3rem;
  background: url(../images/other/desc.png) no-repeat right center;
  cursor: pointer;
}
.freights_model_box .freights_list table th span.sort_desc {
  display: inline-block;
  padding-right: 0.05rem;
  height: 0.3rem;
  line-height: 0.3rem;
  background: url(../images/other/asc.png) no-repeat right center;
  cursor: pointer;
}
.freights_model_box .freights_list table td {
  height: 1rem;
  padding: 0.1rem 0;
  text-align: center;
  vertical-align: middle;
  color: #333;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.freights_model_box .freights_list table td span {
  display: block;
}
.freights_model_box .freights_list table td span.stdate {
  font-size: 0.22rem;
  font-weight: bold;
  color: #333;
  display: block;
}
.freights_model_box .freights_list table td span.enddate {
  color: #656565;
  display: block;
  font-size: 0.14rem;
  margin-top: 0.06rem;
}
.freights_model_box .freights_list table td p {
  margin: auto;
  color: #333;
}
.freights_model_box .freights_list table td p.arrow_text {
  width: 1rem;
  color: #ABABAB;
  font-size: 0.14rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.freights_model_box .freights_list table td p.arrow {
  width: 1rem;
  height: 0.14rem;
  background: url(../images/other/comm.png) no-repeat center center;
  background-size: 100% 100%;
}
.freights_model_box .freights_list table td .fcl_yunjia {
  width: 0.65rem;
  padding: 0.05rem 0;
  text-align: center;
  width: 100%;
}
.freights_model_box .freights_list table td .fcl_yunjia span:first-child {
  font-size: 0.22rem;
  color: #F2680C;
}
.freights_model_box .freights_list table td .fcl_yunjia span:last-child {
  color: #A2A2A2;
  font-size: 0.16rem;
}
.freights_model_box .freights_list table td .fcl_yunjia.filter {
  filter: blur(5px);
}
.freights_model_box .freights_list table td a.booking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.93rem;
  height: 0.34rem;
  background: #F2680C;
  border-radius: 3px;
  color: #fff;
  text-decoration: none;
  font-size: 0.14rem;
}
.freights_model_box .freights_list table th:nth-child(1),
.freights_model_box .freights_list table td:nth-child(1) {
  width: 13%;
  /* 有效期 */
}
.freights_model_box .freights_list table th:nth-child(2),
.freights_model_box .freights_list table td:nth-child(2) {
  width: 22%;
  /* 始发港 */
}
.freights_model_box .freights_list table th:nth-child(3),
.freights_model_box .freights_list table td:nth-child(3) {
  width: 13%;
  /* 目的港 */
}
.freights_model_box .freights_list table th:nth-child(4),
.freights_model_box .freights_list table td:nth-child(4),
.freights_model_box .freights_list table th:nth-child(5),
.freights_model_box .freights_list table td:nth-child(5),
.freights_model_box .freights_list table th:nth-child(6),
.freights_model_box .freights_list table td:nth-child(6),
.freights_model_box .freights_list table th:nth-child(8),
.freights_model_box .freights_list table td:nth-child(8) {
  width: 8%;
  /* 船司 */
}
.freights_model_box .freights_list table th:nth-child(7),
.freights_model_box .freights_list table td:nth-child(7) {
  width: 11%;
  /* 详细 */
}
.freights_model_box .freights_list table th:nth-child(9),
.freights_model_box .freights_list table td:nth-child(9) {
  width: 9%;
  /* 详细 */
}
/* 物流服务供应商业务交接信息表弹窗样式 */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.popup.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}
.popup-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.popup.show .popup-content {
  transform: scale(1);
}
.logistics-popup {
  width: 8rem;
  max-width: 90%;
  max-height: 90%;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.logistics-popup .logistics-popup-title {
  background: #C8D5E8;
  padding: 0.18rem 0.24rem;
  color: #282828;
}
.logistics-popup .logistics-popup-title h3 {
  font-size: 0.18rem;
  margin: 0;
}
.logistics-popup .logistics-popup-title .close-btn {
  width: 0.17rem;
  height: 0.17rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.logistics-popup .logistics-popup-title .close-btn:hover {
  opacity: 1;
}
.logistics-popup .logistics-popup-content {
  padding: 0.22rem 0.3rem 0.58rem;
  max-height: 85vh;
  overflow-y: auto;
}
.logistics-form .form-row {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.2rem;
}
.logistics-form .form-group {
  flex: 1;
}
.logistics-form .form-group label {
  display: block;
  color: #5B6B81;
  margin-bottom: 0.12rem;
}
.logistics-form .form-group label.required::before {
  content: '*';
  color: #D50000;
  margin-right: 0.05rem;
}
.logistics-form .form-group input[type="text"] {
  width: 100%;
  height: 0.4rem;
  padding: 0 0.12rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.14rem;
  transition: border-color 0.3s;
}
.logistics-form .form-group input[type="text"]:focus {
  outline: none;
  border-color: #F2680C;
}
.logistics-form .form-group input[type="text"]::placeholder {
  color: #B9BCBF;
}
.logistics-form .form-group input[type="text"].error {
  border-color: #ff4757;
}
.logistics-form .form-group input[type="text"].error:focus {
  border-color: #ff4757;
}
.logistics-form .form-group .error-message {
  color: #ff4757;
  font-size: 0.12rem;
  margin-top: 0.05rem;
  display: none;
}
.logistics-form .form-group .error-message.show {
  display: block;
}
.upload-section {
  margin-bottom: 0.25rem;
}
.upload-section label {
  display: block;
  color: #5B6B81;
  margin-bottom: 0.12rem;
  font-weight: 500;
}
.upload-section label.required::before {
  content: '*';
  color: #D50000;
  margin-right: 0.05rem;
}
.upload-section .upload-area {
  border: 2px dashed #ddd;
  border-radius: 6px;
  padding: 0.4rem 0.5rem;
  text-align: center;
  background: #fafafa;
  transition: border-color 0.3s, background-color 0.3s;
}
.upload-section .upload-area:hover {
  border-color: #F2680C;
  background: #fff5f0;
}
.upload-section .upload-area.error {
  border-color: #ff4757;
  background: #fff5f5;
}
.upload-section .upload-area .upload-content .upload-btn {
  background: #ECECEC;
  color: #333333;
  border: none;
  padding: 0.12rem 0.24rem;
  border-radius: 4px;
  font-size: 0.14rem;
  cursor: pointer;
  margin-bottom: 0.2rem;
  transition: background-color 0.3s;
}
.upload-section .upload-area .upload-content .upload-btn:hover {
  background: #e55a0a;
  color: #fff;
}
.upload-section .upload-area .upload-content .upload-tip {
  color: #9C9C9C;
  margin: 0;
}
.upload-section .upload-area .upload-content .upload-success {
  font-size: 0.14rem;
  color: #28a745;
  margin: 0;
  font-weight: 500;
}
.dangerous-goods-section {
  margin-bottom: 0.25rem;
}
.dangerous-goods-section label {
  display: block;
  color: #5B6B81;
  margin-bottom: 0.08rem;
}
.dangerous-goods-section label.required::before {
  content: '*';
  color: #D50000;
  margin-right: 0.05rem;
}
.dangerous-goods-section .radio-group {
  display: flex;
  gap: 0.2rem;
}
.dangerous-goods-section .radio-group .radio-item {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.dangerous-goods-section .radio-group .radio-item input[type="radio"] {
  display: none;
}
.dangerous-goods-section .radio-group .radio-item .radio-custom {
  width: 0.16rem;
  height: 0.16rem;
  border: 1px solid #D9D9D9;
  border-radius: 50%;
  margin-right: 0.08rem;
  position: relative;
  transition: border-color 0.3s;
}
.dangerous-goods-section .radio-group .radio-item .radio-text {
  font-size: 0.14rem;
  color: #333;
}
.dangerous-goods-section .radio-group .radio-item input[type="radio"]:checked + .radio-custom {
  border-color: #F2680C;
}
.dangerous-goods-section .radio-group .radio-item input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.08rem;
  height: 0.08rem;
  background: #F2680C;
  border-radius: 50%;
}
.submit-section {
  text-align: center;
  margin-top: 0.2rem;
}
.submit-section .submit-btn {
  color: #fff;
  border: none;
  font-size: 0.18rem;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 1.91rem;
  height: 0.48rem;
  background: #F2680C;
  border-radius: 28px 28px 28px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.submit-section .submit-btn:hover {
  background: #e55a0a;
}
.submit-section .submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.submit-section .submit-btn:disabled:hover {
  background: #ccc;
}
