/* 管理员推荐码生成页样式 */

.referral-code-card {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
}

.qr-code-container {
    margin-bottom: 20px;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background-color: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ddd;
}

.qr-placeholder {
    font-size: 14px;
    color: #999;
}

.referral-link {
    margin-top: 20px;
}

.link-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    text-align: left;
}

.link-content {
    display: flex;
    gap: 10px;
}

.link-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background-color: #f5f5f5;
}

.btn-copy {
    padding: 10px 20px;
    background-color: #1890FF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-copy:active {
    background-color: #1565C0;
}

.promotion-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0;
}

.stat-item {
    padding: 20px 15px;
    background: linear-gradient(135deg, #1890FF 0%, #1565C0 100%);
    border-radius: 8px;
    text-align: center;
    color: #fff;
}

.stat-item:nth-child(2) {
    background: linear-gradient(135deg, #52C41A 0%, #389E0D 100%);
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-secondary {
    background-color: #fff;
    color: #1890FF;
    border: 1px solid #1890FF;
}

.btn-secondary:active {
    background-color: #E6F7FF;
}

/* 底部操作 */
.bottom-action {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    padding: 15px;
    background-color: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 10px;
}

