<style>
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0px 20px 20px 20px;
    background-color: #f4f4f4;
    justify-content: center;
    color: #333;
}

/* 等待效果 */
.loader {
    display: none;
    position: fixed;
    background-color: rgba(0,0,0,0.2);
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}
.loader-inner p {
    position: absolute;
    bottom: 0;
    left: 0%;
    right: 0%;
    font-size: 20px;
    color: white;
}
.loader-inner {
    bottom: 0;
    height: 140px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
    transform: scale(0.7, 0.7);
    text-align: center;
}
.loader-line-wrap {
    animation: spin 2000ms cubic-bezier(.175, .885, .32, 1.275) infinite;
    box-sizing: border-box;
    height: 50px;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    transform-origin: 50% 100%;
    width: 100px;
}
.loader-line {
    border: 4px solid transparent;
    border-radius: 100%;
    box-sizing: border-box;
    height: 100px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
}
.loader-line-wrap:nth-child(1) {
    animation-delay: -50ms;
}
.loader-line-wrap:nth-child(2) {
    animation-delay: -100ms;
}
.loader-line-wrap:nth-child(3) {
    animation-delay: -150ms;
}
.loader-line-wrap:nth-child(4) {
    animation-delay: -200ms;
}
.loader-line-wrap:nth-child(5) {
    animation-delay: -250ms;
}
.loader-line-wrap:nth-child(1) .loader-line {
    border-color: hsl(0, 80%, 60%);
    height: 90px;
    width: 90px;
    top: 7px;
}
.loader-line-wrap:nth-child(2) .loader-line {
    border-color: hsl(60, 80%, 60%);
    height: 76px;
    width: 76px;
    top: 14px;
}
.loader-line-wrap:nth-child(3) .loader-line {
    border-color: hsl(120, 80%, 60%);
    height: 62px;
    width: 62px;
    top: 21px;
}
.loader-line-wrap:nth-child(4) .loader-line {
    border-color: hsl(180, 80%, 60%);
    height: 48px;
    width: 48px;
    top: 28px;
}
.loader-line-wrap:nth-child(5) .loader-line {
    border-color: hsl(240, 80%, 60%);
    height: 34px;
    width: 34px;
    top: 35px;
}
@keyframes spin {
    0%, 15% {
		transform: rotate(0);
	}
	100% {
		transform: rotate(360deg);
	}
}

.swiper1 {
    width: 100%;
}
.swiper1 .selected {
    color: #ec5566;
    border-bottom: 2px solid #ec5566;
}
.swiper1 .swiper-slide {
    text-align: center;
    font-size: 12px;
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    cursor: pointer;
}
.swiper2 {
    width: 100%;
}
.swiper2 .swiper-slide {
    height: calc(100vh - 50px);
    background-color: #ccc;
    color: #fff;
    text-align: center;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    
}

/*底部导航栏*/
.footerdhl_f{width:100%;height:52px;background:#fff;border-top:1px solid #3DB1FA;position:fixed;bottom:0;left:0;overflow:hidden}
.footerdhl_f a{display:block; width:25%;height:46px;float:left; margin-top:6px;text-decoration: none;}
.footerdhl_f a b{display:block; width:22px;height:22px;overflow:hidden; margin:0 auto;}
.footerdhl_f a b img{display:block; width:22px;height:44px;}
.footerdhl_f a b.movek_f img{ margin-top:-22px;}
.footerdhl_f a p{margin:0;display:block; width:100%;height:24px; line-height:24px; font-size:14px; text-align:center;color:#868689;}

#pda_scan {
  display: block;
  width: calc(100vw - 40px);
  justify-content: center;
  margin-top: 10px;
  bottom: 150px;
  position: fixed;
  outline: none;
  height: 40px;
  line-height: 40px;
  color: #fff;
  background-color: #26a2ff;
  text-align: center;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}
#pda_scan2{
  display: block;
  width: calc(100vw - 40px);
  margin-top: 10px;
  justify-content: center;
  bottom: 105px;
  position: fixed;
  outline: none;
  height: 40px;
  line-height: 40px;
  color: #fff;
  background-color: #26a2ff;
  text-align: center;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

#pda_scan3{
  display: block;
  width:  calc(100vw - 40px);
  margin-top: 10px;
  justify-content: center;
  bottom: 60px;
  position: fixed;
  outline: none;
  height: 40px;
  line-height: 40px;
  color: #fff;
  background-color: #26a2ff;
  text-align: center;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

#saoma{
    width: 1px;
}

/* -------------------------------- 
    列表样式
-------------------------------- */

#listContainer {
    border-radius: 10px;
    overflow-y: auto;
    background-color: white;
    padding: 5px;
    justify-content: center;
    /* 默认滚动条样式 */
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}
/* Webkit浏览器的滚动条样式 */
#listContainer::-webkit-scrollbar {
    width: 5px;
}
#listContainer::-webkit-scrollbar-track {
    background: transparent;
}
#listContainer::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 20px;
    transition: all 0.3s ease;
}
#listContainer:hover::-webkit-scrollbar-thumb {
    background-color: #bbb;
}
.listItem {
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 5px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease-out;
    border-left: 2px solid #4CAF50;
}
.listItem:hover {
    transform: translateX(5px);
    background: #f1f3f4;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.listItem h3 {
    display: flex;
    justify-content: space-between;
    margin: 0;
    color: #2c3e50;
    font-size: 12px;
    font-weight: 600;
}
.listItem p {
    margin: 1px 0 0;
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* -------------------------------- 
    顶部样式
    -------------------------------- */
.header {
    display: flex;
    justify-content: space-between;
    /* margin-bottom: 20px; */
    padding: 10px 15px;
    background-color: #f4f4f4;
    border-radius: 5px;
}

.header h2 {
    margin: 0;
    font-size: 14px;
    color: #666;
}

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


/* 创建全屏的红色遮罩层 */
.blood-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 0, 0, 0.7); /* 半透明红色 */
    opacity: 0; /* 初始时隐藏 */
    pointer-events: none; /* 防止遮罩层拦截鼠标事件 */
    z-index: 9999; /* 确保遮罩层在最上层 */
    animation: flash 0.5s ease-in-out infinite; /* 闪烁动画 */
}
        

@keyframes flash {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.hidden {
    display: none;
}
</style>