/* 全局样式 */
/* #b3f508   #a4e109  */
.px-1{padding : 0 10px; }
.px-2 {
    padding: 0 20px;
}
.f-1{font-size:.8rem; }
.f-2 {
    font-size: .9rem;
}
.f-3 {
    font-size: 1.2rem;
}
.text-grey{ color:#999; }
.text-red{ color:#ff0000; }
.bg-red {
    color: #fff !important;
    background: #ff0000 !important;
}
.label-tip{ padding:3px 5px; font-size:.6rem; line-height:.6rem; color:#fff; background-color:#e60606; border-radius:3px; margin:auto 10px; display:inline-block;}
.iconhot{color:red; position:relative; top:-10px;}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/*==================头部区域===============*/

.headers { 
    padding:3px 10px;
    position: sticky;
    top: 0px;
    z-index: 9999; 
    background:#fff;
}
.headers-container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 1px;
    margin-bottom: 1px;
    color: rgb(76, 175, 80);
}
.headers-back {
    font-size: 1.2rem;
    color: #4caf50;
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    flex-shrink: 0;
}

.headers-title {
    font-size: 1rem;
    text-align: center;
    flex: 1;
    font-weight: 600;
}
    .headers-title img {
        height: 32px;
        padding-right: 10px;
    }
    .headers-search + .headers-title {
        display: none;
    }

.headers-search-none {
    display: none;
}
.headers-search {
    position: relative;
    flex-grow: 1;
    display: block;
}
.headers-search-input {
    width: 100%;
    padding: 8px 15px 8px 35px;
    font-size: 0.85rem;
    border: none;
    border-radius: 6px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    outline: none;
    transition: all 0.3s;
    height: 36px;
}
    .headers-search-input::placeholder {
        color: #999;
        font-size: 0.85rem;
    }

    .headers-search-input:focus {
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        border: 1px solid #4caf50;
    }
/* 搜索图标 */
.headers-search .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    font-size: 0.9rem;
}


/* 顶部导航栏 */
.header {
    padding: 15px;
    display: flex;
    position: fixed;
    width: 100%;
    align-items: center;
}

.header-left {
    margin-right: 10px;
}

.header-title {
    font-size: 18px;
}

/*====================页脚================*/

.footers {
    display: flex;
    position: fixed;
    width: 100%;
    bottom: 0;
    background: #fff;
    box-shadow: 0px -1px 2px #ccc;  
}
.footers>*{flex:1; text-align:center; padding:5px; cursor:pointer; color: rgb(76, 175, 80);text-decoration: none; font-size:.7rem; }
.footers>*:hover{ background:rgb(76, 175, 80); color:#fff; }
    .footers i{display:block; color:#afbfbf; font-size:1.3rem;line-height: 22px;}
    .footers .footers-center {
        width: 56px; padding:0 10px;
    }
        .footers .footers-center > div {
            width: 0;
            position: relative;
            margin: auto;
        }
        .footers .footers-center i {
            color: #fff;
            font-size: 2rem;
            line-height: 56px;
        }
        .footers .footers-center a {
            position: absolute;
        }
.footers .footers-center img {
    width: 56px;
    margin-left: -28px;
    margin-top: -10px;
}
/*====================其他================*/
/* 余额卡片 */
.balance-card {
    background-color: white;
    border-radius: 10px;
    margin: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.security-tip {
    color: #516f04;
    font-size: 14px;
    margin-bottom: 15px;
    align-items: center;
    background-color: #b7e444;
    text-align: center;
    border-radius: 10px 10px 0 0;
    padding: 10px;
}

    .security-tip img {
        width: 18px;
        height: 18px;
        margin-top: -3px;
    }

.balance-amount {
   
    text-align: center;
    margin-bottom: 20px;
}
    .balance-amount .amount-num{
        font-size:2.5rem;
    }
    .balance-amount .amount-detail {
        font-size: .8rem;  
    }
.balance-actions {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

   /* .balance-actions button {
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
    }*/
    
 
 
/* 功能图标区域 */
.function-icons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.function-icon {
    text-align: center;
}

    .function-icon img {
        width: 30px;
        height: 30px;
        margin-bottom: 5px;
    }

/* 活动区域 */
.red-packet {
    background-color: white;
    border-radius: 10px;
    margin: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
}

.red-packet-text {
    flex: 1;
}

.red-packet-img {
    width: auto;
    height: 80px; 
}

/* 余额变动明细 */
.balance-detail {
    background-color: white;
    border-radius: 10px;
    margin: 15px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    border-bottom: 1px solid #dfdfdf;
    padding:10px 15px;
}


/* 选项卡 */
.tabs {
    display: flex;
    background-color: white;
}

.tab {
    flex: 1;
    padding: 10px 0;
    text-align: center;
    color: #666;
    cursor: pointer;
}

    .tab.active {
        font-weight: bold;
        color: #2ecc71;
    }

/* 明细列表 */
.detail-list {
    margin-top: 10px;
    
    background-color: #fff;
    border-radius:10px;
}


.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    line-height: 25px;
    
    background-color: white;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 1px 0px rgba(0, 0, 0, 0.1);
}

.item-icon {
    width: 8vw;
    height: 8vw;
    border-radius: 50%;
    color: #fff; 
    line-height: 8vw;
    text-align: center;
    font-size: 3.5vw;
    margin-right: 4vw; 
}

.detail-info {
    display: flex;
    align-items: center;
}

.detail-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.detail-text {
    flex: 1;
}

    .detail-text p:first-child {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .detail-text p:last-child {
        font-size: 12px;
        color: #999;
    }

.detail-amount {
    font-size: 16px;
}

.positive {
    color: #ff5722;
}

.negative {
    color: #009688;
}


/* 到账银行卡区域 */
.bank-card {
    background-color: white;
    margin: 15px;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bank-card-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.bank-card-item {
    display: flex;
    align-items: center;
}

.bank-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.bank-info {
    flex: 1;
    text-align:left;
}

    .bank-info p:first-child {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .bank-info p:last-child {
        font-size: 12px;
        color: #999;
    }

.bank-arrow {
    color: #999;
}

/* 提现金额区域 */
.withdraw-amount {
    background-color: white;
    margin: 15px;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.amount-title {
    font-size: 16px;
    margin-bottom: 10vw;
}

.amount-input {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.amount-icon {
    font-size: 24px;
    margin-right: 10px;
}

.amount-input input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 24px;
}

.amount-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}

/* 推广信息区域 */
.promotion {
    background-color: white;
    margin: 15px;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.promotion-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.promotion-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.promotion-info {
    flex: 1;
}

    .promotion-info p:first-child {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .promotion-info p:last-child {
        font-size: 12px;
        color: #999;
    }

.promotion-arrow {
    color: #999;
}

.withdraw-btn {
    background-color: #77a303;
    border: none;
    display: block;
    padding: 10px 0;
    margin: 5vw 20vw;
    color: #fff;
    border-radius: 20px;
     
}
.list-item {
    display: flex;
    margin: 5px;
    border-bottom: 1px #eee solid;
    padding: 5px;
    border-radius: 5px;
}

.list-item-cont {
    flex: 1;
    line-height: 25px;
}

.list-item-col {
    flex: 0 0 auto;
}
.bank-icon {
    width: 12vw;
    height: 12vw;
    border-radius: 50%;
    color: #fff;
    line-height: 12vw;
    text-align: center;
    font-size: 3.5vw;
    margin-right: 4vw;
}
.normal-btn {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    display: block;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 6px;
    font-size: .7rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
    white-space: nowrap;
    padding: 3px 8px;
}
.mini-btn {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    display: block;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 6px;
    font-size: .7rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
    white-space: nowrap;
    padding: 3px 8px;
}

.mini-btn i{ font-size:.8rem; padding-right:5px;}

.qk-input {
    display: flex;
    padding: 1rem;
    font-size: .8rem;
}
.qk-input:first-child{ }
.qk-input input[type=text]{flex:1;font-size:.8rem;width: 100%; border: none;border-bottom: 1px #ddd solid; outline:none; }
.qk-input  input[type=checkbox],.qk-input  input[type=radio]{ margin-right: .4rem;}
    .qk-input .input-icon{width:20px; height:20px; margin:0 1vw;}



 

/* 内容区域（日期 + 时间） */
.time-picker-content {
    display: flex; 
}

/* 左侧日期选择 */
.date-picker {
    width: 50%;
    border-right: 1px solid #f0f0f0;
    overflow-y: auto;
}

.date-item {
    padding: 16px; 
    cursor: pointer;
    transition: all 0.2s;
}

    .date-item:hover {
        background: #f5f5f5;
    }

    .date-item.active {
        background: #8BC34A;
        color: white;
        font-weight: bold;
    }

/* 右侧时间选择 */
.time-slots {
    width: 50%;
    overflow-y: auto;
    padding: 8px 0;
    max-height: 50vh;
}

.time-slot {
    padding: 12px 16px;
    margin: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

    .time-slot:hover {
        background: #f0f0f0;
    }

    .time-slot.selected {
        background: #8BC34A;
        color: white;
    }

/* 底部按钮 */
.time-picker-footer {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
}

.btn-cancel, .btn-confirm {
    padding: 8px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn-cancel {
    background: transparent;
    color: #666;
}

.btn-confirm {
    background: #8BC34A;
    color: white;
}

    .btn-confirm:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

    /**咨询按钮*/
.consult-button {
    display: block;
    position: fixed;
    z-index: 9999;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    bottom: 8vh;
    right: 3vw;
    border: none;
    border-radius: 50%;
    color: white;
    background-color: rgb(76, 175, 80,0.8);
    font-size: .7rem;
}

    .consult-button i {
        font-size: 2rem;
    }
