
.badge-lg {
    font-size: 0.8rem;
  padding: 0.6em 0.9em;   /* 增大上下左右间距 */
  border-radius: 0.5rem;  /* 圆角更明显 */
}

    /* 自定义样式 */
        .filter-tag {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            margin: 0.25rem;
            border-radius: 1rem;
            background-color: #f8f9fa;
            color: #495057;
            text-decoration: none;
            border: 1px solid #dee2e6;
            transition: all 0.2s;
        }
          .col-md-s3 {
        flex: 0 0 auto;
        width: 27%;
    }
    .col-md-s4 {
        flex: 0 0 auto;
        width: 21%;
    }
        .filter-tag:hover {
            background-color: #e9ecef;




            color: #495057;
        }
        .filter-tag.active {
            background-color: #0d6efd;
            color: white;
            border-color: #0d6efd;
        }
        .filter-section {
            margin-bottom: 0.75rem;
        }
        .filter-section-m10 {
            margin-top: 0.75rem;
        }
        .search-form {
            margin: 0.6rem 0;
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            align-items: center;
        }
        .search-form input[type="text"],
        .search-form input[type="number"] {
            padding: 0.675rem 0.75rem;
            border: 1px solid #ced4da;
            border-radius: 0.25rem;
            font-size: 1.25rem;
        }
        .search-form input[type="submit"] {
            padding: 0.875rem 0.75rem;
            background-color: #0d6efd;
            color: white;
            border: none;
            border-radius: 0.25rem;
            cursor: pointer;
        }
        .reset-btn {
            padding: 0.875rem 0.75rem;
            background-color: #6c757d;
            color: white;
            border-radius: 0.25rem;
            text-decoration: none;
        }
        .filter-group {
            margin-bottom: 1.5rem;
        }
        .filter-group-title {
            font-weight: bold;
            margin-bottom: 0.5rem;
        }
        .icontainer {
    max-width: 100%;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
        .align-items-end {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
        /* 移动端下拉框样式 */
        @media (max-width: 991.98px) {
            .desktop-filter {
                display: none;
            }
            .mobile-filter {
                display: block;
            }
            .filter-select {
                width: 100%;
                margin-bottom: 0.5rem;
            }
            .filter-group {
                margin-bottom: 1rem;
            }
        }
        @media (min-width: 992px) {
            .mobile-filter {
                display: none;
            }
            .desktop-filter {
                display: block;
            }
        }
.filter-container {
  position: relative;
}

.filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
  position: relative;
  z-index: 10;
}

.filter-nav-item {
  padding: 8px 15px;
  background: white;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid #dee2e6;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.filter-nav-item:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.filter-nav-item.active {
  background: #0d6efd;
  color: white;
  border-color: #0d6efd;
}

.filter-bottom-panel {
  position: fixed;
  bottom: -75vh;
  left: 0;
  width: 100%;
  height: 75vh;
  background: white;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
  border-radius: 16px 16px 0 0;
  z-index: 1050;
  transition: transform 0.3s ease-out;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.filter-bottom-panel.active {
  transform: translateY(-75vh);
}

.filter-panel-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.close-panel-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #6c757d;
  padding: 5px;
}

.filter-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.filter-panel {
  margin-bottom: 20px;
  display: none;
}

.filter-panel.active {
  display: block;
}

.filter-panel h5 {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #495057;
}

.filter-panel-footer {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
}

.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 99999;
  
  display: none;
}

.filter-overlay.active {
  display: block;
}

.search-btn {
  margin-left: auto;
}

/* 响应式调整 */
@media (max-width: 576px) {
  .filter-nav {
    gap: 8px;
    padding: 8px;
  }
  
  .filter-nav-item {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .filter-panel-content {
    padding: 15px;
  }
}
/* 弹窗基础样式 */
#popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(3px);
}

#popup-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  height: 80vh;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: popupFadeIn 0.3s ease-out;
}

#popup-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

#popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

#popup-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

/* 加载指示器 */
.popup-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 18px;
}

/* 动画效果 */
@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式调整 */
@media (max-width: 768px) {
  #popup-content {
    width: 95%;
    height: 85vh;
  }
  
  #popup-close {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}
