/* Download Stats Module Styles */
.download-stats-module {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.download-stats-module h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    padding: 15px 20px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
}

.download-stats-module h2::before {
    content: '';
    display: block;
    width: 4px;
    height: 16px;
    background: #42b983;
    margin-right: 10px;
    border-radius: 2px;
}

.download-list {
    padding: 0 0;
}

.download-item {
    padding: 12px 0;
    border-bottom: 1px dashed #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.2s;
}

.download-item:last-child {
    border-bottom: none;
}

.download-item:hover {
    transform: translateX(2px);
}

.download-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-user {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 6px;
}

.download-user i {
    color: #9ca3af;
    font-size: 11px;
}

.download-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-time {
    font-size: 11px;
    color: #9ca3af;
    background: #f9fafb;
    padding: 2px 6px;
    border-radius: 4px;
}

.download-content {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fcfdfd;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
}

.action-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    flex-shrink: 0;
    font-size: 12px;
}

.action-badge.small {
    width: 20px;
    height: 20px;
    font-size: 10px;
    border-radius: 4px;
}

.action-badge.collect {
    background: #fdf2f8;
    color: #db2777;
}

.action-badge.download {
    background: #ecfdf5;
    color: #059669;
}

.type-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    flex-shrink: 0;
    font-size: 12px;
}

.type-badge.local {
    background: #f5f3ff;
    color: #7c3aed;
}

.type-badge.online {
    background: #eff6ff;
    color: #2563eb;
}

.ringtone-link {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
    flex: 1;
}

.ringtone-link:hover {
    color: #42b983;
}

.ringtone-title-text {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
}
