
:root{
    --blue-color: #3399FF;
}

.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);
}
.family-box-right{
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 10px 0 rgba(157, 199, 253, 0.2);
}

.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;
}
.node-box{
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #dce9ff #f0f0f0;
}

.node-box-item{
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 8px 4px #185cff1a;
    padding: 20px;
    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: 16px;
    font-weight: 500;
    color: #333;
}
.node-box-item-top p{
    font-size: 14px;
    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: 100px;
    height: 30px;
}

.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;
    }
}