* {
  margin: 0;
  padding: 0;
  -webkit-touch-callout: none;
  /*系统默认菜单被禁用*/

  -webkit-user-select: none;
  /*webkit浏览器*/

  -khtml-user-select: none;
  /*早期浏览器*/

  -moz-user-select: none;
  /*火狐*/

  -ms-user-select: none;
  /*IE10*/

  user-select: none;

  -webkit-text-size-adjust: none;
}


.content {
  padding-bottom: .3rem;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #f4f6f7;
  overflow-y: auto;
}

.head {
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  height: 5rem;
  background: url("https://imageapi.cd1a.cn/h5/apl/apl-new-bg.png") no-repeat;
  background-size: 100% 100%;
}

.apply-btn {
  overflow: hidden;
  box-sizing: border-box;
  margin: .2rem auto 0;
  width: 91%;
  background: #3796ff;
  border-radius: 0.75rem 0.75rem 0.75rem 0.75rem;
  font-family: PingFang SC, PingFang SC;
  font-weight: 400;
  font-size: 0.4rem;
  color: #ffffff;
  line-height: 1rem;
  text-align: center;
}


.sanjiao {
  position: absolute;
  right: 30%;
  bottom: 4.35rem;
  width: 0;
  height: 0;
  border-left: .15rem solid transparent;
  border-right: .15rem solid transparent;
  border-top: .2rem solid #ff3148;
}

.apply-text {
  font-size: .3rem;
  color: yellow;
}
.mask-content {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000000;
  border-radius: 0px 0px 0px 0px;
  opacity: 0.95;
  z-index: 999999;
}
.mask-img {
  width: 100%;
  height: 100vh;
}
.use_way {
  margin: 2rem auto 0;
  display: block;
  width: 6rem;
  height: 9rem;
}
.mask-close {
  margin: .5rem auto 0;
  display: block;
  margin-top: .8rem;
  width: .5rem;
  height: .5rem;
}
.mask {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000000;
  border-radius: 0px 0px 0px 0px;
  opacity: 0.95;
  z-index: 999999;
}

.yindao {
  display: none;
  position: absolute;
  top: 0;
  right: .2rem;
  width: 6.1rem;
  height: 4.5rem;
}

.yindao1 {
  display: none;
  position: absolute;
  top: 5.5rem;
  left: 1.2rem;
  width: 7rem;
  height: 5.725rem;
}

.yindao-text {
  display: none;
  position: absolute;
  top: 4.6rem;
  left: 0;
  width: 100%;
  text-align: center;
  font-weight: 400;
  color: #fff;
  font-size: .5rem;
  color: #FFFFFF;
}

.des {
  display: none;
  position: absolute;
  top: 12rem;
  left: 0;
  width: 100%;
  width: 100%;
  text-align: center;
}

.zfb {
  width: .6rem;
  height: .6rem;
  vertical-align: middle;
}

.des-text {
  vertical-align: middle;
  color: #fff;
  font-size: .5rem;
}

.btn {
  margin: 0.35rem auto;
  width: 2.5rem;
  height: 1rem;
  text-align: center;
  line-height: 1rem;
  border-radius: 0.125rem;
  background-color: #f8875d;
}

.preferential {
  position: absolute;
  left: 40%;
  bottom: 4.375rem;
  z-index: 999;
  width: 20%;
  height: .7rem;
  background: linear-gradient(180deg, #fe706f 0%, #ff2943 100%);
  text-align: center;
  line-height: .7rem;
  color: #fff;
  border-radius: .35rem;
}

.wx-content {
  display: block;
  margin: .2rem auto 0;
  width: 91%;
  height: 1rem;
  background: #27AFA3;
  border-radius: 0.75rem 0.75rem 0.75rem 0.75rem;
  font-family: PingFang SC, PingFang SC;
  font-weight: 400;
  font-size: 0.4rem;
  color: #ffffff;
  line-height: 1rem;
  text-align: center;
}

.wx-btn {
  position: relative;
  display: block;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1rem;
  background: #27AFA3;
  border-radius: 0.75rem 0.75rem 0.75rem 0.75rem;
  font-family: PingFang SC, PingFang SC;
  font-weight: 400;
  font-size: 0.4rem;
}
.wx-btn-new {
  position: relative;
  display: none;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1rem;
  background: #27AFA3;
  border-radius: 0.75rem 0.75rem 0.75rem 0.75rem;
  font-family: PingFang SC, PingFang SC;
  font-weight: 400;
  font-size: 0.4rem;
}

.wx-btn-old {
  display: block;
  position: relative;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1rem;
  background: #27AFA3;
  border-radius: 0.75rem 0.75rem 0.75rem 0.75rem;
  font-family: PingFang SC, PingFang SC;
  font-weight: 400;
  font-size: 0.4rem;
}

.medical_one {
  height: 0.625rem;
}

/* 轮播容器（占满屏幕宽度） */
.swiper {
  margin: .2rem auto;
  width: 91%;
  height: 2rem;
  /* 占屏幕高度50%，适配手机屏幕比例 */
  display: none;
}

/* 轮播项样式 */
.swiper-slide {
  position: relative;
  background: #fff;
  border-radius: .15rem;
  overflow: hidden;
  /* 保持圆角 */
  box-shadow: 0 .05rem .15rem rgba(0, 0, 0, 0.08);
}

.slide-image {
  border-radius: .1rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 图片填充方式（避免变形） */
}

.slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .15rem .2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: white;
}

