
: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;
}

.family-box-left .layui-form-item {
    margin-bottom: 25px;
}
.family-box-left .layui-form-label {
    width: 100px;
    text-align: left;
    padding: 10px 15px 10px 0;
    color: #333;
    font-weight: 500;
}
.family-box-left .layui-form-label i {
    color: #999;
    font-size: 14px;
    cursor: help;
    margin-left: 5px;
}
.family-box-left .layui-input-block {
    margin-left: 115px;
}

.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: 40px;
    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-method-divider {
    display: flex;
    align-items: center;
    margin: 20px 0 15px;
    gap: 15px;
}
.pay-method-divider .divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
}
.pay-method-divider .divider-text {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
}

.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;
}

/* 费用明细 */
.cost-detail {
    border: 1px solid #e8f4ff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}
.cost-detail-header {
    background: linear-gradient(135deg, #e8f4ff 0%, #d4ebff 100%);
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 500;
    color: #2878ff;
    text-align: center;
}
.cost-detail-body {
    padding: 5px 0;
}
.cost-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f5f5f5;
}
.cost-detail-item:last-child {
    border-bottom: none;
}
.cost-detail-item .cost-label {
    color: #666;
    font-size: 14px;
}
.cost-detail-item .cost-value {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}
.cost-detail-item.cost-total {
    background: #fafafa;
    margin-top: 5px;
}
.cost-detail-item.cost-total .cost-label {
    color: #333;
    font-weight: 500;
}
.cost-detail-item .cost-value.price {
    color: #ff5722;
    font-size: 18px;
    font-weight: 600;
}

.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: '￥';
}

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

@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;
    }
}
.nodes-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 20px 30px;
    margin-bottom: 10px;
    box-shadow: 0 2px 12px rgba(30, 155, 255, 0.08);
}
.nodes-right>strong{
    font-size: 16px;
}
.nodes-right>span{
    font-size: 14px;
    color: #999;
    margin-left: 10px;
}
.nodes-left{
    width: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nodes-left>i{
    font-size: 22px;
    cursor: pointer;
    color: #333;
}
.nodes-left>input{
    width: 40px;
    height: 20px;
    border: 1px solid #333;
    text-align: center;
    outline: none;
}

/* 节点列表样式 */
.city ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 20px 0;
}

.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,
.city li:hover {
    border: 1px solid var(--blue-color);
}

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

.city li .counter-number {
    width: 100%;
    height: 100%;
    visibility: hidden;
    display: flex;
    align-items: center;
}

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

.counter-number {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.counter-number div {
    width: 24px;
    height: 100%;
    display: block;
    cursor: pointer;
    line-height: 36px;
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: center;
}

.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;
}

/* 省份选中数量标记 */
.layui-btn-container .layui-btn {
    position: relative;
}
.province-count {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 10px;
    font-weight: 500;
    color: #fff;
    background: #ff5722;
    border-radius: 50%;
    text-align: center;
}

/* 配置表单样式 */
.config-section {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.config-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}
.config-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--blue-color);
    border-radius: 2px;
}
.config-title i {
    display: none;
}
.config-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* 选项卡片 */

.option-card {
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
}
.option-card:hover {
    border-color: #b3d4ff;
    background: #f8fbff;
}
.option-card.active {
    border-color: var(--blue-color);
    background: #f0f7ff;
    box-shadow: 0 0 0 2px rgba(51, 153, 255, 0.1);
}
.option-card > i {
    font-size: 28px;
    color: #999;
    flex-shrink: 0;
    margin-top: 2px;
}
.option-card.active > i {
    color: var(--blue-color);
}
.option-card-content {
    flex: 1;
}
.option-card-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    display: block;
    margin-bottom: 2px;
}
.option-card.active .option-card-title {
    color: var(--blue-color);
}
.option-card-desc {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

/* NEW 标签 */
.option-card.has-tag {
    overflow: visible;
}
.option-tag {
    position: absolute;
    top: -8px;
    right: 15px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border-radius: 10px;
    letter-spacing: 0.5px;
}

/* 配置 Tab 切换 */
.config-tabs {
    background: #fafafa;
    border-radius: 8px;
    padding: 15px 20px;
}
.tab-header {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 10px;
}
.tab-item {
    padding: 6px 16px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}
.tab-item:hover {
    color: var(--blue-color);
}
.tab-item.active {
    color: var(--blue-color);
    font-weight: 500;
    background: rgba(51, 153, 255, 0.1);
}
.tab-content {
    min-height: 50px;
    position: relative;
}

/* 按钮组 */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.config-btn {
    padding: 8px 20px;
    font-size: 14px;
    color: #333;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.config-btn:hover {
    border-color: var(--blue-color);
    color: var(--blue-color);
}
.config-btn.active {
    background: #e6f4ff;
    border-color: var(--blue-color);
    color: var(--blue-color);
}

/* 折扣标签 */
.config-btn.has-discount {
    position: relative;
    overflow: visible;
}
.config-btn.has-discount::after {
    content: attr(data-discount);
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border-radius: 8px;
    white-space: nowrap;
    line-height: 1.2;
}

/* 配置提示 */
.config-tip {
    margin: 12px 0 0;
    font-size: 12px;
    color: #999;
}

/* 自定义输入框 */
.custom-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.custom-input {
    width: 150px;
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    outline: none;
    transition: all 0.2s;
}
.custom-input:focus {
    border-color: var(--blue-color);
    box-shadow: 0 0 0 2px rgba(51, 153, 255, 0.1);
}
.custom-input-suffix {
    font-size: 14px;
    color: #666;
}

.layui-slider-wrap{
    top:-13px !important;
}
.layui-slider{
    height: 10px !important;
}

.family-box-left .layui-form-item button{
    min-width: 100px;
}