/* Logistics Company CSS - Scoped to .logistics-page */

.logistics-page .slider.banner-home {
  margin-bottom: 20px;
}

.logistics-page .slider.banner-home .swiper {
  position: relative;
}

.logistics-page .slider.banner-home .swiper-slide {
  position: relative;
}

.logistics-page .slider-background {
  color: #111;
  background-color: #e0a800;
  border-color: #d39e00;
  padding: 5px 10px !important;
  margin-top: 5px;
  border-radius: 5px;
}
.logistics-page .btn-buying-request{
  color: #111;
    background-color: #e0a800;
    border-color: #d39e00;
    padding: 5px 10px !important;
    margin-top: 10px;
    border-radius: 5px;
    display:inline
}

.logistics-page .slider-background .banner {
  display: block;
  width: 100%;
  height: auto;
}

.logistics-page .slider-background .banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* Hide Swiper Navigation and Pagination only in banner carousel */
.logistics-page .banner-carousel-wrapper .swiper-button-next,
.logistics-page .banner-carousel-wrapper .swiper-button-prev {
  display: none !important;
}

.logistics-page .banner-carousel-wrapper .swiper-pagination {
  display: none !important;
}

/* Hide Swiper Navigation and Pagination only in ads carousel */
.logistics-page .ads-carousel-wrapper .swiper-button-next,
.logistics-page .ads-carousel-wrapper .swiper-button-prev {
  display: none !important;
}

.logistics-page .ads-carousel-wrapper .swiper-pagination {
  display: none !important;
}

/* Forwarder Shipper Ads Section */
.logistics-page .forwarder-shipper {
  margin-top: 20px;
}

/* Left Sidebar Input Styles - Scoped to avoid affecting other areas */
.logistics-page .left-sidebar input[type="checkbox"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 14px;
  height: 14px;
  margin-right: 8px !important;
  vertical-align: middle !important;
  border: 1px solid #938f8f;
  /* width: 15px; */
  border-radius: 3px;
}

.logistics-page .left-sidebar input[type="checkbox"]:checked {
  background-color: #007bff !important;
  border-color: #007bff !important;
  position: relative;
}

.logistics-page .left-sidebar input[type="checkbox"]:checked::after {
  content: "✓";
  color: white;
  font-size: 10px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}

.logistics-page .left-sidebar label {
  display: inline-block !important;
  visibility: visible !important;
  cursor: pointer !important;
  margin-bottom: 0 !important;
}

.logistics-page .left-sidebar label h3 {
  display: inline-block !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: normal !important;
  line-height: 1.4 !important;
}

.logistics-page .left-sidebar li {

  /* margin-bottom: 8px !important; */
  padding: 2px 0 !important;
}

/* .logistics-page .left-sidebar .widget-content {
  display: block !important;
  visibility: visible !important;
}

.logistics-page .left-sidebar .widget-content ul {
  display: block !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
} */

.logistics-page .forwarder-shipper .owl-carousel .item {
  padding: 0 7px;
}

.logistics-page .forwarder-shipper .owl-carousel .item a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.logistics-page .forwarder-shipper .owl-carousel .item a:hover {
  transform: translateY(-2px);
}

.logistics-page .forwarder-shipper .owl-carousel .item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Main Content Styles - Matching V1 estore.tpl */
.logistics-page .content.estore {
    padding: 0;
}

.logistics-page .advance-setting {
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.logistics-page .advance-setting h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    margin: 0;
}

.logistics-page .tool-select {
    position: relative;
    margin-left: auto;
    text-align: right;
}

.logistics-page .tool-select select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    background-color: #ff6f00;
    font-weight: 700;
    color: #fff;
}

.logistics-page .custom-tool {
    position: absolute;
    right: 0;
    top: -26px;
    /* transform: translateY(-50%); */
    color: #6c757d;
    cursor: pointer;
}

/* Ion Icons Tooltip Styles - Using Ionicons CDN */

.logistics-page .popup {
    position: relative;
    display: inline-block;
    cursor: help;
    /* color: #6c757d; */
    font-size: 11px;
    margin-left: 5px;
    vertical-align: middle;
    visibility: visible;
    pointer-events: auto;
}

.logistics-page .popup:hover {
    color: #007bff;
}

.logistics-page .popup .help-icon {
    font-size: 12px;
    font-weight: bold;
    vertical-align: middle;
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    /* background: #6c757d; */
    color: #b4b1b1;
    transition: all 0.3s ease;
    border: 1px solid #b4b1b1;
}

.logistics-page .popup:hover .help-icon {
    background: #ff6f00;
    color: white;
}

.logistics-page .popup:hover .content-popup {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #605e5e;
}