.slide-title {
  font-size: 1.125rem;
  /* 18px，移动端舒适阅读大小 */
  font-weight: 600;
  margin-bottom: .05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* 标题过长省略 */
}

.slide-desc {
  font-size: 0.875rem;
  /* 14px，辅助文字 */
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* 描述最多显示2行 */
}

/* 移动端分页器样式 */
.swiper-pagination {
  bottom: .15rem !important;
  /* 调整分页器位置 */
}

.swiper-pagination-bullet {
  width: .1rem;
  height: .1rem;
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  width: .25rem;
  border-radius: .05rem;
  /* 激活状态长条样式 */
  background: #fff;
}

.card {
  overflow: hidden;
  box-sizing: border-box;
  padding: .4rem;
  margin: -4.6rem auto 0;
  width: 92%;
  background: #FFFFFF;
  box-shadow: 0px .15rem .25rem 0px rgba(0, 0, 0, 0.05);
  border-radius: .2rem;
}

.card-title {
  font-weight: 500;
  font-size: .4rem;
  color: #333333;
}

.device-name {
  margin-top: .2rem;
  font-weight: 400;
  font-size: .35rem;
  color: #333333;
}
.device-name1 {
  margin-top: .2rem;
  font-weight: 400;
  font-size: .35rem;
  color: #333333;
}
.card-time {
  margin-top: .2rem;
  font-weight: 400;
  font-size: .3rem;
  color: #666666;
}

.card-img {
  vertical-align: middle;
  width: .325rem;
  height: .325rem;
}

.card-span {
  text-decoration: none;
  vertical-align: middle;
}

.card-phone {
  display: flex;
  margin-top: .2rem;
}

.card-phone-left {
  flex: 1;
  font-size: .3rem;
}

.device-status {
  font-weight: 500;
  font-size: .35rem;
  color: #666666;
}

.socket-container {
  display: flex;
  flex-wrap: wrap;
/*   justify-content: space-around;
 */  width: 100%;
  margin: 0 auto;
}

.socket-item {
  box-sizing: border-box;
  flex: 1 0 1.2rem;
  /* 一行6个 */
  max-width: 1.2rem;
  margin-top: .15rem;
  margin-right: 0.05rem;
  height: 1.75rem;
  border-radius: .25rem;
  text-align: center;
  font-size: .4rem;
}

.free-name {
  margin-top: .175rem;
  font-weight: 500;
  font-size: .4rem;
  color: #333333;
}

.free-text {
  margin-top: .175rem;
  font-weight: 500;
  font-size: .3rem;
  color: #27AFA3;
}

.free {
  background-color: #ffffff;
  color: #009688;
  border: .05rem solid #E4E4E4;
}

.occupied {
  background-color: #ffffff;
  color: #F59F45;
  border: .05rem solid #E4E4E4;
}

.occupied-name {
  margin-top: .175rem;
  font-weight: 500;
  font-size: .3rem;
  color: #F59F45;
}

.occupied-time {
  margin-top: .1rem;
  font-weight: 400;
  font-size: .25rem;
  color: #F59F45;
}

 .offline {
  background-color: #ffffff;
  color: red;
  border: .05rem solid #E4E4E4;
 }

 .offline-name {
  margin-top: .175rem;
  font-weight: 500;
  font-size: .4rem;
  color: #333333;
}
.offline-text {
  margin-top: .175rem;
  font-weight: 500;
  font-size: .3rem;
  color: red;
}
.fault {
  background-color: #e0e0e0;
  color: #999999;
  border: .05rem solid #e0e0e0;
}

