/* 积分充值页面专用样式 */

/* 面包屑导航 */
.breadcrumb {
    background-color: white;
    padding: 15px 0;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.breadcrumb ul {
    display: flex;
    align-items: center;
}

.breadcrumb li {
    font-size: 14px;
    color: #666;
}

.breadcrumb li a {
    color: var(--primary-color);
}

.breadcrumb li a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    margin: 0 10px;
    font-size: 12px;
    color: #999;
}

/* 充值内容区 */
.recharge-content {
    padding: 0 0 40px;
}

/* 登录提示 */
.login-notice {
    background-color: #fff8e1;
    border-radius: var(--border-radius);
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.notice-icon {
    font-size: 24px;
    color: #ff9800;
}

.notice-text {
    flex: 1;
}

.notice-text strong {
    font-size: 16px;
    color: var(--dark-color);
    display: block;
    margin-bottom: 5px;
}

.notice-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.btn-login {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-login:hover {
    background-color: var(--secondary-color);
}

/* 充值面板 */
.recharge-panel {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.panel-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    position: relative;
}

.panel-header h2 {
    font-size: 22px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.panel-header h2 i {
    color: white;
}

.panel-header p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

.panel-body {
    padding: 25px;
}

/* 充值部分 */
.recharge-section {
    margin-bottom: 30px;
}

.recharge-section h3 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.recharge-section h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 金币选项 */
.coin-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.coin-option {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.coin-option:hover {
    border-color: var(--primary-color);
    background-color: #f9f9ff;
}

.coin-option.active {
    border-color: var(--primary-color);
    background-color: #f9f9ff;
}

.coin-option.active:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.coin-amount {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.coin-price {
    font-size: 14px;
    color: #666;
}

/* 自定义金额 */
.custom-amount {
    position: relative;
    max-width: 300px;
}

.custom-amount input {
    width: 100%;
    padding: 12px 15px;
    padding-right: 60px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.custom-amount input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.input-suffix {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

/* 支付金额 */
.payment-amount {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-top: 1px dashed #eee;
    border-bottom: 1px dashed #eee;
}

.amount-label {
    font-size: 16px;
    color: #666;
}

.amount-value {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b6b;
    margin-left: 15px;
}

/* 支付方式 */
.payment-methods {
    display: flex;
    gap: 15px;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.payment-method {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    width: auto;
    min-width: 120px;
    margin-bottom: 10px;
}

.payment-method:hover {
    border-color: var(--primary-color);
    background-color: #f9f9ff;
}

.payment-method.active {
    border-color: var(--primary-color);
    background-color: #f9f9ff;
}

.method-icon {
    font-size: 28px;
}

.method-icon i.fa-alipay {
    color: #00a0e9;
}

.method-icon i.fa-weixin {
    color: #09bb07;
}

.method-icon i.fa-university {
    color: #4169E1;
}

.method-icon i.fa-credit-card {
    color: #FF6347;
}

.method-name {
    font-size: 15px;
    color: var(--dark-color);
    font-weight: 500;
    white-space: nowrap;
}

/* 充值说明 */
.recharge-notes {
    background-color: #f9f9ff;
    border-radius: 8px;
    padding: 15px 20px;
}

.recharge-notes ul {
    padding-left: 0;
    list-style: none;
}

.recharge-notes li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.recharge-notes li i {
    color: var(--primary-color);
    margin-top: 3px;
}

/* 提交按钮 */
.recharge-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-submit:active {
    transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .coin-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-methods {
        gap: 10px;
    }
    
    .payment-method {
        min-width: 110px;
        padding: 10px 15px;
    }
}

@media (max-width: 768px) {
    .login-notice {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .notice-text {
        margin-bottom: 10px;
    }
    
    .coin-options {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        flex-direction: column;
    }
    
    .payment-method {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .panel-body {
        padding: 15px;
    }
    
    .amount-value {
        font-size: 20px;
    }
    
    .btn-submit {
        width: 100%;
    }
}

/* 登录弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal h2 {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 15px;
    text-align: center;
}

.modal-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.modal-btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.modal-login {
    background-color: var(--primary-color);
    color: white;
}

.modal-login:hover {
    background-color: var(--secondary-color);
}

.modal-join {
    background-color: #f1f1f1;
    color: var(--dark-color);
}

.modal-join:hover {
    background-color: #e5e5e5;
}

@media (max-width: 576px) {
    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-btn {
        width: 100%;
    }
} 