/* 打赏系统前端样式 */

.reward-system-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.reward-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.reward-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.reward-amount-option {
    cursor: pointer;
}

.reward-amount-option input[type="radio"] {
    display: none;
}

.amount-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #f8f9fa;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.amount-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.reward-amount-option input[type="radio"]:checked + .amount-btn {
    border-color: #007cba;
    background: #007cba;
    color: #fff;
}

.reward-custom-amount,
.reward-user-info {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007cba;
}

.form-group textarea {
    height: 80px;
    resize: vertical;
}

.reward-submit {
    text-align: center;
}

.reward-submit-btn {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.reward-submit-btn:hover {
    background: #005a87;
}

.reward-submit-btn i {
    margin-right: 8px;
}

.reward-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 打赏列表样式 */
.reward-list-container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reward-list-title {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.reward-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reward-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.reward-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reward-item[data-rank="1"] {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

.reward-item[data-rank="2"] {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #333;
}

.reward-item[data-rank="3"] {
    background: linear-gradient(135deg, #cd7f32, #deb887);
    color: #333;
}

.reward-rank {
    margin-right: 15px;
    min-width: 30px;
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #007cba;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

.reward-item[data-rank="1"] .rank-number {
    background: #333;
}

.reward-item[data-rank="2"] .rank-number {
    background: #333;
}

.reward-item[data-rank="3"] .rank-number {
    background: #333;
}

.reward-info {
    flex: 1;
}

.reward-name {
    font-weight: 500;
    margin-bottom: 4px;
}

.reward-name a {
    color: inherit;
    text-decoration: none;
}

.reward-name a:hover {
    text-decoration: underline;
}

.reward-message {
    font-size: 12px;
    color: #666;
    opacity: 0.8;
}

.reward-amount {
    font-weight: bold;
    color: #e74c3c;
    font-size: 14px;
    margin-left: 15px;
}

.reward-list-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .reward-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reward-system-container {
        margin: 10px;
        padding: 15px;
    }
    
    .reward-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .reward-rank {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .reward-amount {
        margin-left: 0;
        margin-top: 5px;
    }
} 

/* 添加作者信息和版权信息到文件底部 */
/* 
 * 一为捐赠系统 CSS样式
 * 作者: 饭小团 (微信: ersanhang)
 * 主页: https://link3.cc/fantuanso
 */ 