.fault-name {
  margin-top: .175rem;
  font-weight: 500;
  font-size: .4rem;
  color: #999999;
}

.fault-text {
  margin-top: .175rem;
  font-weight: 500;
  font-size: .3rem;
  color: #999999;
}

.socket-box {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: .4rem;
  margin: .25rem auto 0;
  width: 91%;
  height: 6.8rem;
  background: #FFFFFF;
  box-shadow: 0px .15rem .25rem 0px rgba(0, 0, 0, 0.05);
  border-radius: .2rem;
}

.socket-top {
  display: flex;

}

.tips {
  position: absolute;
  right: 20%;
  bottom: 4.5rem;
  width: 2rem;
  text-align: center;
  /*  height: .8rem; */
  line-height: .8rem;
  border-radius: .4rem;
  font-size: .3rem;
  color: #fff;
  background: linear-gradient(180deg, #FE706F 0%, #FF2943 100%);
}

.socket-title {
  flex: 1;
  font-weight: 500;
  font-size: .4rem;
  color: #333333;
}

.socket-tips {
  overflow: hidden;
  box-sizing: border-box;
  width: 6.8375rem;
  height: .45rem;
  line-height: .45rem;
  background: #FAECEC;
  color: #EE636D;
  font-weight: 400;
  font-size: .3rem;
  border-radius: .1rem;
}

.tips-img {
  margin: 0 .1rem;
  width: .325rem;
  height: .325rem;
  vertical-align: middle;
}

.guide {
  display: none;
  position: absolute;
  left: 0;
  bottom: .45rem;
  width: 100%;
  text-align: center;
  font-weight: 500;
  font-size: .3rem;
  color: #27AFA3;
}

.guide-img {
  width: .325rem;
  height: .325rem;
  vertical-align: middle;
}

.guide-text {
  vertical-align: middle;
}

.car-tips {
  margin-top: .3rem;
  padding: 0 .475rem;
  color: #EE636D;
  font-weight: 400;
  font-size: .25rem;
}

.car-tips-img {
  margin-right: .1rem;
  width: .325rem;
  height: .325rem;
  vertical-align: middle;
}

.checked {
  background: #27AFA3;
  border-radius: .25rem;
  border: .05rem solid #27AFA3;
}

.checked-name {
  margin-top: .175rem;
  font-weight: 500;
  font-size: .4rem;
  color: #ffffff;
}

.checked-text {
  margin-top: .175rem;
  font-weight: 500;
  font-size: .3rem;
  color: #ffffff;
}
a {
  text-decoration: none!important;
  color: #27AFA3!important;
}
a:active {
  color: #27AFA3!important; /* 鼠标点击时 */
}
a:link {
  color: #27AFA3!important; /* 未访问的链接 */
}

a:visited {
  color: #27AFA3!important; /* 已访问的链接 */
}

 /* 模态框遮罩层 */
 .modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
}

/* 模态框内容区 */
.modal-content {
  background: #fff;
  width: 88%;
  max-width: 65%;
  border-radius: .15rem;
  overflow: hidden;
}

/* 提示文本 */
.modal-text {
  padding: .7rem .25rem;
  font-size: .4rem;
  color: #1A1A1A;
  text-align: center;
}

/* 操作按钮区 */
.modal-actions {
  display: flex;
  border-top: 1px solid #F0F0F0;
}

/* 确认按钮 */
.modal-btn {
  flex: 1;
  padding: .3rem 0;
  font-size: .4rem;
  text-align: center;
  cursor: pointer;
  background: #fff;
  border: none;
}