.logistics-page .content-popup {
    font-size: 14px;
    position: absolute;
    padding: 4px;
    right: 0;
    /* background: #ff6f00; */
    border: 1px solid #b4b1b1;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 9999;
    display: none;
    min-width: 200px;
    /* max-width: 300px; */
    /* color: white; */
    font-weight: 400;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background: #fff;
    text-align: left;
}

.logistics-page .content-popup .table {
    margin-bottom: 0;
}

.logistics-page .content-popup .table td {
    color: white;
    font-weight: 700;
    border-color: rgba(255,255,255,0.2);
}

.logistics-page .content-popup::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 10px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ff6f00;
    display: none;
}

.logistics-page .content-popup::after {
    content: '';
    position: absolute;
    display: none;
    top: -7px;
    right: 11px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #ff6f00;
}

.logistics-page .search-option  input.form-control{
    min-height: 40px;
    font-size: 14px;
}
.logistics-page .search-option  input.form-control::placeholder{
  color: #ccc;
}
.logistics-page .search-option .form-control-sm {
    font-size: 14px;
    padding: 6px 12px;
}

.logistics-page .btn_provience_estore {
    font-size: 14px;
    padding: 0px 16px;
    height: 40px;
}

.logistics-page .btn-filter-custom {
  background: #ccc;
  font-size: 12px !important;
  padding: 5px 10px !important;
  height: 40px;
  border: 1px solid #0064d3;
  border-radius: 3px;
  background-color: #f5f7fa;
  color: #0064d3;
}

/* Product Item Styles */
.logistics-page .product-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

.logistics-page .product-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.logistics-page .product-head h2 {
  font-size: 1.7rem;
  font-weight: 400;
  margin: 0;
  color: #007bff;
}

.logistics-page .product-head h2:hover {
    text-decoration: underline;
}
.logistics-page .btn-view-estore_v1 {
  color: #868e96;
  background-color: transparent;
  background-image: none;
  border: 1px solid #868e96;
  padding: 3px 10px;
  border-radius: 5px;
}
.logistics-page .btn-view-estore_v1:hover {

    color: #fff;
    background-color: #868e96;
    border-color: #868e96;
}
.logistics-page .phaata-verify {
    width: 20px;
    height: 20px;
    margin-left: 8px;
    vertical-align: middle;
}
.logistics-page .product-item:hover{
  box-shadow: 0 4px 0px #ff7519;
  border-color: #ff7519 !important;
}
.logistics-page .tel-num{
  cursor: pointer;
  color: #0064d3;
}
.logistics-page .tel-copy{
  cursor: pointer;
  color: #0064d3;
}
.btn-filter-responsive{
  display: none;
}
.logistics-page .product-thumbnail .avatar100px {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.logistics-page .product-detail dt {
    font-weight: bold;
    color: #495057;
    font-size: 14px;
}
.logistics-page .product-body{
  margin-bottom: 10px;
}
.logistics-page .product-detail dd h3 {
    font-size: 14px;
    font-weight: normal;
    margin: 0;
    color: #212529;
}

.logistics-page .verify i {
    color: #28a745;
    font-size: 16px;
}

.logistics-page .confirm-account {
  border: 1px solid #0064d3;
  border-radius: 3px;
  background-color: #f5f7fa;
  color: #0064d3;
  padding: 7px 20px;
  border-radius: 5px;
  font-size: 14px;
  display: inline-block;
}
.logistics-page .link-filter-suggesst{
  font-size: 14px;
    font-size: 14px;
    background-color: #e2e3e4;
    border-color: #e2e3e4;
    padding: 5px 10px !important;
    display: inline-block;
}
.logistics-page .contact-supplier{
  /* height: 27px !important; */
  padding: 3px 10px !important;
  border: 1px solid #0064d3;
  border-radius: 3px;
  background-color: #0064d3;
  color: #FFF;
  padding: 7px 10px;
}
.logistics-page  .btn-friend{
  border: 1px solid #0064d3;
  border-radius: 5px;
  background-color: #f5f7fa;
  color: #0064d3;
  padding: 3px 12px;
  display: inline-block;
}
.logistics-page .btn-buying-request-detail{
  display: inline-block;
    background-color: #fff;
    border: 1px solid #ff6f00;
    color: #ff6f00;
    -webkit-border-radius: 14px;
    -moz-border-radius: 14px;
    border-radius: 14px;
    font-size: 12px !important;
    padding: 5px;
}
.logistics-page .nav--responsive {
  display: none;
}
/* Removed duplicate media queries - consolidated below */
/* Responsive Design */
@media (max-width: 768px) {
    .logistics-page .advance-setting {
        padding: 5px;
    }

    .logistics-page .advance-setting h1 {
        font-size: 1.25rem;
    }

    .logistics-page .tool-select {
        width: 100% !important;
        margin-top: 10px !important;
    }

    .logistics-page .product-item {
        padding: 15px;
    }

    .logistics-page .product-thumbnail {
        text-align: center;
        margin-bottom: 15px;
    }

    .logistics-page .product-detail dt,
    .logistics-page .product-detail dd {
        margin-bottom: 8px;
    }
}

/* Pagination Styles */
.logistics-page .logistics-pagination .pagination-info {
    font-size: 1.4rem;
}

.logistics-page .logistics-pagination .pagination {
    margin: 0;
}

.logistics-page .logistics-pagination .page-link {
    padding: 0.375rem 0.75rem;
    font-size: 1.4rem;
    border-color: #dee2e6;
    color: #0064d3;
}

.logistics-page .logistics-pagination .page-item.active .page-link {
    background-color: #0064d3;
    border-color: #0064d3;
    color: white;
}

.logistics-page .logistics-pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
}

