
:root{
    --blue-color: #3399FF;
}

.proxy-description{
    padding: 20px;
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
    border-radius: 5px;
    margin-bottom: 20px;
}

.proxy-container{
    max-width: 1400px;
    margin: 20px auto;
    padding:20px 0;
}

.family-box-container{
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

.family-box-left{
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 20px 40px;
    box-shadow: 0 0 10px 0 rgba(157, 199, 253, 0.2);
}

@media screen and (max-width: 768px) {
    .family-box-left{
        padding: 20px;
    }
}
.family-box-right{
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 10px 0 rgba(157, 199, 253, 0.2);
    overflow-y: hidden;
}

.family-box-right h3{
    margin: 20px 0;
}

.family-box-right h3:first-child{
    margin-top: unset;
}
.h-item{
    margin:40px 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.h-item small{
    color: #999;
}
.h-item>i{
    width: 22px;
    height: 22px;
}
.h-item>h3{
    font-weight: 500;
}
.layui-btn.active{
    background-color: var(--blue-color);
    color: #fff;
}

.layui-form .layui-form-item{
    margin-bottom: 30px;
}

.layui-form .layui-form-item:first-child{
    margin-top: 20px;
}
.layui-form-label{
    text-align: left;
    color: #333;
}

.h-item .layui-btn.active{
    background-color: #FF6600;
    color: #fff;
}

.area-select-box {
    margin-top: 15px;
}
.area-select-box button{
    position: relative;
}
.area-select-box small {
    position: absolute;
    right: -5px;
    top: -5px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    font-size: 10px;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(255, 107, 107, 0.4);
}

.area-row {
    display: flex;
    align-items: center;
    margin-top: 5px;

}
.area-row:last-child {
    border-bottom: none;
}
.area-name {
    width: 80px;
    color: #26b99a;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
}
.area-provinces {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.area-provinces .layui-btn.active {
    background-color: #26b99a;
    border-color: #26b99a;
    color: #fff;
}
.node-box{
    /* padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px; */
    /* max-height: 500px; */
    /* overflow-y: auto; */
    /* scrollbar-width: thin;
    scrollbar-color: #dce9ff #f0f0f0; */
}

.city>ul{
    padding: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.node-box-item{
    background: #fff;
    /* border-radius: 8px; */
    box-shadow: 0 8px 8px 4px #185cff1a;
    padding:15px 10px;
    position: relative;
}
.node-box-item.new:after{
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    background:url(/img/new_bg.png) no-repeat center center;
    background-size: 100% 100%;
    background-color: rgba(255, 255, 255, 0.5);
    width:30px;
    height: 30px;
    opacity: 0.8;
    z-index: 1;
}
.node-box-item.hot:after{
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    background:url(/img/hot_bg.png) no-repeat center center;
    background-size: 100% 100%;
    background-color: rgba(255, 255, 255, 0.5);
    width: 30px;
    height: 30px;
    opacity: 0.8;
    z-index: 1;
}
.node-box-item-top{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.node-box-item-top h4{
    font-size: 14px;
    font-weight: 500;
    color: #333;
}
.node-box-item-top p{
    font-size: 12px;
    color: var(--blue-color);
}
.node-box-item-top p:before{
    content: '余:';
    font-size: 12px;
}
.node-box-item-bottom{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
.node-box-item-bottom input{
    width: 50px;
    height: 30px;
    border-radius: 0;
    text-align: center;
}
.node-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #e6e6e6;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 28px;
    transition: all 0.2s;
}
.node-btn:hover {
    background: #f2f2f2;
    border-color: #ccc;
}
.node-btn-minus {
    border-radius: 4px 0 0 4px;
}
.node-btn-plus {
    border-radius: 0 4px 4px 0;
}

.input:focus{
    border-color: var(--blue-color);
    box-shadow: 0 0 0 3px rgb(from var(--blue-color) r g b / 8%);
}


.cart-menu{
    margin: 10px 0;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-bottom: 1px solid #eee;
}
.cart-items{
    height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #dce9ff #f0f0f0;
}
.cart-menu>li{
    line-height: 30px;
    font-size: 12px;
    text-align: center;
    color: #888;
}
.cart-items ul {
    display: grid;
    grid-template-columns: repeat(4,1fr);
}
.cart-items ul li{
    line-height: 30px;
    font-size: 14px;
    text-align: center;
    color: #666;
}
.cart-items ul li.price::before{
    content: "￥";
}
.cart-items ul li.caozuo{
    cursor: pointer;
}

.select_time{
    display: flex;
    flex-wrap: wrap;
}
.select_time>button{
    flex:1
}

.price-total-box{
    background: #f8f8f8;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.total-price {
    font-size: 20px;
    font-weight: bold;
    color: #ff5722;
}
.total-price::before{
    content: "￥";
}

.pay-item{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #185cff1a;
    border-radius: 5px;
    height:50px;
    margin-top: 10px;
    cursor: pointer;
}
.pay-item.active{
    border-color: var(--blue-color);
    box-shadow: 0 0 3px 0 rgba(51, 153, 255, 0.8);
    border-radius: 5px;
}
.pay-item>i{
    width: 40px;
    height: 40px;
    opacity: 0.8;
}
.pay-item>div>span{
    font-size: 14px;
}
.pay-item>div>p{
    color: #999;
    font-size: 12px;
}
.acctount:before{
    content: "￥";
}

.layui-btn:hover{
    border-color: var(--blue-color) !important;
}
.layui-input-wrap .layui-input{
    height: 30px;
}


.no-data{
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-top: 100px;
    img{
        width: 120px;
        opacity: 0.8;
    }
    p{
        margin-top: 10px;
    }
}

.clear-btn{
    text-align: right;
    margin-top: 10px;
}

.contact-service{
    margin-top: 10px;
    padding: 10px;
    background: linear-gradient(135deg, #f0f7ff 0%, #f5f9ff 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(157, 199, 253, 0.15);
}

.contact-service-content{
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-service-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(51, 153, 255, 0.1);
    border-radius: 50%;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-service-text{
    flex: 1;
}

.contact-service-title{
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.contact-service-desc{
    font-size: 12px;
    color: #666;
    margin: 8px 0;
    line-height: 1.4;
}
.contact-service-header{
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-service-link{
    color: var(--blue-color);
}
.contact-service-link:hover .contact-service-arrow{
    margin-left: 5px;
    transition: all 0.2s ease;
}

.wechat-pay-box{
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.wechat-pay-box strong{
    font-size: 30px;
    color: #333;
}
.wechat-pay-box img{
    width: 300px;
    height: 300px;
    padding: 10px;
}
.wechat-pay-box p{
    font-size: 14px;
    color: #999;
}
.wechat-pay-box strong::before{
    content: '￥';
}

@media screen and (max-width: 768px) {
    #select-project{
        margin: unset !important;
    }
    .layui-form-item .layui-input-inline+.layui-form-mid{
        margin-left: unset !important;
        top: 0;
    }
}


.city ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.city li {
    position: relative;
    width: 110px;
    height: 36px;
    border: 1px solid #d1d1d1;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    transition: all .2s cubic-bezier(.645, .045, .355, 1);
}

.city li span {
    z-index: 11;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: max-content;
    padding: 0 4px;
    background: #fff;
    transform: translate(-50%, -50%);
    transition: all .2s cubic-bezier(.645, .045, .355, 1);
}

.city li.active,
.node-card-body .city li:hover {
    border: 1px solid #1e9fff;
}

.city li.active span,
.node-card-body .city li:hover span {
    font-size: 14px;
}

.city li.active span,
.city li:hover span {
    color: #1e9fff;
    transform: translate(-50%, -130%);
}

.buy-number {
    display: inline-block;
    border: 1px solid #d1d1d1;
    text-align: center;
    line-height: 34px;
    font-size: 16px;
    overflow: hidden;
}

.buy-number span {
    display: inline-block;
    vertical-align: middle;
    width: 36px;
    margin-top: -1px;
    cursor: pointer;
    font-size: 20px;
}

.buy-number input {
    display: inline-block;
    vertical-align: middle;
    width: 50px;
    height: 36px;
    margin-top: -1px;
    text-align: center;
    border-left: 1px solid #c2c2c2;
    border-right: 1px solid #c2c2c2;
}

.btn-band .layui-btn {
    width: 80px;
}

city li.active .counter-number,
.city li:hover .counter-number {
    visibility: visible;
    
}

.city li .counter-number{
    width: 100%;
    height: 100%;
    visibility: hidden;
    display: flex;
    align-items: center;
}
.counter-number{
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}
.counter-number div {
    width: 40px;
    height: 100%;
    display: block;
    cursor: pointer;
    line-height: 36px;
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
}
.counter-number div {
    width: 24px;
    background-size: 15px;
}
.counter-number .minus{
background-image: url("/img/ninus.png");
}
.counter-number .add{
background-image: url("/img/add.png");
}
.counter-number input{
    height: 24px;
    text-align: center;
    width: calc(100% - 50px);
    border: none;
    outline: 0;
}

.city li.active .counter-number,
.city li:hover .counter-number {
    visibility: visible;
}