.modal-btn.primary {
  color: #1677FF;
}
/* 页面内容 */
        .page-content {
            padding: 50px;
            text-align: center;
        }

        .btn {
            display: inline-block;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }

        .btn:hover {
        }

        /* 遮罩层样式 */
        .modal-overlay {
            display: none; /* 默认隐藏 */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色 */
            z-index: 1000; /* 确保在最上层 */
        }

        /* 弹窗容器样式 */
        .modal {
            display: none; /* 默认隐藏 */
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%); /* 居中定位 */
            max-width: 90vw; /* 最大宽度为视口的90% */
            border-radius: 8px;
            z-index: 1001; /* 高于遮罩层 */
            /* overflow: hidden; /* 处理圆角和阴影 */ */
        }

        /* 弹窗头部 */
        .modal-header {
            padding: 15px 20px;
            background-color: #f8f9fa;
            border-bottom: 1px solid #dee2e6;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-title {
            font-size: 18px;
            font-weight: bold;
            color: #333;
        }

        .close-btn {
            cursor: pointer;
            font-size: 24px;
            color: #999;
            background: none;
            border: none;
            padding: 0;
        }

        .close-btn:hover {
            color: #333;
        }

        /* 弹窗主体 */
        .modal-body {
            /* overflow-y: auto; /* 内容过多时出现滚动条 */ */
			position: relative;
        }
		.dyImage {
			width: 340px;
			/* max-height:310px; */
			height: 396px !important;
			display: block;
			border-radius: 12px 12px 0 0;
		}
        /* 弹窗底部 */
        .modal-footer {
            text-align: right;
			display: flex;
			justify-content: space-around;
			margin-top: 20px;
        }

        .modal-footer .btn {
            margin-left: 10px;
        }

        .btn-secondary {
            width: 100px;
            height: 43px;
			line-height: 43px;
            border-radius: 30px 30px 30px 30px;
            background: #000000;
            font-weight: bold;
            color: #fff;
            font-size: 13px;
        }
		.btns {
			width: 100px;
			height: 43px;
			line-height: 43px;
			border-radius: 30px 30px 30px 30px;
			font-weight: bold;
			border: 1px #ccc solid;
			color: #fff;
			font-size: 13px;
		}
        .btn-secondary:hover {
        }
		.img-hd {
			width: 340px;
			/* max-height:310px; */
			height: 396px !important;
			position: absolute;
			left: 50%;
			top: 50%;
			z-index: 9999;
			transform: translate(-50%, -50%);
		}
		.imgShowPro{
			width: 20px;
			height: 20px;
			position: absolute;
			right: 4px;
			top: 4px;
		}
		.img-half {
			width: 100%;
		}
		.half-price {
			padding: 0 0.2rem;
			height: 1.86rem;
		}
    
/* 双插座布局样式 */
.socket-container.double-type-layout {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
    height: auto;
}

.double-socket-item {
    box-sizing: border-box;
    width: 48%;
    height: 2rem;
    margin: 0.25rem 0;
    border-radius: .5rem;
    text-align: center;
    font-size: .4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* A/B 插座名称样式 */
.double-socket-name {
    font-weight: 600;
    font-size: 0.5rem;
    margin-bottom: 0.15rem;
}

/* A/B 插座状态样式 */
.double-socket-status {
    font-weight: 500;
    font-size: 0.35rem;
}

/* A/B 空闲状态 */
.double-socket-item.double-free {
    background-color: #ffffff;
    color: #27AFA3;
    border: .05rem solid #E4E4E4;
}

.double-socket-item.double-free .double-socket-name {
    color: #333333;
}

.double-socket-item.double-free .double-socket-status {
    color: #27AFA3;
}

/* A/B 选中状态 */
.double-socket-item.double-checked {
    background: #27AFA3;
    border: .05rem solid #27AFA3;
}

.double-socket-item.double-checked .double-socket-name,
.double-socket-item.double-checked .double-socket-status {
    color: #ffffff;
}

/* A/B 占用状态 */
.double-socket-item.double-occupied {
    background-color: #ffffff;
    border: .05rem solid #E4E4E4;
}

.double-socket-item.double-occupied .double-socket-name {
    color: #333333;
}

.double-socket-item.double-occupied .double-socket-status {
    color: #F59F45;
}

/* A/B 故障状态 */
.double-socket-item.double-fault {
    background-color: #e0e0e0;
    border: .05rem solid #e0e0e0;
}

.double-socket-item.double-fault .double-socket-name,
.double-socket-item.double-fault .double-socket-status {
    color: #999999;
}

/* A/B 离线状态 */
.double-socket-item.double-offline {
    background-color: #ffffff;
    border: .05rem solid #E4E4E4;
}

.double-socket-item.double-offline .double-socket-name {
    color: #333333;
}

.double-socket-item.double-offline .double-socket-status {
    color: #ff0000;
}

/* 调整插座容器高度以适应新布局 */
.socket-box {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding: .4rem;
    margin: .25rem auto 0;
    width: 91%;
    background: #FFFFFF;
    box-shadow: 0px .15rem .25rem 0px rgba(0, 0, 0, 0.05);
    border-radius: .2rem;
    /* 高度调整为自适应 */
    min-height: 6.8rem;
}
/* 两口插座样式 */
.socket-box.double-port-box {
    min-height: auto;
    height: 4.8rem;
}

/* 12口插座样式 */
.socket-container.twelve-port-container {
    margin: .35rem auto;
}