/* 充值页面容器样式 */
.rechargeContainer {
    background-color: #f5f5f5;
    min-height: 100vh;
}

/* 充值页面横幅样式 */
.recharge-kv {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #2c3e50 0%, #4a69bd 100%);
}

/* 充值内容区域样式 */
.recharge-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    padding: 30px 0;
}

@media (max-width: 1024px) {
    .recharge-content {
        grid-template-columns: 1fr;
    }
}

/* 账号信息区域 */
.account-info {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.account-info h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.info-item {
    margin-bottom: 15px;
}

.info-item label {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-size: 14px;
}

.info-item input,
.info-item select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.info-item input:focus,
.info-item select:focus {
    border-color: #4a69bd;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 105, 189, 0.1);
}

/* 支付选项区域 */
.payment-options {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.payment-options h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* 金额选择网格 */
.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.amount-item {
    padding: 15px 10px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    color: #333;
}

.amount-item:hover {
    border-color: #4a69bd;
    background-color: rgba(74, 105, 189, 0.05);
}

.amount-item.selected {
    border-color: #4a69bd;
    background-color: rgba(74, 105, 189, 0.1);
    color: #4a69bd;
    font-weight: bold;
    position: relative;
}

.amount-item.selected:after {
    content: "✓";
    position: absolute;
    top: 5px;
    right: 5px;
    color: #4a69bd;
}

.custom-amount input {
    width: 100%;
    padding: 10px;
    border: none;
    text-align: center;
    font-size: 16px;
}

.custom-amount input:focus {
    outline: none;
}

/* 支付方式选择 */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

.method-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.method-item:hover {
    border-color: #4a69bd;
    background-color: rgba(74, 105, 189, 0.05);
}

.method-item.selected {
    border-color: #4a69bd;
    background-color: rgba(74, 105, 189, 0.1);
    position: relative;
}

.method-item.selected:after {
    content: "✓";
    position: absolute;
    top: 5px;
    right: 10px;
    color: #4a69bd;
}

.method-item img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    object-fit: contain;
}

.method-item span {
    font-size: 16px;
    color: #333;
}

/* 充值说明区域 */
.recharge-notes {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.recharge-notes h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.recharge-notes ul {
    padding-left: 20px;
}

.recharge-notes li {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 14px;
}

.recharge-notes li:before {
    content: "•";
    color: #4a69bd;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* 充值操作按钮 */
.recharge-action {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.btn-primary {
    padding: 12px 30px;
    background-color: #4a69bd;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #3a59ac;
}

.btn-secondary {
    padding: 12px 30px;
    background-color: #fff;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: #4a69bd;
    color: #4a69bd;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .recharge-action {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

/* 充值成功/错误提示 */
.recharge-message {
    grid-column: 1 / -1;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: none;
}

.recharge-message.success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
    display: block;
}

.recharge-message.error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
    display: block;
}
    