/* 充值页面样式 - 响应式设计 */

.recharge-page {
    background: #f0f4f8;
    min-height: 100vh;
    padding-bottom: 100px;
}

/* 顶部导航 */
.recharge-header {
    background: #4a6fa5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
}

.recharge-header-back {
    position: absolute;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.recharge-header-title {
    font-size: 18px;
    font-weight: bold;
}

/* 内容区域 */
.recharge-content {
    padding: 15px;
}

/* 主模块白色卡片 */
.recharge-main-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
}

/* 余额卡片 */
.balance-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 5px;
}

.balance-label {
    color: #ef4444;
    font-size: 14px;
    font-weight: bold;
}

.balance-extra {
    font-size: 12px;
    color: #3b82f6;
}

@media (min-width: 400px) {
    .balance-extra {
        font-size: 13px;
    }
}

.balance-value {
    font-size: 36px;
    font-weight: bold;
    color: #333;
}

@media (max-width: 375px) {
    .balance-value {
        font-size: 32px;
    }
}

/* 选项卡 */
.recharge-tabs {
    display: flex;
    background: rgb(240, 244, 250);
    border-radius: 25px;
    padding: 6px;
    margin-bottom: 20px;
}

.recharge-tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    color: #666;
    border: none;
    background: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recharge-tab.active {
    background: #fff;
    color: #1e3a8a;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 支付方式 */
.payment-methods {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    padding: 0 10px;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex: 1;
    padding: 8px 4px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.payment-method.active {
    background-color: #e8f0fe;
}

.payment-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

@media (min-width: 400px) {
    .payment-icon {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

.payment-icon.alipay {
    background: #1677ff;
    color: #fff;
}

.payment-icon.wechat {
    background: #07c160;
    color: #fff;
}

.payment-icon.bank {
    background: #c41e3a;
    color: #fff;
}

.payment-icon.usdt {
    background: #26a17b;
    color: #fff;
}

.payment-icon.other {
    background: #3b82f6;
    color: #fff;
}

.payment-icon-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 400px) {
    .payment-icon-img {
        width: 40px;
        height: 40px;
    }
}

.payment-text {
    font-size: 11px;
    color: #666;
}

@media (min-width: 400px) {
    .payment-text {
        font-size: 12px;
    }
}

/* 输入区域 */
.recharge-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.recharge-input {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    outline: none;
    min-width: 0;
}

.recharge-input::placeholder {
    color: #ccc;
}

.recharge-btn-small {
    background: #3b5998;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}

@media (min-width: 400px) {
    .recharge-btn-small {
        padding: 14px 30px;
        font-size: 16px;
    }
}

/* 警告信息 */
.recharge-warning {
    color: #ef4444;
    font-size: 13px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

@media (min-width: 400px) {
    .recharge-warning {
        font-size: 14px;
    }
}

.recharge-info {
    color: #666;
    font-size: 13px;
    text-align: center;
    line-height: 1.8;
}

@media (min-width: 400px) {
    .recharge-info {
        font-size: 14px;
    }
}

/* 提交按钮 */
.recharge-submit-btn {
    background: #3b5998;
    color: #fff;
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 25px;
}

@media (min-width: 400px) {
    .recharge-submit-btn {
        padding: 16px;
        font-size: 16px;
    }
}

/* 客服链接 */
.recharge-service-link {
    text-align: center;
    color: #3b82f6;
    font-size: 14px;
    margin-top: 20px;
    cursor: pointer;
    display: block;
    text-decoration: none;
}
