/* AI Inked Recharge Page Styles */
.aiinked-recharge-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.recharge-header {
    text-align: center;
    margin-bottom: 40px;
}

.recharge-header h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.current-balance {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.balance-amount {
    font-size: 28px;
    font-weight: bold;
    margin: 0 8px;
}

.credit-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.package-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.package-popular {
    border-color: #667eea;
    border-width: 3px;
}

.package-popular::before {
    content: "POPULAR";
    position: absolute;
    top: 15px;
    right: -30px;
    background: #667eea;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: bold;
}

.package-name {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.package-credits {
    font-size: 48px;
    font-weight: bold;
    color: #667eea;
    margin: 20px 0;
}

.package-credits-label {
    font-size: 16px;
    color: #666;
    display: block;
}

.package-price {
    font-size: 32px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 20px 0;
}

.package-buy-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.package-buy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.recharge-info {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.recharge-info p {
    margin: 10px 0;
    color: #666;
    font-size: 14px;
}

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

    .recharge-header h2 {
        font-size: 24px;
    }

    .current-balance {
        font-size: 16px;
        padding: 12px 20px;
    }

    .balance-amount {
        font-size: 22px;
    }
}


/* 禁用状态的按钮样式 */
.package-buy-btn.disabled {
    background-color: #ccc !important;
    /* 灰色背景 */
    color: #666 !important;
    cursor: not-allowed;
    /* 鼠标变成禁用图标 */
    border: none;
    text-decoration: none;
    opacity: 0.7;
}

/* 移除禁用按钮的悬停效果 */
.package-buy-btn.disabled:hover {
    background-color: #ccc !important;
    transform: none !important;
}