.logistics-page .logistics-pagination .page-link:hover {
    color: #0056b3;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

@media (max-width: 768px) {
    .logistics-page .logistics-pagination {
        flex-direction: column;
        gap: 1rem;
    }

    .logistics-page .logistics-pagination .d-flex {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }

    .logistics-page .logistics-pagination .pagination-info {
        order: 2;
        margin-top: 0.5rem;
    }

    .logistics-page .logistics-pagination .pagination-links {
        order: 1;
    }
}

@media (max-width: 480px) {
  .logistics-page .owl-carousel .owl-nav button {
      width: 30px;
      height: 30px;
      font-size: 14px;
  }

  .logistics-page .owl-carousel .owl-nav .owl-prev {
      left: 5px;
  }

  .logistics-page .owl-carousel .owl-nav .owl-next {
      right: 5px;
  }
}

/* Menu Toggle Styles - Kế thừa từ V1 estore.css */
.logistics-page .nav--main ul {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    list-style: none;
}

.logistics-page .nav--main ul li {
    margin: 0;
    padding: 0;
    display: block;
}

.logistics-page .nav--main ul li a {
    color: rgb(90, 114, 131);
    text-decoration: none;
}

.logistics-page .btn--menutoggle {
    color: #FFF;
    display: block;
    padding: 0.5em;
    border: 1px solid rgb(0, 100, 211);
    background: rgb(0, 100, 211);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.logistics-page a.btn--menutoggle-active {
    background: rgb(13, 120, 239);
}

.logistics-page .nav--responsive {
    display: none;
}

.logistics-page .nav--main h2 {
    display: block;
}

.logistics-page .nav--main h3 {
    font-size: 0.813rem;
    margin-bottom: 0;
}
.logistics-page .btn-filter-custom:hover span{
  color:#fff
}
.verify-company{
  color: #0064d3;
}
.logistics-page .support-cate-dropdown.maxBot {
  top: 100% !important;
  bottom: unset !important;
}
.logistics-page .support-cate-dropdown {
  max-height: 300px;
  overflow-y: auto;
}
.logistics-page .logistic-item{
  height:100%
}
.logistics-page .logistic-item .inner{
  height:100%
}
.logistics-page .logistic-item .inner .footers{
  margin-top: auto;
  border-top: 0.1rem solid var(--bd-gray);
  padding-top: 20px;
}
.logistics-page .logistic-item .inner .bodies{
  border-bottom: none;
}
.logistics-page .logistic-empty{
  padding: 2rem;
  border: 0.1rem solid var(--bd-gray);
  border-radius: .8rem;
  background-color: white;
}
@media screen and (min-width: 993px) {
  .logistics-page .homes-find-where .form-ip {
      --w1: 18.4rem;
      --w2: 17rem;
      --w3: 14rem;
  }
}
/* Responsive Menu Toggle - Tối ưu hóa từ V1 */
/* Mobile & Tablet (up to 991px) - Show toggle button, hide titles */
@media only screen and (max-width: 991px) {
    .logistics-page a.btn--menutoggle {
        display: block;
        color: #fff !important;
    }
    .logistics-page .nav--main h2 {
        display: none !important;
    }
    .logistics-page .btn-friend{
      margin-bottom: 10px;
    }
}

/* Desktop (992px and up) - Hide toggle button, show horizontal menu */
@media only screen and (min-width: 992px) {
    .logistics-page .nav--main ul li {
        display: inline-block;
        margin-right: 1em;
        width: 100%;
    }
    .logistics-page a.btn--menutoggle {
        display: none;
    }
    .logistics-page .nav--main .nav--responsive {
        display: block;
    }
}
